Fork of the popular zip manipulation library found in the zlib distribution.
CMakeLists.txt: fix build without C++. #621 Update old references to dev environment. Added mz_zip_entry_get_compress_stream to get the compression stream for an entry. Only add OPENSSL_INCLUDE_DIR to include directories if variable is set. memstream delete -> stream delete. #618 Added build directory to public interface when using compat mode. #588
Link system zlib-ng if available. #574 Generated files unzip.h and zip.h shall be in build directory. #587 Fixed improper null termination in mz_os_get_file_date. #601 Fixed various issues related to setting external ZLIB repository. #603 Fixed buffer overrun in mz_path_combine. #609 Fixed issues related to building for PSP. #610 Fixed improper null termination in mz_zip_writer_open_file. #611 Fixed buffer overrun in mz_dir_make. #611 Default to -ng project suffix when MZ_COMPAT is not enabled. Change minizip cmake alias name to be consistent. Added SHA224, SHA384, SHA512 to crypt.
Fixed not writing ZIP64 central directory when number of entries is UINT16_MAX. #596
Use only major project version as soversion. #592 Ensure .pc variables use absolute directories. #584 #590 Replace use of GNU C definitions with standard definitions for non-GNU C comforming compilers when checking if we need to define fixed-width integer types. #585 Fixed OpenSSL crypto for use with BoringSSL. #583 Fixed not recognizing AppleClang for Xcode when building fuzzer executables. #582 Fixed memory leak if mz_zip_writer_add_path fails. #576
Made cmake _IMPORT_PREFIX relative. #569 Add support for ioapi in compatibility layer. #566 Fix inclusion of fetched bzip2 sources. #562 Disable hash extrafield if crypto library is not enabled by encryption or signing features. #560 Replace _WINDOWS by _WIN32. #475
Fixed CMake minimum required version. Fixed CMake find_package not working if lib is install in custom location. Added CMake alias target for consistence between find_package, FetchContent, ExternalProject. Changes to CMake config to respect MZ_PROJECT_SUFFIX. Improved CMake ZStd detection. Fixed signed/unsigned comparison warning in MSVC. Fixed ASAN integer-overflow if cd_offset + cd_size > INT64_MAX.
Updated name of project to minizip-ng. Added append argument to mz_zip_writer_open function. #544 Remove BRG dependency:
Use COMPRESSION_ZLIB when compiling against Apple's libCompression. #478 Fixed ZSTD still being fetched when MZ_FETCH_LIBS is OFF. #539 Exposed function to seek to local header mz_zip_entry_seek_local_header. Added max_seek parameter to mz_zip_extrafield_find to limit the amount we search for extrafield. #543 Always store compressed and uncompressed sizes in zip64 extension. #543 Update zip64 extension size values if not using data descriptor. #543 Don't use zip64 for local header directory entries. #543
Fixed pk_verify not being set when writing encrypted entries. Silent message about BZip2 not being found from find_package. Add MZ_FETCH_LIBS and MZ_FORCE_FETCH_LIBS options to enable/disable fetching of third-party libraries. #539 Fix simple typo in docs
Fixed unzGetCurrentFileInfo compat function when pfile_info is NULL. #536 Fixed bugs compiling with MZ_WINRT_API. #534 Added MZ_ICONV to cmake to allow user to explicitely disable iconv. #533 Fixed zconf.h not found in out-of-source-tree builds. #532 Fixed potential null dereference in reader/writer create functions. #531 Fixed compiling with libressl 2.7.0 and above. #530 Fixed mismatching NTFS date/time causing decryption failure. #527