1. 16 Jan, 2012 3 commits
  2. 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
  3. 13 Jan, 2012 2 commits
    • config: handle EOF properly · c1c399cf
      In the main loop we peek to see what kind of line the next one is. If
      there are multiple newlines before the end of the file, the eof marker
      won't be set after we read the last line with data and we'll try to
      peek again. This peek will return LF (as it pretends that we have a
      newline at EOF so other function don't need any special handling).
      
      Fix cfg_getchar so it doesn't try to read past the last character in
      the file and config_parse so it considers LF as EOF on peek (as we're
      ignoring spaces) and sets the reader's EOF flag to exit the parsing
      loop.
      Carlos Martín Nieto committed
  4. 12 Jan, 2012 4 commits
  5. 11 Jan, 2012 2 commits
  6. 09 Jan, 2012 1 commit
  7. 06 Jan, 2012 2 commits
  8. 05 Jan, 2012 4 commits
  9. 04 Jan, 2012 4 commits
  10. 03 Jan, 2012 2 commits
  11. 02 Jan, 2012 3 commits
  12. 31 Dec, 2011 1 commit
  13. 30 Dec, 2011 8 commits
  14. 29 Dec, 2011 3 commits
    • cmake: generate tags · e632f687
      Clemens Buchacher committed
    • cmake: generate clay main · 86a459a8
      The clay test suite files clay.h and clay_main.c are generated by
      the clay python script. Teach CMake about this dependency and
      remove the generated files from the repository.
      Clemens Buchacher committed
    • Add support for macros and cache flush API. · 73b51450
      Add support for git attribute macro definitions.  Also, add
      support for cache flush API to clear the attribute file content
      cache when needed.
      
      Additionally, improved the handling of global and system files,
      making common utility functions in fileops and converting config
      and attr to both use the common functions.
      
      Adds a bunch more tests and fixed some memory leaks.  Note that
      adding macros required me to use refcounted attribute assignment
      definitions, which complicated, but probably improved memory usage.
      Russell Belfer committed