lib


Log

Author Commit Date CI Message
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()
Stefan Sperling 1e4880cb 2018-04-02T14:42:31 tweak privsep messages to transmit delta data in imsg buffers
Stefan Sperling c025a41e 2018-04-02T13:55:21 add an error reporting imsg
Stefan Sperling 0dacc2d1 2018-04-02T13:51:24 typo
Stefan Sperling 7be7cc45 2018-04-02T13:48:51 add a rough outline for privsep support
Stefan Sperling 5b7e13a7 2018-04-02T12:46:33 put a limit on delta chain recursion
Stefan Sperling dfb54902 2018-04-02T11:45:31 wrap long lines
Stefan Sperling 6c6d3ed3 2018-04-02T11:34:26 fix obsolete comment in struct got_repository definition
Stefan Sperling b4691ea5 2018-04-02T11:11:43 simplify got_error_from_errno()
Stefan Sperling 97128b57 2018-04-02T10:09:22 in get_packfile_size(), get errno from stat() and init output early
Stefan Sperling 1c7e24f1 2018-04-02T10:05:35 avoid unnecessary string copies and allocations in get_packfile_size()
Stefan Sperling 5261c201 2018-04-01T23:37:09 rename 'refs' to 'reference'
Stefan Sperling 4810de4a 2018-04-01T23:16:35 we have implemented all object types, switch to better error code
Stefan Sperling 92088384 2018-04-01T23:00:57 fix use of unitialized value in case of EOF in got_inflate_read()
Stefan Sperling f7b38925 2018-04-01T20:40:35 make paths shown during checkout match what is created on disk
Stefan Sperling 3235492e 2018-04-01T18:17:18 add the ability to start the log at a particular commit
Stefan Sperling 2acfca77 2018-04-01T17:44:32 don't forgot to close blobs after diffing them
Stefan Sperling bb5dcc10 2018-04-01T17:28:38 fix open file leaks in previous
Stefan Sperling ecf6e46e 2018-04-01T17:21:25 check for fopen() failures in got_diffreg()
Stefan Sperling 16dcbf91 2018-04-01T15:59:36 remove debug code accidentally committed
Stefan Sperling 72eb3431 2018-04-01T15:57:43 look up deltas in the correct pack file
Stefan Sperling 040bf4a1 2018-04-01T14:43:53 stop using fmemopen(); that code path didn't work correctly
Stefan Sperling 84eb021e 2018-03-27T23:18:58 show function prototypes in diff output
Stefan Sperling 07ccb00b 2018-03-27T23:08:07 be careful about NULL trees when diffing entries
Stefan Sperling c2c21d46 2018-03-27T21:56:33 show 3 lines of context in file diffs
Stefan Sperling 0a585a0d 2018-03-17T18:13:19 remove GOT_ERR_NO_MEM, we can just use errno in those cases
Stefan Sperling 718b3ab0 2018-03-17T17:50:48 rename the library-internal headers again to a common prefix
Stefan Sperling 8bf5b3c9 2018-03-17T17:42:48 rewrite 'got log' without recursion
Stefan Sperling 4589e373 2018-03-17T15:41:39 remove mmap() stuff; checkout is fast enough for now
Stefan Sperling 0bd0053c 2018-03-17T15:31:18 handle empty files in got_packfile_extract_object()
Stefan Sperling 56866f4a 2018-03-17T15:27:00 fix resource leaks in error paths of got_object_blob_open()
Stefan Sperling d0f3be7c 2018-03-17T15:17:14 initialize some output variables on failure
Stefan Sperling 6bb255dc 2018-03-17T15:12:44 don't dup_packidx() during cache lookup; fixes performance :)
Stefan Sperling 40426839 2018-03-17T15:05:06 remove unused argument from get_delta_chain_max_size()
Stefan Sperling c52ac529 2018-03-17T15:01:36 extract objects smaller than DELTA_RESULT_SIZE_CACHED_MAX to memory
Stefan Sperling a53d2f13 2018-03-17T14:19:13 cache delta data in struct got_delta directly
Stefan Sperling 6d89869a 2018-03-17T03:35:04 use cached packfile in open_packed_object()
Stefan Sperling 18e99ab6 2018-03-17T03:32:28 fix fd leak in got_object_open()
Stefan Sperling 999f19f6 2018-03-17T02:36:20 use cached packfile in resolve_ref_delta()
Stefan Sperling e1ad6ebc 2018-03-17T02:12:34 remove path_packfile from struct got_delta_cache; add a counter instead
Stefan Sperling f7e127f3 2018-03-17T02:02:32 move delta cache into struct got_pack
Stefan Sperling 7e656b93 2018-03-17T01:37:48 add struct got_pack; some preparation for mmap, which isn't used yet
Stefan Sperling b29656e2 2018-03-16T23:05:12 set obj->size of packed deltified objects to object's actual size
Stefan Sperling 65cf1e80 2018-03-16T22:33:22 revert the pack file handle cache again; needs more thought
Stefan Sperling ef2bccd9 2018-03-16T22:14:51 stop opening pack files redundantly to read deltas
Stefan Sperling 6845d284 2018-03-16T21:40:20 use SEEK_SET instead of SEEK_CUR after opening packfile
Stefan Sperling 87c99799 2018-03-16T21:26:06 start caching file handles to packfiles
Stefan Sperling 19d747f7 2018-03-16T20:18:09 avoid an extra memcpy in got_inflate_to_mem()
Stefan Sperling 43a2d19d 2018-03-16T19:28:52 need to subtract hdrlen from tree data in got_object_tree_open()
Stefan Sperling ea35256b 2018-03-16T19:27:48 avoid a round-trip via tempfile when reading packed commits
Stefan Sperling 40dc5ff8 2018-03-16T19:22:22 rename a function for clarity
Stefan Sperling e0ab43e7 2018-03-16T19:20:15 avoid a round-trip of data through a temp file when reading trees
Stefan Sperling 8628c62d 2018-03-15T01:21:57 process small deltas in memory; unfortunately it is not faster...
Stefan Sperling 1cc8e7f9 2018-03-15T00:31:05 remove a useless and leaky allocation
Stefan Sperling 9db65d41 2018-03-14T23:42:16 In dump_delta_chain(), don't open the packfile if it's not needed.
Stefan Sperling ec889268 2018-03-14T23:32:19 fix open file handle leak in dump_delta_chain()
Stefan Sperling 9feb4ff2 2018-03-14T02:37:58 propagate error from delta cache insertion; fixes mem leak
Stefan Sperling bd1223b9 2018-03-14T01:21:09 add a delta cache; saves us from reading + decompressing some deltas
Stefan Sperling 4834ca96 2018-03-13T19:03:55 add a macro for zbuf buffer size
Stefan Sperling 8e6b5191 2018-03-13T18:53:41 restrict in-memory delta processing to 4MB
Stefan Sperling 22484865 2018-03-13T18:28:40 process delta chains in memory if max size is < 32 MB
Stefan Sperling 39ff877f 2018-03-13T16:31:33 expand deltas in memory if result size is < 32MB
Stefan Sperling 0bb8a95e 2018-03-12T22:00:08 add support for checking out a subtree
Stefan Sperling 92a684f4 2018-03-12T21:34:38 show progress during checkout
Stefan Sperling 4847cca1 2018-03-12T20:56:31 make is_git_repo() check for a usable HEAD reference
Stefan Sperling 4986b9d5 2018-03-12T20:51:37 add support for opening bare repositories
Stefan Sperling deeca238 2018-03-12T20:41:51 in is_git_repo(), actually verify presence of git repository dirs and files
Stefan Sperling 23b19d00 2018-03-12T14:08:37 fix worktree test build: remove more unused variables
Stefan Sperling 25783624 2018-03-12T13:59:29 use stricter CPPFLAGS from mpi
Stefan Sperling 51664889 2018-03-12T13:41:13 in got_worktree_checkout_files, init file index path before using
Stefan Sperling e77c4c9f 2018-03-12T13:37:17 remove base-commit meta file; this will move into the fileindex
Stefan Sperling c34b20a2 2018-03-12T13:06:03 write file index after checking out files
Stefan Sperling 9d31a1d8 2018-03-11T20:39:31 initial implementation of worktree checkout