]> granicus.if.org Git - php/commitdiff
Zip: version is now 1.17.0
authorRemi Collet <remi@php.net>
Fri, 31 Jan 2020 08:10:10 +0000 (09:10 +0100)
committerRemi Collet <remi@php.net>
Fri, 31 Jan 2020 08:10:10 +0000 (09:10 +0100)
change for Windows (which have libzip 1.4 by default)
update NEWS

NEWS
ext/zip/config.w32
ext/zip/php_zip.h

diff --git a/NEWS b/NEWS
index a0147141c5ddf3f946f5d4970377e618c72c391c..a41a74acc40a0c3ada91fd3973844b9bc30e0520 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -120,6 +120,8 @@ PHP                                                                        NEWS
 
 - Zip:
   . Fixed bug #72374 (remove_path strips first char of filename). (tyage)
-  . Add ZipArchive::setMtimeName and ZipArchive::setMtimeIndex methods
+  . Add ZipArchive::setMtimeName and ZipArchive::setMtimeIndex methods. (Remi)
+  . Add ZipArchive::setProgressCallback method (since libzip 1.3.0). (Remi)
+  . Add ZipArchive::setCancelCallback method (since libzip 1.6.0). (Remi)
 
 <<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
index f27b047b2f49a81ac959c68d8706723b65da22c7..ab7742e227f927476001319c5ac90f665375c3cb 100644 (file)
@@ -15,7 +15,7 @@ if (PHP_ZIP != "no") {
                }
 
                AC_DEFINE('HAVE_ZIP', 1);
-               ADD_FLAG("CFLAGS_ZIP", "/D _WIN32 /D HAVE_SET_MTIME /D HAVE_ENCRYPTION /D HAVE_LIBZIP_VERSION");
+               ADD_FLAG("CFLAGS_ZIP", "/D _WIN32 /D HAVE_SET_MTIME /D HAVE_ENCRYPTION /D HAVE_LIBZIP_VERSION /D HAVE_PROGRESS_CALLBACK");
        } else {
                WARNING("zip not enabled; libraries and headers not found");
        }
index b6617e81fb3f1eb895afcc0b10c686d6981ec494..c0969292a8a31c719be323bad5ace5129a9bbd7b 100644 (file)
@@ -31,7 +31,7 @@ extern zend_module_entry zip_module_entry;
 #define ZIP_OVERWRITE ZIP_TRUNCATE
 #endif
 
-#define PHP_ZIP_VERSION "1.16.1"
+#define PHP_ZIP_VERSION "1.17.0"
 
 #define ZIP_OPENBASEDIR_CHECKPATH(filename) php_check_open_basedir(filename)