1. 30 Jan, 2014 3 commits
  2. 13 Jan, 2014 1 commit
  3. 11 Dec, 2013 1 commit
    • Test cancel from indexer progress callback · 7697e541
      This adds tests that try canceling an indexer operation from
      within the progress callback.
      
      After writing the tests, I wanted to run this under valgrind and
      had a number of errors in that situation because mmap wasn't
      working.  I added a CMake option to force emulation of mmap and
      consolidated the Amiga-specific code into that new place (so we
      don't actually need separate Amiga code now, just have to turn on
      -DNO_MMAP).
      
      Additionally, I made the indexer code propagate error codes more
      reliably than it used to.
      Russell Belfer committed
  4. 02 Dec, 2013 1 commit
  5. 14 Nov, 2013 1 commit
  6. 05 Nov, 2013 1 commit
  7. 04 Nov, 2013 1 commit
  8. 25 Oct, 2013 1 commit
  9. 23 Oct, 2013 2 commits
  10. 08 Oct, 2013 1 commit
    • Make reference lookups apply precomposeunicode · 92dac975
      Before these changes, looking up a reference would return the
      same precomposed or decomposed form of the reference name that
      was used to look it up, so on MacOS which ignores the difference
      between the two, a single reference could be looked up either way
      and git_reference_name would return the form of the name that was
      used to look it up!  This change makes lookup always return the
      precomposed name if core.precomposeunicode is set regardless of
      which version was used to look it up.  The reference iterator was
      already returning the precomposed form from earlier work.
      
      This also updates the CMakeLists.txt rules for enabling iconv
      usage because the clar tests for this code were actually not being
      activated properly with the old version.
      
      Finally, this moves git_repository_reset_filesystem from include/
      git2/repository.h to include/git2/sys/repository.h since it is not
      really a function that normal library users should have to think
      about very often.
      Russell Belfer committed
  11. 03 Oct, 2013 1 commit
    • Initial iconv hookup for precomposed unicode · 219d3457
      This hooks up git_path_direach and git_path_dirload so that they
      will take a flag indicating if directory entry names should be
      tested and converted from decomposed unicode to precomposed form.
      This code will only come into play on the Apple platform and even
      then, only when certain types of filesystems are used.
      
      This involved adding a flag to these functions which involved
      changing a lot of places in the code.
      
      This was an opportunity to do a bit of code cleanup here and there,
      for example, getting rid of the git_futils_cleanupdir_r function in
      favor of a simple flag to git_futils_rmdir_r to not remove the top
      level entry.  That ended up adding depth tracking during rmdir_r
      which led to a safety check for infinite directory recursion.  Yay.
      
      This hasn't actually been tested on the Mac filesystems where the
      issue occurs.  I still need to get test environment for that.
      Russell Belfer committed
  12. 30 Sep, 2013 1 commit
    • Initial Implementation of progress reports during push · b176eded
      This adds the basics of progress reporting during push. While progress
      for all aspects of a push operation are not reported with this change,
      it lays the foundation to add these later. Push progress reporting
      can be improved in the future - and consumers of the API should
      just get more accurate information at that point.
      
      The main areas where this is lacking are:
      
      1) packbuilding progress: does not report progress during deltafication,
         as this involves coordinating progress from multiple threads.
      
      2) network progress: reports progress as objects and bytes are going
         to be written to the subtransport (instead of as client gets
         confirmation that they have been received by the server) and leaves
         out some of the bytes that are transfered as part of the push protocol.
         Basically, this reports the pack bytes that are written to the
         subtransport. It does not report the bytes sent on the wire that
         are received by the server. This should be a good estimate of
         progress (and an improvement over no progress).
      Jameson Miller committed
  13. 03 Sep, 2013 1 commit
  14. 01 Sep, 2013 2 commits
  15. 26 Aug, 2013 1 commit
  16. 22 Aug, 2013 1 commit
  17. 14 Aug, 2013 1 commit
    • Test SSH in travis · 5be622fb
      Set up the ssh credentials so we are able to talk to localhost and
      issue git commands. Move to use a script, as the command list is
      getting somewhat long.
      
      While here, delay installing valgrind until we need it, as it and its
      dependencies are by far the largest downloads and this allows us to
      start compiling (and failing) faster and we only incur this cost when
      the test suite runs successfully.
      Carlos Martín Nieto committed
  18. 12 Aug, 2013 1 commit
    • CMake: finding libssh2 should be idempotent · d10de8bd
      With the current code, running 'cmake .' in an already-configured
      directory causes the removal of ssh flags passed to the compiler,
      making it impossible to build with ssh support but by removing CMake's
      cache.
      
      Remove the check for LIBSSH2_LIBRARY and let CMake do the right thing
      wrt finding the library.
      Carlos Martín Nieto committed
  19. 05 Aug, 2013 1 commit
  20. 18 Jul, 2013 1 commit
  21. 17 Jul, 2013 1 commit
  22. 12 Jul, 2013 1 commit
  23. 19 Jun, 2013 1 commit
    • CMakeLists: fix zlib linker setup · c41281ad
      b53671ae (Search for zlib unconditional, 2012-12-18) changed things
      around to always (even on windows, that's what the subject refers to)
      call FIND_PACKAGE(ZLIB).
      
      However, it did not correctly handle the case where ZLIB_LIBRARY is
      cached, either by the user setting it manually or by an earlier
      search.  In that case, the IF(ZLIB_FOUND) would not trigger (that
      variable is not cached) and we'd instead use the built-in version.
      
      000e6896 (CMake: don't try to use bundled zlib when the system's path
      is in the cache, 2013-05-12) tried to fix that, but it actually made
      the problem worse: now with ZLIB_LIBRARY cached, _neither_ of the
      blocks would execute, resulting in a linker error for me when trying
      to build such a doubly-configured setup.
      
      To fix the issue, we just trust CMake to do the right thing.  If
      ZLIB_LIBRARY is set (either from user or cache) then the find_library
      in FindZLIB.cmake will use that instead of searching again.  So we can
      unconditionally (for real this time) call FIND_PACKAGE(ZLIB), and just
      check its result.
      Thomas Rast committed
  24. 13 Jun, 2013 1 commit
  25. 12 Jun, 2013 1 commit
  26. 30 May, 2013 1 commit
  27. 21 May, 2013 2 commits
  28. 14 May, 2013 1 commit
  29. 12 May, 2013 1 commit
  30. 07 May, 2013 1 commit
  31. 03 May, 2013 1 commit
  32. 29 Apr, 2013 1 commit
  33. 25 Apr, 2013 1 commit
  34. 09 Apr, 2013 1 commit
  35. 25 Mar, 2013 1 commit