lib


Log

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