Commit graph

556 commits

Author SHA1 Message Date
ckolivas 754ed90e8e Full doxygen implementation courtesy of discomfitor <mike@zentific.com> 2012-03-07 11:57:22 +11:00
ckolivas a62e78186e Merge branch 'liblrzip' of github.com:ckolivas/lrzip into liblrzip
Conflicts:
	rzip.c
2012-03-07 11:41:35 +11:00
ckolivas ef07687826 Fix typos courtesy of A. Costa agcosta@gis.net 2012-01-11 14:10:53 +11:00
Con Kolivas f418ef05be Bump version to 0.608. 2011-09-26 09:22:05 +10:00
Con Kolivas b359909b29 Update documentation. 2011-09-26 09:21:38 +10:00
Con Kolivas cc51b676f0 Remove unused sha4 exports from sha4.h. 2011-09-24 15:02:55 +10:00
Con Kolivas b5ec3072cc Remove the bash completion script entirely and leave it up to the bash completion package maintenance. 2011-09-22 16:24:59 +10:00
Con Kolivas a28def8d05 Mremap is linux only, so reverse the check for its presence and use fake mremap everywhere else. 2011-09-21 16:38:52 +10:00
Con Kolivas f496e0705d get_sb only allows accessing one byte at a time, yet we don't need that functionality when sliding mmap is not in use.
User different versions of the function and the larger memcpys depending on whether sliding mmap is in use or not.
This affords a substantial speedup in the rzip phase of files not requiring sliding mmap.
A small optimisation of moving the check for remapping the low buffer also speeds up the sliding mmap version slightly.
2011-09-18 22:29:09 +10:00
Con Kolivas 9131188233 Add missing header file to makefile definition. 2011-09-18 09:34:54 +10:00
Con Kolivas 64be4018b4 Try again to fix the bash completion installation. 2011-09-18 09:30:44 +10:00
Con Kolivas 01d80cea58 Merge branch 'master' into liblrzip 2011-09-17 17:47:35 +10:00
Con Kolivas 79c2e9accd Fix bash completion installation. 2011-09-17 17:46:55 +10:00
Con Kolivas d9fb70bffc Fixes. 2011-09-16 23:06:17 +10:00
Con Kolivas 18105bbf7c Merge branch 'master' into liblrzip
Conflicts:
	lrzip.c
2011-09-16 22:55:34 +10:00
Con Kolivas 761298bae6 Bump version to 0.607 2011-09-16 22:13:57 +10:00
Con Kolivas a62044d166 Update docs. 2011-09-16 22:13:31 +10:00
Con Kolivas 00700c1d42 Change permission and owner warning to verbose logging only instead of error. 2011-09-16 21:14:21 +10:00
Con Kolivas d5e048dccf Add a bash completion script courtest of Fernando Auil and install it if possible. 2011-09-15 13:53:50 +10:00
Con Kolivas 271a407765 Make lzma back end message maxverbose to minimise spamming. 2011-09-15 13:29:09 +10:00
Con Kolivas a0fe1a8c8e Merge branch 'master' into liblrzip
Conflicts:
	runzip.c
	stream.h
2011-09-15 08:31:00 +10:00
Con Kolivas e1f2138060 Make sure to read to the end of all streams when closing down an rzip stream.
This would have made lrzip unable to decompress some rare archives if they ended up stream 0.
2011-09-15 08:28:30 +10:00
Con Kolivas a39b57a1e7 Add lots more debugging in maxverbose mode about where data is being written. 2011-09-15 08:26:07 +10:00
Con Kolivas 71bb72f5da Update to lzma 920 library. 2011-09-15 08:26:07 +10:00
Con Kolivas b1c5d5504a Convert liblrzip.c into 1TBS style. 2011-09-13 14:53:11 +10:00
Con Kolivas c665665020 Formatting fixes 2011-09-13 14:40:51 +10:00
Con Kolivas 9f5498b6d3 Fix some encryption typos 2011-09-13 14:40:35 +10:00
Con Kolivas f8661d4356 Add freebsd to fake memopen as well. 2011-08-17 21:28:43 +10:00
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