|
908b0194
|
2018-02-12T21:29:08
|
|
move struct got_zstream_buf to private header zb.h
|
|
f934cf2c
|
2018-02-12T21:27:40
|
|
make struct got_blob_object opaque
|
|
eba5c6bb
|
2018-02-12T00:25:40
|
|
repair blob diffing
|
|
74671950
|
2018-02-12T00:15:49
|
|
add output file argument to got_diff_tree
|
|
bdd2fbb3
|
2018-02-12T00:01:26
|
|
read delta data from the right offset
|
|
06e5fc98
|
2018-02-11T23:34:03
|
|
fix a bug where we'd skip commands in the delta stream
|
|
0e22967e
|
2018-02-11T22:43:21
|
|
we must store delta's type-and-size length separately to skip it
|
|
a6b158cc
|
2018-02-11T19:15:55
|
|
don't read plain objects to memory during unpack
|
|
044e7393
|
2018-02-11T18:35:45
|
|
don't assume objects IDs are sorted by their values in packidx
|
|
eb651edf
|
2018-02-11T18:16:43
|
|
more progress on reading packed/deltified objects
|
|
126ee060
|
2018-02-11T16:46:49
|
|
remove insize arg from inflate_read()
|
|
6b4a60c5
|
2018-02-11T16:43:09
|
|
inflate_to_mem doesn't care how much stream it has read
|
|
af263665
|
2018-02-11T16:42:30
|
|
check HAVE_MORE flag in got_inflate_to_file()
|
|
61d262a8
|
2018-02-11T16:37:53
|
|
make got_inflate_read() properly indicate if it needs to be called again
|
|
3606d7fc
|
2018-02-11T16:17:37
|
|
tweak the API which inflates data to a file
|
|
54382dcc
|
2018-02-11T16:12:55
|
|
keep reading zlib stream until end maker when expanding to mem
|
|
c743ac7d
|
2018-01-27T03:27:41
|
|
remove pointless loops in read_{commit,tree}_object()
|
|
90356acc
|
2018-01-27T03:06:07
|
|
Fix missing error check in parse_tree_object().
|
|
6336b73f
|
2018-01-27T03:03:21
|
|
Fix output length if got_inflate_read() reads some data and then EOF.
|
|
824801e7
|
2018-01-27T01:15:40
|
|
Improve delta combiner docs and rename a macro for clarity.
|
|
885d3e02
|
2018-01-27T01:05:56
|
|
implement delta combiner and a small test suite for it
|
|
4ca7b755
|
2018-01-26T18:13:01
|
|
Move zlib wrapper/buffering code into a separate file.
|
|
1db76ab5
|
2018-01-26T14:26:35
|
|
Some memory failure checks were missing.
|
|
ef715580
|
2018-01-26T15:01:44
|
|
ensure we don't call closedir(NULL) in search_packidx()
|
|
322260e1
|
2018-01-26T13:58:40
|
|
Get rid of xmalloc.{c,h}.
malloc(3) & pread(3) errors will now be reported as GOT_ERR_NO_MEM.
This does not improve the numbers of leaks in diffreg.c
|
|
96a1d717
|
2018-01-24T17:54:21
|
|
document the delta stream data format
|
|
710bb5ca
|
2018-01-23T23:48:41
|
|
rename delta dumping helper function and tweak its parameter list
|
|
6691714a
|
2018-01-23T23:44:49
|
|
prepare application of deltas
|
|
4ee4114f
|
2018-01-23T18:20:14
|
|
rename helper function open_object() to fopen_object()
|
|
c7fe698a
|
2018-01-23T18:07:21
|
|
add a helper function for opening a pack file
|
|
b432fb3b
|
2018-01-23T17:52:24
|
|
treat tag objects as a plain type in got_packfile_extract_object()
|
|
d33fc9ef
|
2018-01-23T17:50:42
|
|
treat tag objects as a plain type in open_packed_object()
|
|
a48db7e5
|
2018-01-23T17:49:03
|
|
add support for opening ref delta objects
|
|
6b9c9673
|
2018-01-23T17:44:17
|
|
resolve ref deltas as part of a delta chain
|
|
348f621c
|
2018-01-23T15:22:16
|
|
s/decode_/parse_/
|
|
c3703302
|
2018-01-23T15:19:45
|
|
model delta chains in a better way
|
|
5a2e13f7
|
2018-01-23T13:54:51
|
|
undo previous, a delta base might be a plain object so 'size' is better
|
|
8622058b
|
2018-01-23T13:53:21
|
|
Rename 'size' field in got_delta_base to 'delta_size'.
|
|
a3500804
|
2018-01-23T13:52:21
|
|
add a helper function to reduce size of a switch statement
|
|
96f5e8b3
|
2018-01-23T13:38:17
|
|
add support for delta chains; implement them for offset deltas
|
|
cecc778e
|
2018-01-23T11:27:29
|
|
compute off_delta offset correctly
|
|
68823f7f
|
2018-01-19T18:16:34
|
|
add file I forgot to add
|
|
4e8cda55
|
2018-01-19T18:14:44
|
|
We only support plain objects as delta base for now.
|
|
eef6493a
|
2018-01-19T18:09:29
|
|
Make struct got_object opaque to users of the library
|
|
b107e67f
|
2018-01-19T18:03:07
|
|
Implement open() support for offset delta objects
|
|
9710aac2
|
2018-01-19T16:29:59
|
|
rename helper function
|
|
6ccb713b
|
2018-01-19T16:28:55
|
|
Add helper function for opening packed plain objects
|
|
efd2a263
|
2018-01-19T16:18:44
|
|
add some stub code for packed ref-delta objects
|
|
bbcf6d65
|
2018-01-17T22:33:38
|
|
plug a memory leak by freeing packidx
|
|
3ee5fc21
|
2018-01-17T22:25:01
|
|
add support for extracting non-deltified packed objects
|
|
6c00b545
|
2018-01-17T21:59:05
|
|
open packed objects correctly; don't worry about their contents yet
|
|
4558fcd4
|
2018-01-14T18:23:17
|
|
Support packfiles in object-type specific object_open() functions.
|
|
a487c1d0
|
2018-01-14T17:49:25
|
|
refactor dump_packed_object() a bit; no functional change
|
|
2b2ca9f0
|
2018-01-13T12:32:35
|
|
call got_object_id_cmp() just once in got_object_idx()
|
|
0465ef11
|
2018-01-13T12:28:07
|
|
unlink tempfiles again, was disabled for testing
|
|
c54542a0
|
2018-01-13T12:27:47
|
|
whitespace
|
|
8251fdbc
|
2018-01-12T23:00:06
|
|
introduce got_ferror() and use it
|
|
72bcf0f9
|
2018-01-12T21:22:05
|
|
bump copyright
|
|
6c6d6589
|
2018-01-12T21:21:09
|
|
use strerror_r()
|
|
f334529e
|
2018-01-12T21:17:22
|
|
add a conversion function from errno to got_error and use it
|
|
a1fd68d8
|
2018-01-12T20:59:51
|
|
Extract non-deltified objects from pack files.
|
|
cb672fbd
|
2018-01-10T22:14:47
|
|
remove unncessary #include
|
|
24541888
|
2018-01-10T21:58:17
|
|
get_packfile_size() should be static
|
|
39b01da5
|
2018-01-10T21:57:50
|
|
whitespace
|
|
0ebaf008
|
2018-01-10T21:56:48
|
|
verify pack file index checksum
|
|
b0517dd0
|
2018-01-10T21:18:24
|
|
fix off-by-one in pack file size check
|
|
0a0a3048
|
2018-01-10T21:15:21
|
|
open pack file index
|
|
82708eb3
|
2017-12-03T17:47:40
|
|
fix pack file magic value
|
|
0044418a
|
2017-12-03T17:44:16
|
|
whitespace
|
|
7f8fc4ec
|
2017-12-03T17:43:45
|
|
add a header file for pack files
|
|
c56976de
|
2017-12-02T00:51:11
|
|
fix previous
|
|
6cb5fd0d
|
2017-12-02T00:45:51
|
|
don't overwrite already decompressed data
|
|
e302c59e
|
2017-12-02T00:44:09
|
|
check recallocarray return value
|
|
744d9326
|
2017-12-01T22:38:52
|
|
fix size calculations
|
|
a3e2cbea
|
2017-12-01T22:09:59
|
|
make tree diffing work
|
|
02f14ae5
|
2017-12-01T20:04:15
|
|
remove unused function
|
|
98abbc84
|
2017-11-30T16:18:10
|
|
test tree diff (not yet working correctly)
|
|
013404a9
|
2017-11-30T16:04:00
|
|
add todo comment
|
|
2c56f2ce
|
2017-11-30T16:03:14
|
|
implement diff_deleted_tree
|
|
9c70d4c3
|
2017-11-30T16:02:22
|
|
implement diff_added_tree
|
|
789689b5
|
2017-11-30T15:58:34
|
|
implement diff_modified_tree
|
|
c7020aea
|
2017-11-30T15:49:49
|
|
increase buffer sizes for blob diffing
|
|
365fb436
|
2017-11-30T15:48:52
|
|
implement diff_deleted_blob
|
|
a7852263
|
2017-11-30T15:37:45
|
|
handle fdopen() failure in opentemp()
|
|
cb74ff21
|
2017-11-30T15:12:45
|
|
pass output file to diffreg
|
|
6a213ccb
|
2017-11-30T05:49:52
|
|
implement diff_modified_blob
|
|
4e22badc
|
2017-11-30T05:34:24
|
|
implement diff_added_blob
|
|
0cb61c47
|
2017-11-30T02:39:35
|
|
whitespace
|
|
f9d67749
|
2017-11-30T02:38:38
|
|
move tempfile creation out of got_diffreg()
|
|
413ea19d
|
2017-11-30T01:44:46
|
|
simplify
|
|
4209f790
|
2017-11-30T01:43:44
|
|
fix logic error
|
|
474b4f94
|
2017-11-30T01:41:44
|
|
add some unimplemented stubs for tree diffing
|
|
697f4470
|
2017-11-30T00:54:40
|
|
add todo comment about diffreg() arguments
|
|
9aa1fd75
|
2017-11-29T23:51:39
|
|
add a comment about xmalloc; it needs to go away
|
|
62136d3a
|
2017-11-29T23:46:24
|
|
allow for custom diff header labels
|
|
f78b0693
|
2017-11-29T23:42:16
|
|
show blob IDs in diff header
|
|
8ba9a219
|
2017-11-29T23:30:52
|
|
remove diff_args from global state as well
|
|
1c7f0520
|
2017-11-29T22:52:00
|
|
store stat buffers in diff_state rather than diff_args
|
|
ed9e98a8
|
2017-11-29T22:47:05
|
|
store global diff state in memory provided by caller
|
|
dae2fc59
|
2017-11-29T22:20:17
|
|
move more globals into struct diff_state
|