Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'PHP-8.0' | Christoph M. Becker | 2021-03-03 | 1 | -1/+1 |
|\ | | | | | | | | | * PHP-8.0: Fix #80825: ZipArchive::isCompressionMethodSupported does not exist | ||||
| * | Fix #80825: ZipArchive::isCompressionMethodSupported does not exist | Christoph M. Becker | 2021-03-03 | 1 | -1/+1 |
| | | | | | | | | | | `HAVE_METHOD_SUPPORTED` should have been defined after we updated to libzip 1.7.1 months ago. | ||||
* | | Change the order of properties used for var_dump(), serialize(), comparison, ↵ | Dmitry Stogov | 2021-03-01 | 2 | -18/+18 |
| | | | | | | | | | | | | etc. Now properties are ordered according to their layout in zend_object structure. | ||||
* | | 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 | 3 | -15/+68 |
| | | | | | | | | | | | | xsl, zip, Zend Closes GH-6706 | ||||
* | | Add support for generating class entries from stubs | Máté Kocsis | 2021-01-26 | 2 | -1/+4 |
| | | | | | | | | | | | | Closes GH-6289 Co-authored-by: Nikita Popov <nikita.ppv@gmail.com> | ||||
* | | 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. | ||||
* | Rename ``zip_ent`` parameter to ``zip_entry`` for consistency | George Peter Banyard | 2021-01-08 | 2 | -4/+4 |
| | | | | All other functions use ``zip_entry`` | ||||
* | ZipArchive methods do not return NULL | Christoph M. Becker | 2021-01-03 | 3 | -7/+7 |
| | | | | Closes GH-6563. | ||||
* | zip extension is 1.19.2 | Remi Collet | 2020-11-23 | 1 | -1/+1 |
| | |||||
* | Raise E_WARNING on PHP related errors | Christoph M. Becker | 2020-11-06 | 4 | -2/+10 |
| | | | | | | | | | 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 |
| | |||||
* | bump zip extension version | Remi Collet | 2020-09-29 | 1 | -1/+1 |
| | |||||
* | for consistency use for all *Name methods | Remi Collet | 2020-09-23 | 2 | -11/+9 |
| | |||||
* | Run tidy | Nikita Popov | 2020-09-18 | 2 | -2/+2 |
| | | | | | This should fix most of the remaining issues with tabs and spaces being mixed in tests. | ||||
* | Generate arginfos | Máté Kocsis | 2020-09-16 | 1 | -2/+2 |
| | |||||
* | Display string default values in stubs more uniformly | Máté Kocsis | 2020-09-16 | 1 | -1/+1 |
| | | | | Settling on using quoted string | ||||
* | Display types in stubs more uniformly | Máté Kocsis | 2020-09-16 | 2 | -5/+5 |
| | | | | | | In preparation for generating method signatures for the manual. This change gets rid of bogus false|null return types, a few unnecessary trailing backslashes, and settles on using ? when possible for nullable types. | ||||
* | 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 | 3 | -39/+33 |
| | | | | 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 | 5 | -109/+143 |
| | |||||
* | Add all the missing parameter types to stubs | Máté Kocsis | 2020-08-13 | 2 | -3/+11 |
| | | | | Closes GH-5955 | ||||
* | Add many missing closing PHP tags to tests | Máté Kocsis | 2020-08-09 | 7 | -0/+7 |
| | | | | Closes GH-5958 | ||||
* | 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 GLOB_BRACE skipif | Nikita Popov | 2020-08-06 | 1 | -1/+1 |
| | |||||
* | add ZipArchive::CM_XZ constant (in upcoming libzip 1.8.0) | Remi Collet | 2020-07-21 | 2 | -1/+4 |
| | |||||
* | 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. | ||||
* | Replace EXPECTF when possible | Fabien Villepinte | 2020-06-29 | 6 | -6/+6 |
| | | | | Closes GH-5779 | ||||
* | [ci skip] Various typo fixes in stub comments and CHANGES file | Ayesh Karunaratne | 2020-06-25 | 1 | -1/+1 |
| | |||||
* | Include stub hash in generated arginfo files | Nikita Popov | 2020-06-24 | 1 | -1/+2 |
| | | | | | | | | | | | | The hash is used to check whether the arginfo file needs to be regenerated. PHP-Parser will only be downloaded if this is actually necessary. This ensures that release artifacts will never try to regenerate stubs and thus fetch PHP-Parser, as long as you do not modify any files. Closes GH-5739. | ||||
* | Deprecate the procedural API of ext/zip | Máté Kocsis | 2020-06-23 | 16 | -31/+252 |
| | | | | Closes GH-5746 | ||||
* | Merge branch 'PHP-7.4' | Nikita Popov | 2020-06-18 | 1 | -1/+1 |
|\ | |||||
| * | check for broken libzip versions | Remi Collet | 2020-06-18 | 1 | -1/+1 |
| | | | | | | | | Closes GH-5738. | ||||
* | | [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 |
| | | |||||
* | | encode param is optional | Remi Collet | 2020-06-05 | 2 | -4/+4 |
| | | |||||
* | | bump zip version | Remi Collet | 2020-06-05 | 1 | -1/+1 |
| | | |||||
* | | Support libzip 1.6 on Windows | Christoph M. Becker | 2020-05-29 | 1 | -2/+3 |
| | | |||||
* | | Generate function entries for ext/zip | Máté Kocsis | 2020-05-20 | 4 | -160/+235 |
| | | | | | | | | Closes GH-5601 | ||||
* | | relax test (TS issue) | Remi Collet | 2020-05-18 | 1 | -2/+2 |
| | | |||||
* | | Fix [-Wundef] warning in ZIP extension | George Peter Banyard | 2020-05-18 | 2 | -3/+3 |
| | | |||||
* | | Trim trailing whitespaces and fix code style | Rod Elias | 2020-05-12 | 9 | -50/+50 |
| | | | | | | | | Closes GH-5554. | ||||
* | | Promote warning to exception in ZipArchive::extractTo() | Máté Kocsis | 2020-05-06 | 2 | -4/+6 |
| | | | | | | | | Closes GH-5516 | ||||
* | | Fix UNKNOWN default values in ext/zip | Máté Kocsis | 2020-05-06 | 3 | -23/+23 |
| | | |||||
* | | Fix ZPP order in ext/zip | Máté Kocsis | 2020-05-06 | 1 | -74/+83 |
| | |