Log

Author Commit Date CI Message
Stefan Sperling c7fe698a 2018-01-23T18:07:21 add a helper function for opening a pack file
Stefan Sperling b432fb3b 2018-01-23T17:52:24 treat tag objects as a plain type in got_packfile_extract_object()
Stefan Sperling d33fc9ef 2018-01-23T17:50:42 treat tag objects as a plain type in open_packed_object()
Stefan Sperling a48db7e5 2018-01-23T17:49:03 add support for opening ref delta objects
Stefan Sperling 6b9c9673 2018-01-23T17:44:17 resolve ref deltas as part of a delta chain
Stefan Sperling 348f621c 2018-01-23T15:22:16 s/decode_/parse_/
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 a3500804 2018-01-23T13:52:21 add a helper function to reduce size of a switch statement
Stefan Sperling 96f5e8b3 2018-01-23T13:38:17 add support for delta chains; implement them for offset deltas
Stefan Sperling cecc778e 2018-01-23T11:27:29 compute off_delta offset correctly
Stefan Sperling 68823f7f 2018-01-19T18:16:34 add file I forgot to add
Stefan Sperling 4e8cda55 2018-01-19T18:14:44 We only support plain objects as delta base for now.
Stefan Sperling eef6493a 2018-01-19T18:09:29 Make struct got_object opaque to users of the library
Stefan Sperling d22131b7 2018-01-19T18:04:01 fix build
Stefan Sperling b107e67f 2018-01-19T18:03:07 Implement open() support for offset delta objects
Stefan Sperling 9710aac2 2018-01-19T16:29:59 rename helper function
Stefan Sperling 6ccb713b 2018-01-19T16:28:55 Add helper function for opening packed plain objects
Stefan Sperling efd2a263 2018-01-19T16:18:44 add some stub code for packed ref-delta objects
Stefan Sperling bbcf6d65 2018-01-17T22:33:38 plug a memory leak by freeing packidx
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 a92b0c17 2018-01-14T18:57:56 build with debug again (my commit adding -Werror broke this)
Stefan Sperling 4558fcd4 2018-01-14T18:23:17 Support packfiles in object-type specific object_open() functions.
Stefan Sperling a487c1d0 2018-01-14T17:49:25 refactor dump_packed_object() a bit; no functional change
Stefan Sperling 740c5444 2018-01-14T17:48:32 compile with -Werror
Stefan Sperling 2b2ca9f0 2018-01-13T12:32:35 call got_object_id_cmp() just once in got_object_idx()
Stefan Sperling 0465ef11 2018-01-13T12:28:07 unlink tempfiles again, was disabled for testing
Stefan Sperling c54542a0 2018-01-13T12:27:47 whitespace
Stefan Sperling 8251fdbc 2018-01-12T23:00:06 introduce got_ferror() and use it
Stefan Sperling 72bcf0f9 2018-01-12T21:22:05 bump copyright
Stefan Sperling 6c6d6589 2018-01-12T21:21:09 use strerror_r()
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 cb672fbd 2018-01-10T22:14:47 remove unncessary #include
Stefan Sperling 24541888 2018-01-10T21:58:17 get_packfile_size() should be static
Stefan Sperling 39b01da5 2018-01-10T21:57:50 whitespace
Stefan Sperling 0ebaf008 2018-01-10T21:56:48 verify pack file index checksum
Stefan Sperling b0517dd0 2018-01-10T21:18:24 fix off-by-one in pack file size check
Stefan Sperling 0a0a3048 2018-01-10T21:15:21 open pack file index
Stefan Sperling 82708eb3 2017-12-03T17:47:40 fix pack file magic value
Stefan Sperling 0044418a 2017-12-03T17:44:16 whitespace
Stefan Sperling 7f8fc4ec 2017-12-03T17:43:45 add a header file for pack files
Stefan Sperling 9b1d5162 2017-12-03T16:49:53 fix previous
Stefan Sperling f9a4270b 2017-12-03T16:48:47 add more object types (needed for 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 b82eb359 2017-12-01T20:25:49 fix previous
Stefan Sperling 97d4f2b9 2017-12-01T20:25:28 build with debug by default
Stefan Sperling 02f14ae5 2017-12-01T20:04:15 remove unused function
Stefan Sperling 4a0235dd 2017-11-30T16:46:29 fix variable names
Stefan Sperling 98abbc84 2017-11-30T16:18:10 test tree diff (not yet working correctly)
Stefan Sperling 013404a9 2017-11-30T16:04:00 add todo comment
Stefan Sperling 2c56f2ce 2017-11-30T16:03:14 implement diff_deleted_tree
Stefan Sperling 9c70d4c3 2017-11-30T16:02:22 implement diff_added_tree
Stefan Sperling 789689b5 2017-11-30T15:58:34 implement diff_modified_tree
Stefan Sperling c7020aea 2017-11-30T15:49:49 increase buffer sizes for blob diffing
Stefan Sperling 365fb436 2017-11-30T15:48:52 implement diff_deleted_blob
Stefan Sperling a7852263 2017-11-30T15:37:45 handle fdopen() failure in opentemp()
Stefan Sperling cb74ff21 2017-11-30T15:12:45 pass output file to diffreg
Stefan Sperling 6a213ccb 2017-11-30T05:49:52 implement diff_modified_blob
Stefan Sperling 4e22badc 2017-11-30T05:34:24 implement diff_added_blob
Stefan Sperling 0cb61c47 2017-11-30T02:39:35 whitespace
Stefan Sperling f9d67749 2017-11-30T02:38:38 move tempfile creation out of got_diffreg()
Stefan Sperling 413ea19d 2017-11-30T01:44:46 simplify
Stefan Sperling 4209f790 2017-11-30T01:43:44 fix logic error
Stefan Sperling 474b4f94 2017-11-30T01:41:44 add some unimplemented stubs for tree diffing
Stefan Sperling 697f4470 2017-11-30T00:54:40 add todo comment about diffreg() arguments
Stefan Sperling 9aa1fd75 2017-11-29T23:51:39 add a comment about xmalloc; it needs to go away
Stefan Sperling 62136d3a 2017-11-29T23:46:24 allow for custom diff header labels
Stefan Sperling f78b0693 2017-11-29T23:42:16 show blob IDs in diff header
Stefan Sperling 8ba9a219 2017-11-29T23:30:52 remove diff_args from global state as well
Stefan Sperling 1c7f0520 2017-11-29T22:52:00 store stat buffers in diff_state rather than diff_args
Stefan Sperling ed9e98a8 2017-11-29T22:47:05 store global diff state in memory provided by caller
Stefan Sperling dae2fc59 2017-11-29T22:20:17 move more globals into struct diff_state
Stefan Sperling 8020fd50 2017-11-29T22:18:14 move 'file' array into diff state
Stefan Sperling e04c4b2b 2017-11-29T22:15:12 wrap global diff state in a struct
Stefan Sperling cb056f1e 2017-11-29T22:06:07 wrap global diff arguments in a struct
Stefan Sperling 7d283eee 2017-11-29T17:11:11 add and test basic blob diffing functionality
Stefan Sperling 574ed2c3 2017-11-29T17:09:52 add some unmodified files from /usr/src/usr.bin/diff/
Stefan Sperling 68482ea3 2017-11-27T05:13:16 implement open/close for blobs; add test which prints one
Stefan Sperling 30b4bb73 2017-11-27T01:24:58 remove a debug printf
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 4684ea10 2017-11-12T16:20:52 remove commented dead code
Stefan Sperling ad3a03de 2017-11-12T16:14:05 remove unused union 'obj' from struct got_object
Stefan Sperling a0448d60 2017-11-12T16:10:06 remove an unused function
Stefan Sperling bfab4d9a 2017-11-12T16:03:00 make our test display the entire commit log
Stefan Sperling d8871cad 2017-11-12T15:43:30 rename test
Stefan Sperling 1c852fbe 2017-11-12T15:42:12 move some of the test code to a helper function
Stefan Sperling 47cbebdb 2017-11-06T19:22:13 close commit object
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
Stefan Sperling d4a5a885 2017-11-05T17:32:11 simplify get_refs_dir_path()