History log of /PHP-8.1/ext/zip/php_zip.c (Results 26 – 50 of 410)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 3e01f5af 15-Jan-2021 Nikita Popov

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool is retained as an alias.

show more ...

# e470f9b3 02-Jan-2021 Christoph M. Becker

ZipArchive methods do not return NULL

Closes GH-6563.

Revision tags: php-7.3.26, php-7.3.26RC1, php-7.3.25, php-7.3.25RC1, php-7.3.24
# d65a520b 20-Oct-2020 Christoph M. Becker

Raise E_WARNING on PHP related errors

If Zip operations fails due to PHP error conditions before libzip even
has been called, there is no meaningful indication what failed; the
funct

Raise E_WARNING on PHP related errors

If Zip operations fails due to PHP error conditions before libzip even
has been called, there is no meaningful indication what failed; the
functions just return false, and the Zip status indicated that no error
did occur. Therefore we raise `E_WARNING` in these cases.

Closes GH-6356.

show more ...

# e2509cf9 05-Nov-2020 Remi Collet

report about ZSTD compression availability

# 8d7ca472 05-Nov-2020 Remi Collet

only display libzip both headers/library versions if they differ

Revision tags: php-7.3.24RC1, php-7.3.23, php-7.3.23RC1
# c98d4769 10-Sep-2020 Máté Kocsis

Consolidate new union type ZPP macro names

They will now follow the canonical order of types. Older macros are
left intact due to maintaining BC.

Closes GH-6112

Revision tags: php-7.3.22
# 3e800e99 24-Aug-2020 Máté Kocsis

Move custom type checks to ZPP

Closes GH-6034

# 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 ...

Revision tags: php-7.3.22RC1, php-7.3.21, php-7.3.21RC1
# 72383cca 08-Jul-2020 George Peter Banyard

Promote warnings in ext/zip

# 84a080ef 06-Aug-2020 Nikita Popov

Avoid getThis() usages in zip extension

There isn't any magic going on here, we can just use ZEND_THIS
and assume it exists.

# 42226fcf 21-Jul-2020 Remi Collet

add ZipArchive::CM_XZ constant (in upcoming libzip 1.8.0)

# 06da0486 08-Jul-2020 George Peter Banyard

Use HashTable directly instead of zval

Revision tags: php-7.3.20
# 2b5de6f8 01-Jul-2020 Max Semenik

Remove proto comments from C files

Closes GH-5758

# 0280b83e 06-Jul-2020 Nikita Popov

Avoid some unnecessary uses of no_separation=0

For the rare cases where references are part of the API,
construct them explicitly. Otherwise do not allow separation.

Revision tags: php-7.3.20RC1, php-7.3.19
# cd3f42f1 08-Jun-2020 Remi Collet

[skip ci] typo

# 06ff0e87 07-Jun-2020 Remi Collet

move comment

# a3bfd4a1 07-Jun-2020 Remi Collet

Fixed bug #79678 Build fails due to undeclared ZIP_RDONLY

Revision tags: php-7.4.7RC1, php-7.3.19RC1
# 86d58e9f 20-May-2020 Máté Kocsis

Generate function entries for ext/zip

Closes GH-5601

# 5f0128e1 12-May-2020 George Peter Banyard

Fix [-Wundef] warning in ZIP extension

# bce8c8fb 06-May-2020 Máté Kocsis

Promote warning to exception in ZipArchive::extractTo()

Closes GH-5516

# daa5b264 03-May-2020 Máté Kocsis

Fix UNKNOWN default values in ext/zip

# 78dda268 03-May-2020 Máté Kocsis

Fix ZPP order in ext/zip

Revision tags: php-7.3.18RC1, php-7.2.30, php-7.3.17
# 2dc8d39b 02-Apr-2020 Remi Collet

- add ZipArchive::EM_UNKNOWN constant - add ZipArchive::EM_TRAD_PKWARE constant - cleanup hack for libzip 1.3.1 (have only exist for a few days) - add ZipArchive::isCompressionMethodSupported() metho

- add ZipArchive::EM_UNKNOWN constant - add ZipArchive::EM_TRAD_PKWARE constant - cleanup hack for libzip 1.3.1 (have only exist for a few days) - add ZipArchive::isCompressionMethodSupported() method (libzip 1.7.0) - add ZipArchive::isEncryptionMethodSupported() method (libzip 1.7.0) - bump version to 1.19.0-dev

show more ...

# 59e06741 02-Apr-2020 Remi Collet

use a better setter for zip_error_t

Revision tags: php-7.3.17RC1
# 5fa17fbf 29-Mar-2020 Remi Collet

Merge branch 'PHP-7.4'

* PHP-7.4:
NEWS
Fix #79424 ext/zip: don't use gl_pathc after call to globfree


12345678910>>...17