Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve SPL directory and stat() cache using zend_srting* instead of char* | Dmitry Stogov | 2021-02-26 | 1 | -4/+2 |
| | |||||
* | Generate class entries from stubs for com, standard, xmlreader, xmlwriter, ↵ | Máté Kocsis | 2021-02-22 | 1 | -11/+2 |
| | | | | | | xsl, zip, Zend Closes GH-6706 | ||||
* | Replace zend_bool uses with bool | Nikita Popov | 2021-01-15 | 1 | -2/+2 |
| | | | | | | | 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. | ||||
* | ZipArchive methods do not return NULL | Christoph M. Becker | 2021-01-03 | 1 | -2/+2 |
| | | | | Closes GH-6563. | ||||
* | Raise E_WARNING on PHP related errors | Christoph M. Becker | 2020-11-06 | 1 | -0/+4 |
| | | | | | | | | | 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. | ||||
* | report about ZSTD compression availability | Remi Collet | 2020-11-06 | 1 | -0/+6 |
| | |||||
* | only display libzip both headers/library versions if they differ | Remi Collet | 2020-11-06 | 1 | -4/+7 |
| | |||||
* | Consolidate new union type ZPP macro names | Máté Kocsis | 2020-09-11 | 1 | -1/+1 |
| | | | | | | | They will now follow the canonical order of types. Older macros are left intact due to maintaining BC. Closes GH-6112 | ||||
* | Move custom type checks to ZPP | Máté Kocsis | 2020-09-02 | 1 | -32/+29 |
| | | | | Closes GH-6034 | ||||
* | Improve type declarations for Zend APIs | George Peter Banyard | 2020-08-28 | 1 | -1/+2 |
| | | | | | | | | | 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 | ||||
* | Promote warnings in ext/zip | George Peter Banyard | 2020-08-17 | 1 | -83/+100 |
| | |||||
* | Avoid getThis() usages in zip extension | Nikita Popov | 2020-08-06 | 1 | -10/+2 |
| | | | | | There isn't any magic going on here, we can just use ZEND_THIS and assume it exists. | ||||
* | add ZipArchive::CM_XZ constant (in upcoming libzip 1.8.0) | Remi Collet | 2020-07-21 | 1 | -0/+3 |
| | |||||
* | Use HashTable directly instead of zval | George Peter Banyard | 2020-07-08 | 1 | -13/+13 |
| | |||||
* | Remove proto comments from C files | Max Semenik | 2020-07-06 | 1 | -120/+60 |
| | | | | Closes GH-5758 | ||||
* | Avoid some unnecessary uses of no_separation=0 | Nikita Popov | 2020-07-06 | 1 | -2/+2 |
| | | | | | For the rare cases where references are part of the API, construct them explicitly. Otherwise do not allow separation. | ||||
* | [skip ci] typo | Remi Collet | 2020-06-08 | 1 | -1/+1 |
| | |||||
* | move comment | Remi Collet | 2020-06-07 | 1 | -3/+3 |
| | |||||
* | Fixed bug #79678 Build fails due to undeclared ZIP_RDONLY | Remi Collet | 2020-06-07 | 1 | -0/+4 |
| | |||||
* | Generate function entries for ext/zip | Máté Kocsis | 2020-05-20 | 1 | -157/+59 |
| | | | | Closes GH-5601 | ||||
* | Fix [-Wundef] warning in ZIP extension | George Peter Banyard | 2020-05-18 | 1 | -2/+2 |
| | |||||
* | Promote warning to exception in ZipArchive::extractTo() | Máté Kocsis | 2020-05-06 | 1 | -3/+2 |
| | | | | Closes GH-5516 | ||||
* | Fix UNKNOWN default values in ext/zip | Máté Kocsis | 2020-05-06 | 1 | -10/+10 |
| | |||||
* | Fix ZPP order in ext/zip | Máté Kocsis | 2020-05-06 | 1 | -74/+83 |
| | |||||
* | - add ZipArchive::EM_UNKNOWN constant - add ZipArchive::EM_TRAD_PKWARE ↵ | Remi Collet | 2020-04-02 | 1 | -9/+49 |
| | | | | 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 | ||||
* | use a better setter for zip_error_t | Remi Collet | 2020-04-02 | 1 | -2/+2 |
| | |||||
* | Merge branch 'PHP-7.4' | Remi Collet | 2020-03-29 | 1 | -1/+2 |
|\ | | | | | | | | | | | * PHP-7.4: NEWS Fix #79424 ext/zip: don't use gl_pathc after call to globfree | ||||
| * | Merge branch 'PHP-7.3' into PHP-7.4 | Remi Collet | 2020-03-29 | 1 | -1/+2 |
| |\ | | | | | | | | | | | | | * PHP-7.3: Fix #79424 ext/zip: don't use gl_pathc after call to globfree | ||||
| | * | Fix #79424 ext/zip: don't use gl_pathc after call to globfree | Max Rees | 2020-03-29 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | This breaks on Linux with the musl libc, since it zeroes out gl_pathc during globfree. | ||||
* | | | ZipArchive::open(): Using empty file as ZipArchive is deprecated | Remi Collet | 2020-03-20 | 1 | -2/+1 |
| | | | |||||
* | | | Merge branch 'PHP-7.4' | Remi Collet | 2020-03-20 | 1 | -0/+15 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | * PHP-7.4: unneeded after fix NEWS NEWS Fix Bug #79296 ZipArchive::open fails on empty file | ||||
| * | | Merge branch 'PHP-7.3' into PHP-7.4 | Remi Collet | 2020-03-20 | 1 | -0/+15 |
| |\ \ | | |/ | | | | | | | | | | | | | * PHP-7.3: NEWS Fix Bug #79296 ZipArchive::open fails on empty file | ||||
| | * | Fix Bug #79296 ZipArchive::open fails on empty file | Remi Collet | 2020-03-20 | 1 | -0/+15 |
| | | | |||||
| * | | Merge branch 'PHP-7.3' into PHP-7.4 | Remi Collet | 2020-02-28 | 1 | -1/+2 |
| |\ \ | | |/ | | | | | | | | | | * PHP-7.3: Fix #79315 ZipArchive::addFile doesn't honor start/length parameters | ||||
| | * | Fix #79315 ZipArchive::addFile doesn't honor start/length parameters | Remi Collet | 2020-02-28 | 1 | -1/+2 |
| | | | |||||
* | | | Fix bug #77960 add compr. /encr. options for ZipArchive::addGlob and ↵ | Remi Collet | 2020-03-18 | 1 | -32/+87 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ZipArchive::addPattern options parameter now accepts: - comp_method - comp_flags - enc_method - enc_password | ||||
* | | | proper fix | Remi Collet | 2020-03-09 | 1 | -2/+3 |
| | | | |||||
* | | | fix use after free | Remi Collet | 2020-03-09 | 1 | -15/+15 |
| | | | |||||
* | | | Fix #50678 files extracted by ZipArchive class lost their original modified time | Remi Collet | 2020-03-09 | 1 | -0/+7 |
| | | | |||||
* | | | better fix for #72374 | Remi Collet | 2020-03-06 | 1 | -15/+8 |
| | | | |||||
* | | | drop old constant with bad name, kept until now for BC | Remi Collet | 2020-03-05 | 1 | -1/+0 |
| | | | |||||
* | | | - make status, statusSys properties and | Remi Collet | 2020-03-05 | 1 | -36/+71 |
| | | | | | | | | | | | | ZipArchive::getStatusString() method available after archive is closed | ||||
* | | | add lastId property to ZipArchive | Remi Collet | 2020-03-04 | 1 | -71/+48 |
| | | | |||||
* | | | zip_file_replace don't need ZIP_FL_OVERWRITE | Remi Collet | 2020-03-04 | 1 | -1/+1 |
| | | | |||||
* | | | - add ZipArchive::FL_RECOMPRESS, FL_ENCRYPTED, FL_OVERWRITE, FL_LOCAL, ↵ | Remi Collet | 2020-03-02 | 1 | -43/+96 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | FL_CENTRAL constants - add optional "flags" parameter to ZipArchive::addEmptyDir, addFile and addFromString methods - add "flags" options to ZipArchive::addGlob and addPattern methods keeping previous behavior having FL_OVERWRITE by default - add ZipArchive::replaceFile() method | ||||
* | | | Merge branch 'PHP-7.4' | Remi Collet | 2020-02-28 | 1 | -1/+2 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | * PHP-7.4: NEWS Fix #79315 ZipArchive::addFile doesn't honor start/length parameters | ||||
| * \ \ | Merge branch 'PHP-7.3' into PHP-7.4 | Remi Collet | 2020-02-28 | 1 | -1/+2 |
| |\ \ \ | | |/ / | |/| | | | | | | | | | | * PHP-7.3: Fix #79315 ZipArchive::addFile doesn't honor start/length parameters | ||||
| | * | | Fix #79315 ZipArchive::addFile doesn't honor start/length parameters | Remi Collet | 2020-02-28 | 1 | -1/+2 |
| | |/ | |||||
| * | | Fixed bug #73119 Wrong return for ZipArchive::addEmptyDir Method | Remi Collet | 2020-02-03 | 1 | -3/+7 |
| | | | |||||
* | | | Merge branch 'PHP-7.4' | Remi Collet | 2020-02-03 | 1 | -3/+7 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | * PHP-7.4: NEWS Fixed bug #73119 Wrong return for ZipArchive::addEmptyDir Method |