Commit graph

709 commits

Author SHA1 Message Date
Con Kolivas 9380d40a57 Bump version to 0.620 2015-03-03 14:20:12 +11:00
Con Kolivas 33964ba6a4 Update Changelog 2015-03-03 14:19:12 +11:00
Con Kolivas c14f9ccab3 Increase maxram when we abandon use of temporary input/output buffers 2015-03-03 14:15:09 +11:00
Con Kolivas b48c3b2ee4 Don't delete the tmpinfile when decompressing from stdin before allowing seek to end to succeed in checking md5 2015-03-03 13:38:51 +11:00
Con Kolivas 3f746d5d60 Use temporary file from read_seekto when STDIN will not fit in the ram input buffer 2015-03-03 13:09:00 +11:00
Con Kolivas a334444977 Remove unused read_i64 function 2015-03-03 09:35:35 +11:00
Con Kolivas 133d52cc68 Add message about issue tracker in BUGS 2015-02-09 09:23:37 +11:00
Con Kolivas 19396eb5af Merge pull request #30 from elmirjagudin/mem_limit_flag
command line option to limit memory usage
2015-02-09 09:21:09 +11:00
Con Kolivas 05ae5eab75 Use a common exit path iin lrzip_compress/decompress and fix lr leak on successful return 2015-02-09 09:19:03 +11:00
Con Kolivas e21bd815a7 Merge pull request #35 from cspiegel/master
A couple of small fixes
2015-02-09 09:04:56 +11:00
Con Kolivas 8814c7638d Merge branch 'pete4abw-master' 2015-02-09 09:03:48 +11:00
Con Kolivas 9b7405e9cd Roll back inappropriately updated version with other patches 2015-02-09 09:03:37 +11:00
Chris Spiegel e6338e9f9e Fix parenthesis placement inside of unlikely(). 2015-01-31 23:05:27 -08:00
Chris Spiegel fb3762ee97 Clear sa_mask and sa_handler before calling sigaction(). 2015-01-31 22:51:11 -08:00
Peter Hyman 70c87cbc62 Fix for lrzip -i. Decompressed size wrong 2014-12-31 13:57:37 -05:00
Elmir Jagudin 14a824da2c added '-m' command line option
Added an option to override detected available ram. Can be used
to limit the amount of ram used by lrzip.
2014-06-18 16:24:19 +02:00
Con Kolivas 2c151a0d1b Fix wrong README file being included in Makefile 2014-05-30 22:48:48 +10:00
Con Kolivas b81b61cd40 Merge pull request #19 from haneefmubarak/patch-1
Full Rewrite (except for FAQ, minor changes there)
2014-05-30 22:12:41 +10:00
Con Kolivas 4aa69a104a Pass strict sizes to decompress length, rounding up only the amount we're allocating to not confuse decompression libraries 2014-05-30 22:05:51 +10:00
Con Kolivas 22496bdd5a Convert the thread locking to use cksems 2014-05-30 21:27:21 +10:00
Con Kolivas 298d6a6715 Add cksems to util.h 2014-05-30 21:05:05 +10:00
Con Kolivas f80512cb29 Merge pull request #27 from Maeyanie/patch-1
Fix 'Failed to malloc ckbuf in hash_search2' with very large files.
2013-11-04 18:41:02 -08:00
Maeyanie 2e1fc25543 Fix 'Failed to malloc ckbuf in hash_search2' with very large files.
lrzip was trying to malloc() enough memory to fit the entire length of file it was going to hash, instead of just the size of one chunk. This caused problems when combined with extremely large files.
2013-11-04 18:10:15 -05:00
Con Kolivas 6c8525893b Round up compression and decompression buffers to page size since malloc will allocate them that large anyway. 2013-09-14 12:58:31 +10:00
Con Kolivas 47de07affb Increase the compressed buffer size given to libzpaq in case of incompressible data since it does not check if it's trying to write beyond the end of the buffer. 2013-09-14 11:45:23 +10:00
Con Kolivas 6bb837761f Provide a helper function to round a value up to the nearest page size for malloc optimisations. 2013-09-14 11:41:57 +10:00
Con Kolivas d5c00f96f7 Bump version number to 0.616 2013-09-09 09:43:30 +10:00
Con Kolivas 84665b758f Update changelogs. 2013-09-09 09:43:06 +10:00
Con Kolivas 35c615db92 Merge pull request #23 from irrequietus/master
Simplifying and refactoring lrztar logic.
2013-09-08 06:51:39 -07:00
George Makrydakis 5f572c75d0 Making things more homogeneous in checks, some space removed. 2013-09-08 16:50:09 +03:00
George Makrydakis 0a63179529 Simplifying and refactoring logic, alignment edits, empty semantic rewire. 2013-09-08 16:11:59 +03:00
Con Kolivas 821221c8f9 Merge pull request #22 from irrequietus/master
Making -O and -f modus operandi semantically consistent.
2013-09-08 04:34:26 -07:00
George Makrydakis 66ae7c85bf Target directories must always exist and -f should not create them. 2013-09-08 14:20:06 +03:00
George Makrydakis b196440c9d Deferring output directory after -f check has taken place. 2013-09-08 13:20:54 +03:00
Con Kolivas 418791fd55 Merge pull request #21 from irrequietus/master
Preserve extraction semantics without resorting to tar stripping.
2013-09-06 16:01:05 -07:00
George Makrydakis 9ded009ac1 Preserve extraction semantics without resorting to tar stripping. 2013-09-07 01:57:14 +03:00
Con Kolivas 497641e951 Merge pull request #20 from irrequietus/master
Forward slash and force overwrite checkpoint fixes.
2013-09-06 14:44:12 -07:00
George Makrydakis 897430d8cc Making sure last forward slash is removed from input path. 2013-09-07 00:36:14 +03:00
George Makrydakis 1959fad869 Removing pointless forced overwrite point check. 2013-09-07 00:35:04 +03:00
Haneef Mubarak c1f445308c Full Rewrite (except for FAQ, minor changes there)
- Cleanup
 - Rewrite of most of document
 - Added GitHub Flavored Markdown
 - Contributors Table
 - Tl;DR
 - Misc.
 - etc.
2013-09-02 23:05:55 -07:00
Con Kolivas acf81ead70 Bump version to 0.615 2013-09-02 12:21:54 +10:00
Con Kolivas e3264fe117 Update NEWS and ChangeLog. 2013-09-02 12:21:54 +10:00
Con Kolivas d8df50c9b7 Update various copyright dates. 2013-09-02 12:21:54 +10:00
Con Kolivas e32636826b Merge pull request #18 from irrequietus/master
Adjusting -O flag semantics, options help update.
2013-09-01 16:50:47 -07:00
George Makrydakis 8e1411b4ae Adjusting -O flag semantics, options help update. 2013-09-02 02:30:53 +03:00
Con Kolivas 8a0078a4e5 Merge pull request #17 from irrequietus/master
Updating and fixing lrztar, lrzuntar for some of their flags.
2013-09-01 13:59:40 -07:00
George Makrydakis ed6be83fcc Making -O flag operative for lrztar, whitespace path fix, lrzuntar fix, other minor. 2013-09-01 23:07:15 +03:00
Con Kolivas 66cf21db3a Merge pull request #7 from CAFxX/patch-1
silly cosmetic change
2013-09-01 07:11:15 -07:00
Con Kolivas 8244513719 Further tighten up ram restrictions with stdin/stdout to prevent running out of memory with all the buffers involved. 2013-09-02 00:07:30 +10:00
Con Kolivas 21925e4a9c Massive files fail with -U due to trying to allocate the whole lot in ram while doing checksums. Do it piecemeal to avoid the problem. Patch and debugging courtesy of Adam Tkáč. 2013-09-01 15:46:48 +10:00