Dave Vasilevsky
870ce29ce5
Fix issue 10: Uncompressible data causes overrun
...
lzma_code() doesn't automatically handle the case where data doesn't compress
well. Unfortunately the only way to do this with liblzma API is to use single-
call block encoder, but that wouldn't let us re-use the lzma_stream.
So we roll our own uncompressed-block output, based on the LZMA spec. It's
ugly, but it works.
2013-01-08 06:20:06 -05:00
Dave Vasilevsky
5f36662909
Reduce memory usage further by buffer-allocation laziness
2012-12-27 14:21:20 -05:00
Dave Vasilevsky
17cd16cefd
Actually compress tarball
2012-12-24 12:51:19 -05:00
Dave Vasilevsky
b5982a96a0
Update README
2012-12-23 00:52:48 -05:00
Dave Vasilevsky
5ae1634f52
Add NEWS file, update tuning options in man page
2012-12-22 19:50:05 -05:00
Dave Vasilevsky
d51f9772d1
update to 1.0.1
2012-12-22 19:36:48 -05:00
Dave Vasilevsky
e32361ee80
Allow "extreme" compression
2012-12-22 19:32:20 -05:00
Dave Vasilevsky
87fd55d071
Add option for queue size
2012-12-22 19:23:04 -05:00
Dave Vasilevsky
878e8e0585
Change default block fraction to 2.0
2012-12-22 19:03:56 -05:00
Dave Vasilevsky
13f6237b67
Don't pre-allocate blocks while compressing
2012-12-22 19:02:50 -05:00
Dave Vasilevsky
948d0b4e5d
Add block-fraction option
2012-12-22 18:59:36 -05:00
Dave Vasilevsky
04b041656d
Clean tarball
2012-12-22 18:26:49 -05:00
Dave Vasilevsky
0f2fe4f601
Add "make tarball"
2012-12-22 18:25:45 -05:00
Dave Vasilevsky
745b624361
Prepare for dist
2012-12-22 16:10:08 -05:00
Dave Vasilevsky
65e827da82
Add manpage
2012-12-22 15:59:59 -05:00
Dave Vasilevsky
b961f6109e
Remove old warning from README
2012-12-22 15:18:39 -05:00
Dave Vasilevsky
b23370a64b
Mark this version as 1.0
2012-11-21 08:43:10 -05:00
Dave Vasilevsky
9e4fedb7f3
Fix typo in TTY detection
2012-11-16 09:21:56 -05:00
Dave Vasilevsky
154dc842a1
Merge branch 'stream'
...
Support streaming input, still decompressing in parallel. Extract mode is not
supported while streaming. Heuristics are used to skip the file index when in
streaming mode.
This also ensures pixz properly reads files with bizarre block sizes, or
with multiple streams.
2012-11-10 00:03:55 -05:00
Dave Vasilevsky
267e538c5e
More file-index skipping fixes
...
Don't detect file-index on multi-stream files, that usage is not supported.
Handle multi-stream files correctly when using heuristic skipping.
2012-11-10 00:00:35 -05:00
Dave Vasilevsky
e1914045f0
Forget Flattr, I don't want markdown
2012-11-05 17:30:11 -05:00
Dave Vasilevsky
f1dd3fcb5e
Add Flattr button
2012-11-05 17:28:31 -05:00
Dave Vasilevsky
14f5644bd8
Fixup docs
2012-11-05 02:45:03 -05:00
Dave Vasilevsky
09c60316cf
Use heuristic to omit file index
2012-11-05 02:39:20 -05:00
Dave Vasilevsky
e20c330366
Makefile cleanup
2012-11-05 01:14:59 -05:00
Dave Vasilevsky
0aa5ae7d1a
Output post-tar data (if it won't interfere with wanted-file filtering)
2012-11-05 01:10:32 -05:00
Dave Vasilevsky
3d5d1f1d39
Handle oversized blocks
2012-11-04 23:27:59 -05:00
Dave Vasilevsky
dd5f6d01e3
Enable both seekable and non-seekable modes
2012-11-04 21:23:18 -05:00
Dave Vasilevsky
dd86134d64
Remove global gCheck
2012-11-04 21:15:55 -05:00
Dave Vasilevsky
4ef79b67d6
Reading multiple indices ok!
2012-11-04 20:11:49 -05:00
Dave Vasilevsky
28e0515d75
Start factoring out index decoding
2012-11-04 19:48:28 -05:00
Dave Vasilevsky
aa79e87956
Multiple streams are supported
2012-10-20 23:30:07 -04:00
Dave Vasilevsky
4474af5419
Streaming read works
2012-10-20 22:32:20 -04:00
Dave Vasilevsky
70a3c58520
Use the read buffer
2012-10-20 21:54:17 -04:00
Dave Vasilevsky
9694d22dcd
Declare start of read buffering infrastructure
2012-10-20 21:07:49 -04:00
Dave Vasilevsky
8e1efb824e
Fix pragma marks
2012-10-14 09:48:48 -04:00
Dave Vasilevsky
a6d82ed79e
Add FIXMEs
2012-10-14 09:25:25 -04:00
Dave Vasilevsky
7820ec52b9
cleanup
2012-10-14 09:15:42 -04:00
Dave Vasilevsky
91f044e569
Start adding non-indexed reading
2012-10-14 07:39:10 -04:00
Dave Vasilevsky
ea64c94c21
We handle EOF fine now
2012-10-14 07:38:42 -04:00
Dave Vasilevsky
b13ae91698
It's ok to decompress a text file to a TTY
2012-10-14 07:33:33 -04:00
Dave Vasilevsky
cad2ee95eb
We never use the argument to read_file_index
2012-10-14 06:13:23 -04:00
Dave Vasilevsky
dedbc6d23f
Use dynamic block sizes
2012-10-14 03:01:32 -04:00
Dave Vasilevsky
1505bc8c86
Write the compressed/uncompressed size into block headers
2012-10-14 02:31:13 -04:00
Dave Vasilevsky
2403ca1bcf
Document new flag
2012-10-14 02:01:11 -04:00
Dave Vasilevsky
1799c4e8f1
Allow capping the number of threads
2012-10-14 01:59:35 -04:00
Dave Vasilevsky
cc4b76cb0b
Output to a TTY is ok for listing\!
2012-10-14 01:45:22 -04:00
Dave Vasilevsky
7518c32900
Don't truncate files at end of tar content
2012-10-14 01:43:58 -04:00
Dave Vasilevsky
f93d7e7845
If output is a TTY, print usage
2012-10-13 08:25:08 -04:00
Dave Vasilevsky
570b026d0a
Add help option
2012-10-13 08:20:23 -04:00