History log of /PHP-8.3/ext/zip/php_zip.c (Results 26 – 50 of 346)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-8.0.5RC1, php-7.4.18RC1, php-8.0.4RC1, php-7.4.17RC1, php-8.0.3, php-7.4.16
# 13e4ce38 25-Feb-2021 Dmitry Stogov

Improve SPL directory and stat() cache using zend_srting* instead of char*


Revision tags: php-8.0.3RC1
# 4c6533c2 17-Feb-2021 Máté Kocsis

Generate class entries from stubs for com, standard, xmlreader, xmlwriter, xsl, zip, Zend

Closes GH-6706


Revision tags: php-7.4.16RC1, php-8.0.2, php-7.4.15, php-7.3.27
# 6adfb8c9 20-Jan-2021 Christoph M. Becker

Fix #80648: Fix for bug 79296 should be based on runtime version

Instead of checking for actually affected libzip versions, we now always
`ZIP_TRUNCATE` empty files unless `ZIP_RDONLY` i

Fix #80648: Fix for bug 79296 should be based on runtime version

Instead of checking for actually affected libzip versions, we now always
`ZIP_TRUNCATE` empty files unless `ZIP_RDONLY` is set.

Closes GH-6625.

show more ...


Revision tags: php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1
# 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 ...


Revision tags: php-8.0.1, php-7.4.14
# e470f9b3 02-Jan-2021 Christoph M. Becker

ZipArchive methods do not return NULL

Closes GH-6563.


Revision tags: php-7.3.26, php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1, 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
# 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


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


Revision tags: 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, php-8.0.0beta4, php-7.4.11RC1, 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-8.0.0beta3, php-7.4.10, 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-8.0.0beta2, php-7.3.22RC1, php-7.4.10RC1, 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, php-7.4.8
# 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.2.32, php-8.0.0alpha2, 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-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1, php-7.4.7, 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


Revision tags: php-7.4.6, php-7.2.31
# 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


12345678910>>...14