Commit graph

249 commits

Author SHA1 Message Date
Con Kolivas
f40f883db3 We're freeing the wrong buffer by mistake should decompression fail. 2011-03-16 09:51:05 +11:00
ckolivas
45d85833f2 Prepare for release. 2011-03-08 13:10:02 +11:00
ckolivas
657f3f969e Remove all open coded strerrors when they're going to be shown by fatal(). 2011-03-08 12:04:30 +11:00
ckolivas
e3b5759ee4 Check for any unusual entries in get_fileinfo and abort. 2011-03-08 11:41:15 +11:00
ckolivas
c205d06829 Clean up unused variables. 2011-03-08 11:36:56 +11:00
ckolivas
57564d6c59 Reinstate version 0.571 update without new conf tools. 2011-03-08 08:34:56 +11:00
ckolivas
53afca6fe9 Revert "Updated autotools/conf system courtesy of Michael Blumenkrantz <mike@zentific.com>."
This reverts commit 5eaa1cc42b.

Conflicts:

	.gitignore

Temporarily remove updated autotools and save them for next larger version increment.
2011-03-08 08:30:33 +11:00
ckolivas
b45aaadc41 Revert "Increase version number to 0.571 signifying the mostly low-risk bugfix nature of all the changes (except for the new build system)."
This reverts commit 326cd29dd1.

Roll back temporarily to remove newconf tools.
2011-03-08 08:28:39 +11:00
ckolivas
9499a7b453 STDOUT does not affect the compression window in master branch. 2011-03-08 08:24:05 +11:00
Con Kolivas
b9470b43dc Basic local regression testing. 2011-03-08 08:21:15 +11:00
Con Kolivas
ef15ea28a8 Display outputting message only if not testing. 2011-03-07 21:18:15 +11:00
Con Kolivas
326cd29dd1 Increase version number to 0.571 signifying the mostly low-risk bugfix nature of all the changes (except for the new build system). 2011-03-07 21:13:31 +11:00
Con Kolivas
42c6b28958 Update changelogs. 2011-03-07 21:11:58 +11:00
Con Kolivas
44ed5727b3 Clean up and fix times displayed.
Merge fixes.
2011-03-07 21:05:20 +11:00
ckolivas
c6199980f0 Disable file checking when not possible or meaningful. 2011-03-07 20:53:59 +11:00
Con Kolivas
10b1201f82 Fix more of the dodgy merge. 2011-03-07 17:28:50 +11:00
Con Kolivas
9fc551c159 Merge branch 'temp'
Conflicts:
	main.c
2011-03-07 17:25:10 +11:00
Con Kolivas
fa821fe196 Updated changelog. 2011-03-07 17:15:59 +11:00
Con Kolivas
13a6fb5b43 Dump the temporary file generated to emulate stdout at the end of each chunk on decompression and then truncate the file instead of writing the whole file before dumping it. 2011-03-07 17:14:07 +11:00
Con Kolivas
32e182c95a Check for free space in the right place for compression and give the right message. 2011-03-07 17:00:28 +11:00
Con Kolivas
7f45a1f024 Update changelog so far. 2011-03-07 16:57:48 +11:00
Con Kolivas
8a4df9774f Forgot two instances of temporary outfiles that need to be unlinked. 2011-03-07 13:44:29 +11:00
Con Kolivas
68469c2b6f Don't dump output to stdout when testing. 2011-03-07 13:41:00 +11:00
Con Kolivas
06fd0a3528 Unlink files in safe places. 2011-03-07 13:40:43 +11:00
Con Kolivas
f9046e6756 Check free space after reading magic, and not when decompressing to stdout. 2011-03-07 13:36:03 +11:00
Con Kolivas
8fa01248e7 Unlink temporary files immediately to avoid files lying around in cases of unexpected/uncaught failure. 2011-03-07 13:33:14 +11:00
Con Kolivas
38eca38743 Unify maxram allocation and limit threads when there isn't enough ram. 2011-03-07 13:23:14 +11:00
Con Kolivas
e42916e51f Revert "Make sure to realloc filenames when making physical temp files to not have memory leaks."
This reverts commit 9c3d492524.

Oops, dirty commit.
2011-03-07 13:08:40 +11:00
Con Kolivas
8a4814081b Must read magic before testing free space.
Resolve conflict.
2011-03-07 13:06:30 +11:00
ckolivas
d1dc3dd6b1 Don't bother zeroing variables that are already zeroed by memset. 2011-03-07 13:04:01 +11:00
Con Kolivas
a4ac1b8221 Display the progress percentage and ETA when it's known on STDIN compress. 2011-03-07 13:03:43 +11:00
Con Kolivas
9c3d492524 Make sure to realloc filenames when making physical temp files to not have memory leaks.
Fix conflict in merge.
2011-03-07 13:02:17 +11:00
ckolivas
23f82e924d Update gitignore. 2011-03-07 12:59:57 +11:00
ckolivas
81500282cc Move verbose summary till after we know if we have STDIN and STDOUT to more accurately reflect the window chosen. 2011-03-07 12:57:53 +11:00
Con Kolivas
96efe033fd Ignore what stdout is going to when testing from stdin. 2011-03-07 12:56:10 +11:00
Con Kolivas
556803752b Fix windows EOL to unix on lzma.txt. 2011-03-07 12:52:12 +11:00
Con Kolivas
624de254ce Revert "Fallocate space in advance on decompression."
This reverts commit cf03cb0c04.

Fallocating for some reason fails to write the end of the file! Revert change pending further investigation.
2011-02-28 22:13:36 +11:00
Con Kolivas
9e548448d6 Checked for the wrong standard. 2011-02-28 21:18:53 +11:00
ckolivas
63566a2992 Control.window was broken comparing to zero max_chunk. 2011-02-28 14:10:46 +11:00
ckolivas
ab656aa98a Wrong check in rzip.c will leave a small chunk with unlimited mode. 2011-02-28 14:05:33 +11:00
Con Kolivas
5eaa1cc42b Updated autotools/conf system courtesy of Michael Blumenkrantz <mike@zentific.com>. 2011-02-27 00:17:29 +11:00
Con Kolivas
cf03cb0c04 Fallocate space in advance on decompression.
This often can speed up decompression of large files and decreases fragmentation.
2011-02-26 23:26:00 +11:00
Con Kolivas
fd5a77ac21 Check on the fd_out on decompression, NOT on fd_in. 2011-02-26 23:19:50 +11:00
Con Kolivas
8bdd5688c8 Check for free space before compression/decompression and abort if -f option is not enabled. 2011-02-26 23:10:28 +11:00
Con Kolivas
3433438a8e Structs in stream.c can be static. 2011-02-26 20:11:43 +11:00
Con Kolivas
db4f9f5fea Only retry mmapping if it's due to a memory allocation error. 2011-02-26 20:00:26 +11:00
Con Kolivas
7acd389382 Trivial cast to uchar * 2011-02-26 19:45:00 +11:00
ckolivas
9b60d6e703 Update manpage to new, cleaner help format. 2011-02-25 10:55:27 +11:00
ckolivas
930b86fabe Update manpage reflecting verbose information. 2011-02-25 10:32:33 +11:00
ckolivas
e337cce320 Increment version to 0.570. 2011-02-25 10:16:58 +11:00