lib


Log

Author Commit Date CI Message
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
Stefan Sperling dc2404d9 2018-03-11T14:28:36 remove got_worktree_change_head() for now
Stefan Sperling 35be1456 2018-03-11T14:27:53 implement got_worktree_get_head_ref_name()
Stefan Sperling e559c328 2018-03-11T14:22:19 refine file index data structures a bit more
Stefan Sperling 32cb896c 2018-03-11T14:10:56 rename library-private headers from *_priv.h to *_lib.h
Stefan Sperling 78727e91 2018-03-11T14:02:12 add missing function declarations
Stefan Sperling c48c4a9c 2018-03-11T13:59:29 implement fileindex entry open/close
Stefan Sperling 5677e194 2018-03-11T13:20:25 rename got_zb_priv.h to got_zbuf_priv.h
Stefan Sperling a76a38d9 2018-03-11T13:17:56 rename zb.c to zbuf.c
Stefan Sperling c88eb298 2018-03-11T13:15:49 rename worktree_root to root_path in struct worktree
Stefan Sperling cde76477 2018-03-11T13:14:08 rename some fields in struct worktree
Stefan Sperling e8f36958 2018-03-11T13:11:43 read / free the head ref when work tree is opened / closed
Stefan Sperling d6c38e0d 2018-03-11T13:08:03 free base commit when worktree is closed
Stefan Sperling f5baf295 2018-03-11T13:06:45 read base commit hash when worktree is opened
Stefan Sperling 65e3b818 2018-03-11T12:52:02 set base commit to invalid commit id when work tree is created
Stefan Sperling 0605801d 2018-03-11T12:44:13 check read() return value properly in read_meta_file()
Stefan Sperling 7ac97322 2018-03-11T12:41:21 rename variable gotpath to path_got
Stefan Sperling fdf001a7 2018-03-11T12:28:15 add a proper definition for the worktree head
Stefan Sperling e350ead3 2018-03-11T12:23:28 create an emtpy base-commit file
Stefan Sperling 056e7441 2018-03-11T11:39:48 use a dedicated file for the work tree lock
Stefan Sperling 58ecc593 2018-03-11T02:53:51 document how work tree locking will work
Stefan Sperling ef99fdb1 2018-03-11T02:31:27 use flock(2) because open(2) O_NONBLOCK also enables non-blocking I/O
Stefan Sperling 73a5ef67 2018-03-11T02:15:34 lock meta data files in worktree correctly
Stefan Sperling 6d9d28c3 2018-03-11T02:03:45 implement worktree open and close operations
Stefan Sperling 2cb4bacb 2018-03-11T01:33:55 assume good path input in got_worktree_init()
Stefan Sperling 09fe317a 2018-03-11T01:33:02 add function to read worktree meta data file
Stefan Sperling 4d94df2d 2018-03-11T01:19:40 rename worktree set_head() operation to change_head()
Stefan Sperling 606778cd 2018-03-11T01:18:45 fileindex update function probably won't be needed after all
Stefan Sperling 577ec78f 2018-03-11T01:15:39 store a path prefix in the worktree; will be used for subtree checkout
Stefan Sperling 2e8aa240 2018-03-11T01:07:09 file_index -> fileindex
Stefan Sperling fca9db82 2018-03-11T01:06:29 rename file_index -> fileindex
Stefan Sperling 9dce68ed 2018-03-10T17:44:23 typo in comment
Stefan Sperling ed7464bb 2018-03-10T17:15:18 whitespace
Stefan Sperling 281294a5 2018-03-10T17:14:25 add stub for anticipated worktree function which updates fileindex
Stefan Sperling 99724ed4 2018-03-10T17:08:23 add a helper function which creates worktree meta files
Stefan Sperling 1451e70d 2018-03-10T16:51:30 stamp worktrees with a format number
Stefan Sperling 8eea5a5c 2018-03-10T01:13:12 bump copyright
Stefan Sperling 63afc6c6 2018-03-10T01:09:31 unwrap short line
Stefan Sperling f0e4a7b7 2018-03-10T01:03:31 indent long line
Stefan Sperling 86c3caaf 2018-03-10T00:22:23 add worktree skeleton code; implement got_worktree_init()
Stefan Sperling 8fd17454 2018-03-09T23:43:59 don't forget to set error message in got_error_from_errno()
Stefan Sperling 422a2f50 2018-03-09T21:44:46 file index path padding is only needed on disk
Stefan Sperling c8988c68 2018-03-09T21:43:05 file index entries are variable in size; use a tailq
Stefan Sperling 0a71ee67 2018-03-09T18:12:10 return error from search_packidx() if dup_packidx() fails
Stefan Sperling d0b44960 2018-03-09T18:03:38 tweak wording in comment
Stefan Sperling 6bb30d9a 2018-03-09T18:02:39 the file index header checksum applies to on-disk data
Stefan Sperling 3c34e7b0 2018-03-09T18:01:57 missed one
Stefan Sperling aeabcaee 2018-03-09T18:01:00 got_index_priv.h -> got_file_index_priv.h
Stefan Sperling 33516987 2018-03-09T18:00:23 rename 'index' data structures to 'file index'
Stefan Sperling adb27c25 2018-03-09T17:59:03 more tweaks to index structures
Stefan Sperling 79b11c62 2018-03-09T17:01:49 add a pack index cache; speeds tree listing up quite a lot
Stefan Sperling 2393f13b 2018-03-09T15:36:55 support an absolute repos path argument in got_repo_open()
Stefan Sperling 2d01eeba 2018-03-09T15:33:56 some tweaks to the index format we'll probably make
Stefan Sperling 0d7de9e3 2018-03-09T15:09:39 remove things which are unused in index format 2
Stefan Sperling 68d9677d 2018-03-09T15:08:37 add some basic data structores for git index
Stefan Sperling 39e73dc9 2018-03-03T14:18:08 We don't use a delta combiner, we use delta application. A "delta combiner" (as used in SVN) combines deltas and applies the combined delta to the base. We don't do this yet; we apply deltas one by one.
Stefan Sperling be89e2b1 2018-03-03T14:02:13 In read_to_mem() loop, don't overwrite already read blocks
Stefan Sperling 1411938b 2018-02-12T23:25:38 rename private header filenames so they are in got_ namespace
Stefan Sperling 03c6739c 2018-02-12T23:16:53 move got_sha1.h to private lib directory
Stefan Sperling 38d42f42 2018-02-12T22:57:02 inline refs.h in refs.c
Stefan Sperling 3b339b2f 2018-02-12T22:56:07 make struct got_repository opaque
Stefan Sperling 0c9bd0c5 2018-02-12T22:49:33 make struct got_reference opaque
Stefan Sperling ef0981d5 2018-02-12T22:40:55 make length of id string an implementation detail
Stefan Sperling 6dfa2fd3 2018-02-12T22:20:37 remove got_parse_object_id(), add got_object_open_by_id_str() instead
Stefan Sperling 59ece79d 2018-02-12T22:13:27 make struct got_object_id opaque
Stefan Sperling 908b0194 2018-02-12T21:29:08 move struct got_zstream_buf to private header zb.h
Stefan Sperling f934cf2c 2018-02-12T21:27:40 make struct got_blob_object opaque
Stefan Sperling eba5c6bb 2018-02-12T00:25:40 repair blob diffing
Stefan Sperling 74671950 2018-02-12T00:15:49 add output file argument to got_diff_tree
Stefan Sperling bdd2fbb3 2018-02-12T00:01:26 read delta data from the right offset
Stefan Sperling 06e5fc98 2018-02-11T23:34:03 fix a bug where we'd skip commands in the delta stream
Stefan Sperling 0e22967e 2018-02-11T22:43:21 we must store delta's type-and-size length separately to skip it
Stefan Sperling a6b158cc 2018-02-11T19:15:55 don't read plain objects to memory during unpack
Stefan Sperling 044e7393 2018-02-11T18:35:45 don't assume objects IDs are sorted by their values in packidx
Stefan Sperling eb651edf 2018-02-11T18:16:43 more progress on reading packed/deltified objects
Stefan Sperling 126ee060 2018-02-11T16:46:49 remove insize arg from inflate_read()
Stefan Sperling 6b4a60c5 2018-02-11T16:43:09 inflate_to_mem doesn't care how much stream it has read
Stefan Sperling af263665 2018-02-11T16:42:30 check HAVE_MORE flag in got_inflate_to_file()
Stefan Sperling 61d262a8 2018-02-11T16:37:53 make got_inflate_read() properly indicate if it needs to be called again
Stefan Sperling 3606d7fc 2018-02-11T16:17:37 tweak the API which inflates data to a file
Stefan Sperling 54382dcc 2018-02-11T16:12:55 keep reading zlib stream until end maker when expanding to mem
Stefan Sperling c743ac7d 2018-01-27T03:27:41 remove pointless loops in read_{commit,tree}_object()
Stefan Sperling 90356acc 2018-01-27T03:06:07 Fix missing error check in parse_tree_object().
Stefan Sperling 6336b73f 2018-01-27T03:03:21 Fix output length if got_inflate_read() reads some data and then EOF.
Stefan Sperling 824801e7 2018-01-27T01:15:40 Improve delta combiner docs and rename a macro for clarity.
Stefan Sperling 885d3e02 2018-01-27T01:05:56 implement delta combiner and a small test suite for it
Stefan Sperling 4ca7b755 2018-01-26T18:13:01 Move zlib wrapper/buffering code into a separate file.
Martin Pieuchot 1db76ab5 2018-01-26T14:26:35 Some memory failure checks were missing.
Stefan Sperling ef715580 2018-01-26T15:01:44 ensure we don't call closedir(NULL) in search_packidx()
Martin Pieuchot 322260e1 2018-01-26T13:58:40 Get rid of xmalloc.{c,h}. malloc(3) & pread(3) errors will now be reported as GOT_ERR_NO_MEM. This does not improve the numbers of leaks in diffreg.c
Stefan Sperling 96a1d717 2018-01-24T17:54:21 document the delta stream data format
Stefan Sperling 710bb5ca 2018-01-23T23:48:41 rename delta dumping helper function and tweak its parameter list
Stefan Sperling 6691714a 2018-01-23T23:44:49 prepare application of deltas
Stefan Sperling 4ee4114f 2018-01-23T18:20:14 rename helper function open_object() to fopen_object()
Stefan Sperling c7fe698a 2018-01-23T18:07:21 add a helper function for opening a pack file