Commits
- Commit:
2d9e6abf243a0a1895786fa9002b28d69a0f6fea
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
store deltas in compressed form while packing, both in memory and cache file
This reduces memory and disk space consumption during packing.
with tweaks + memleak on error fix from op@
ok op@
- Commit:
a9bd296d051d3edccf7eb07517d89eaa47ddb872
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix infinite loop in got-index-pack for pack files >= 4GB in size
Because of a missing range check our zlib wrapper would end up
calling zlib over and over with zero bytes of input.
Problem reported by semarie and naddy.
Fixed with help from millert@.
ok millert naddy
- Commit:
72840534edfc1ffa7aafa0ce0ab42568c8ec7145
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
compress delta data from delta_cache directly into pack file
- Commit:
64a8571e126da3ef8c0488551727b87e4509b50d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
map raw object files into memory while packing if possible
- Commit:
31e61ec13d43c2edd56e80f39079f8345c7c9411
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
match the unsigned char type used by the zlib interface
ok stsp
- Commit:
3b9e6fcfb6688f928cfe62fee08d34d6c8d85992
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
simplify deflate checksumming code; fixes errors with upcoming 'gotadmin pack'
tweak + ok naddy
- Commit:
91b40e30e0dbff0c8a1546a02fb784fa8007a91b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add checksum support to got_deflate_to_file()
This will eventually be used by 'gotadmin pack'.
Checksum init and finalization will need to be done by the caller
since many objects will be written out in compressed form while
we are computing checksums across the entire pack file.
ok millert, naddy
- Commit:
638f9024045bbe2420143f8868dcc484c231c634
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename got_error_prefix_errno() to got_error_from_errno()
- Commit:
230a42bdc60c6136d2a5ce65bf1a2f26d990c096
- From:
- joshua stein <jcs@jcs.org>
- Date:
got_error_from_errno -> got_error_prefix_errno
also add got_error_prefix_errno2 and got_error_prefix_errno3 which
should hopefully all be merged into a single function with variadic
args (but can't alloc mem)
- Commit:
324d37e7c791a6e6ff08598c3e6206ba956d0965
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got path APIs available to library consumers
- Commit:
4e4a7005038b712a91a32e48078cec54b4e8a24c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
flush compressed output in got_deflate_read()
- Commit:
2181e0c84adadde053b715a649efe95f446c4f96
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add some initial code for zlib compression