1. 29 Jul, 2019 1 commit
  2. 18 Jul, 2019 2 commits
  3. 02 Jul, 2019 3 commits
  4. 26 Jun, 2019 3 commits
  5. 25 Jun, 2019 1 commit
  6. 24 Jun, 2019 1 commit
  7. 16 Jun, 2019 2 commits
  8. 15 Jun, 2019 7 commits
  9. 14 Jun, 2019 2 commits
  10. 10 Jun, 2019 2 commits
  11. 21 May, 2019 1 commit
  12. 21 Apr, 2019 1 commit
  13. 25 Mar, 2019 1 commit
  14. 25 Feb, 2019 1 commit
  15. 23 Feb, 2019 2 commits
    • odb: provide a free function for custom backends · 459ac856
      Custom backends can allocate memory when reading objects and providing
      them to libgit2.  However, if an error occurs in the custom backend
      after the memory has been allocated for the custom object but before
      it's returned to libgit2, the custom backend has no way to free that
      memory and it must be leaked.
      
      Provide a free function that corresponds to the alloc function so that
      custom backends have an opportunity to free memory before they return an
      error.
      Edward Thomson committed
    • odb: rename git_odb_backend_malloc for consistency · 790aae77
      The `git_odb_backend_malloc` name is a system function that is provided
      for custom ODB backends and allows them to allocate memory for an ODB
      object in the read callback.  This is important so that libgit2 can
      later free the memory used by an ODB object that was read from the
      custom backend.
      
      However, the name _suggests_ that it actually allocates a
      `git_odb_backend`.  It does not; rename it to make it clear that it
      actually allocates backend _data_.
      Edward Thomson committed
  16. 22 Feb, 2019 5 commits
  17. 21 Feb, 2019 1 commit
    • Remove public 'inttypes.h' header · 247e6d90
      Remove an `inttypes.h` header that is too large in scope, and far too
      public.
      
      For Visual Studio 2012 and earlier (ie, `_MSC_VER < 1800`), we do need
      to include `stdint.h` in our public headers, for types like `uint32_t`.
      
      Internally, we also need to define `PRId64` as a printf formatting
      string when it is not available.
      Edward Thomson committed
  18. 17 Feb, 2019 1 commit
    • Remove `git_time_monotonic` · e6c6d3bb
      `git_time_monotonic` was added so that non-native bindings like rugged
      could get high-resolution timing for benchmarking.  However, this is
      outside the scope of libgit2 *and* rugged decided not to use this
      function in the first place.
      
      Google suggests that absolutely _nobody_ is using this function and we
      don't want to be in the benchmarking business.  Remove the function.
      Edward Thomson committed
  19. 02 Feb, 2019 1 commit
  20. 31 Jan, 2019 1 commit
  21. 30 Jan, 2019 1 commit