From f056000f7cad933ad870ecab40ea0e6687f832e9 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 21 Feb 2011 00:02:14 +1100 Subject: [PATCH] Update documentation. --- ChangeLog | 26 ++++++++++++++++++++++++++ WHATS-NEW | 19 +++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/ChangeLog b/ChangeLog index 30344e7..396c8de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,30 @@ lrzip ChangeLog +FEBRUARY 2011, version 0.560 Con Kolivas +* Rewrote the locking implementation to use pthread_mutexes instead of +semaphores. This makes multi-threading work on OSX. +* Re-use a single malloc in unzip_match instead of multiple malloc/frees. +* Imported the md5 code from coreutils and modified them to be used by lrzip. +* Implemented md5 hash checking on compression and decompression by using +buffers to pass to the existing crc checking and re-using them for the md5 +checking. +* Sped up the hash checking on compression by not reading the whole chunk at +once to do the hash check, and instead read one paged size chunk. +* Store the md5 hash value at the end of the archive, maintaining backward +compatibility with existing 0.5 versions of lrzip, and place a flag in the +header denoting its existence. +* Use the header flag for md5's existence to determine what hash check to +perform on decompression. +* Add hash value display to maximum verbose output and in information mode. +* Add -H option to enable hash value displaying without verbose mode. +* Display what hash checking will be used on decompression in verbose mode and +in information displayed with -i. +* Add -c option to perform a hash check on the file generated on decompression, +comparing it to that stored in the lrzip archive, or that generated on +decompression on archives that do not have it stored. +* Delete broken or damaged files generated on interruption or when they fail +integrity testing by default. +* Implement the -k option to keep broken or damaged files. + FEBRUARY 2011, version 0.552 Con Kolivas * Fix incompressible blocks causing failure with bzip2 and gzip. * Freebsd doesn't do mremap, use the fake one. diff --git a/WHATS-NEW b/WHATS-NEW index c15eb17..b4899ff 100644 --- a/WHATS-NEW +++ b/WHATS-NEW @@ -1,3 +1,22 @@ +lrzip-0.560 + +Implemented OSX multi-threading by converting all semaphores to pthread_mutexes. +Converted the integrity checking to also use md5 hash checking. As a bonus it +is still backwardly compatible by still storing the crc value, and yet is +faster on large files than the old one. On decompression it detects whether +the md5 value has been stored and chooses what integrity checking to use. +Implemented the -H feature which shows the md5 hash value on compression and +decompression. It is also shown in max verbose mode. +Added information about what integrity testing will be used in verbose mode, +and with the -i option. +Added the -c option which will perform a hash check on the file generated on +disk on decompression, comparing it to that from the archive to validate the +decompressed file. +Modified lrzip to delete broken or damaged files when lrzip is interrupted or +the file generated fails an integrity test. +Added the -k keep option to keep broken or damaged files. +Case reports of corruption have been confirmed to NOT BE DUE TO LRZIP. + lrzip-0.552 Fixed a potential silent corruption bug on decompression.