Commit graph

975 commits

Author SHA1 Message Date
Con Kolivas 7bd62530f9 Remove build requirement for deprecated header. 2022-07-14 09:57:42 +10:00
Con Kolivas 700ad23a2d Remove unused header. 2022-07-14 09:53:24 +10:00
Con Kolivas dce1ab8ec8
Merge pull request #231 from tpwrules/fix-stdio
switch to chunk-wide read/write loops when loading and dumping in stdio mode
2022-07-14 09:36:53 +10:00
Thomas Watson 469074b4a5 switch to chunk-wide read/write loops when loading and dumping in stdio mode
This fixes the high CPU usage and slow speeds observed when using
stdio mode and temporary files need to be spilled to disk.
2022-07-10 13:33:46 -05:00
Con Kolivas 7c079abb17
Merge pull request #230 from rubenllorente/master
Added OpenBSD support (2nd attempt)
2022-06-26 20:25:09 +10:00
Rubén Llorente 2c50a224f8 Added OpenBSD support 2022-06-26 12:07:40 +02:00
Con Kolivas 3495188cd8 Check for invalid repeated head that can lead to infinite loop in info mode. 2022-04-12 19:05:59 +10:00
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