lib


Log

Author Commit Date CI Message
Stefan Sperling 2bd394ff 2018-06-22T13:42:11 speed up got_object_idset_remove_random() by almost 50%
Stefan Sperling 40aeb19c 2018-06-22T13:03:45 use binary search to find objects in pack index
Stefan Sperling 0a554478 2018-06-22T12:17:35 reduce object cache sizes
Stefan Sperling cc538cdd 2018-06-22T11:45:31 fix mem leak introduced with caching: actually close objects
Stefan Sperling cd717821 2018-06-22T11:35:41 add some disabled refcount debug code
Stefan Sperling 4307e577 2018-06-22T11:04:15 size object caches independently of each other
Stefan Sperling 1943de01 2018-06-22T10:46:10 add a commit cache as well
Stefan Sperling a9bf0c2c 2018-06-22T10:35:09 no need to manually count elements of a set
Stefan Sperling f6be5c30 2018-06-22T10:33:04 add a tree object cache to struct got_repository
Stefan Sperling 54f20211 2018-06-22T10:00:23 introduce struct got_object_cache
Stefan Sperling ebfa99d6 2018-06-22T09:55:50 remove unused field of struct got_objcache_entry
Stefan Sperling 50bc349d 2018-06-22T09:54:10 implement repository object cache via object_idset
Stefan Sperling a2965dbe 2018-06-22T09:52:27 fix got_object_idset_remove_random() for single-element set
Stefan Sperling 441e144c 2018-06-22T09:34:44 init output param in got_object_idset_remove()
Stefan Sperling 433eb4d4 2018-06-22T09:34:00 make data output param of got_object_idset_remove_random() optional
Stefan Sperling e7c810ea 2018-06-22T09:33:08 allow got_object_idset_remove() to retreive data pointer
Stefan Sperling 4a9bc5ca 2018-06-22T09:31:55 fix leak in got_object_idset_remove()
Stefan Sperling 27c21a11 2018-06-22T09:30:25 introduce got_object_idset_remove_random()
Stefan Sperling ac4e69fb 2018-06-22T02:02:49 undo previous; this approach won't work
Stefan Sperling c0cca3f6 2018-06-22T01:59:03 allow removing an unspecified element with got_object_idset_remove()
Stefan Sperling 2d5e8ac7 2018-06-22T01:53:54 remove debug output
Stefan Sperling 7bb0daa1 2018-06-22T01:53:06 add a very simple object cache
Stefan Sperling 835e0dbd 2018-06-21T23:42:37 init output param of got_object_open_as_*
Stefan Sperling 6fad634b 2018-06-21T23:39:50 remove left-over debug code
Stefan Sperling d157810f 2018-06-21T23:36:40 make annotate_line() non-fatal; handles files getting short
Stefan Sperling ed77f2ae 2018-06-21T23:34:04 simplify blame_open(): pcommit is not required
Stefan Sperling 9b94757a 2018-06-21T23:25:48 remove wrong comment
Stefan Sperling 404c43c4 2018-06-21T23:22:57 basic 'got blame' implementation
Stefan Sperling a19581a2 2018-06-21T22:04:27 implement got_object_open_as_blob()
Stefan Sperling 67606321 2018-06-21T21:40:51 fix path length accounting in got_object_open_by_path()
Stefan Sperling db37e2c0 2018-06-21T21:32:13 rename 'entry' to 'te' in got_object_open_by_path()
Stefan Sperling 00530cfb 2018-06-21T21:10:38 don't quit loop too early in got_object_open_by_path()
Stefan Sperling 197aa481 2018-06-21T21:05:01 fix bogus free() in got_object_open_by_path()
Stefan Sperling 1cbc02b6 2018-06-21T21:02:45 fix object type check in got_open_object_as_tree()
Stefan Sperling 35e9ba5d 2018-06-21T19:41:20 introduce got_object_blob_dump_to_file()
Stefan Sperling 776d4d29 2018-06-17T12:34:17 add got_object_open_as_tree() and got_object_open_by_path()
Stefan Sperling f7d20e89 2018-06-17T11:55:08 make got_canonpath() return a got_error
Stefan Sperling e6eac3b8 2018-06-17T11:47:23 introduce got_canonpath()
Stefan Sperling ec798807 2018-06-17T11:37:43 remove unused and broken got_path_segment_count()
Stefan Sperling fe8df4c2 2018-06-16T23:52:47 undo previous; it broke tog(1) with openssl repo
Stefan Sperling 98fdf1e0 2018-06-16T23:50:18 iter_node insertion hack in commit graph shouldn't be needed
Stefan Sperling 4bb494d5 2018-06-16T19:24:46 display UTC commit timestamps in tog(1)
Stefan Sperling 788c352e 2018-06-16T19:18:32 store commit timestamps as 'struct tm' in UTC
Stefan Sperling d1f2edc9 2018-06-13T19:19:55 make 'got log -c' accept a branch name
Stefan Sperling 0ed6ed4c 2018-06-13T18:29:04 got log: allow first-parent traversal with the commit graph
Stefan Sperling a37db869 2018-06-11T22:21:01 remove false statement in comment
Stefan Sperling 58e5f354 2018-06-11T22:19:29 tweak add_node_to_iter_list for clarity; no functional change
Stefan Sperling 19137930 2018-06-11T22:14:50 improve comment
Stefan Sperling 00dfcb92 2018-06-11T22:02:49 handle EILSEQ in tog(1)
Stefan Sperling 72f85f8c 2018-06-11T21:36:08 fix endless loop in commit graph
Stefan Sperling d2312330 2018-06-11T21:33:26 ensure commit graph iterations see all new commits being added
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