lib/object.c


Log

Author Commit Date CI Message
Stefan Sperling c7254d79 2018-04-24T10:32:10 simplify error handling in got_object_blob_open()
Stefan Sperling 15c8b0e6 2018-04-24T10:23:38 extract blobs to tempfiles instead of reading through zlib
Stefan Sperling e033d803 2018-04-23T18:30:26 read tree objects with privsep
Stefan Sperling e506bf32 2018-04-23T15:39:51 typo
Stefan Sperling bff6ca00 2018-04-23T15:38:35 read commit objects with privsep
Stefan Sperling e3306bd9 2018-04-23T07:20:32 simplify variable names in read_object_header_privsep_child()
Stefan Sperling 302b7dd6 2018-04-23T07:17:21 add read_object_header_privsep_child() helper
Stefan Sperling 6cd97fcc 2018-04-22T16:34:33 plug fd leak in read_object_header_privsep()
Stefan Sperling d5003b79 2018-04-22T16:33:07 make open_loose_object return a file descriptor
Stefan Sperling 15d3ea56 2018-04-22T15:54:56 close pipe in unpriv child
Stefan Sperling 2178c42e 2018-04-22T14:51:49 read object headers with privsep
Stefan Sperling e6b1056e 2018-04-22T13:21:17 initialize output parameter in object_path()
Stefan Sperling 3235492e 2018-04-01T18:17:18 add the ability to start the log at a particular commit
Stefan Sperling 0a585a0d 2018-03-17T18:13:19 remove GOT_ERR_NO_MEM, we can just use errno in those cases
Stefan Sperling 718b3ab0 2018-03-17T17:50:48 rename the library-internal headers again to a common prefix
Stefan Sperling 8bf5b3c9 2018-03-17T17:42:48 rewrite 'got log' without recursion
Stefan Sperling 56866f4a 2018-03-17T15:27:00 fix resource leaks in error paths of got_object_blob_open()
Stefan Sperling d0f3be7c 2018-03-17T15:17:14 initialize some output variables on failure
Stefan Sperling 18e99ab6 2018-03-17T03:32:28 fix fd leak in got_object_open()
Stefan Sperling b29656e2 2018-03-16T23:05:12 set obj->size of packed deltified objects to object's actual size
Stefan Sperling 19d747f7 2018-03-16T20:18:09 avoid an extra memcpy in got_inflate_to_mem()
Stefan Sperling 43a2d19d 2018-03-16T19:28:52 need to subtract hdrlen from tree data in got_object_tree_open()
Stefan Sperling ea35256b 2018-03-16T19:27:48 avoid a round-trip via tempfile when reading packed commits
Stefan Sperling e0ab43e7 2018-03-16T19:20:15 avoid a round-trip of data through a temp file when reading trees
Stefan Sperling 25783624 2018-03-12T13:59:29 use stricter CPPFLAGS from mpi
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 be89e2b1 2018-03-03T14:02:13 In read_to_mem() loop, don't overwrite already read blocks
Stefan Sperling 1411938b 2018-02-12T23:25:38 rename private header filenames so they are in got_ namespace
Stefan Sperling ef0981d5 2018-02-12T22:40:55 make length of id string an implementation detail
Stefan Sperling 6dfa2fd3 2018-02-12T22:20:37 remove got_parse_object_id(), add got_object_open_by_id_str() instead
Stefan Sperling 59ece79d 2018-02-12T22:13:27 make struct got_object_id opaque
Stefan Sperling 908b0194 2018-02-12T21:29:08 move struct got_zstream_buf to private header zb.h
Stefan Sperling f934cf2c 2018-02-12T21:27:40 make struct got_blob_object opaque
Stefan Sperling eb651edf 2018-02-11T18:16:43 more progress on reading packed/deltified objects
Stefan Sperling 126ee060 2018-02-11T16:46:49 remove insize arg from inflate_read()
Stefan Sperling c743ac7d 2018-01-27T03:27:41 remove pointless loops in read_{commit,tree}_object()
Stefan Sperling 90356acc 2018-01-27T03:06:07 Fix missing error check in parse_tree_object().
Stefan Sperling 885d3e02 2018-01-27T01:05:56 implement delta combiner and a small test suite for it
Stefan Sperling 4ca7b755 2018-01-26T18:13:01 Move zlib wrapper/buffering code into a separate file.
Martin Pieuchot 1db76ab5 2018-01-26T14:26:35 Some memory failure checks were missing.
Stefan Sperling 4ee4114f 2018-01-23T18:20:14 rename helper function open_object() to fopen_object()
Stefan Sperling c3703302 2018-01-23T15:19:45 model delta chains in a better way
Stefan Sperling 96f5e8b3 2018-01-23T13:38:17 add support for delta chains; implement them for offset deltas
Stefan Sperling eef6493a 2018-01-19T18:09:29 Make struct got_object opaque to users of the library
Stefan Sperling b107e67f 2018-01-19T18:03:07 Implement open() support for offset delta objects
Stefan Sperling 3ee5fc21 2018-01-17T22:25:01 add support for extracting non-deltified packed objects
Stefan Sperling 6c00b545 2018-01-17T21:59:05 open packed objects correctly; don't worry about their contents yet
Stefan Sperling 4558fcd4 2018-01-14T18:23:17 Support packfiles in object-type specific object_open() functions.
Stefan Sperling f334529e 2018-01-12T21:17:22 add a conversion function from errno to got_error and use it
Stefan Sperling a1fd68d8 2018-01-12T20:59:51 Extract non-deltified objects from pack files.
Stefan Sperling c56976de 2017-12-02T00:51:11 fix previous
Stefan Sperling 6cb5fd0d 2017-12-02T00:45:51 don't overwrite already decompressed data
Stefan Sperling e302c59e 2017-12-02T00:44:09 check recallocarray return value
Stefan Sperling 744d9326 2017-12-01T22:38:52 fix size calculations
Stefan Sperling a3e2cbea 2017-12-01T22:09:59 make tree diffing work
Stefan Sperling 02f14ae5 2017-12-01T20:04:15 remove unused function
Stefan Sperling f78b0693 2017-11-29T23:42:16 show blob IDs in diff header
Stefan Sperling 7d283eee 2017-11-29T17:11:11 add and test basic blob diffing functionality
Stefan Sperling 68482ea3 2017-11-27T05:13:16 implement open/close for blobs; add test which prints one
Stefan Sperling f715ca7f 2017-11-27T01:10:58 move printing of tree objects into regression test
Stefan Sperling 0ffeb3c2 2017-11-26T23:50:52 parse and print tree objects
Stefan Sperling d1cda826 2017-11-06T18:53:05 parse commit objects
Stefan Sperling 63323519 2017-11-06T13:55:58 avoid repeated strlen() calls
Stefan Sperling ab9a70b2 2017-11-06T13:49:35 parse object header
Stefan Sperling d71d75ad 2017-11-05T18:09:59 print the head revision