1. 24 Nov, 2012 1 commit
  2. 23 Nov, 2012 1 commit
  3. 14 Sep, 2012 1 commit
  4. 04 Aug, 2012 1 commit
    • Update iterators for consistency across library · 5dca2010
      This updates all the `foreach()` type functions across the library
      that take callbacks from the user to have a consistent behavior.
      The rules are:
      
      * A callback terminates the loop by returning any non-zero value
      * Once the callback returns non-zero, it will not be called again
        (i.e. the loop stops all iteration regardless of state)
      * If the callback returns non-zero, the parent fn returns GIT_EUSER
      * Although the parent returns GIT_EUSER, no error will be set in
        the library and `giterr_last()` will return NULL if called.
      
      This commit makes those changes across the library and adds tests
      for most of the iteration APIs to make sure that they follow the
      above rules.
      Russell Belfer committed
  5. 24 Jul, 2012 1 commit
  6. 03 Jul, 2012 1 commit
  7. 28 Jun, 2012 1 commit
  8. 12 Jun, 2012 1 commit
  9. 10 Jun, 2012 1 commit
  10. 17 May, 2012 2 commits
  11. 04 May, 2012 1 commit
    • Fix valgrind issues · 282283ac
      There are three changes here:
      - correctly propogate error code from failed object lookups
      - make zlib inflate use our allocators
      - add OID to notfound error in ODB lookups
      Russell Belfer committed
  12. 17 Apr, 2012 1 commit
  13. 13 Apr, 2012 1 commit
  14. 16 Mar, 2012 1 commit
  15. 13 Mar, 2012 1 commit
    • Migrate ODB files to new error handling · e1de726c
      This migrates odb.c, odb_loose.c, odb_pack.c and pack.c to
      the new style of error handling.  Also got the unix and win32
      versions of map.c.  There are some minor changes to other
      files but no others were completely converted.
      
      This also contains an update to filebuf so that a zeroed out
      filebuf will not think that the fd (== 0) is actually open
      (and inadvertently call close() on fd 0 if cleaned up).
      
      Lastly, this was built and tested on win32 and contains a
      bunch of fixes for the win32 build which was pretty broken.
      Russell Belfer committed
  16. 05 Mar, 2012 1 commit
  17. 15 Feb, 2012 1 commit
  18. 13 Feb, 2012 1 commit
  19. 17 Jan, 2012 1 commit
    • Move path related functions from fileops to path · 1744fafe
      This takes all of the functions that look up simple data about
      paths (such as `git_futils_isdir`) and moves them over to path.h
      (becoming `git_path_isdir`).  This leaves fileops.h just with
      functions that actually manipulate the filesystem or look at
      the file contents in some way.
      
      As part of this, the dir.h header which is really just for win32
      support was moved into win32 (with some minor changes).
      Russell Belfer committed
  20. 15 Jan, 2012 1 commit
    • Fix #534: 64-bit issues in Windows · 1af56d7d
      off_t is always 32 bits in Windows, which is beyond stupid, but we just
      don't care anymore because we're using `git_off_t` which is assured to
      be 64 bits on all platforms, regardless of compilation mode. Just
      ensure that no casts to `off_t` are performed.
      
      Also, the check for `off_t` overflows has been dropped, once again,
      because the size of our offsets is always 64 bits on all platforms.
      
      Fixes #534
      Vicent Martí committed
  21. 16 Nov, 2011 1 commit
  22. 29 Oct, 2011 1 commit
  23. 13 Oct, 2011 1 commit
  24. 19 Sep, 2011 1 commit
    • Tabify everything · 87d9869f
      There were quite a few places were spaces were being used instead of
      tabs. Try to catch them all. This should hopefully not break anything.
      Except for `git blame`. Oh well.
      Vicent Marti committed
  25. 18 Sep, 2011 1 commit
    • Cleanup legal data · bb742ede
      1. The license header is technically not valid if it doesn't have a
      copyright signature.
      
      2. The COPYING file has been updated with the different licenses used in
      the project.
      
      3. The full GPLv2 header in each file annoys me.
      Vicent Marti committed
  26. 08 Sep, 2011 1 commit
  27. 25 Aug, 2011 1 commit
  28. 18 Aug, 2011 2 commits
  29. 04 Aug, 2011 1 commit
  30. 02 Aug, 2011 3 commits