3 years ago Christian Weisgerber
ok stsp
indentation fixes
3 years ago Stefan Sperling
verify object ID checksums while loose objects are being accessed
add checksum parameters to got_inflate functions which did not provide them yet
4 years ago Stefan Sperling
zap trailing tabs
4 years ago Christian Weisgerber
make got-index-pack compute and verify the pack file's SHA1 checksum
extract large objects to a temporary file in got-index-pack
add mmap support to got-index-pack
do not buffer more data than necessary in got_inflate_to_mem_fd()
fix endless loop from 9c2cfea6 if decompressed data exceeds buffer size
avoid re-reading the entirety of an object's data to calculate the CRC
make output buffer optional for got_inflate_to_mem{,_fd}()
add optional 'consumed' output parameter to got_inflate_to_mem_fd()
add optional 'consumed' output parameter to got_inflate_to_mem()
revert a change to inflate_read() from Ori's patch; it breaks got-read-blob
Add initial support for network protocol. Ported from git9 by Ori Bernstein.
allow inflate(3) to consume all mapped data at once in got_inflate_read_mmap()
retry on Z_BUF_ERROR in got_inflate_read() as well
Z_BUF_ERROR is not fatal; try to decompress more data when it happens
5 years ago Stefan Sperling
fix got_error_from_errno() arguments in inflate.c
no need to zero memory in got_inflate_to_mem_mmap()
no need to zero memory in got_inflate_to_mem_fd()
no need to zero memory in got_inflate_to_mem()