Commit graph

728 commits

Author SHA1 Message Date
Con Kolivas
44fa63bf11 Merge branch 'master' into liblrzip
Conflicts:
	stream.c
2011-08-17 21:19:13 +10:00
Con Kolivas
8f5fb91682 Fix warning. 2011-08-17 21:16:37 +10:00
Con Kolivas
651c4f6252 Add simple high level liblrzip interfaces. 2011-08-17 21:03:02 +10:00
discomfitor
8d299570e9 add queue popping functions 2011-08-17 21:02:07 +10:00
discomfitor
e111d890ee whoops typo 2011-08-17 21:02:07 +10:00
discomfitor
3316dd5505 remove trailing whitespace 2011-08-17 20:59:41 +10:00
discomfitor
223a1107ea add info callback which provides percentage completion of operation 2011-08-17 20:59:41 +10:00
discomfitor
6e702f49c4 add lrzip log level enum 2011-08-17 20:59:41 +10:00
discomfitor
120153c975 new liblrzip demo which mimics lrzip, updates to simple decompress demo 2011-08-17 20:59:41 +10:00
discomfitor
f32191bee1 v0.00000001 of liblrzip 2011-08-17 20:59:41 +10:00
discomfitor
63141a1035 add some gross bucketing to implement a queue for freeing stream_info structs after an operation has completed (in library mode ONLY; no changes will occur during regular execution) to fix some leaks 2011-08-17 20:59:41 +10:00
discomfitor
949c6d7a97 another semi-clusterfuck commit: *new logging macros *allow compression to and from any FILE, not just stdin/stdout *update main.c to work with the above 2011-08-17 20:59:41 +10:00
discomfitor
b6dc92a7af test for file existence and delete files between tests 2011-08-17 20:59:40 +10:00
discomfitor
6dd20d735b giant clusterfuck commit: *add and use alloca/strdupa in some spots *implement return values on almost every function *free() is now a macro which also nulls the freed pointer *when in 'library mode', fatal_exit() will not be called *fatal()/failure() are now macros which add line number and file for logging *all occurrences of fatal/failure in files other than main.c are now wrapped to use a logging callback (if specified) and then return *functions now clean up resources on returning with an error 2011-08-17 20:59:40 +10:00
discomfitor
d7495cee61 add alloca check 2011-08-17 20:59:40 +10:00
discomfitor
4721863c4f v0.00000000000000000000001 of liblrzip 2011-08-17 20:59:40 +10:00
discomfitor
133b201867 move more code out of main.c, allocate outfile suffix 2011-08-17 20:59:40 +10:00
discomfitor
08d2294e5e add password callback hook 2011-08-17 20:59:40 +10:00
discomfitor
cbff8faef7 move liblrzip.h contents to lrzip_private.h global variables----- 2011-08-17 20:59:40 +10:00
discomfitor
e85e4df0ef move compression overhead calcs out of main() 2011-08-17 20:59:40 +10:00
discomfitor
1c64dcfb31 more initialization stuff out of main(), remove weird coincidentally successful one_g variable 2011-08-17 20:59:40 +10:00
discomfitor
cfd6915b20 move some initialization stuff out of main() 2011-08-17 20:59:40 +10:00
discomfitor
4642e68d6f abort() instead of exit() 2011-08-17 20:59:40 +10:00
discomfitor
87120e0f75 use liblrzip.h defines in main.c 2011-08-17 20:59:40 +10:00
discomfitor
59f10b2c9c move functions+defines out of main.c 2011-08-17 20:59:40 +10:00
Con Kolivas
7104809cd1 FreeBSD needs fake memopen too. 2011-08-17 20:54:23 +10:00
Con Kolivas
4a157fd659 Update makefile generation to posix portable way.
Patch courtesy of John Hein <jhein@symmetricom.com>
2011-05-21 10:01:38 +10:00
Con Kolivas
78e26be2ec Update version and changelog. 2011-05-14 12:55:13 +10:00
Con Kolivas
cf5e988656 Fix broken lrzuntar as lrzip doesn't automatically convert to stdout now so use lrzcat instead. 2011-05-14 12:49:03 +10:00
Con Kolivas
51a2c167d1 Update version number to 0.605. 2011-05-08 01:32:21 +10:00
Con Kolivas
55ccfc7155 Update changelogs with last changes going into 0.605 2011-05-08 01:31:49 +10:00
Con Kolivas
b85d08a9ec Don't set executable bit in unknown permission circumstances. 2011-05-08 01:28:34 +10:00
Con Kolivas
3e10b27422 More divide by zero output fixes. 2011-05-08 00:45:56 +10:00
Con Kolivas
0d86b8ba0e More percentage display fixes for divide by zero errors. 2011-05-08 00:38:33 +10:00
Con Kolivas
a1359276f4 Fix nan when no hashes found in verbose message. 2011-05-08 00:34:09 +10:00
Con Kolivas
103d2ce11e Add sanity check for meaningless chunk_byte value on runzip. 2011-05-08 00:29:58 +10:00
Con Kolivas
1ea75154d6 Silence compiler warnings. 2011-05-08 00:05:46 +10:00
Con Kolivas
542c1637b2 Cope with zero byte older files in get fileinfo. 2011-05-07 23:58:38 +10:00
Con Kolivas
558e5e40ee Update docs for small file fixes. 2011-05-07 23:50:08 +10:00
Con Kolivas
aca5123d72 Support zero byte sized pre 0.6 archives by setting the eof flag always. 2011-05-07 23:36:55 +10:00
Con Kolivas
55dc9b0095 Fix the arbitrary lower limit of 128 bytes by compressing zeroes beyond the size of the chunk.
Put special case management of zero sized files.
Modify the percentage calculation to be able to cope with small numbers and zeroes.
2011-05-07 18:37:25 +10:00
Con Kolivas
0662ce3dc6 Explain how to build from git repo. 2011-05-07 13:29:42 +10:00
Con Kolivas
ac0db74a48 Update changelogs. 2011-05-07 13:27:08 +10:00
Con Kolivas
922fbb361c Add pod generated manpages to gitignore. 2011-05-07 13:24:26 +10:00
Con Kolivas
d033743e6f Add lrzcat symlink which automatically decompresses to stdout.
Revert automatic compression/decompression to stdout when not outputting to a tty, to be consistent with gzip.
2011-05-07 13:22:35 +10:00
Con Kolivas
d80f220c72 Merge branch 'master' of github.com:ckolivas/lrzip 2011-05-07 12:17:18 +10:00
Con Kolivas
6ceaeb5f93 Progress update percent was being zeroed in rzip.c thus displaying on every loop. Move it higher, fixing the amount of output to the terminal. 2011-05-07 10:19:12 +10:00
ckolivas
f1699f4b9c Merge branch 'master' of github.com:ckolivas/lrzip 2011-04-28 09:05:18 +10:00
ckolivas
77644d0209 Update GPL license. 2011-04-28 09:04:41 +10:00
Con Kolivas
74d532e9d6 Update version to 0.604 2011-04-26 10:10:26 +10:00