1. 07 Mar, 2013 1 commit
    • Make iterator APIs consistent with standards · 169dc616
      The iterator APIs are not currently consistent with the parameter
      ordering of the rest of the codebase.  This rearranges the order
      of parameters, simplifies the naming of a number of functions, and
      makes somewhat better use of macros internally to clean up the
      iterator code.
      
      This also expands the test coverage of iterator functionality,
      making sure that case sensitive range-limited iteration works
      correctly.
      Russell Belfer committed
  2. 06 Mar, 2013 4 commits
  3. 16 Feb, 2013 1 commit
    • Clear up warnings from cppcheck · 56543a60
      The cppcheck static analyzer generates warnings for a bunch of
      places in the libgit2 code base.  All the ones fixed in this
      commit are actually false positives, but I've reorganized the
      code to hopefully make it easier for static analysis tools to
      correctly understand the structure.  I wouldn't do this if I
      felt like it was making the code harder to read or worse for
      humans, but in this case, these fixes don't seem too bad and will
      hopefully make it easier for better analysis tools to get at any
      real issues.
      Russell Belfer committed
  4. 08 Jan, 2013 1 commit
  5. 04 Jan, 2013 2 commits
  6. 03 Jan, 2013 2 commits
  7. 10 Dec, 2012 1 commit
    • Clean up iterator APIs · 9950d27a
      This removes the need to explicitly pass the repo into iterators
      where the repo is implied by the other parameters.  This moves
      the repo to be owned by the parent struct.  Also, this has some
      iterator related updates to the internal diff API to lay the
      groundwork for checkout improvements.
      Russell Belfer committed
  8. 03 Dec, 2012 1 commit
  9. 01 Dec, 2012 1 commit
  10. 30 Nov, 2012 1 commit
  11. 27 Nov, 2012 4 commits
  12. 21 Aug, 2012 2 commits
  13. 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
  14. 24 Jul, 2012 1 commit
  15. 29 Jun, 2012 1 commit
  16. 21 Jun, 2012 1 commit
  17. 08 Jun, 2012 1 commit
    • notes: simplify the handling of fanouts · a02e7249
       - Do not create new levels of fanout when creating notes from libgit2
       - Insert a note in an existing matching fanout
       - Remove a note from an existing fanout
       - Cleanup git_note_read, git_note_remove, git_note_foreach, git_note_create methods in order use tree structures instead of tree_oids
      yorah committed
  18. 07 Jun, 2012 1 commit
  19. 17 May, 2012 3 commits
  20. 16 May, 2012 1 commit
  21. 15 May, 2012 1 commit
  22. 14 May, 2012 2 commits
  23. 05 May, 2012 1 commit
  24. 03 May, 2012 2 commits
  25. 20 Mar, 2012 1 commit
  26. 16 Feb, 2012 1 commit
  27. 15 Feb, 2012 1 commit
    • Add git notes API · bf477ed4
      This commit adds basic git notes support to libgit2, namely:
      
      * git_note_read
      * git_note_message
      * git_note_oid
      * git_note_create
      * git_note_remove
      
      In the long run, we probably want to provide some convenience callback
      mechanism for merging and moving (filter-branch) notes.
      
      Signed-off-by: schu <schu-github@schulog.org>
      schu committed