1. 08 Sep, 2021 1 commit
  2. 09 Aug, 2021 2 commits
  3. 15 Feb, 2021 1 commit
  4. 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
  5. 09 Jan, 2019 1 commit
  6. 06 Jan, 2019 2 commits
  7. 01 Feb, 2018 1 commit
  8. 13 Oct, 2014 1 commit
  9. 25 Sep, 2014 1 commit
  10. 25 Feb, 2014 1 commit
  11. 22 Aug, 2013 1 commit
  12. 22 Jan, 2013 1 commit
  13. 08 Jan, 2013 1 commit
  14. 04 May, 2012 1 commit
  15. 05 Mar, 2012 1 commit
  16. 02 Mar, 2012 2 commits
    • Clean up GIT_UNUSED macros on all platforms · 854eccbb
      It turns out that commit 31e9cfc4cbcaf1b38cdd3dbe3282a8f57e5366a5
      did not fix the GIT_USUSED behavior on all platforms.  This commit
      walks through and really cleans things up more thoroughly, getting
      rid of the unnecessary stuff.
      
      To remove the use of some GIT_UNUSED, I ended up adding a couple
      of new iterators for hashtables that allow you to iterator just
      over keys or just over values.
      
      In making this change, I found a bug in the clar tests (where we
      were doing *count++ but meant to do (*count)++ to increment the
      value).  I fixed that but then found the test failing because it
      was not really using an empty repo.  So, I took some of the code
      that I wrote for iterator testing and moved it to clar_helpers.c,
      then made use of that to make it easier to open fixtures on a
      per test basis even within a single test file.
      Russell Belfer committed
    • Simplify GIT_UNUSED macros · 2705576b
      Since casting to void works to eliminate errors with unused
      parameters on all platforms, avoid the various special cases.
      Over time, it will make sense to eliminate the GIT_UNUSED
      macro completely and just have GIT_UNUSED_ARG.
      Russell Belfer committed
  17. 13 Feb, 2012 1 commit
  18. 05 Oct, 2011 1 commit
  19. 29 Sep, 2011 2 commits
  20. 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
  21. 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
  22. 07 Jun, 2010 1 commit
  23. 20 Jan, 2010 3 commits
  24. 13 Oct, 2009 1 commit
    • Disable some msvc "deprecated function" warnings again · 5cae6c25
      In addition to removing the inline #define, commit 209849a4 also
      removed a #pragma to disable msvc deprecated function warnings.
      Without this #pragma, msvc currently issues 19 warnings related
      to "deprecated insecure c-library functions", such as strcpy()
      and 22 warnings related to "deprecated POSIX function names",
      such as open().
      
      In order to supress these warnings, re-instate the #pragma.
      
      Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
      Ramsay Jones committed
  25. 16 Jun, 2009 1 commit
  26. 15 Jun, 2009 2 commits
    • win32: Add support for the MS Visual C/C++ compiler · 8a086f87
      Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
      Ramsay Jones committed
    • Correct the spelling of the FLEX_ARRAY macro · 2bf93fa1
      When setting the default value, the macro name was specified
      as GIT_FLEX_ARRAY, which is inconsistent with it's earlier
      usage in the file. This caused a compilation error, using the
      MS Visual C/C++ compiler, when compiling the git_packlist
      struct definition in src/odb.c.
      
      In addition to changing the spelling of the FLEX_ARRAY macro
      to GIT_FLEX_ARRAY, including it's use in src/odb.c, we also
      rename the TYPEOF macro to GIT_TYPEOF.
      
      Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
      Ramsay Jones committed
  27. 22 Nov, 2008 1 commit