lib


Log

Author Commit Date CI Message
Stefan Sperling 03fa71c8 2018-09-06T17:42:46 move some more functions from object.c to object_parse.c
Stefan Sperling a440fac0 2018-09-06T17:33:13 move object parsing code into a separate file
Stefan Sperling 11cdebc1 2018-09-03T00:59:21 remove unused argument from read_commit_object_privsep()
Stefan Sperling 84717ec7 2018-09-02T13:30:31 add got_locale_is_utf8()
Stefan Sperling cd31e911 2018-07-23T17:49:17 fix a leak and use recallocarray in read_object_header()
Stefan Sperling 17d745b8 2018-07-23T17:19:40 replace reallocarray with recallocarray throughout inflate.c
Stefan Sperling 666b4ca8 2018-07-23T17:03:36 wrap overlong line
Stefan Sperling 37bd7602 2018-07-23T17:01:35 fix length calculations in mmap inflate; fixes garbage diffs
Stefan Sperling 720ad641 2018-07-23T13:40:13 don't remove cached elements in got_object_idcache_add()
Stefan Sperling 61c9f6dc 2018-07-23T13:37:08 plug a leak in got_object_idcache_add()
Stefan Sperling b565f6f8 2018-07-23T13:08:03 avoid unnecessary reallocations in fetch_commits_from_open_branches()
Stefan Sperling f4ceb45e 2018-07-23T12:40:12 commit graph child adjancencies are not used; drop them
Stefan Sperling 7a132809 2018-07-23T11:41:06 fix leak in object_path()
Stefan Sperling fa2f6902 2018-07-23T11:30:26 use got_object_qid_free() consistently
Stefan Sperling f831532b 2018-07-23T11:22:21 remove unused got_object_idset_remove_random()
Stefan Sperling fb5b9d5a 2018-07-23T11:18:44 fix more leaks in commit graph's add_node()
Stefan Sperling c336f889 2018-07-23T10:53:49 don't store copies of packfile paths in each delta
Stefan Sperling 673702af 2018-07-23T10:37:54 fix leak in dump_delta_chain_to_file()
Stefan Sperling ab3ad429 2018-07-23T10:34:33 fix leaks in resolve_offset_delta()
Stefan Sperling 063c1bed 2018-07-23T10:12:37 free parent ids when freeing commit graph nodes
Stefan Sperling 5aef3967 2018-07-22T16:25:11 plug some leaks in inflate.c
Stefan Sperling 4e845d01 2018-07-22T16:10:19 fix leaks in commig graph's add_node()
Stefan Sperling ca008b32 2018-07-22T15:38:50 fix leak in got_object_open_by_path()
Stefan Sperling cb352812 2018-07-22T14:08:45 callers of add_node() don't need to check for GOT_ERR_OBJ_EXISTS
Stefan Sperling ce47a424 2018-07-22T13:52:36 treat double-linking to same child in commit graph as no-op
Stefan Sperling 04ca23f4 2018-07-16T13:05:23 allow filtering history by paths in 'got log'
Stefan Sperling 85f51bba 2018-07-16T07:49:08 scan upwards for git repositories
Stefan Sperling 60507209 2018-07-13T11:26:37 fix a leak in got_inflate_to_mem_mmap()
Stefan Sperling df9513f1 2018-07-13T11:02:06 fix mem leak in blame_changes() error path
Stefan Sperling 3efa19e7 2018-07-13T10:51:34 fix more memleaks
Stefan Sperling 58c811c5 2018-07-13T10:40:56 remove a wrong free() in got_blame()
Stefan Sperling e8f89a81 2018-07-13T10:38:31 only unmap map if non-NULL in got_pack_close()
Stefan Sperling d4af3990 2018-07-13T10:28:26 fix mem leaks in got_blame()
Stefan Sperling ce7f1bfe 2018-07-13T10:26:08 fix a mem leak in blame_commit()
Stefan Sperling ccfe88e6 2018-07-13T00:39:26 provide a compile-time toggle for object caching
Stefan Sperling 062ebb78 2018-07-13T00:30:22 replace some calloc() with malloc() in object.c
Stefan Sperling 26206841 2018-07-13T00:06:40 always close blame in got_blame_incremental()
Stefan Sperling dbc6a6b6 2018-07-12T19:05:28 allow going back to previously blamed commits in tog blame
Stefan Sperling c35a7943 2018-07-12T15:04:11 account for line shift in blame; lots of help from tb@
Stefan Sperling 45202a8f 2018-07-11T20:57:44 fix reading ref deltas
Stefan Sperling 89a4e64f 2018-07-11T13:11:58 add missing call to blame callback
Stefan Sperling ede67fd9 2018-07-10T23:32:29 remove empty line from commit diff output
Stefan Sperling 3bf198ba 2018-07-10T15:02:13 always pass commit ID to incremental blame callback
Stefan Sperling d68a0a7d 2018-07-10T13:47:25 implement cleaner cancellation of tog's blame view
Stefan Sperling 75b7a700 2018-07-10T13:32:19 allow quitting tog blame view while blame is in progress
Stefan Sperling 84451b3e 2018-07-10T13:17:00 implement incremental blame display for tog
Stefan Sperling 63581804 2018-07-09T22:23:00 rename zbuf to inflate
Stefan Sperling fc79a48d 2018-07-09T17:00:51 add a compile time switch to read pack index with read(2)
Stefan Sperling af9b7fee 2018-07-09T16:32:39 add compile-time switch which disables mmap for pack files
Stefan Sperling 57363308 2018-07-09T16:20:48 fall back to read() as intended if mapping packfile fails
Stefan Sperling e7242cee 2018-07-09T15:59:44 less memset() needed in got_inflate_init()
Stefan Sperling d7464085 2018-07-09T15:30:16 read pack files with mmap
Stefan Sperling 1828273a 2018-07-09T13:52:40 don't crash in 'got blame' error path
Stefan Sperling 0cb74cf4 2018-07-08T19:08:12 don't verify pack index SHA1 upon regular access
Stefan Sperling eb77ee11 2018-07-08T18:06:36 add an object id cache which backs the object cache
Stefan Sperling 60f2eee1 2018-07-08T17:18:45 undo previous; too much mixup in one data structure
Stefan Sperling d54f52f4 2018-07-07T16:50:10 store recently accessed objects at front of cache lists
Stefan Sperling dd031dc0 2018-07-04T12:56:01 fix off-by-one in got_blame()
Stefan Sperling 2811168f 2018-07-04T12:53:44 fix off-by-one in blame_open()
Stefan Sperling 883f0469 2018-06-23T17:57:39 make struct got_tree_object opaque
Stefan Sperling b0e2201a 2018-06-22T21:15:24 simplify more code which assumed deltas could span mulitple packs
Stefan Sperling 49847196 2018-06-22T20:56:40 wrap overlong lines
Stefan Sperling 4842267f 2018-06-22T20:51:08 remove unnecessary fdopen()
Stefan Sperling 652b2703 2018-06-22T20:43:22 only search one pack file while resolving deltas
Stefan Sperling 57b35b75 2018-06-22T20:12:26 access pack index files with mmap()
Stefan Sperling 49c99f91 2018-06-22T20:09:05 don't needlessly copy packidx when caching it
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()