- 22 Jul, 2021 2 commits
-
-
We may want to extend the attribute source; use a structure instead of an enum.
Edward Thomson committed -
The enum `git_attr_file_source` is better suffixed with a `_t` since it's a type-of source. Similarly, its members should have a matching name.
Edward Thomson committed
-
- 20 Jul, 2021 2 commits
-
-
Optional stricter allocation checking (for `malloc(0)` cases)
Edward Thomson committed -
Co-authored-by: lhchavez <lhchavez@lhchavez.com>
Edward Thomson committed
-
- 19 Jul, 2021 4 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
Add `GIT_DEBUG_STRICT_ALLOC` to help identify problematic callers of allocation code that pass a `0` size to the allocators and then expect a non-`NULL` return. When given a 0-size allocation, `malloc` _may_ return either a `NULL` _or_ a pointer that is not writeable. Most systems return a non-`NULL` pointer; AIX is an outlier. We should be able to cope with this AIXy behavior, so this adds an option to emulate it.
Edward Thomson committed
-
- 16 Jul, 2021 3 commits
-
-
stdintification: use int64_t and INT64_C instead of long long
Edward Thomson committed -
Edward Thomson committed
-
git__timer: Allow compilation on systems without CLOCK_MONOTONIC
Edward Thomson committed
-
- 15 Jul, 2021 2 commits
-
-
For 32-bit int: There's no real reason for that ifdef if we explicitly specify the stdint.h type. For 64-bit int: ope, I made it signed accidentally
Calvin Buckley committed -
Makes usage of CLOCK_MONOTONIC conditional and makes functions that uses git__timer handle clock resynchronization. Call gettimeofday with tzp set to NULL as required by https://pubs.opengroup.org/onlinepubs/9699919799/functions/gettimeofday.html
Peter Pettersson committed
-
- 14 Jul, 2021 5 commits
-
-
Make `FIND_PACKAGE(PythonInterp)` prefer `python3`
Edward Thomson committed -
fix check for ignoring of negate rules
Edward Thomson committed -
Fix wrong time_t used in function
Edward Thomson committed -
config: fix included configs not refreshed more than once
Edward Thomson committed -
This change makes it possible to prefer a python (version 3) interpreter on systems where python2 and python3 coexist (where python2 is found as `/usr/bin/python`).
lhchavez committed
-
- 13 Jul, 2021 2 commits
-
-
Fix memory leak in git_smart__connect
Edward Thomson committed -
git__timer: Limit ITimer usage to AmigaOS4
Edward Thomson committed
-
- 08 Jul, 2021 1 commit
-
-
Calvin Buckley committed
-
- 07 Jul, 2021 4 commits
-
-
Passes w/ gcc 11 on Fedora x64. Protip: So you don;t have to suffer, ``` perl -pe 's/(-?(?:0x)?[A-Fa-f0-9]+)([Uu])?[Ll][Ll]/\U$2INT64_C(\E$1)/mg' ```
Calvin Buckley committed -
Calvin Buckley committed
-
Even on systems without C99 where long long and stdint are both missing, we can shim stdint and point it to any compiler-specific type (i.e long long, _int64, etc.). Also next is constant suffixes and determining what needs to include stdint.
Calvin Buckley committed -
This function doesn't interoperate with any system functions that use the system time_t, but rather only works with the git_time_t type in libgit2, which could be a different width than the system one. Fixes a compile warning.
Calvin Buckley committed
-
- 06 Jul, 2021 1 commit
-
-
Peter Pettersson committed
-
- 02 Jul, 2021 3 commits
-
-
Consider files executable only if the user can execute them
Edward Thomson committed -
Update from regex to pcre licensing information in docs/contributing.md
Edward Thomson committed -
docs: fix some missing includes that cause Docurium to error out
Edward Thomson committed
-
- 29 Jun, 2021 1 commit
-
-
Define WINHTTP_NO_CLIENT_CERT_CONTEXT if needed
Edward Thomson committed
-
- 26 Jun, 2021 1 commit
-
-
Jacques Germishuys committed
-
- 25 Jun, 2021 3 commits
-
-
Edward Thomson committed
-
docs: stop mentioning libgit2's "master" branch
Edward Thomson committed -
Co-authored-by: lhchavez <lhchavez@lhchavez.com>
Edward Thomson committed
-
- 23 Jun, 2021 2 commits
-
-
If an included config is refreshed twice, the second update is not taken into account. This is because the list of included files is cleared after re-reading the new configuration, instead of being cleared before. Fix it and add a test case to check for this bug.
Nicolas Cavallari committed -
The name of libgit2's main branch is now "main" but contributing.md and release.md still reference "master" as the main branch. Fix it.
Nicolas Cavallari committed
-
- 17 Jun, 2021 1 commit
-
-
Peter Pettersson committed
-
- 16 Jun, 2021 2 commits
-
-
This is what git.git does, so we should follow suit.
David Turner committed -
punkymaniac committed
-
- 15 Jun, 2021 1 commit
-
-
Edward Thomson committed
-