change for Windows (which have libzip 1.4 by default)
update 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! >>>
}
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");
}
#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)