1. 03 Jul, 2017 1 commit
    • Make sure to always include "common.h" first · 0c7f49dd
      Next to including several files, our "common.h" header also declares
      various macros which are then used throughout the project. As such, we
      have to make sure to always include this file first in all
      implementation files. Otherwise, we might encounter problems or even
      silent behavioural differences due to macros or defines not being
      defined as they should be. So in fact, our header and implementation
      files should make sure to always include "common.h" first.
      
      This commit does so by establishing a common include pattern. Header
      files inside of "src" will now always include "common.h" as its first
      other file, separated by a newline from all the other includes to make
      it stand out as special. There are two cases for the implementation
      files. If they do have a matching header file, they will always include
      this one first, leading to "common.h" being transitively included as
      first file. If they do not have a matching header file, they instead
      include "common.h" as first file themselves.
      
      This fixes the outlined problems and will become our standard practice
      for header and source files inside of the "src/" from now on.
      Patrick Steinhardt committed
  2. 29 Dec, 2016 1 commit
  3. 13 Feb, 2015 2 commits
  4. 27 Oct, 2014 1 commit
  5. 18 Aug, 2014 1 commit
  6. 07 Mar, 2014 1 commit
  7. 20 Feb, 2014 1 commit
  8. 13 Jan, 2014 1 commit
  9. 19 Sep, 2013 1 commit
  10. 31 Aug, 2013 1 commit
  11. 22 May, 2013 1 commit
  12. 17 May, 2013 1 commit
  13. 29 Apr, 2013 4 commits
  14. 25 Mar, 2013 1 commit
  15. 21 Mar, 2013 2 commits
  16. 08 Jan, 2013 1 commit
  17. 04 Jan, 2013 2 commits
  18. 23 Nov, 2012 1 commit
  19. 25 Aug, 2012 1 commit
  20. 29 Jul, 2012 1 commit
  21. 24 Jul, 2012 1 commit
  22. 17 Apr, 2012 1 commit
  23. 02 Apr, 2012 1 commit
  24. 19 Mar, 2012 1 commit
    • Migrate index, oid, and utils to new errors · 7c7ff7d1
      This includes a few cleanups that came up while converting
      these files.
      
      This commit introduces a could new git error classes, including
      the catchall class: GITERR_INVALID which I'm using as the class
      for invalid and out of range values which are detected at too low
      a level of library to use a higher level classification.  For
      example, an overflow error in parsing an integer or a bad letter
      in parsing an OID string would generate an error in this class.
      Russell Belfer committed
  25. 06 Mar, 2012 1 commit
  26. 02 Mar, 2012 1 commit
    • Update diff to use iterators · 74fa4bfa
      This is a major reorganization of the diff code.  This changes
      the diff functions to use the iterators for traversing the
      content.  This allowed a lot of code to be simplified.  Also,
      this moved the functions relating to outputting a diff into a
      new file (diff_output.c).
      
      This includes a number of other changes - adding utility
      functions, extending iterators, etc. plus more tests for the
      diff code.  This also takes the example diff.c program much
      further in terms of emulating git-diff command line options.
      Russell Belfer committed
  27. 13 Feb, 2012 1 commit
  28. 28 Dec, 2011 1 commit
  29. 29 Oct, 2011 1 commit
  30. 13 Oct, 2011 1 commit
  31. 02 Oct, 2011 1 commit
  32. 30 Sep, 2011 3 commits