lib/delta.c

Branch


Log

Author Commit Date CI Message
Christian Weisgerber dbdddfee 2021-06-23T20:48:35 switch from SIMPLEQ to equivalent STAILQ macros The singly-linked tail queue macros were added to OpenBSD 6.9 and are more widely available on other systems. ok stsp
Stefan Sperling 9069347b 2021-05-20T09:58:35 improve error reporting when delta application fails
Stefan Sperling 56b63ca4 2021-01-22T11:04:47 make fclose(3) failure checks consistent; check 'fclose() == EOF' everywhere ok millert, naddy
Stefan Sperling 56e0773d 2019-11-28T02:32:58 convert tree entries from SIMPLEQ to an array
Stefan Sperling 42c69117 2019-11-10T15:51:05 stop storing decompressed delta data in struct got_delta; fetch it on demand
Stefan Sperling 2256993b 2019-07-15T12:50:29 avoid dependency on delta.o in binaries which don't need it
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 fb43ecf1 2019-02-11T11:59:09 check for errors from fclose()
Stefan Sperling 15a94983 2018-12-23T14:48:47 remove struct got_object from public library API
Stefan Sperling b2f7af54 2018-11-11T11:40:53 check for size_t overflow in got_delta_apply_in_mem() like libgit2's c15771104 (delta: fix overflow when computing limit)
Stefan Sperling 34fca9c3 2018-11-11T11:10:11 bounds checks before memcpy in got_delta_apply_in_mem()
Stefan Sperling 14118581 2018-11-05T23:20:43 no need to zero got_delta during allocation
Stefan Sperling c336f889 2018-07-23T10:53:49 don't store copies of packfile paths in each delta
Stefan Sperling 63581804 2018-07-09T22:23:00 rename zbuf to inflate
Stefan Sperling 788c352e 2018-06-16T19:18:32 store commit timestamps as 'struct tm' in UTC
Stefan Sperling 72eb3431 2018-04-01T15:57:43 look up deltas in the correct pack file
Stefan Sperling 718b3ab0 2018-03-17T17:50:48 rename the library-internal headers again to a common prefix
Stefan Sperling a53d2f13 2018-03-17T14:19:13 cache delta data in struct got_delta directly
Stefan Sperling b29656e2 2018-03-16T23:05:12 set obj->size of packed deltified objects to object's actual size
Stefan Sperling ef2bccd9 2018-03-16T22:14:51 stop opening pack files redundantly to read deltas
Stefan Sperling 8628c62d 2018-03-15T01:21:57 process small deltas in memory; unfortunately it is not faster...
Stefan Sperling 22484865 2018-03-13T18:28:40 process delta chains in memory if max size is < 32 MB
Stefan Sperling 39ff877f 2018-03-13T16:31:33 expand deltas in memory if result size is < 32MB
Stefan Sperling 32cb896c 2018-03-11T14:10:56 rename library-private headers from *_priv.h to *_lib.h
Stefan Sperling 5677e194 2018-03-11T13:20:25 rename got_zb_priv.h to got_zbuf_priv.h
Stefan Sperling 1411938b 2018-02-12T23:25:38 rename private header filenames so they are in got_ namespace
Stefan Sperling bdd2fbb3 2018-02-12T00:01:26 read delta data from the right offset
Stefan Sperling 06e5fc98 2018-02-11T23:34:03 fix a bug where we'd skip commands in the delta stream
Stefan Sperling 0e22967e 2018-02-11T22:43:21 we must store delta's type-and-size length separately to skip it
Stefan Sperling 3606d7fc 2018-02-11T16:17:37 tweak the API which inflates data to a file
Stefan Sperling 824801e7 2018-01-27T01:15:40 Improve delta combiner docs and rename a macro for clarity.
Stefan Sperling 885d3e02 2018-01-27T01:05:56 implement delta combiner and a small test suite for it
Stefan Sperling 6691714a 2018-01-23T23:44:49 prepare application of deltas
Stefan Sperling c3703302 2018-01-23T15:19:45 model delta chains in a better way
Stefan Sperling 5a2e13f7 2018-01-23T13:54:51 undo previous, a delta base might be a plain object so 'size' is better
Stefan Sperling 8622058b 2018-01-23T13:53:21 Rename 'size' field in got_delta_base to 'delta_size'.
Stefan Sperling 96f5e8b3 2018-01-23T13:38:17 add support for delta chains; implement them for offset deltas
Stefan Sperling efd2a263 2018-01-19T16:18:44 add some stub code for packed ref-delta objects