Martin Rehberger
389d11308c
bug: Fix type for $index in ZipArchive::replaceFile
2022-05-02 14:08:19 +02:00
George Peter Banyard
f40838eaaa
Rename `zip_ent
parameter to
zip_entry
` for consistency
...
All other functions use ``zip_entry``
2021-01-08 22:26:24 +00:00
Christoph M. Becker
e470f9b389
ZipArchive methods do not return NULL
...
Closes GH-6563.
2021-01-03 16:12:10 +01:00
Remi Collet
dafc72cb33
for consistency use for all *Name methods
2020-09-23 09:31:44 +02:00
Máté Kocsis
de912821e0
Display string default values in stubs more uniformly
...
Settling on using quoted string
2020-09-16 21:27:01 +02:00
Máté Kocsis
c76910cd96
Display types in stubs more uniformly
...
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.
2020-09-16 21:19:36 +02:00
Máté Kocsis
3e800e997b
Move custom type checks to ZPP
...
Closes GH-6034
2020-09-02 11:11:38 +02:00
Máté Kocsis
2803c8fb8d
Add all the missing parameter types to stubs
...
Closes GH-5955
2020-08-13 14:47:18 +02:00
Máté Kocsis
f3b1f342c8
Deprecate the procedural API of ext/zip
...
Closes GH-5746
2020-06-23 17:39:29 +02:00
Remi Collet
eae3bda9e3
encode param is optional
2020-06-05 17:10:12 +02:00
Máté Kocsis
86d58e9fff
Generate function entries for ext/zip
...
Closes GH-5601
2020-05-20 14:22:11 +02:00
Máté Kocsis
bce8c8fb27
Promote warning to exception in ZipArchive::extractTo()
...
Closes GH-5516
2020-05-06 19:22:52 +02:00
Máté Kocsis
daa5b26456
Fix UNKNOWN default values in ext/zip
2020-05-06 19:15:34 +02:00
Remi Collet
2dc8d39bae
- 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
2020-04-02 14:52:05 +02:00
Remi Collet
fb8e221907
- add ZipArchive::FL_RECOMPRESS, FL_ENCRYPTED, FL_OVERWRITE, FL_LOCAL, 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
2020-03-02 16:48:53 +01:00
Remi Collet
3af1cee884
add ZipArchive::registerProgressCallback and ZipArchive::registerCancelCallback methods
2020-01-31 09:06:42 +01:00
Remi Collet
ac9a265f01
- bump zip extension version to 1.16.0 - add ZipArchive::setMtimeName and ZipArchive::setMtimeIndex methods
2020-01-28 10:53:49 +01:00
Máté Kocsis
27e83d0fb8
Add union return types for function stubs
2019-11-11 14:54:55 +01:00
Christoph M. Becker
ecb1e312a0
Fix default value
2019-09-29 18:22:36 +02:00
Christoph M. Becker
3c16606d46
Elevate warning to ValueError for invalid ZipArchive object
2019-09-29 14:28:39 +02:00
Christoph M. Becker
1858b00d00
Add ZipArchive arginfo stubs
2019-09-29 14:28:37 +02:00
Stephen Reay
d4e5e63b6c
Added zip arginfo stubs
2019-08-13 13:01:51 +02:00