lib


Log

Author Commit Date CI Message
Stefan Sperling 9ba79e04 2018-06-11T18:42:04 commit graph support for tog(1)
Stefan Sperling 31920504 2018-06-11T16:40:08 rename commit graph's iter_candidates to iter_list
Stefan Sperling 6e0c0f9a 2018-06-11T15:52:51 remove got_commit_graph_contains_object() Put equivalent functionality into fetch_commits_up_to() instead.
Stefan Sperling ca2dc7e6 2018-06-11T15:23:52 remove vim .swp files which crept in
Stefan Sperling 1142eae9 2018-06-11T15:22:15 introduce got_commit_graph_fetch_commits_up_to()
Stefan Sperling 6a4c1890 2018-06-11T14:23:42 introduce got_commit_graph_contains_object
Stefan Sperling 069f84d5 2018-06-11T03:31:01 use signed int for max numer of object idset elements
Stefan Sperling be6a1b5a 2018-06-11T03:17:51 promote commit graph's open_commit() helper to public API
Stefan Sperling c4d7a9c4 2018-06-11T03:13:33 replace inline code with call to open_commit() helper
Stefan Sperling 79f35eb3 2018-06-11T03:09:27 rename got_parent_id to got_object_qid; better generic name
Stefan Sperling b43fbaa0 2018-06-11T02:54:29 do not store commits in the commit graph; saves memory
Stefan Sperling d7b08640 2018-06-11T02:27:01 remove unused function
Stefan Sperling 7cd42a1a 2018-06-11T02:17:16 free timezone offset strings in got_object_commit_close()
Stefan Sperling 6c281f94 2018-06-11T02:14:44 show timezone offset in 'got log'
Stefan Sperling ef530fe5 2018-06-11T01:45:42 make commit timestamps work across privsep
Stefan Sperling 4626e416 2018-06-11T01:25:06 parse commit timestamps when opening commits
Stefan Sperling 6e790f45 2018-06-11T00:50:26 move parse_commit_time() to object.c and make public API
Stefan Sperling 4bd3f2bb 2018-06-11T00:27:10 some commits were missing from the commit graph
Stefan Sperling c363871b 2018-06-10T23:47:40 commit graph: don't omit commits with equal timestamps
Stefan Sperling 372ccdbb 2018-06-10T19:01:41 basic commit graph; make 'got log' use it; WIP with known bugs
Stefan Sperling 917bfd05 2018-06-10T14:55:20 add an extra callback argument to got_object_idset_for_each()
Stefan Sperling 45b73774 2018-06-04T22:34:08 rename got_object_idset_get_data() to got_object_idset_get()
Stefan Sperling d5a90aac 2018-06-04T22:32:38 return existing data if existing object id is added to set
Stefan Sperling c6f420bf 2018-06-04T21:50:01 expose number of elements in an object id set
Stefan Sperling 56cca8e5 2018-06-04T20:54:13 use macro instead of literal ".pack"
Stefan Sperling 72fb0363 2018-06-04T20:53:30 use macro instead of literal ".idx"
Stefan Sperling d475dd0d 2018-06-04T20:52:43 use strlcpy instead of strncpy
Stefan Sperling 4738e5f4 2018-06-04T20:46:09 remove unnecessary forward declaration
Stefan Sperling 956a5d5a 2018-06-04T20:33:41 replace unnecessary use of FOREACH_SAFE with FOREACH
Stefan Sperling 54be8251 2018-06-04T20:23:59 add an object id set data structure
Stefan Sperling c8262310 2018-06-04T18:11:39 use local variable to save screen estate in got_packidx_open()
Stefan Sperling 0b48ab23 2018-06-04T18:06:47 wrap overlong lines
Stefan Sperling 6fd11751 2018-06-04T18:02:06 turns out on-disk path of pack file may not match its hash Fixes reading a repo with a pack idx and file dated June 2011, where the filename does not contain the actual packfile SHA1.
Stefan Sperling f5feadcc 2018-06-04T16:22:01 fix bogus free() in error path of cache_pack()
Stefan Sperling 9fc8d6a2 2018-05-20T15:14:11 check fprintf() return values in got_diff_objects_as_commits()
Stefan Sperling 9b697879 2018-05-20T13:03:52 make got_diff_objects_as_commits() require obj2 parameter
Stefan Sperling bacc9935 2018-05-20T13:02:12 show log message above a diff between commits
Stefan Sperling b74c7625 2018-05-20T12:51:27 make git_diff_object helpers error if both objects are NULL
Stefan Sperling cd0acaa7 2018-05-20T12:37:25 allow switching from log view to diff view in tog
Stefan Sperling 511a516b 2018-05-19T16:57:12 move got_opentmp* functions to public API; used from tog
Stefan Sperling 11528a82 2018-05-19T16:28:32 move common diff helpers from got and tog into lib/diff.c
Stefan Sperling 0c048b15 2018-04-27T11:25:46 offsets in pack files should not make us seek beyond EOF
Stefan Sperling b419fc47 2018-04-26T22:17:43 error out if child dies or does not exit with success
Stefan Sperling 8b2180d4 2018-04-26T19:47:10 store fd instead of FILE in struct got_pack to prepare privsep
Stefan Sperling be37c2e6 2018-04-24T22:21:09 don't pass redundant program name to setproctitle()
Stefan Sperling 7918459e 2018-04-24T13:51:11 increase delta recursion limit; was too low for openbsd git repo
Stefan Sperling 730a8aa0 2018-04-24T13:49:33 don't override error codes in diff_modified_blob()
Stefan Sperling 1a6b3ab7 2018-04-24T13:34:24 fix error code in got_object_blob_open()
Stefan Sperling 2967a784 2018-04-24T13:30:34 verify size of blob received from privsep child
Stefan Sperling ff6b18f8 2018-04-24T12:50:21 read blobs through privsep
Stefan Sperling 068fd2bf 2018-04-24T12:27:59 give some privsep functions shorter names
Stefan Sperling 3aca5731 2018-04-24T12:24:57 prepare for blob privsep: use file descriptors instead of FILE
Stefan Sperling 962916a2 2018-04-24T12:19:59 add got_inflate_read_fd() and got_inflate_to_fd()
Stefan Sperling 80f4afe8 2018-04-24T11:47:09 introduce got_opentempfd()
Stefan Sperling 57efb1af 2018-04-24T10:41:15 add open_loose_blob() helper
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 1e51f5b9 2018-04-23T18:59:39 in got_privsep_recv_tree_obj() free tree upon imsg_read() error
Stefan Sperling 052d4dc3 2018-04-23T18:45:48 read tree names from imsg at the right offset
Stefan Sperling e033d803 2018-04-23T18:30:26 read tree objects with privsep
Stefan Sperling 86acc566 2018-04-23T16:39:36 don't transform sha1 to string and back for icommits
Stefan Sperling 366d86ca 2018-04-23T16:28:13 clean up imsg comments and declarations a bit
Stefan Sperling e506bf32 2018-04-23T15:39:51 typo
Stefan Sperling bff6ca00 2018-04-23T15:38:35 read commit objects with privsep
Stefan Sperling 442a3ddc 2018-04-23T09:38:37 try to infer repository path from work tree
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 5d43e84d 2018-04-23T07:04:30 don't proceed after errors in got_privsep_send_error()
Stefan Sperling fe36cf76 2018-04-23T07:01:14 create recv_one_imsg() helper
Stefan Sperling c4eae628 2018-04-23T06:55:08 create recv_imsg_error helper function
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 94fbf93a 2018-04-22T15:48:01 unpriv process doesn't know the actual object id
Stefan Sperling 8c580685 2018-04-22T15:40:59 treat unexpected message from unpriv processes as error
Stefan Sperling 8aac89a7 2018-04-22T14:55:10 handle errno errors correctly in got_privsep_recv_obj()
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 d80ab12b 2018-04-02T22:12:19 it seems we won't need all that many imsg types
Stefan Sperling e97248b0 2018-04-02T21:01:27 prune unused declarations from got_lib_diff.h
Stefan Sperling c48ceb4c 2018-04-02T20:58:50 remove support for the ifdef diff format from diffreg
Stefan Sperling 1afa8e43 2018-04-02T20:54:51 remove REVERSE and NREVERSE diff output options from diffreg
Stefan Sperling 6525c300 2018-04-02T20:51:57 forgot to delete D_EDIT in previous
Stefan Sperling 0165cdf0 2018-04-02T20:51:27 remove support for 'edit' diff output from diffreg
Stefan Sperling 119f8600 2018-04-02T20:49:11 remove support for "normal" diff output from diffreg
Stefan Sperling 84e11851 2018-04-02T20:47:21 remove support for context diffs from diffreg.c
Stefan Sperling a2a848a2 2018-04-02T20:43:42 remove ignore-lines pattern support from diffreg code
Stefan Sperling f5d549b5 2018-04-02T20:42:06 adjust preadline() and ignoreline() to match diff(1) again
Stefan Sperling 755142ea 2018-04-02T19:31:10 in diffreg.c, return value from preadline() must be freed
Stefan Sperling 5a7ffad5 2018-04-02T19:26:55 always free ds->ixold and ds->ixmew in got_diffreg()
Stefan Sperling 6b59e13c 2018-04-02T19:25:28 always free ds->clist and ds->klist in got_diffreg()
Stefan Sperling 7b366981 2018-04-02T19:24:14 always free ds->J in got_diffreg()
Stefan Sperling 9b98f34b 2018-04-02T19:22:15 always free ds->member and ds->class in got_diffreg()
Stefan Sperling df51fc4e 2018-04-02T19:14:02 fix reallocarray error handling in diffreg.c
Stefan Sperling 76735683 2018-04-02T16:37:53 move diffreg's max_context into struct got_diff_state
Theo Buehler d3f36e7e 2018-04-02T16:29:49 make max_connect static as in the original diffreg.c This way we grow the array instead of doing 64 <<= 1.
Stefan Sperling 8d98bcfb 2018-04-02T15:40:46 mark imsg structs which contain got_object_id as __packed__
Stefan Sperling 48f392b2 2018-04-02T15:17:49 define imsg for loose blobs and trees; allow inline delta stream
Stefan Sperling f7171542 2018-04-02T14:58:57 shorten imsg type names, and introduce a separate object structure
Stefan Sperling 2ca3a24b 2018-04-02T14:46:57 we will probably be using imsg_flush() rather than imsg_compose()