Tags: inviCRO/minizip
Tags
Fixed incorrect size of data descriptor fields. zlib-ng#220 Changed bzip stream code so it is similar to zlib stream code.
Fixed zlib stream not writing all flush/finish bytes. Fixed bug reading entries with 0 size. zlib-ng#217 Fixed bugs in buffered stream. zlib-ng#216 Fixed writing raw data to zip file in compatibility layer. Fixed _FILE_OFFSET_BITS typo. zlib-ng#214 Fixed missing prototypes warning. zlib-ng#213 Fixed unused variables. zlib-ng#212 Simply freeing of resources when zip fails to open. Verify decryption header to detect wrong password for traditional PKZIP. Fixed snprintf isn't defined before MSVC 2015. zlib-ng#209 Fixed potential mismatch of calling conventions. zlib-ng#208 Various fixes to the compatibility functions. zlib-ng#206
Merged fcrypt since it has limited support. Allows for easy AES libra… …ry drop-in replacement for products that have their own AES library. Add ability to compile without zlib for LZMA support only. Write bits 1 and 2 of general purpose bit based on compression method. Added liblzma crc32 functions back in. Added missing function in buffered stream. zlib-ng#205 Fixed compilation without encryption. zlib-ng#204 Fixed file handle not closed in win32. zlib-ng#203
Fixed don't save modified date if it is zero. Fixed not uncompressing stream properly. Check for null return value from localtime. Fixed printing of error code when listing zip in minizip example app. Fixed compatibility #defines to point to the correct functions. Fixed #define for dosdate_to_tm. Moved get_file_crc, get file size, file exists function into os. Fixed various warnings on linux. Remove unused bzip2 file. Added zip memory test.
Rename some variables for consistency. Added support for NTFS timestamps. zlib-ng#140 Fixed reading cd while in write mode can cause cd to be prematurely written.
Modifications so you can read the entries when in write mode. Force compression method to RAW when compression level is set to 0. Fixed compilation issues with missing files. zlib-ng#193 Added zipcharpc for compatibility layer. zlib-ng#192
Fixed force opening of zip with raw. Move raw stream back to zlib. Move version_madeby out of the zip close function. Removed need for zip64 value in mz_file_info. Fixed bug reading local header filename and extrafield. Removed global_info structure and added accessors for global comment and number entries. Merged miniunz into minizip. Renamed passthru stream to raw stream. Removed zlib extra compression parameters, so now all streams have the same basic parameter, which is compression level. And so got rid of mz_zip_compress and mz_zip_crypt structures. Fixed issues using the disk splitting stream when the disk size was 0. Changed return value of mz_file_exists to be consistent with all other functions. Updated test harness and added empty zip test. Fixed more bugs reading lzma, bzip2, and zlib streams. Removed unused options from zlib stream and other cleanup. Fixed bzip2 not returning read = 0 on next call after end of stream. Fixed lzma trying to decode uncompressed size which isn't used in zip format. Merged unzip and zip classes into one zip class and reduce a lot of redundant code between the two. Fixed total_in value for lzma, bzip2, zlib streams. Fixed read functions for lzma, bzip2, and zlib not returning error. Fixed reading whole buffer to workaround incorrect headers. zlib-ng#171 Code cleanup and fixed warnings.