256 Commits

Author SHA1 Message Date
Remi Collet 8afee82662 add Zip::ER_TRUNCATED_ZIP (GH-3799) 2024-09-26 11:26:50 +02:00
Jim Winstead 0545e305cf Normalize version strings in changelog entries (#3672)
Now they're always N.X.Y for a PHP version, or PECL extension N.X.Y for PECL extensions.
2024-09-23 11:15:26 -07:00
haszi 765b2d6eec Remove empty configuration pages (#3538)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-09 22:24:55 +01:00
Gina Peter Banyard 4d17b7b494 [skip-revcheck] Convert class markup to be compatible with DocBook 5.2
Closes GH-3415
2024-06-14 17:04:53 +01:00
Máté Kocsis d76a7fe17d Document SensitiveParameter attributes - part 2 (#3403) 2024-05-21 12:11:42 +01:00
Gina Peter Banyard 7747acdc55 Rewrite installation docs for Zip extension (#3328)
This also makes the markup DocBook 5.2 conformant.
2024-04-24 22:44:26 +01:00
Máté Kocsis d715365c09 Sync some methodsynopses with stubs (#3199)
Co-authored-by: Gina Peter Banyard <girgias@php.net>
2024-04-16 13:02:43 +02:00
Mikhail Alferov 67dd36c09f getarchiveflag.xml: Added missing parameter tag (#3276) 2024-04-12 16:17:43 +01:00
Mikhail Alferov 255ec60a29 zip/configure.xml: add a link to how to enable the DLL in Windows (#3281) 2024-04-12 16:10:06 +01:00
haszi 28f0dc949d Remove links from within constant tags (#3265)
Co-authored-by: haszi <haszika80@gmail.com>
2024-03-17 17:56:30 +00:00
Joshua Behrens 21191d3f9d Fix typo in ZipArchive::open (#3009) 2023-12-12 19:29:13 +00:00
Gina Peter Banyard 45234c31bb ext/zip: Add new constant classes to ZipArchive
Those constants are already documented on the constants.xml page.
2023-12-06 05:45:01 +00:00
Remi Collet b61758269e Add note to ZipArchive:extractTo() about permission not being restored (#2973) 2023-11-28 12:17:56 +00:00
Máté Kocsis 8cedd63d95 Synchronize predefined constants with stubs - part 4 (#2743)
Adding missing constant type information
2023-09-05 11:18:57 +01:00
Máté Kocsis 14767af0f0 Use new class synopsis markup (#2611)
Follow-up on https://github.com/php/phd/pull/77
2023-08-30 12:28:30 +01:00
Remi Collet d7f5a20dbd changes in zip 1.22.2 (and libzip 1.10.1) 2023-08-26 07:23:34 +02:00
Yoshinari Takaoka dd9775e98b fix broken build 2023-06-30 09:04:45 +09:00
Remi Collet 6b02ef7aa8 Review zip constants list 2023-06-29 16:36:39 +02:00
Remi Collet 286228490f add ZipArchive::FL_OPEN_FILE_NOW 2023-06-29 15:19:16 +02:00
Yoshinari Takaoka dbbbec20d0 fixed ZipArchive::ER_NOT_ALLOWED available version
ZipArchive::ER_NOT_ALLOWED is added 2 days ago!

https://github.com/php/php-src/commit/b5638a1202260a50da4594daa2dc7f5c0b837047
2023-06-29 02:55:14 +09:00
Remi Collet 4b5e895c73 FL_RECOMPRESS is deprecated 2023-06-28 14:46:59 +02:00
Remi Collet 1d9d21b6e4 fix return type 2023-06-28 07:46:57 +02:00
Remi Collet a70ce62757 add zipArchive::setArchiveFlag() and zipArchive::getArchiveFlag() methods 2023-06-27 14:18:39 +02:00
Remi Collet 0b3b99d380 Add new constants in zip 1.22.0 2023-06-27 14:18:39 +02:00
Máté Kocsis ad4f8a7e36 Add missing class constants with empty description - part 3 (#2147) 2023-05-17 07:26:04 +02:00
Máté Kocsis adf11d8d64 Revert "Add documentation for default constructors - part 1 (#2089)" (#2121) 2022-12-28 08:50:09 +01:00
Máté Kocsis 0510540984 Add documentation for default constructors - part 1 (#2089)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-12-19 21:40:26 +01:00
Máté Kocsis 476ab39857 Update ext/zip role attributes (#1974) 2022-12-11 20:25:17 +01:00
Christoph M. Becker 0ba0922e90 Fix GH-2050: PHP 8.2.0 Windows is missing the Zip extension 2022-12-09 14:57:36 +01:00
Lars Moelleken 12f917c3af ZipArchive::open(): bool|int
* ZipArchive::open(): bool|int

- https://github.com/JetBrains/phpstorm-stubs/pull/1499
- https://github.com/php/php-src/blob/ca8247654c1e324d412bb6f40ef14fb506487983/ext/zip/php_zip.c#L1454-L1471

Closes GH-2035.
2022-12-01 12:08:16 +01:00
Máté Kocsis d6aee4a500 Sync a few manual pages with the stubs (#1936) 2022-11-04 13:30:04 +01:00
Christoph M. Becker 9c63d28120 Link to compression streams from ZipArchive::getStream() 2022-08-15 15:36:29 +02:00
Remi Collet d6ac0dd312 ZipArchive::close deletes file if empty (#1628) 2022-06-15 15:50:03 +02:00
Christoph M. Becker a3eab3abd6 ZipArchive::getExternalAttributesIndex(): use canonical capitalization 2022-05-10 20:14:06 +02:00
Martin Rehberger c1da6cc7c2 Fix type for index in ZipArchive::replaceFile()
Closes GH-1563.
2022-05-02 14:31:28 +02:00
Máté Kocsis 8244b3b053 Generate ext/zip class synopses from stubs
Closes GH-1066.
2021-12-15 19:56:59 +01:00
Kamil Tekiela 994aa2b092 [skip-revcheck] Grammar 2021-10-12 21:32:54 +01:00
Yoshinari Takaoka ae11a26c5b typo, part II. 2021-10-13 00:17:43 +09:00
Remi Collet b05a34e65d typo 2021-10-12 15:00:46 +02:00
Remi Collet f57925eef0 Add new methods from version 1.20.0
- ZipArchive::clearError()
- ZipArchive::getStreamName($name, $flags=0)
- ZipArchive::getStreamIndex($index, $flags=0)
2021-10-12 14:58:03 +02:00
Christoph M. Becker 5e1a9062c0 Fix #81488: ext/zip doesn't extract files with special names 2021-10-04 15:24:53 +02:00
Máté Kocsis 7f99d5e488 Remove some unnecessary methodsynopsis role attributes (#913) 2021-09-14 14:37:29 +02:00
Sergey Panteleev eec6a4a36b Remove PHP 5, 7 references (#564)
- zookeeper
- zlib
- zip
- yaf
- uopz
- uodbc
- openssl
- funchand
2021-06-04 09:13:56 +03:00
Máté Kocsis 5770355a66 Various methodsynopsis updates based on recent stub changes
* Update ext/zip methodsynopses based on stubs
* Update resource-related ext/standard methodsynopses based on stubs
* Update ext/dom methodsynopses based on stubs
* Update ext/ffi methodsynopses based on stubs
* Update ext/fileinfo methodsynopses based on stubs
* Update ext/soap methodsynopses based on stubs
* Update ext/sodium methodsynopses based on stubs
* Update ext/ldap methodsynopses based on stubs

Closes GH-598.
2021-05-22 15:24:20 +02:00
Kim Hallberg 289efd69f9 Fix notes section being in wrong order for reference/zip (#568) 2021-04-30 15:52:17 +02:00
Sergey Panteleev aab33d6443 Removed references to PHP 5, PHP 7.0 (#544) 2021-04-23 11:35:26 +03:00
Christoph M. Becker 845a3263f0 Remove obsolete versions.xml entries
These methods have long been removed from PECL/zip, and apparently
never made it to ext/zip.
2021-01-17 15:39:59 +01:00
Yoshinari Takaoka ed78b6690b Added PHP 8 into versions.xml for zip based on stubs.
Closes GH-345.
2021-01-17 15:38:28 +01:00
George Peter Banyard d24e819ef1 Fix docs after stubs fix in php-src 2021-01-08 22:36:52 +00:00
Christoph M. Becker e727888942 The procedural Zip API is deprecated as of PHP 8.0.0 2021-01-02 13:08:29 +01:00