lib/inflate.c


Log

Author Commit Date CI Message
Stefan Sperling 2e5a6fad 2020-03-18T16:13:44 add mmap support to got-index-pack
Stefan Sperling 55fdd257 2020-03-18T16:13:43 do not buffer more data than necessary in got_inflate_to_mem_fd()
Stefan Sperling 5eddcd60 2020-03-18T16:13:42 fix endless loop from 9c2cfea6 if decompressed data exceeds buffer size
Stefan Sperling 1e87a3c3 2020-03-18T16:13:42 avoid re-reading the entirety of an object's data to calculate the CRC
Stefan Sperling 2decf4c6 2020-03-18T16:13:41 make output buffer optional for got_inflate_to_mem{,_fd}()
Stefan Sperling 3ab5e33c 2020-03-18T16:13:41 add optional 'consumed' output parameter to got_inflate_to_mem_fd()
Stefan Sperling 6fb3a497 2020-03-18T16:11:29 add optional 'consumed' output parameter to got_inflate_to_mem()
Stefan Sperling 4b570209 2020-03-18T16:11:28 revert a change to inflate_read() from Ori's patch; it breaks got-read-blob
Stefan Sperling 93658fb9 2020-03-18T16:10:30 Add initial support for network protocol. Ported from git9 by Ori Bernstein.
Stefan Sperling ee0cb6f2 2020-03-17T13:12:33 allow inflate(3) to consume all mapped data at once in got_inflate_read_mmap()
Stefan Sperling 8baa7d26 2020-03-17T10:25:06 retry on Z_BUF_ERROR in got_inflate_read() as well
Stefan Sperling 686d24ff 2020-03-15T13:32:58 Z_BUF_ERROR is not fatal; try to decompress more data when it happens
Stefan Sperling 6331840f 2019-05-22T13:06:33 fix got_error_from_errno() arguments in inflate.c
Stefan Sperling b3a605ce 2019-05-22T12:58:40 no need to zero memory in got_inflate_to_mem_mmap()
Stefan Sperling f2c5fe0e 2019-05-22T12:58:26 no need to zero memory in got_inflate_to_mem_fd()
Stefan Sperling 6dc3b75a 2019-05-22T12:54:14 no need to zero memory in got_inflate_to_mem()
Stefan Sperling 638f9024 2019-05-13T12:40:57 rename got_error_prefix_errno() to got_error_from_errno()
joshua stein 230a42bd 2019-05-11T13:04:38 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)
Stefan Sperling 324d37e7 2019-05-11T09:14:30 make got path APIs available to library consumers
Stefan Sperling 5211b8c8 2019-03-19T13:26:23 improve error checking around inflateInit()
Stefan Sperling 23bc48a9 2019-03-19T12:55:28 rename got_zstream_* to got_inflate_*
Stefan Sperling 17d745b8 2018-07-23T17:19:40 replace reallocarray with recallocarray throughout inflate.c
Stefan Sperling 666b4ca8 2018-07-23T17:03:36 wrap overlong line
Stefan Sperling 37bd7602 2018-07-23T17:01:35 fix length calculations in mmap inflate; fixes garbage diffs
Stefan Sperling 5aef3967 2018-07-22T16:25:11 plug some leaks in inflate.c
Stefan Sperling 60507209 2018-07-13T11:26:37 fix a leak in got_inflate_to_mem_mmap()
Stefan Sperling 3efa19e7 2018-07-13T10:51:34 fix more memleaks
Stefan Sperling 63581804 2018-07-09T22:23:00 rename zbuf to inflate