lib


Log

Author Commit Date CI Message
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()
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()