Commit graph

684 commits

Author SHA1 Message Date
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
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
Con Kolivas 5c811a9311 We have to run through the clear buffer function even for empty buffers or corrupt archives with empty match streams. 2013-09-01 15:02:52 +10:00
Con Kolivas 568dffafbc MD5 code uses little endian so remove arbitrary SWAP macro and explicitly use htole32. 2013-09-01 12:50:14 +10:00
Con Kolivas eff1efdbc5 Rewrite the magic if we receive lzma properties and have not yet written them yet during stdout operation. 2013-09-01 12:25:06 +10:00
Con Kolivas b076dbb59d Set the control lzma properties only once. 2013-09-01 12:17:51 +10:00
Con Kolivas 4db4641dae Add a control lock mutex for protecting certain control variables. 2013-09-01 12:11:51 +10:00
Con Kolivas 37ef39e70a Fix stdin fake mremap creating null bytes on osx, patch courtesy of John Boyle. 2013-09-01 08:43:28 +10:00
Con Kolivas 2c1dda7b73 Cache frequently used indirectly referenced variables in the sliding mmap code. 2013-03-19 00:17:52 +11:00
Con Kolivas 87fe625829 Micro-optimise sliding_get_sb_range. 2013-03-18 23:58:10 +11:00
Con Kolivas 2df8968e75 A fix for a bug where large files containing the same non-zero bytes which requires a sliding window, courtesy of Serge Belyshev. 2013-03-18 23:50:32 +11:00
Con Kolivas ccf225f710 Put vchar should take a 64 bit integer and is used from more than one call site so uninline it. 2012-12-31 16:02:54 +11:00
Con Kolivas 6f0410d28f Microoptimise in hash_search. 2012-12-31 15:02:49 +11:00
Con Kolivas e1fd5d6d11 Inline rzip functions used from only one caller. 2012-12-31 13:24:33 +11:00
Con Kolivas 0b8c0818a0 Check for successful calloc of hash table only after performing it. 2012-12-31 13:16:03 +11:00
Con Kolivas 5591639863 stdin_eof is just a bool 2012-12-31 13:09:47 +11:00
Con Kolivas 02b3250639 hash_bits can only be up to 64 so use a char type. 2012-12-31 13:04:06 +11:00
Con Kolivas 73e921b862 Check endianness of build with autotools to enable md5 support on more platforms. 2012-12-30 13:10:47 +11:00
Con Kolivas 585113d42d Bump version to 0.614 2012-07-13 10:42:40 +10:00
Con Kolivas 3238ce712c Update changelogs. 2012-07-13 10:42:20 +10:00
Con Kolivas 1aa0c0fdd0 Fix crash with -S by not freeing control->suffix. 2012-07-13 10:40:41 +10:00
Con Kolivas 275523661d Revert "Fix invalid free error when -o and -S are used together."
This reverts commit 0d6944bd3f.

Breaks lrztar.
2012-07-13 10:38:29 +10:00
Con Kolivas 2685f3dd32 Add more benchmarks. 2012-07-07 23:59:26 +10:00
Con Kolivas ea731b5748 Update documentation. 2012-07-07 22:58:43 +10:00
Con Kolivas 108d153f5e Bump version number to 0.613 2012-07-07 22:52:43 +10:00
Con Kolivas 745c2e2352 Fix other non-win32 compilation for libzpaq. 2012-07-07 22:17:00 +10:00
Con Kolivas ee08f310da Fix libzpaq compilation on other non-win32 OSs. 2012-07-07 22:13:15 +10:00