summaryrefslogtreecommitdiff
path: root/ext/zip
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.2' into PHP-7.3Remi Collet2018-10-031-1/+1
|\ | | | | | | | | * PHP-7.2: bump zip extension version
| * bump zip extension versionRemi Collet2018-10-031-1/+1
| |
* | Remove unused Git ident attributes from zip extensionPeter Kokot2018-07-2746-48/+4
| | | | | | | | | | $Id attributes were used with SVN. With Git most of the Git ident attributes in source code files are not used anymore.
* | Remove extra semicolonsGabriel Caruso2018-07-251-1/+1
| |
* | Merge branch 'PHP-7.2'Anatol Belski2018-07-131-1/+4
|\ \ | |/ | | | | | | * PHP-7.2: Improve test
| * Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-07-131-1/+4
| |\ | | | | | | | | | | | | * PHP-7.1: Improve test
| | * Improve testAnatol Belski2018-07-131-1/+4
| | | | | | | | | | | | Ensure the filename is non existent indeed.
* | | Merge branch 'PHP-7.2'Anatol Belski2018-07-102-2/+26
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fix bug #76524 - ZipArchive memory leak
| * | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-07-102-2/+26
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Fix bug #76524 - ZipArchive memory leak
| | * Fix bug #76524 - ZipArchive memory leaktimurib2018-07-102-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | Bugfix #76524: Free up zip internal state and adjust the tests for Windows Bugfix #76524: Fix possible use after free for libzip 1.3.1 Bugfix #76524: Make the test independent of platform
| | * year++Xinchen Hui2018-01-024-4/+4
| | |
* | | Merge branch 'PHP-7.2'Anatol Belski2018-07-071-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fixed regex for checking libzip static lib
| * | Fixed regex for checking libzip static libDylan K. Taylor2018-07-071-1/+1
| | | | | | | | | | | | | | | | | | This bug caused linking issues in debug mode (see bug [#76564](https://bugs.php.net/bug.php?id=76564)) This issue affects PHP 7.2 and master.
* | | Fixed incorrrecr zval_dtor() usage to replace value of argument passed by ↵Dmitry Stogov2018-07-051-2/+2
| | | | | | | | | | | | reference, that may lead to memory leaks.
* | | Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized ↵Dmitry Stogov2018-07-041-5/+5
| | | | | | | | | | | | | | | | | | | | | destructors. zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places. Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
* | | Merge branch 'PHP-7.2'Anatol Belski2018-07-031-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fixed bug #76564 ext/zip link issues
| * | Fixed bug #76564 ext/zip link issuesAnatol Belski2018-07-031-1/+1
| | | | | | | | | | | | Add zlib for linking directly, so then ext/zlib is not required.
* | | Remove old SVN keywords substitutions from the zip testsPeter Kokot2018-06-163-3/+0
| | |
* | | Merge branch 'PHP-7.2'Remi Collet2018-06-122-2/+3
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-7.2: NEWS Add OPSYS_CPM constant as documented and to match libzip naming
| * | Add OPSYS_CPM constant as documented and to match libzip namingRemi Collet2018-06-122-2/+3
| | |
* | | Export standard object handlers, to avoid indirect accessDmitry Stogov2018-05-311-10/+4
| | |
* | | Use zend_string_release_ex() instread of zend_string_release() in places, ↵Dmitry Stogov2018-05-282-20/+20
| | | | | | | | | | | | where we sure about string persistence.
* | | Avoid useless checks, using zend_string_efree(), in cases where the string ↵Dmitry Stogov2018-05-081-2/+2
| | | | | | | | | | | | is known to be a temporary allocated zend_string.
* | | Merge branch 'PHP-7.2'Anatol Belski2018-05-021-1/+2
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fix shared ext/zip build with static dependency lib
| * | Fix shared ext/zip build with static dependency libAnatol Belski2018-05-021-1/+2
| | |
| * | year++Xinchen Hui2018-01-024-4/+4
| | |
* | | Keep initialized object_handlers structures in read-only memory.Dmitry Stogov2018-03-141-3/+3
| | |
* | | Use EXPECT instead of EXPECTF when possibleGabriel Caruso2018-02-2018-18/+18
| | | | | | | | | | | | EXPECTF logic in run-tests.php is considerable, so let's avoid it.
* | | Remove empty sections in testsGabriel Caruso2018-02-141-3/+1
| | |
* | | Cleanup some tests - remove unnecessary sectionsStanislav Malyshev2018-02-042-14/+0
| | | | | | | | | | | | Also unify credits - all are under --CREDITS-- now.
* | | Trailing whitespaces on ext/*Gabriel Caruso2018-01-043-7/+7
| | | | | | | | | | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
* | | Trailing whitespacesGabriel Caruso2018-01-03100-454/+454
| | | | | | | | | | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
* | | year++Xinchen Hui2018-01-024-4/+4
| | |
* | | Merge branch 'PHP-7.2'Remi Collet2017-12-193-1/+14
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-7.2: NEWS display headers (buildtime) and library (runtime) versions in phpinfo (libzip >= 1.3.1)
| * | display headers (buildtime) and library (runtime) versions in phpinfo ↵Remi Collet2017-12-193-1/+14
| | | | | | | | | | | | (libzip >= 1.3.1)
* | | Turn "php_stream_wrapper"s into constantsDmitry Stogov2017-12-142-2/+2
| | | | | | | | | | | | Keep non-constant "php_stream_wrapper"s in API functions and callbacks for compatibility.
* | | Move constants into read-only data segmentDmitry Stogov2017-12-141-2/+2
| | |
* | | Remove outdated TODO filesPeter Kokot2017-12-091-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some extensions included TODO files that has been present for several years in the repository tree without changes. This included: - ext/phar - ext/intl - ext/zip - ext/soap - ext/pdo - ext/spl - ext/dom - ext/gmp - ext/xmlwriter - ext/xmlreader ext/phar feature request has been created instead, and for others it would be better to use wiki and RFC workflow instead based on current feature requests and further PHP development requirements. [ci skip]
* | | Cleanup type conversionDmitry Stogov2017-12-071-6/+3
| | |
* | | Add zend_object_alloc() APINikita Popov2017-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using ecalloc() to create objects is expensive, because the dynamic-size memset() is unreasonably slow. Make sure we only zero the main object structure with known size, as the properties are intialized separately anyway. Technically we do not need to zero the embedded zend_object structure either, but as long as the memset argument is constant, a couple more bytes don't really matter.
* | | Merge branch 'PHP-7.2'Remi Collet2017-11-201-2/+3
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Better fix bug #75540 Segfault with libzip 1.3.1 - only 1.3.1 is affected - fix use after free
| * | Merge branch 'PHP-7.1' into PHP-7.2Remi Collet2017-11-201-2/+3
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Better fix bug #75540 Segfault with libzip 1.3.1 - only 1.3.1 is affected - fix use after free
| | * Merge branch 'PHP-7.0' into PHP-7.1Remi Collet2017-11-201-2/+3
| | |\ | | | | | | | | | | | | | | | | * PHP-7.0: Better fix bug #75540 Segfault with libzip 1.3.1 - only 1.3.1 is affected - fix use after free
| | | * Better fix bug #75540 Segfault with libzip 1.3.1Remi Collet2017-11-201-2/+3
| | | | | | | | | | | | | | | | | | | | - only 1.3.1 is affected - fix use after free
* | | | Merge branch 'PHP-7.2'Remi Collet2017-11-201-0/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.2: NEWS NEWS NEWS fix bug #75540 Segfault with libzip 1.3.1
| * | | Merge branch 'PHP-7.1' into PHP-7.2Remi Collet2017-11-201-0/+3
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | * PHP-7.1: NEWS NEWS fix bug #75540 Segfault with libzip 1.3.1
| | * | Merge branch 'PHP-7.0' into PHP-7.1Remi Collet2017-11-201-0/+3
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | * PHP-7.0: NEWS fix bug #75540 Segfault with libzip 1.3.1
| | | * fix bug #75540 Segfault with libzip 1.3.1Remi Collet2017-11-201-0/+3
| | | |
* | | | Enable and fix printf() format warningsNikita Popov2017-11-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Add _unchecked() variants of zend_spprintf and zend_strpprintf for cases where we specifically want to disable these checks, such as use of %H.
* | | | Fix remaining signedness warningsAnatol Belski2017-11-141-1/+1
| | | |