History of Changes in the ZipArchive Library
Applies To: All
4.0.1 (2009-04-24)
Changes
-
Allowed using precompiled headers by correcting the stdafx.h inclusion order.
-
Projects for Visual Studio 2008/2005/2003 use now a precompiled header.
Bugs Fixed
-
Fixed problem with decompressing spanned archives (thanks to Miroslav Bonchev for reporting it).
-
CZipFile::Seek()
in the STL version didn't seek on files larger than 2GB when Zip64 was disabled.
-
Opening an archive that was not a split archive, was throwing exception when closing an archive even if the
iAfterException
parameter was set to CZipArchive::afAfterException (thanks to Dragan Milic for reporting it).
-
Opening a binary split archive could throw an exception sometimes (thanks to Dragan Milic for the fix).
-
Extracting a binary split archive could throw exception with some archives (thanks to Dragan Milic for reporting it).
-
Fixed run-time check failure under Visual Studio (a cast to a smaller data type has caused a loss of data) - thanks to James Grocholl for the fix.
-
Fixed custom Unicode compilation issues in the Open Source version (thanks to Ralph Valeriote for reporting it).
4.0.0 (2009-03-24)
New Features
Changes
- The library uses now Visual Studio 2008 project files by default. Project files for other compilers are available and maintained.
-
The following compiler macros were renamed:
-
ZIP_ARCHIVE_STL renamed to _ZIP_IMPL_STL.
-
ZIP_ARCHIVE_MFC renamed to _ZIP_IMPL_MFC.
-
ZIP_ARCHIVE_WIN renamed to _ZIP_SYSTEM_WIN.
-
ZIP_ARCHIVE_LNX renamed to _ZIP_SYSTEM_LINUX.
-
_ZIP64 renamed to _ZIP_ZIP64.
-
_BZIP2 renamed to _ZIP_BZIP2.
-
ZIP_ARCHIVE_USE_LOCKING renamed to _ZIP_USE_LOCKING.
-
ZIP_ARCHIVE_BZIP2_INTERNAL renamed to _ZIP_BZIP2_INTERNAL.
-
Changed opening modes for the CZipArchive::Open(LPCTSTR) method. The ZIP_AUTODETECT_VOLUME_SIZE compiler macro was removed, because it was no longer necessary.
-
Allowed direct modifications of CZipFileHeader instead of calling methods of the CZipArchive class.
-
The CZipCompressor::methodStore flag allowed in the CZipArchive::SetCompressionMethod() method.
-
CZipArchive::GetSegmMode()
removed. Use appropriate methods of the CZipStorage class (accessible through the CZipArchive::GetStorage() method).
-
Changed endianess detection. ZIP_ARCHIVE_LITTLE_ENDIAN was removed. Define _ZIP_BIG_ENDIAN to compile for big endinan. See Compilation of the ZipArchive Library and Integration with Applications for more information.
-
CZipArchive::Close() returns the name of the last volume in the archive. It is useful when handling split archives (to open a split archive, it is required to open the last volume).
-
The following methods and fields were renamed:
-
Exception CZipException::fileError is now thrown when attributes could not be read from a file (in various places).
-
CZipArchive::PredictMaximumFileSizeInArchive() uses now
CZipFileHeader::m_uComprSize instead of CZipFileHeader::m_uLocalComprSize.
-
ZipCompatibility::zcNtfs value changed to
11
to be consistent with other software (thanks to Ken Daraseng for reporting it).
-
CZipFile::OpenModes
made compatible with CFile
modes.
-
CZipFileHeader::m_uVersionMadeBy contains now only a "made by " version without the compatibility information.
-
When using CZipArchive::SetGlobalComment(), a file inside of archive cannot be opened for compression or extraction.
-
To use custom Unicode support in the ZipArchive Library, you need to define now _ZIP_UNICODE_CUSTOM (see Unicode Support: Using Non-English Characters in Filenames, Comments and Passwords for more information).
-
When using custom Unicode, CZipStringStoreSettings::m_uCommentCodePage is only used to set a file comment page, not global comment code page. Use the CZipArchive::SetGlobalComment() method instead.
- During modifications, the ZipArchive Library now checks, if the archive can be modified.
-
The CZipActionCallback::cbModify does not provide an archive name in the CZipActionCallback::Init() method, because multiple files can be renamed now at once.
-
Removed support for MSDN integration in Visual Studio 6.0.
-
Bzip2 library updated to 1.0.5 version.
Previous History
To see the history of previous versions, please visit
Archived History of Changes in the ZipArchive Library