Log

Author Commit Date CI Message
Edward Thomson 78ed45d5 2020-06-06T23:25:25 Update main.yml
Edward Thomson 09d00c3e 2020-06-06T23:21:35 Update main.yml
Edward Thomson 92ab4213 2020-06-06T23:16:52 Update main.yml
Edward Thomson 2e8cc08e 2020-06-06T23:15:08 Update main.yml
Edward Thomson 7ebb420a 2020-06-06T23:06:11 Update main.yml
Edward Thomson 42c5d7c2 2020-06-06T23:02:10 Update main.yml
Edward Thomson 045429f5 2020-06-06T22:44:20 Update main.yml
Edward Thomson e3683c72 2020-06-06T22:41:02 Update main.yml
Edward Thomson fbb71d0c 2020-06-06T22:32:33 Update main.yml
Edward Thomson 982a1def 2020-06-06T22:30:16 Update main.yml
Edward Thomson 7e5a1ce3 2020-06-06T22:27:37 Update main.yml
Edward Thomson a9e252d4 2020-06-06T22:23:19 Update main.yml
Edward Thomson c199d5e8 2020-06-06T22:21:53 Update main.yml
Edward Thomson aaf96aff 2020-06-06T22:00:36 Update main.yml
Edward Thomson d7b0e918 2020-06-06T21:58:02 Update main.yml
Edward Thomson 37af2a0d 2020-06-06T21:55:27 Update main.yml
Edward Thomson 7c518a59 2020-06-06T21:22:44 Update main.yml
Edward Thomson e310a0cb 2020-06-06T21:21:33 Update main.yml
Edward Thomson 7f6f2790 2020-06-06T21:20:51 Update main.yml
Edward Thomson f5510222 2020-06-06T21:18:42 Update main.yml
Edward Thomson 070633db 2020-06-06T21:17:54 Update main.yml
Edward Thomson f356952b 2020-06-06T21:01:51 Update main.yml
Edward Thomson c31c10cc 2020-06-06T21:00:15 Update main.yml
Edward Thomson a2c42999 2020-06-06T20:58:19 Update main.yml
Edward Thomson 4eb9c0a5 2020-06-06T20:57:51 Update main.yml
Edward Thomson 7861a86b 2020-06-06T20:56:01 Update main.yml
Edward Thomson 09439368 2020-06-06T20:53:23 Update main.yml
Edward Thomson ddfeb4aa 2020-06-06T20:52:54 Update main.yml
Edward Thomson 2540fd08 2020-06-06T20:52:15 Update main.yml
Edward Thomson 6ad47348 2020-06-06T20:50:45 Update main.yml
Edward Thomson 8e794b0e 2020-06-06T20:49:30 Update main.yml
Edward Thomson 1849f89a 2020-06-06T20:42:15 Update main.yml
Edward Thomson 3454dd64 2020-06-06T20:38:56 Update main.yml
Edward Thomson 43667e57 2020-06-06T17:39:58 Update main.yml
Edward Thomson 560ca69a 2020-06-06T17:30:48 Update main.yml
Edward Thomson 41e18bd4 2020-06-06T17:28:06 Update main.yml
Edward Thomson 69b6027c 2020-06-06T17:26:58 Update main.yml
Edward Thomson 5a5335f4 2020-06-06T17:25:52 Update main.yml
Edward Thomson a1b454e0 2020-06-06T17:24:32 Update main.yml
Edward Thomson 4a8f9f77 2020-06-06T17:22:57 Update main.yml
Edward Thomson 94017145 2020-06-06T17:20:23 Update main.yml
Edward Thomson 6c8ad0f8 2020-06-06T17:16:10 Update main.yml
Edward Thomson 6527b35e 2020-06-06T16:38:55 Update main.yml
Edward Thomson 309b6148 2020-06-06T16:38:01 Update main.yml
Edward Thomson 0a8fa2a5 2020-06-06T16:34:08 Update main.yml
Edward Thomson 0a4255e4 2020-06-06T16:30:27 Update main.yml
Edward Thomson 06e0abe1 2020-06-06T16:22:25 Update main.yml
Edward Thomson fd6997af 2020-06-06T16:21:07 Update main.yml
Edward Thomson 91f02a8a 2020-06-06T16:20:35 Update main.yml
Edward Thomson 8d8cfee9 2020-06-06T16:16:30 Update main.yml
Edward Thomson 39d12f1c 2020-06-06T16:14:59 Update main.yml
Edward Thomson 872cc3dc 2020-06-06T16:13:38 Update main.yml
Edward Thomson eb7e17ee 2020-06-06T16:12:18 Update main.yml
Edward Thomson aa0b1d19 2020-06-06T16:08:00 Update main.yml
Edward Thomson 254108b0 2020-06-06T15:53:42 Update main.yml
Edward Thomson cef3585b 2020-06-06T15:48:00 Update main.yml
Edward Thomson e300547b 2020-06-06T15:37:42 Update main.yml
Edward Thomson 580c76ed 2020-06-06T15:35:58 Update main.yml
Edward Thomson 3b6fad6d 2020-06-06T15:33:19 Update main.yml
Edward Thomson 15fa1a49 2020-06-06T15:14:21 Update main.yml
Edward Thomson 340de10f 2020-06-06T15:03:21 Update main.yml
Edward Thomson cdeff885 2020-06-06T14:53:07 Update main.yml
Edward Thomson 10d5987c 2020-06-06T14:45:07 Create main.yml
Edward Thomson c708e5e5 2020-06-05T14:11:34 Merge pull request #5541 from libgit2/ethomson/clar_tap clar: add tap output option
Edward Thomson cad7a1ba 2020-06-05T08:42:38 clar: include the function name
Edward Thomson b4290518 2020-06-05T07:53:32 Merge pull request #5545 from libgit2/ethomson/diff_parse diff::parse: don't include `diff.h`
Edward Thomson 06d69dfc 2020-05-01T12:39:48 diff::parse: don't include `diff.h` We don't call any internal functions in the test; we don't need to include `../src/diff.h`.
Patrick Steinhardt 2f8d0cf2 2020-06-04T12:37:48 Merge pull request #5543 from libgit2/ethomson/release_script_typo release script: fix typo
Edward Thomson b79f7d38 2020-06-04T09:49:38 release script: fix typo
Edward Thomson f7250cc3 2020-06-04T07:23:15 clar: add tap output
Edward Thomson 691315e6 2020-06-03T15:47:42 clar: add an output abstraction layer Add an output abstraction layer, with a single output format, "clap", the clar protocol, which is the current output format for clar.
Edward Thomson 0187f36a 2020-06-03T15:22:44 clar: parse arguments before printing the header We want to parse arguments before we start printing any output; the arguments themselves may impact the way we display that output.
Patrick Steinhardt 86b85492 2020-06-03T15:40:37 Merge pull request #5537 from libgit2/ethomson/clar_exactmatch tests: offer exact name matching with a `$` suffix
Edward Thomson 107bf1f4 2020-06-03T11:47:13 clar: print indirection
Patrick Steinhardt 53a8f463 2020-06-03T07:40:59 Merge pull request #5536 from libgit2/ethomson/http httpclient: support googlesource
Edward Thomson 6de8aa7f 2020-06-02T12:21:22 Merge pull request #5532 from joshtriplett/pack-default-path git_packbuilder_write: Allow setting path to NULL to use the default path
Edward Thomson 22f9a0fc 2020-06-02T12:12:41 Merge pull request #5531 from joshtriplett/mempack-threads mempack: Use threads when building the pack
Edward Thomson 0d3ce2ac 2020-06-02T10:23:41 offer exact name matching with a `$` suffix When using `-s` to specify a particular test, it will do a prefix match. Thus, `-sapply::both::rename_a_to_b_to_c` will match both a test named `test_apply_both__rename_a_to_b_to_c` and a test that begins with that name, like `test_apply_both__rename_a_to_b_to_c_exact`. Permit a trailing `$` to `-s` syntax. This allows a user to specify `-sapply::both::rename_a_to_b_to_c$` to match _only_ the `test_apply_both__rename_a_to_b_to_c` function. We already filter to ensure that the given prefix matches the current test name. Also ensure that the length of the test name matches the length of the filter, sans trailing `$`.
Edward Thomson d4b953f8 2020-06-02T09:26:11 Merge pull request #5528 from libgit2/ethomson/clar_internal clar: use internal functions instead of /bin/cp and /bin/rm
Edward Thomson 2a2c5b40 2020-05-23T15:57:48 clar: remove unused shell_out function
Edward Thomson ee9e9163 2020-05-23T15:56:29 clar: remove files internally instead of /bin/rm Similar to how clar has used `/bin/cp` to copy files, it's used `/bin/rm` to remove them. This has similar deficiencies; meaning that leaks is noisy and it's slow. Move it to an internal function.
Edward Thomson d03fd331 2020-05-23T15:42:51 clar: copy files with sendfile on linux
Edward Thomson 8df4f519 2020-05-23T15:04:54 clar: copy files internally instead of /bin/cp clar has historically shelled out to `/bin/cp` to copy test fixtures into a sandbox. This has two deficiencies: 1. It's slower than simply opening the source and destination and copying them in a read/write loop. On my Mac, the `/bin/cp` based approach takes ~2:40 for a full test pass. Using a read/write loop to copy the files ourselves takes ~1:50. 2. It's noisy. Since the leak detector follows fork/exec, we'll end up running the leak detector on `/bin/cp`. This would be fine, except that the leak detector spams the console on startup and shutdown, so it adds a _lot_ of additional information to the test runs that is useless. By not forking and using this internal system, we see much less output.
Edward Thomson 849f371e 2020-06-02T00:29:34 Merge pull request #5535 from libgit2/ethomson/strarray strarray refactoring
Edward Thomson 04c7bdb4 2020-06-01T22:44:14 httpclient: clear the read_buf on new requests The httpclient implementation keeps a `read_buf` that holds the data in the body of the response after the headers have been written. We store that data for subsequent calls to `git_http_client_read_body`. If we want to stop reading body data and send another request, we need to clear that cached data. Clear the cached body data on new requests, just like we read any outstanding data from the socket.
Edward Thomson aa8b2c0f 2020-06-01T23:53:55 httpclient: don't read more than the client wants When `git_http_client_read_body` is invoked, it provides the size of the buffer that can be read into. This will be set as the parser context's `output_size` member. Use this as an upper limit on our reads, and ensure that we do not read more than the client requests.
Edward Thomson 5eb48a14 2020-05-29T13:17:39 strarray: deprecate git_strarray_copy We should not be in the business of copying strings around for users. We either return a strarray that can be freed, or we take one (and do not mutate it).
Edward Thomson 51eff5a5 2020-05-29T13:13:19 strarray: we should `dispose` instead of `free` We _dispose_ the contents of objects; we _free_ objects (and their contents). Update `git_strarray_free` to be `git_strarray_dispose`. `git_strarray_free` remains as a deprecated proxy function.
Edward Thomson a9746b30 2020-05-29T11:21:55 strarray: move to its own file
Edward Thomson 570f0340 2020-06-01T19:10:38 httpclient: read_body should return 0 at EOF When users call `git_http_client_read_body`, it should return 0 at the end of a message. When the `on_message_complete` callback is called, this will set `client->state` to `DONE`. In our read loop, we look for this condition and exit. Without this, when there is no data left except the end of message chunk (`0\r\n`) in the http stream, we would block by reading the three bytes off the stream but not making progress in any `on_body` callbacks. Listening to the `on_message_complete` callback allows us to stop trying to read from the socket when we've read the end of message chunk.
Edward Thomson b7bdb071 2020-05-30T15:21:48 online::clone: test a googlesource URL Google Git (googlesource.com) behaves differently than git proper. Test that we can communicate with it.
Patrick Steinhardt 629515a8 2020-06-01T15:06:29 Merge pull request #5481 from pks-t/pks/cmake-cleanups CMake cleanups
Patrick Steinhardt 17641f1f 2020-06-01T15:05:51 Merge pull request #5526 from libgit2/ethomson/poolinit git_pool_init: allow the function to fail
Edward Thomson 0f35efeb 2020-05-23T10:15:51 git_pool_init: handle failure cases Propagate failures caused by pool initialization errors.
Patrick Steinhardt 511fb9e6 2020-04-03T22:53:23 cmake: always disable deprecation-sync warnings We currently disable deprecation synchronization warnings in case we're building with Clang. We check for Clang by doing a string comparison on the compiler identification, but this seems to have been broken by an update in macOS' image as the compiler ID has changed to "AppleClang". Let's just unconditionally disable this warning on Unix platforms. We never add the deprecated attribute anyway, so the warning doesn't help us at all.
Patrick Steinhardt 3956679c 2020-04-03T20:08:02 cmake: remove policies The `CMAKE_MINIUM_REQUIRE()` function not only sets up the minimum required CMake version of a project, but it will also at the same time set the CMake policy version. In effect this means that all policies that have been introduced before the minimum CMake version will be enabled automatically. When updating our minimum required version ebabb88f2 (cmake: update minimum CMake version to v3.5.1, 2019-10-10), we didn't remove any of the policies we've been manually enabling. The newest CMake policy we've been enabling is CMP0054, which was introduced back in CMake v3.1. As a result, we can now just remove all manual calls to `CMAKE_POLICY()`.
Patrick Steinhardt 2e7d4579 2020-04-03T19:59:39 cmake: remove option to add profiling flags We currently have an option that adds options for profiling to both our CFLAGS and LDFLAGS. Having such flags behind various build options is not really sensible at all, since users should instead set up those flags via environment variables supported by CMake itself. Let's remove this option.
Patrick Steinhardt 2551b1b0 2020-04-03T19:53:35 cmake: remove support for creating tags We currently have support for generating tags via ctags as part of our build system. We aren't really in the place of supporting any tooling that exists apart from the actual build environment, as doing so adds additional complexity and maintenance burden to our build instructions. This is in fact nicely demonstrated by this particular option, as it hasn't been working anymore since commit e5c9723d0 (cmake: move library build instructions into subdirectory, 2017-06-30). As a result, this commit removes support for building CTags
Patrick Steinhardt bc02bcd9 2020-04-03T19:51:22 cmake: move modules into the "cmake/" top level dir Our custom CMake module currently live in "cmake/Modules". As the "cmake/" directory doesn't contain anything except the "Modules" directory, it doesn't really make sense to have the additional intermediate directory. So let's instead move the modules one level up into the "cmake/" top level directory.
Patrick Steinhardt 172a2886 2020-06-01T14:04:15 Merge pull request #5529 from libgit2/ethomson/difftest diff::workdir: actually test the buffers