Commit graph

968 commits

Author SHA1 Message Date
Con Kolivas e5e9a61fcc Bump version and documentation. 2022-03-09 08:58:18 +11:00
Con Kolivas cdec0951d7 Add warnings for low thread and memory usage. 2022-03-09 08:53:37 +11:00
Con Kolivas 80f7d91044
Merge pull request #221 from ib/master
Do not use locale for info output
2022-03-09 06:01:41 +11:00
Ingo Brückl e816f1dece Do not use locale for info output
Also, remove all thousands separators from printf formats.
2022-03-08 14:19:24 +01:00
Con Kolivas 53029415df
Merge pull request #219 from atsampson/nopc
Don't install Lrzip.h or lrzip.pc.
2022-02-28 07:21:30 +11:00
Adam Sampson 7404f72afd Don't install Lrzip.h or lrzip.pc.
The library is no longer installed, so these files aren't needed either.
2022-02-27 15:28:27 +00:00
Con Kolivas e08ead1e00 Bump version to 0.650. 2022-02-27 21:19:13 +11:00
Con Kolivas 74814b3183 Show output and progress with -P in lrz compatibility mode. 2022-02-27 21:18:47 +11:00
Con Kolivas f0c31e7ebb Update documentation. 2022-02-27 21:14:10 +11:00
Con Kolivas d000920ff7 Update copyright dates for affected files. 2022-02-27 21:05:15 +11:00
Con Kolivas 386b1c6669 Update manpage for very-quiet option. 2022-02-27 21:02:33 +11:00
Con Kolivas 41e8014d2c Add a -Q/--very-quiet option to suppress normal output to console. 2022-02-27 20:07:31 +11:00
Con Kolivas 1974d68407 Change -q to only silence progress as per documentation. 2022-02-27 18:35:10 +11:00
Con Kolivas ec926c62b2 Fix and tidy up clear_rulist. 2022-02-27 18:13:42 +11:00
Con Kolivas ec54339be6 Cleanup unused code. 2022-02-27 17:27:45 +11:00
Con Kolivas 09ceb85afa Fix stdout dumping to console when there is inadequate memory to compress in ram by properly using temporary files. 2022-02-26 15:14:52 +11:00
Con Kolivas c873e52ec2 Do not restrict any reads or writes to 1GB on 64bit. 2022-02-26 10:58:52 +11:00
Con Kolivas fb59467d11 There is no need to restrict read and write requests to 1GB on 64bit. 2022-02-26 10:46:10 +11:00
Con Kolivas 4b3942103b Fix possible race condition between zpaq_decompress_buf() and clear_rulist() function as reported by wcventure. 2022-02-26 10:11:49 +11:00
Con Kolivas 23407bc8f7 Revert "Fix control->suffix being deallocated as heap memory as reported by Pietro Borrello."
This reverts commit 5faf80cd53.

No longer needed without liblrzip.
2022-02-26 09:21:45 +11:00
Con Kolivas 23fc8a8f63 Deprecate and remove unused liblrzip. 2022-02-26 09:21:16 +11:00
Con Kolivas bf11a54b99 Remove check for MD5_RELIABLE as md5 is reported to be reliable on macos according to Peter Hyman. 2022-02-25 23:07:47 +11:00
Peter Hyman 06b1c08228 Pretty format info output. 2022-02-25 23:03:38 +11:00
Con Kolivas 8843bdfeb9 Cope with android predefining PAGE_SIZE as reported by fpliu. 2022-02-25 22:56:15 +11:00
Con Kolivas 5faf80cd53 Fix control->suffix being deallocated as heap memory as reported by Pietro Borrello. 2022-02-25 22:35:20 +11:00
Con Kolivas 30f5be918a
Merge pull request #205 from oded-ist/master
Fix & optimization for unzip_match
2021-11-16 22:11:38 +11:00
Con Kolivas 64eb4a8c37 Merge branch 'master' of github.com:ckolivas/lrzip 2021-11-16 22:08:49 +11:00
Con Kolivas 562a643481 As pointed out by Peter Hyman Examining the output of max verbose lrzip -vvi revealed that the offset shown for stream 1 is incorrect. It uses the same offset as stream 0. This occurs for all chunks. 2021-11-16 22:07:13 +11:00
Con Kolivas 6a1600b354
Merge pull request #209 from scop/exit-statuses
Exit status fixes.
2021-08-29 18:54:15 +10:00
Con Kolivas 1400c19c0a
Merge pull request #208 from scop/spelling
Spelling fixes.
2021-08-29 18:53:33 +10:00
Ville Skyttä 8aaf5be82a Exit status fixes.
Previously help and all usage errors resulted in exit status 255, which
is unconventional.

Treat help as non-error, and error with status 2 for usage errors to
match more common command behavior.

The exit status of -? changes to that of an usage error, even though it
is listed as one of the help invoking options, due to getopt_long
behavior.
2021-08-29 10:32:15 +03:00
Ville Skyttä ce409990e7 Spelling fixes. 2021-08-29 10:15:14 +03:00
Oded Shimon acaa8374d0 Fix & optimization for unzip_match
read_fdhist() cannot be called after write_1g() is called, in case that write() caused a switch to !TMP_OUTBUF, moving the read pointer.
read_fdhist() should only be called immediately after seekto_fdhist()

In this case, only one call to read_fdhist() was enough, before the loop, as subsuequent calls only gave repeats of the same data.
2021-07-11 11:20:04 +03:00
Con Kolivas 465afe830f Bump version to 0.641 2021-03-06 10:20:42 +11:00
Con Kolivas a4d3fa14cf Update whats new for critical fix. 2021-03-06 10:19:58 +11:00
Con Kolivas 042eb57e03 Simplify and fix lz4 compresses function. 2021-03-06 10:18:17 +11:00
Con Kolivas 467fd92605 Update version to 0.640. 2021-02-16 15:53:30 +11:00
Con Kolivas ef8773132e Minor makefile cleanups. 2021-02-16 15:51:36 +11:00
Con Kolivas 58d3110407 Add demo executables to .gitignore. 2021-02-16 14:42:14 +11:00
Con Kolivas dd81769f88 Update .gitignore. 2021-02-16 14:29:10 +11:00
Con Kolivas c5e0df5cf9 Update copyright notices. 2021-02-16 14:20:06 +11:00
Con Kolivas 3818727a72 Fix warning. 2021-02-16 14:05:22 +11:00
Con Kolivas 321c9ce93e Fix warnings in liblrzip_demo.c 2021-02-16 11:54:56 +11:00
Con Kolivas 2f5c9c083e Add liblz4-dev to github integration. 2021-02-16 09:51:20 +11:00
Con Kolivas 3345a239b7 Use lz4 for compressibility testing only, which won't break existing archives, but speeds up testing slightly. This makes liblz4 a required library. 2021-02-16 09:41:14 +11:00
Con Kolivas 224a6306e9 Put a workaround to possibly read previously corrupted archives missing lzma properties. 2021-02-16 01:20:29 +11:00
Con Kolivas de2c9c5f62 Work around corrupt archives when compressing small files with lzma to stdout. 2021-02-16 01:14:32 +11:00
Con Kolivas 590377819c Revert "Chunk size should not be zero."
This reverts commit a80c0b5e20.

Incorrect fix, needs reworking.
2021-02-16 01:10:01 +11:00
Con Kolivas 786cdf3463 Fix make install with asm. 2021-02-15 23:25:20 +11:00
Con Kolivas d877d11468 Revert to hard coding the version number in configure.ac for the master tree. Using git describe for version numbering can be reserved to 100% git repository based builds. 2021-02-15 23:05:10 +11:00