thodg/got/lib/pack.c

Branch :


Log

Author Commit Date CI Message
8628c62d 2018-03-15 01:21:57 process small deltas in memory; unfortunately it is not faster...
1cc8e7f9 2018-03-15 00:31:05 remove a useless and leaky allocation
9db65d41 2018-03-14 23:42:16 In dump_delta_chain(), don't open the packfile if it's not needed.
ec889268 2018-03-14 23:32:19 fix open file handle leak in dump_delta_chain()
9feb4ff2 2018-03-14 02:37:58 propagate error from delta cache insertion; fixes mem leak
bd1223b9 2018-03-14 01:21:09 add a delta cache; saves us from reading + decompressing some deltas
22484865 2018-03-13 18:28:40 process delta chains in memory if max size is < 32 MB
25783624 2018-03-12 13:59:29 use stricter CPPFLAGS from mpi
32cb896c 2018-03-11 14:10:56 rename library-private headers from *_priv.h to *_lib.h
5677e194 2018-03-11 13:20:25 rename got_zb_priv.h to got_zbuf_priv.h
63afc6c6 2018-03-10 01:09:31 unwrap short line
0a71ee67 2018-03-09 18:12:10 return error from search_packidx() if dup_packidx() fails
79b11c62 2018-03-09 17:01:49 add a pack index cache; speeds tree listing up quite a lot
39e73dc9 2018-03-03 14:18:08 We don't use a delta combiner, we use delta application. A "delta combiner" (as used in SVN) combines deltas and applies the combined delta to the base. We don't do this yet; we apply deltas one by one.
1411938b 2018-02-12 23:25:38 rename private header filenames so they are in got_ namespace
908b0194 2018-02-12 21:29:08 move struct got_zstream_buf to private header zb.h
bdd2fbb3 2018-02-12 00:01:26 read delta data from the right offset
0e22967e 2018-02-11 22:43:21 we must store delta's type-and-size length separately to skip it
a6b158cc 2018-02-11 19:15:55 don't read plain objects to memory during unpack
044e7393 2018-02-11 18:35:45 don't assume objects IDs are sorted by their values in packidx
61d262a8 2018-02-11 16:37:53 make got_inflate_read() properly indicate if it needs to be called again
3606d7fc 2018-02-11 16:17:37 tweak the API which inflates data to a file
885d3e02 2018-01-27 01:05:56 implement delta combiner and a small test suite for it
ef715580 2018-01-26 15:01:44 ensure we don't call closedir(NULL) in search_packidx()
710bb5ca 2018-01-23 23:48:41 rename delta dumping helper function and tweak its parameter list
6691714a 2018-01-23 23:44:49 prepare application of deltas
c7fe698a 2018-01-23 18:07:21 add a helper function for opening a pack file
b432fb3b 2018-01-23 17:52:24 treat tag objects as a plain type in got_packfile_extract_object()
d33fc9ef 2018-01-23 17:50:42 treat tag objects as a plain type in open_packed_object()
a48db7e5 2018-01-23 17:49:03 add support for opening ref delta objects
6b9c9673 2018-01-23 17:44:17 resolve ref deltas as part of a delta chain
348f621c 2018-01-23 15:22:16 s/decode_/parse_/
c3703302 2018-01-23 15:19:45 model delta chains in a better way
a3500804 2018-01-23 13:52:21 add a helper function to reduce size of a switch statement
96f5e8b3 2018-01-23 13:38:17 add support for delta chains; implement them for offset deltas
cecc778e 2018-01-23 11:27:29 compute off_delta offset correctly
4e8cda55 2018-01-19 18:14:44 We only support plain objects as delta base for now.
eef6493a 2018-01-19 18:09:29 Make struct got_object opaque to users of the library
b107e67f 2018-01-19 18:03:07 Implement open() support for offset delta objects
9710aac2 2018-01-19 16:29:59 rename helper function
6ccb713b 2018-01-19 16:28:55 Add helper function for opening packed plain objects
efd2a263 2018-01-19 16:18:44 add some stub code for packed ref-delta objects
bbcf6d65 2018-01-17 22:33:38 plug a memory leak by freeing packidx
3ee5fc21 2018-01-17 22:25:01 add support for extracting non-deltified packed objects
6c00b545 2018-01-17 21:59:05 open packed objects correctly; don't worry about their contents yet
a487c1d0 2018-01-14 17:49:25 refactor dump_packed_object() a bit; no functional change
2b2ca9f0 2018-01-13 12:32:35 call got_object_id_cmp() just once in got_object_idx()
c54542a0 2018-01-13 12:27:47 whitespace
8251fdbc 2018-01-12 23:00:06 introduce got_ferror() and use it
f334529e 2018-01-12 21:17:22 add a conversion function from errno to got_error and use it
a1fd68d8 2018-01-12 20:59:51 Extract non-deltified objects from pack files.
24541888 2018-01-10 21:58:17 get_packfile_size() should be static
39b01da5 2018-01-10 21:57:50 whitespace
0ebaf008 2018-01-10 21:56:48 verify pack file index checksum
b0517dd0 2018-01-10 21:18:24 fix off-by-one in pack file size check
0a0a3048 2018-01-10 21:15:21 open pack file index