#
6eecb3e7 |
| 24-Nov-2023 |
Remi Collet |
zip: use index to avoid search by name
|
#
66252260 |
| 14-Nov-2023 |
Remi Collet |
fix GH-12661 (Inconsistency in ZipArchive::addGlob remove_path Option Behavior)
|
#
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
|
#
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 ...
|
#
7936c808 |
| 23-Jan-2023 |
Máté Kocsis |
Fix GH-8329 Print true/false instead of bool in error and debug messages (#8385)
|
#
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
|
#
a01dd9fe |
| 14-Sep-2022 |
Bob Weinand |
Revert "Port all internally used classes to use default_object_handlers" This reverts commit 94ee4f9834743ca74f6c9653863273277ce6c61a. The commit was a bit too late to be included i
Revert "Port all internally used classes to use default_object_handlers" This reverts commit 94ee4f9834743ca74f6c9653863273277ce6c61a. The commit was a bit too late to be included in PHP 8.2 RC1. Given it's a massive ABI break, we decide to postpone the change to PHP 8.3.
show more ...
|
Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23 |
|
#
94ee4f98 |
| 24-Aug-2022 |
Bob Weinand |
Port all internally used classes to use default_object_handlers Signed-off-by: Bob Weinand <bobwei9@hotmail.com>
|
Revision tags: 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, php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1 |
|
#
390538af |
| 15-Jun-2022 |
Remi Collet |
Fix GH-8781 ZipArchive::close deletes zip file without updating stat cache
|
#
1bcd8d39 |
| 08-Jun-2022 |
Pierrick Charron |
Update gen_stub to support #if around classes
|
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
|
#
2ecd46f4 |
| 22-May-2022 |
George Peter Banyard |
Initialise zend_stat_t to fix MSAN build
|
Revision tags: php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6 |
|
#
90b7bde6 |
| 03-Nov-2021 |
Dmitry Stogov |
Use more compact representation for packed arrays. - for packed arrays we store just an array of zvals without keys. - the elements of packed array are accessible throuf as ht->arPacked[
Use more compact representation for packed arrays. - for packed arrays we store just an array of zvals without keys. - the elements of packed array are accessible throuf as ht->arPacked[i] instead of ht->arData[i] - in addition to general ZEND_HASH_FOREACH_* macros, we introduced similar familied for packed (ZEND_HASH_PACKED_FORECH_*) and real hashes (ZEND_HASH_MAP_FOREACH_*) - introduced an additional family of macros to access elements of array (packed or real hashes) ZEND_ARRAY_ELEMET_SIZE, ZEND_ARRAY_ELEMET_EX, ZEND_ARRAY_ELEMET, ZEND_ARRAY_NEXT_ELEMENT, ZEND_ARRAY_PREV_ELEMENT - zend_hash_minmax() prototype was changed to compare only values Because of smaller data set, this patch may show performance improvement on some apps and benchmarks that use packed arrays. (~1% on PHP-Parser) TODO: - sapi/phpdbg needs special support for packed arrays (WATCH_ON_BUCKET). - zend_hash_sort_ex() may require converting packed arrays to hash.
show more ...
|
Revision tags: php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4 |
|
#
dc4cfb1c |
| 12-Oct-2021 |
Nikita Popov |
Don't accept flags in ZipArchive::getStream() Per discussion on https://github.com/php/php-src/commit/e489e2d3885c35a2a969d92bada5d42aac1bbec6 this method should not accept $flags, so un
Don't accept flags in ZipArchive::getStream() Per discussion on https://github.com/php/php-src/commit/e489e2d3885c35a2a969d92bada5d42aac1bbec6 this method should not accept $flags, so un-alias it from getStreamName().
show more ...
|
Revision tags: php-8.0.12RC1, php-7.4.25RC1 |
|
#
e9b96ae5 |
| 05-Oct-2021 |
Remi Collet |
Add ZipArchive::clearError, getStreamIndex and getStreamName methods public function clearError(): void {} public function getStreamIndex(int $index, int $flags = 0) {} p
Add ZipArchive::clearError, getStreamIndex and getStreamName methods public function clearError(): void {} public function getStreamIndex(int $index, int $flags = 0) {} public function getStreamName(string $name, int $flags = 0) {} ZipArchive::getStream is kept for BC See https://github.com/pierrejoye/php_zip/issues/20
show more ...
|
#
e0c0de00 |
| 29-Sep-2021 |
Christoph M. Becker |
Fix #77978: Dirname ending in colon unzips to wrong dir When making the relative path, we must not stop on a `:\` sequence in the middle of the filename. This is only significant on Win
Fix #77978: Dirname ending in colon unzips to wrong dir When making the relative path, we must not stop on a `:\` sequence in the middle of the filename. This is only significant on Windows as it may indicate an absolute filename, but this is already checked at the beginning of the function. Note that the bug and this patch affects all systems. However, on Windows the file is no longer extracted at all, since Windows NTSF does not allow filenames containing colons. Closes GH-7528.
show more ...
|
#
4d442714 |
| 30-Sep-2021 |
Christoph M. Becker |
Fix #81490: ZipArchive::extractTo() may leak memory We always need to free the CWD state. Closes GH-7536.
|
Revision tags: php-8.1.0RC3, php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2, php-7.4.24RC1, php-8.0.11RC1 |
|
#
df2ceac2 |
| 06-Sep-2021 |
Christoph M. Becker |
Fix #81420: ZipArchive::extractTo extracts outside of destination We need to properly detect and handle absolute paths in a portable way.
|
Revision tags: php-8.1.0RC1, php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3 |
|
#
a6ffd8d1 |
| 12-Aug-2021 |
Remi Collet |
Fix #80833 ZipArchive::getStream doesn't use setPassword
|
Revision tags: php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2, php-8.0.9, php-7.4.22, php-8.1.0beta1, php-7.4.22RC1, php-8.0.9RC1, php-8.1.0alpha3, php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1, php-8.0.7, php-7.4.20, php-8.0.7RC1, php-7.4.20RC1 |
|
#
1c2e7b4e |
| 07-May-2021 |
Nikita Popov |
Fix zip build
|
#
57918b1a |
| 07-May-2021 |
Christoph M. Becker |
Fix #80863: ZipArchive::extractTo() ignores references We need to cater to references, when traversing the files to extract. While we're at it, we move the `zval_file` declaration into a
Fix #80863: ZipArchive::extractTo() ignores references We need to cater to references, when traversing the files to extract. While we're at it, we move the `zval_file` declaration into a narrower scope. Closes GH-6959.
show more ...
|
#
01b3fc03 |
| 06-May-2021 |
KsaR |
Update http->https in license (#6945) 1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https. 2. Update few license 3.0 to 3.01 as
Update http->https in license (#6945) 1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https. 2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier". 3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted. 4. fixed indentation in some files before |
show more ...
|
Revision tags: php-8.0.6, php-7.4.19, php-7.4.18, php-7.3.28, php-8.0.5 |
|
#
b567a9d1 |
| 19-Apr-2021 |
Máté Kocsis |
Use typed properties in ext/zip Closes GH-6881
|