1. 12 Oct, 2020 1 commit
    • Make the Windows leak detection more robust · 4a0dceeb
      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.
      lhchavez committed
  2. 11 Oct, 2020 3 commits
  3. 08 Oct, 2020 3 commits
    • Avoid using atomics in pool.c · 03c0938f
      Instead, globally initialize the system page size.
      lhchavez committed
    • Improve the support of atomics · cc1d7f5c
      This change:
      
      * Starts using GCC's and clang's `__atomic_*` intrinsics instead of the
        `__sync_*` ones, since the former supercede the latter (and can be
        safely replaced by their equivalent `__atomic_*` version with the
        sequentially consistent model).
      * Makes `git_atomic64`'s value `volatile`. Otherwise, this will make
        ThreadSanitizer complain.
      * Adds ways to load the values from atomics. As it turns out,
        unsynchronized read are okay only in some architectures, but if we
        want to be correct (and make ThreadSanitizer happy), those loads
        should also be performed with the atomic builtins.
      * Fixes two ThreadSanitizer warnings, as a proof-of-concept that this
        works:
        - Avoid directly accessing `git_refcount`'s `owner` directly, and
          instead makes all callers go through the `GIT_REFCOUNT_*()` macros,
          which also use the atomic utilities.
        - Makes `pool_system_page_size()` race-free.
      
      Part of: #5592
      lhchavez committed
    • Merge pull request #5656 from ehuss/fix-check_extensions-err · 2307a225
      Fix error return for invalid extensions.
      Edward Thomson committed
  4. 07 Oct, 2020 1 commit
  5. 06 Oct, 2020 4 commits
  6. 05 Oct, 2020 3 commits
  7. 04 Oct, 2020 12 commits
  8. 18 Sep, 2020 6 commits
  9. 17 Sep, 2020 1 commit
  10. 16 Sep, 2020 1 commit
  11. 15 Sep, 2020 2 commits
  12. 14 Sep, 2020 2 commits
  13. 10 Sep, 2020 1 commit