#
4cdba051 |
| 19-Sep-2024 |
Remi Collet |
add ZipArchive::ER_TRUNCATED_ZIP added in libzip 1.11 (#15959)
|
#
db545767 |
| 10-Sep-2024 |
DanielEScherzer |
Rename `ZEND_STR_DEPRECATED` to `ZEND_STR_DEPRECATED_CAPITALIZED` (#15831) To match other capitalized strings like `ZEND_STR_UNKNOWN_CAPITALIZED` and `ZEND_STR_ARRAY_CAPITALIZED`. Since
Rename `ZEND_STR_DEPRECATED` to `ZEND_STR_DEPRECATED_CAPITALIZED` (#15831) To match other capitalized strings like `ZEND_STR_UNKNOWN_CAPITALIZED` and `ZEND_STR_ARRAY_CAPITALIZED`. Since this known string was only added in PHP 8.4, no backwards compatibility alias is needed.
show more ...
|
#
5dd05756 |
| 04-Sep-2024 |
DanielEScherzer |
Generated arginfo header files: combine preprocessor conditional blocks (#15736) When functions' or class methods' availability is based on some preprocessor condition, the generated arg
Generated arginfo header files: combine preprocessor conditional blocks (#15736) When functions' or class methods' availability is based on some preprocessor condition, the generated arginfo header files wrap the declarations in the preprocessor `#if` conditional blocks, one per declaration, even if they are in the same conditional block based on comments in the stub file. Instead of having multiple conditional blocks one after the other with the same condition, combine them into a single conditional block.
show more ...
|
#
8d12f666 |
| 24-Aug-2024 |
Máté Kocsis |
Fix registration of internal readonly child classes (#15459) Currently, internal classes are registered with the following code: INIT_CLASS_ENTRY(ce, "InternalClass", class_Internal
Fix registration of internal readonly child classes (#15459) Currently, internal classes are registered with the following code: INIT_CLASS_ENTRY(ce, "InternalClass", class_InternalClass_methods); class_entry = zend_register_internal_class_ex(&ce, NULL); class_entry->ce_flags |= ...; This has worked well so far, except if InternalClass is readonly. It is because some inheritance checks are run by zend_register_internal_class_ex before ZEND_ACC_READONLY_CLASS is added to ce_flags. The issue is fixed by adding a zend_register_internal_class_with_flags() zend API function that stubs can use from now on. This function makes sure to add the flags before running any checks. Since the new API is not available in lower PHP versions, gen_stub.php has to keep support for the existing API for PHP 8.3 and below.
show more ...
|
#
29f98e74 |
| 10-Jul-2024 |
Tim Düsterhus |
Replace `@deprecated` by `#[\Deprecated]` for internal functions / class constants (#14750) Co-authored-by: Gina Peter Banyard <girgias@php.net> Co-authored-by: Niels Dossche <7771979+ni
Replace `@deprecated` by `#[\Deprecated]` for internal functions / class constants (#14750) Co-authored-by: Gina Peter Banyard <girgias@php.net> Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
show more ...
|
#
f2e199e8 |
| 25-Feb-2024 |
Máté Kocsis |
Implement "support doc comments for internal classes and functions" (#13266) Fixes #13130
|
#
10957e49 |
| 18-Feb-2024 |
Máté Kocsis |
Do not generate frameless info items when func info generation is disabled While here, I fixed newlines around arginfo and function entry generation. Previously, newlines were repeated.
|
#
ae3646db |
| 28-Jul-2023 |
Remi Collet |
use typed constants in 8.3
|
#
0893b4be |
| 28-Jul-2023 |
Remi Collet |
add ZipArchive::LENGTH_TO_END and ZipArchive::LENGTH_UNCHECKED constants
|
#
7b355e8d |
| 04-Jul-2023 |
Ilija Tovilo |
Revert "Merge branch 'PHP-8.2'" This reverts commit 45a3f178dc226b69f5d72f10285bc2ad139b2c1c, reversing changes made to b2a54bc6af4bf645b5bb2601621c12b31bfbff0c.
|
#
45a3f178 |
| 03-Jul-2023 |
Máté Kocsis |
Merge branch 'PHP-8.2' * PHP-8.2: Fix GH-9967 Add support for generating custom function, class const, and property attributes in stubs Closes GH-10170
|
#
b406f7c6 |
| 29-Jun-2023 |
Remi Collet |
zip extension version 1.22.1 - add ZipArchive::FL_OPEN_FILE_NOW to open the file when added instead of waiting for archive to be closed |
#
73cf12d6 |
| 28-Jun-2023 |
Ilija Tovilo |
Fix ext/zip arginfo.h |
#
d8dd72fc |
| 28-Jun-2023 |
Remi Collet |
The ZipArchive::FL_RECOMPRESS constant is deprecated |
#
b5638a12 |
| 26-Jun-2023 |
Remi Collet |
zip extension version 1.22.0 for libzip 1.10.0 - add new error macros (ER_DATA_LENGTH and ER_NOT_ALLOWED) - add new archive global flags (ER_AFL_*) - add ZipArchive::setArchiveFlag a
zip extension version 1.22.0 for libzip 1.10.0 - add new error macros (ER_DATA_LENGTH and ER_NOT_ALLOWED) - add new archive global flags (ER_AFL_*) - add ZipArchive::setArchiveFlag and ZipArchive::getArchiveFlag methods New methods are available since libzip 0.11, but really usable with new global flags
show more ...
|
#
148ac364 |
| 17-Jan-2023 |
Máté Kocsis |
Customize the link of some constants in the manual These changes are necessary because the links which are generated by default are already taken. |
#
e4f23769 |
| 26-Sep-2022 |
Máté Kocsis |
Improve string class constant code generation (#9577) Using strlen() will make sure that non-constant values can also be used. |
#
946cdb8a |
| 15-Sep-2022 |
Remi Collet |
remove LIBZIP_VERSION constant def from stub |
Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3 |
|
#
0c4c9fb9 |
| 16-Aug-2022 |
Máté Kocsis |
Declare et/zip constants in stubs (#9146) |
Revision tags: php-8.2.0beta2, php-8.1.9, php-8.0.22, php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1 |
|
#
55a88f36 |
| 13-Jul-2022 |
Remi Collet |
add SensitiveParameter as known string and use it in arginfo |
#
342e18f1 |
| 12-Jul-2022 |
Tim Düsterhus |
Support the actual `#[\SensitiveParameter]` attribute in stubs (#8836) |
Revision tags: php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1 |
|
#
1bcd8d39 |
| 08-Jun-2022 |
Pierrick Charron |
Update gen_stub to support #if around classes |
#
6fd2b393 |
| 13-Jun-2022 |
Pierrick Charron |
Indent with TAB in .h files generated by gen_stub |
Revision tags: php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5 |
|
#
1a4401d4 |
| 12-Apr-2022 |
Tim Düsterhus |
Mark parameter in ext/zip as sensitive |
#
a13b94c5 |
| 02-May-2022 |
Remi Collet |
Merge branch 'PHP-8.1' * PHP-8.1: Fix test XFAIL, update phar to use spl_autoload_register bug: Fix type for $index in ZipArchive::replaceFile
|