Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | coverityethomson/nightlies | Edward Thomson | 2018-07-29 | 1 | -3/+3 |
| | |||||
* | coverity | Edward Thomson | 2018-07-29 | 1 | -1/+1 |
| | |||||
* | coverity | Edward Thomson | 2018-07-29 | 1 | -2/+6 |
| | |||||
* | ci: run coverity during a nightly build run | Edward Thomson | 2018-07-28 | 1 | -0/+22 |
| | |||||
* | ci: run coverity from travis's cron | Edward Thomson | 2018-07-28 | 2 | -14/+3 |
| | | | | | | Instead of trying to run coverity builds during the regular PR process, run them during a regularly scheduled cron process. These only need to run nightly, so it makes sense to bring them out of the PR process. | ||||
* | ci: remove unused old ci scripts | Edward Thomson | 2018-07-28 | 5 | -150/+0 |
| | |||||
* | ci: move travis to the new scripts | Edward Thomson | 2018-07-28 | 5 | -19/+39 |
| | |||||
* | ci: move appveyor to new scripts | Edward Thomson | 2018-07-27 | 2 | -61/+21 |
| | |||||
* | ci: use a single setup script for mingw | Edward Thomson | 2018-07-26 | 3 | -26/+13 |
| | |||||
* | ci: use docker containers from libgit2 account | Edward Thomson | 2018-07-26 | 1 | -8/+8 |
| | |||||
* | ci: perform clang builds on Linux | Edward Thomson | 2018-07-26 | 3 | -7/+77 |
| | |||||
* | ci: dissociate test from leaks process | Edward Thomson | 2018-07-26 | 1 | -2/+1 |
| | | | | | | The leaks process is not good about handling children. Ensure that its child is `nohup`ed so that the grandparent shell won't wait for it to exit. | ||||
* | ci: some additional debugging | Edward Thomson | 2018-07-26 | 1 | -0/+8 |
| | |||||
* | ci: enable leak checking on osx | Edward Thomson | 2018-07-26 | 3 | -0/+5 |
| | |||||
* | ci: msvc leak-checking | Edward Thomson | 2018-07-26 | 2 | -5/+4 |
| | |||||
* | ci: xcode leaks leak-checking | Edward Thomson | 2018-07-26 | 1 | -0/+4 |
| | |||||
* | buf tests: allocate a smaller size for the oom | Edward Thomson | 2018-07-26 | 1 | -3/+15 |
| | | | | | | | | | | | On Linux (where we run valgrind) allocate a smaller buffer, but still an insanely large size. This will cause malloc to fail but will not cause valgrind to report a likely error with a negative-sized malloc. Keep the original buffer size on non-Linux platforms: this is well-tested on them and changing it may be problematic. On macOS, for example, using the new size causes `malloc` to print a warning to stderr. | ||||
* | ci: valgrind leak-checking | Edward Thomson | 2018-07-26 | 2 | -7/+28 |
| | |||||
* | ci: introduce vsts builds | Edward Thomson | 2018-07-26 | 2 | -0/+135 |
| | |||||
* | ci: scripts to setup mingw build environment | Edward Thomson | 2018-07-26 | 2 | -0/+40 |
| | |||||
* | ci: set up a macos host | Edward Thomson | 2018-07-26 | 1 | -0/+6 |
| | | | | Script to set up dependencies on a macOS build system. | ||||
* | ci: setup a linux host | Edward Thomson | 2018-07-26 | 1 | -0/+8 |
| | | | | Sets up a linux host to prepare for a build. | ||||
* | ci: improved flexibility for citest.sh | Edward Thomson | 2018-07-26 | 1 | -67/+125 |
| | | | | Refactor citest.sh to enable local testing by developers. | ||||
* | ci: refactor unix ci build/test scripts | Edward Thomson | 2018-07-26 | 2 | -0/+138 |
| | |||||
* | ci: move tests into citest.ps1 | Edward Thomson | 2018-07-26 | 2 | -19/+45 |
| | | | | Add citest.ps1 PowerShell script to run the tests. | ||||
* | ci: Windows PowerShell build script | Edward Thomson | 2018-07-26 | 1 | -0/+50 |
| | |||||
* | tests: simplify cmake test configuration | Edward Thomson | 2018-07-26 | 3 | -14/+13 |
| | | | | | | | | | Simplify the names for the tests, removing the unnecessary "libgit2-clar" prefix. Make "all" the new default test run, and include the online tests by default (since HTTPS should always be enabled). For the CI tests, create an offline-only test, then the various online tests. | ||||
* | Merge pull request #4739 from pks-t/pks/mbedtls-unused-variable | Edward Thomson | 2018-07-26 | 1 | -4/+0 |
|\ | | | | | mbedtls: remove unused variable "cacert" | ||||
| * | mbedtls: remove unused variable "cacert" | Patrick Steinhardt | 2018-07-26 | 1 | -4/+0 |
|/ | | | | | | | | | In commit 382ed1e87 (mbedtls: load default CA certificates, 2018-03-29), the function `git_mbedtls_stream_global_init` was refactored to call out to `git_mbedtls__set_cert_location` instead of setting up the certificates itself. The conversion forgot to remove the now-unused "cacert" variable, which is now only getting declared to be free'd at the end of the function. Remove it. | ||||
* | Merge pull request #4732 from libgit2/ethomson/leaks | Edward Thomson | 2018-07-23 | 3 | -9/+34 |
|\ | | | | | Squash some leaks | ||||
| * | mbedtls: free stream on shutdownethomson/leaks | Edward Thomson | 2018-07-20 | 1 | -0/+1 |
| | | |||||
| * | mbedtls: make ciphers_list a static array | Edward Thomson | 2018-07-20 | 1 | -10/+10 |
| | | | | | | | | | | Instead of allocating the ciphers_list, make it a static array. This prevents us from leaking it or having to manage its memory. | ||||
| * | mbedtls: free ciphers_list | Edward Thomson | 2018-07-20 | 1 | -0/+2 |
| | | |||||
| * | mbedtls: check allocations | Edward Thomson | 2018-07-20 | 1 | -1/+14 |
| | | |||||
| * | push tests: deeply free the specs | Edward Thomson | 2018-07-20 | 1 | -1/+1 |
| | | | | | | | | Don't just free the spec vector, also free the specs themselves. | ||||
| * | push tests: deeply free the push status | Edward Thomson | 2018-07-20 | 1 | -2/+6 |
| | | | | | | | | | | Don't just free the push status structure, actually free the strings that were strdup'd into the struct as well. | ||||
| * | smart subtransport: free url when resetting stream | Edward Thomson | 2018-07-20 | 1 | -0/+5 |
|/ | | | | Free the url field when resetting the stream to avoid leaking it. | ||||
* | Merge pull request #4692 from tiennou/examples/checkout | Patrick Steinhardt | 2018-07-20 | 6 | -23/+309 |
|\ | | | | | Add a checkout example | ||||
| * | examples: add checkout | Etienne Samson | 2018-07-17 | 1 | -0/+235 |
| | | |||||
| * | examples: add a helper for boolean-style options | Etienne Samson | 2018-07-07 | 2 | -0/+28 |
| | | |||||
| * | examples: make the refish resolution work with short OIDs | Etienne Samson | 2018-07-07 | 1 | -3/+4 |
| | | |||||
| * | examples: move refish resolution function in common | Etienne Samson | 2018-07-07 | 3 | -23/+29 |
| | | |||||
| * | annotated_commit: make the refname accessible | Etienne Samson | 2018-07-07 | 2 | -0/+16 |
| | | | | | | | | | | | | As git_annotated_commit seems to behave like cgit's refish, it's quite helpful to abstract away "targets" via git_annotated_commit_from_id/from_ref. As the former is accessible via git_annotated_commit_id, make the latter also available to users. | ||||
* | | Merge pull request #4702 from tiennou/fix/coverity | Patrick Steinhardt | 2018-07-20 | 11 | -46/+54 |
|\ \ | | | | | | | Assorted Coverity fixes | ||||
| * | | tests: fix a relative pathname issue | Etienne Samson | 2018-07-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The path given to `git_index_add_bypath` is relative to the root of the repository. That `describe/file` path is relative to the root of the sandbox directory, hence if I add the missing `cl_git_pass` I rightfully get an error that `$SANDBOX/describe/describe/file doesn't exist`. The path is thus changed to be made relative to the repository, which makes the failure go away and "restore" the test. | ||||
| * | | tests: add missing cl_git_pass to tests | Etienne Samson | 2018-07-06 | 6 | -24/+24 |
| | | | | | | | | | Reported by Coverity, CID 1393678-1393697. | ||||
| * | | smart: don't dereference a NULL pkt pointer | Etienne Samson | 2018-07-06 | 2 | -12/+15 |
| | | | | | | | | | | | | | | | | | | | | | By clarifying what detect_caps returns on empty/missing packet, we can be sure there are actually refs to process. The old code could blindly dereference `first`, which might have been NULL. Reported by Coverity, CID 1393614 | ||||
| * | | smart: clarify error handling in git_smart__connect | Etienne Samson | 2018-07-06 | 1 | -8/+9 |
| | | | |||||
| * | | submodule: don't leak memory when failing to insert the names | Etienne Samson | 2018-07-06 | 1 | -1/+2 |
| | | | | | | | | | Reported by Coverity, CID 1393237 | ||||
| * | | tests: mailmap/parsing: add a missing cl_git_pass | Etienne Samson | 2018-07-06 | 1 | -1/+1 |
| | | | | | | | | | Reported by Coverity, CID 1393483 |