|
a08bd547
|
2020-04-05T16:24:26
|
|
fetchhead: use GIT_ASSERT
|
|
59565a05
|
2020-04-05T16:23:40
|
|
errors: use GIT_ASSERT
|
|
81609902
|
2020-04-05T14:53:50
|
|
describe: use GIT_ASSERT
|
|
3b2153fe
|
2020-04-05T14:42:44
|
|
commit: use GIT_ASSERT
|
|
d4384977
|
2020-04-05T14:38:20
|
|
clone: use GIT_ASSERT
|
|
65c23e9c
|
2020-04-05T14:53:08
|
|
delta: use GIT_ASSERT
|
|
5d8b75fa
|
2020-04-05T14:37:22
|
|
cherrypick: use GIT_ASSERT
|
|
266f26ed
|
2020-04-05T14:35:23
|
|
checkout: use GIT_ASSERT
|
|
5d6c2f26
|
2020-04-05T14:59:54
|
|
diff: use GIT_ASSERT
|
|
00974bca
|
2020-04-05T14:52:48
|
|
date: use GIT_ASSERT
|
|
e7604da8
|
2020-04-05T14:51:56
|
|
config: use GIT_ASSERT
|
|
abb7a7e4
|
2020-04-05T10:11:34
|
|
blob: use GIT_ASSERT
|
|
efab78cd
|
2020-04-05T10:09:11
|
|
blame: use GIT_ASSERT
|
|
b44b262b
|
2020-04-05T10:07:09
|
|
attr_file: use GIT_ASSERT
|
|
7b2f94bf
|
2020-04-05T10:04:52
|
|
attr: use GIT_ASSERT
|
|
c6e84bce
|
2020-04-05T09:49:28
|
|
apply: use GIT_ASSERT
|
|
f60ebfcb
|
2020-04-04T23:31:05
|
|
annotated_commit: use GIT_ASSERT
|
|
e0f3c33d
|
2020-04-05T11:22:19
|
|
buffer: git_buf_copy_cstr should return a value
`git_buf_copy_cstr` is called with user-input, and wants to sanity-check
that input. Allow it to return a value if the input was malformed in a
way that we cannot cope.
|
|
cb4bfbc9
|
2020-04-05T11:07:54
|
|
buffer: git_buf_sanitize should return a value
`git_buf_sanitize` is called with user-input, and wants to sanity-check
that input. Allow it to return a value if the input was malformed in a
way that we cannot cope.
|
|
a6dd5865
|
2020-04-05T10:23:20
|
|
buffer: use GIT_ASSERT
|
|
7d24070d
|
2020-04-05T10:14:28
|
|
branch: use GIT_ASSERT
|
|
b8cdc9c9
|
2020-11-24T09:27:41
|
|
ci: truly really absolutely run coverity
|
|
ab3c7ba5
|
2020-11-24T09:20:53
|
|
ci: really truly run coverity
|
|
bcf11f6a
|
2020-11-24T08:49:38
|
|
ci: really, really correct usage for coverity
|
|
05536454
|
2020-11-24T00:54:39
|
|
ci: really correct container usage for coverity
|
|
78436df0
|
2020-11-24T00:26:15
|
|
ci: correct container usage for coverity
|
|
a24057f8
|
2020-11-24T00:03:56
|
|
Merge pull request #5708 from libgit2/ethomson/ci
ci: only report main branch in README status
|
|
8b29f66b
|
2020-11-24T00:01:32
|
|
ci: only report main branch in README status
|
|
364d288c
|
2020-11-23T23:45:27
|
|
Merge pull request #5707 from libgit2/ethomson/ci_nightly
ci: run coverity in the nightly builds
|
|
f811cec9
|
2020-11-23T23:38:50
|
|
docs: update README with updated build links
|
|
d9e62bdd
|
2020-11-23T23:40:46
|
|
ci: move coverity into nightly builds
|
|
6a1c887e
|
2020-11-23T23:31:54
|
|
Merge pull request #5706 from libgit2/ethomson/ci
ci: more GitHub Actions
|
|
b6a39e39
|
2020-11-23T23:10:39
|
|
ci: remove Azure Pipelines
GitHub Actions is the present and the future.
|
|
508d9359
|
2020-11-23T21:53:20
|
|
ci: introduce arm nightly builds for GitHub Actions
|
|
5a9d16dc
|
2020-11-23T14:28:26
|
|
ci: support multi-arch docker builds
Provide the base to our docker images and run with the QEMU docker
support optionally.
|
|
9f8802d3
|
2020-11-23T17:27:09
|
|
ci: add krb5 to bionic container
|
|
9aa22de6
|
2020-11-21T22:49:26
|
|
Merge pull request #5597 from lhchavez/ci-thread-sanitizer
Add a ThreadSanitizer build
|
|
d9d86e41
|
2020-11-21T22:13:51
|
|
Merge pull request #5580 from libgit2/ethomson/win32_leakcheck
msvc crtdbg -> win32 leakcheck
|
|
045748bb
|
2020-11-21T22:06:57
|
|
Merge pull request #5692 from rbmclean/master
Add missing worktree_dir check and test case
|
|
c8fe4da3
|
2020-11-21T22:06:03
|
|
Apply suggestions from code review
|
|
6d44c87a
|
2020-07-12T18:44:50
|
|
ci: set WIN32_LEAKCHECK instead of MSVC_CRTDBG
|
|
8aed4629
|
2020-07-12T18:43:22
|
|
cmake: rename MSVC_CRTDBG to WIN32_LEAKCHECK
|
|
51825c4f
|
2020-07-12T18:18:12
|
|
alloc: rename the win32 leakcheck allocator
The win32 leakchecking system is now named win32_leakcheck. Update the
allocator to match.
|
|
31654a34
|
2020-07-12T18:07:10
|
|
win32: consolidate leak checking initialization
Move leak check initialization into git_win32_leakcheck_global_init, and
call it on library initialization.
|
|
cb4b3bdf
|
2020-07-12T17:49:42
|
|
win32: "crtdbg" is now "leakcheck"
msvc crtdbg is a mouthfull that is not particularly indicative of what
it does. Let's rename it to "win32 leakcheck".
|
|
a6d151bf
|
2020-11-21T21:31:41
|
|
Merge pull request #5690 from lhchavez/fix-filelimit-compile-error
Fix the `-DTHREADSAFE=OFF` build
|
|
4f4f3bfd
|
2020-11-20T23:25:44
|
|
Merge pull request #5703 from libgit2/ethomson/arm-actions
ci: propagate environment variables
|
|
2193f32a
|
2020-11-20T23:24:44
|
|
ci: propagate environment variables
|
|
ca9c49c8
|
2020-11-20T23:15:34
|
|
Merge pull request #5702 from libgit2/ethomson/arm-actions
ci: supply a token for self-hosted runners
|
|
823137dc
|
2020-11-20T23:14:18
|
|
ci: supply a token for self-hosted runners
|
|
4b41b1cc
|
2020-11-20T22:51:08
|
|
Merge pull request #5701 from libgit2/ethomson/arm-actions
ci: supply a token for self-hosted runners
|
|
cd6acb1d
|
2020-11-20T22:48:41
|
|
ci: supply a token for self-hosted runners
|
|
460dba46
|
2020-11-20T22:34:06
|
|
Merge pull request #5700 from libgit2/ethomson/arm-actions
ci: GitHub Actions for arm64
|
|
938cf143
|
2020-11-20T22:32:12
|
|
ci: GitHub Actions for arm64
|
|
d8a08227
|
2020-11-18T19:32:11
|
|
Merge pull request #5697 from libgit2/ethomson/actions
ci: stop using deprecated set-env in GitHub Actions
|
|
3dc238c3
|
2020-11-18T19:30:13
|
|
coverity
|
|
11deb143
|
2020-11-18T19:10:00
|
|
ci: use GitHub Actions for nightly builds
|
|
3d6b9035
|
2020-11-18T18:08:23
|
|
ci: stop using deprecated set-env in GitHub Actions
(And move the ci scripts into the `ci` directory.)
|
|
303b4c68
|
2020-11-07T16:30:44
|
|
worktree: change test to invalidate worktree via filesystem
|
|
2a516790
|
2020-11-07T09:36:11
|
|
Merge pull request #5659 from libgit2/ethomson/name_is_valid
Deprecate `is_valid_name` functions; replace with `name_is_valid` functions
|
|
6405ce29
|
2020-11-06T11:36:25
|
|
worktree: Added worktree_dir check
Fixes #5280
|
|
848c7793
|
2020-11-06T11:32:13
|
|
worktree: Demonstrate missing worktree check
worktree_dir isn't validated when it should be
|
|
aa532e29
|
2020-10-31T07:51:03
|
|
Fix the `-DTHREADSAFE=OFF` build
This change avoids using the `(void)0` construct for some of the mutex
`#define`s, since that makes the "return type" of those "functions" to
be `void` instead of `int`.
|
|
8b0c7d7c
|
2020-10-25T16:38:45
|
|
changelog: include new reference validity functions
|
|
0caa4655
|
2020-09-09T10:48:00
|
|
Add git_tag_name_is_valid
Signed-off-by: Sven Strickroth <email@cs-ware.de>
|
|
fe11160c
|
2020-09-08T21:05:18
|
|
Add git_branch_name_is_valid
Signed-off-by: Sven Strickroth <email@cs-ware.de>
|
|
c7143d7c
|
2020-10-11T13:56:16
|
|
remote: deprecate git_remote_is_valid_name
|
|
55a7117d
|
2020-10-11T13:55:44
|
|
remote: use git_remote_name_is_valid
|
|
023ebb9a
|
2020-10-11T13:48:07
|
|
refs: introduce git_remote_name_is_valid
Provide a function that can check remote name validity but can also
signal when an error occurs. Use the name "name_is_valid", which is
more suggestive of checking a given name, rather than "is_valid_name",
which suggests that the function checks the validity of the current
remote's name.
|
|
68e35588
|
2020-10-11T13:35:35
|
|
refspec: return GIT_EINVALIDSPEC for invalid specs
Disambiguate invalid specifications in `git_refspec__parse` so that
callers can determine the difference between invalid specifications and
actual errors. No call sites wil propagagte this new error message to
an end-user, so there is no user-facing API change.
|
|
63460fe4
|
2020-10-11T13:21:13
|
|
refs: deprecate git_reference_is_valid_name
|
|
b52bb4d4
|
2020-10-11T13:20:52
|
|
refs: use git_reference_name_is_valid
|
|
29715d40
|
2020-10-11T12:50:52
|
|
refs: introduce git_reference_name_is_valid
Provide a function that can check reference name validity but can also
signal when an error occurs. Use the name "name_is_valid", which is
more suggestive of checking a given name, rather than "is_valid_name",
which suggests that the function checks the validity of the current
reference's name.
|
|
d70979cf
|
2020-10-11T12:26:34
|
|
refs: error checking in internal name validation
Move `git_reference__is_valid_name` to `git_reference__name_is_valid`,
which returns errors and sets an out boolean parameter.
|
|
52294c41
|
2020-10-21T10:10:52
|
|
Merge pull request #5685 from staticfloat/sf/mbedtls_inc_fix
Include `${MBEDTLS_INCLUDE_DIR}` when compiling `crypt_mbedtls.c`
|
|
1822b082
|
2020-10-20T23:26:47
|
|
Include `${MBEDTLS_INCLUDE_DIR}` when compiling `crypt_mbedtls.c`
Without this, mbedTLS installs in non-default install locations
that are otherwise found by the `FindmbedTLS.cmake` module are not
found by the C preprocessor at compile time.
|
|
b106834d
|
2020-10-14T16:49:29
|
|
Merge pull request #5668 from libgit2/ethomson/tlsdata
threadstate: rename tlsdata when building w/o threads
|
|
246bc3cc
|
2020-10-14T15:05:11
|
|
threadstate: rename tlsdata when building w/o threads
|
|
20450cbe
|
2020-10-14T13:44:59
|
|
Merge pull request #5546 from libgit2/ethomson/init
Refactor "global" state
|
|
e9858645
|
2020-10-14T12:40:20
|
|
Merge pull request #5661 from lhchavez/windows-leak-detection-deflake
Make the Windows leak detection more robust
|
|
c964f73d
|
2020-10-14T12:35:00
|
|
Merge pull request #5664 from lhchavez/define-non-threadsafe-git-load
Define `git___load` when building with `-DTHREADSAFE=OFF`
|
|
a027efbb
|
2020-10-14T12:30:21
|
|
Merge pull request #5658 from libgit2/ethomson/ntlm_htonll
ntlm: update ntlm dependency for htonll
|
|
fa3daa82
|
2020-10-13T08:02:59
|
|
Define `git___load` when building with `-DTHREADSAFE=OFF`
This should allow folks that build in non-thread-safe environments to
still be able to build the library.
Fixes: #5663
|
|
7f4fa178
|
2020-10-12T19:53:06
|
|
Merge pull request #5660 from libgit2/ethomson/v1.1
libgit2 v1.1.0
|
|
f10c8875
|
2020-10-11T23:04:08
|
|
Release v1.1
|
|
699fd71a
|
2020-10-11T22:44:24
|
|
changelog: document changes since v1.1
|
|
4a0dceeb
|
2020-10-11T17:53:10
|
|
Make the Windows leak detection more robust
This change:
* Increases MY_ROW_LIMIT to 2M, since it has been failing in #5595's
tests since it's _super_ close to the limit.
* Calls `git_repository_free()` on a `git_repository` that was being
leaked only in Windows.
* Marks the global `git_repository` on `tests/repo/init.c` as `NULL`
after being freed to make any accidental access more noisy.
* Uses `cl_assert_equal_i()` in `test_trace_windows_stacktrace__leaks`
to make the test failures more actionable.
* Renames the globals in `tests/repo/init.c` so that they don't start
with an underscore.
|
|
634c285a
|
2020-07-11T12:35:58
|
|
Move libgit2 settings into libgit2.c
|
|
1ec4702a
|
2020-07-11T12:25:51
|
|
Rename global.c to libgit2.c
Now that we've identified that our global settings really aren't global
at all, and refactored the library to match that, change global.c to
libgit2.c, which is especially nice since the prefix of the functions
matches the filename.
|
|
e316b0d3
|
2020-05-15T11:47:09
|
|
runtime: move init/shutdown into the "runtime"
Provide a mechanism for system components to register for initialization
and shutdown of the libgit2 runtime.
|
|
8970acb7
|
2020-05-15T10:29:41
|
|
thread: don't use the global tlsdata for thread exit
We want to store a pointer to emulate `pthread_exit` on Windows. Do
this within the threading infrastructure so that it could potentially be
re-used outside of the context of libgit2 itself.
|
|
c40d2dc5
|
2020-05-15T10:09:51
|
|
thread: restore the git_thread_exit tests
We were never properly testing git_thread_exit. Do so.
|
|
4853d94c
|
2020-05-14T10:36:35
|
|
global: separate global state from thread-local state
Our "global initialization" has accumulated some debris over the years.
It was previously responsible for both running the various global
initializers (that set up various subsystems) _and_ setting up the
"global state", which is actually the thread-local state for things
like error reporting.
Separate the thread local state out into "threadstate". Use the normal
subsystem initialization functions that we already have to set it up.
This makes both the global initialization system and the threadstate
system simpler to reason about.
|
|
bc3919ab
|
2020-07-11T12:14:26
|
|
global init: check error message buffer allocation
Ensure that we can allocate the error message buffer. In keeping with
our typical policiess, we allow (small) memory leaks in the case where
we're out of memory.
|
|
8aa69f88
|
2020-05-13T10:48:13
|
|
mwindow: localize mutex
Move the mwindow mutex into the mwindow code itself, initializing it in
the mwindow global initialization function instead of in the global
initializer.
|
|
6554b40e
|
2020-05-13T10:39:33
|
|
settings: localize global data
Move the settings global data teardown into its own separate function,
instead of intermingled with the global state.
|
|
521aa8c1
|
2020-05-12T13:21:26
|
|
win32: teach the allocator to deal with crtdbg
Move the MSVC C runtime debugging bits into the allocator's global init
function.
|
|
fe12423a
|
2020-05-12T13:08:22
|
|
init: move thread init to git_global_threads_init
Instead of treating win32 thread initialization specially in the win32
git_libgit2_init function, add a git_global_threads_init function.
|
|
d79bb159
|
2020-10-11T11:41:38
|
|
ntlm: update ntlm dependency for htonll
Update ntlm to include an htonll that is not dependent on system
libraries.
|
|
2e5f27c7
|
2020-10-11T11:32:21
|
|
Merge pull request #5649 from libgit2/ethomson/pcre
Update PCRE to 8.44
|