1. 23 Nov, 2010 11 commits
  2. 20 Nov, 2010 1 commit
  3. 19 Nov, 2010 1 commit
  4. 17 Nov, 2010 2 commits
  5. 16 Nov, 2010 5 commits
  6. 11 Nov, 2010 1 commit
  7. 06 Nov, 2010 4 commits
  8. 05 Nov, 2010 4 commits
  9. 03 Nov, 2010 1 commit
  10. 02 Nov, 2010 2 commits
  11. 31 Oct, 2010 1 commit
    • Fix in-memory commit getters trying to parse · d80e9d55
      Issue 9 on the tracker. The commit object getters for in-memory objects
      were trying to parse an inexistant on-disk object when one of the commit
      attributes which were still not set was queried.
      
      We now return a NULL value when this happens.
      
      Signed-off-by: Vicent Marti <tanoku@gmail.com>
      Vicent Marti committed
  12. 28 Oct, 2010 4 commits
  13. 27 Oct, 2010 1 commit
    • Fix internal memory management on the library · 58519018
      String mememory is now managed in a much more sane manner.
      
      Fixes include:
      
      	- git_person email and name is no longer limited to 64 characters
      	- git_tree_entry filename is no longer limited to 255 characters
      	- raw objects are properly opened & closed the minimum amount of
      	times required for parsing
      	- unit tests no longer leak
      	- removed 5 other misc memory leaks as reported by Valgrind
      	- tree writeback no longer segfaults on rare ocassions
      
      The git_person struct is no longer public. It is now managed by the
      library, and getter methods are in place to access its internal
      attributes.
      
      Signed-off-by: Vicent Marti <tanoku@gmail.com>
      Vicent Marti committed
  14. 26 Oct, 2010 2 commits
    • msvc: Fix an "conversion, possible loss of data" warning · 2d16373c
      In particular, msvc complains thus:
      
          t0603-sort.c(23) : warning C4244: 'function' : conversion from \
              'time_t' to 'unsigned int', possible loss of data
      
      Note that msvc, by default, defines time_t as a 64-bit type, whereas
      srand() is expecting an (32-bit) unsigned int. In order to suppress
      the warning, we simply cast the return value of the time() function
      call to 'unsigned int'.
      
      Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
      Ramsay Jones committed
    • bswap.h: Add ntohs() and htons() functions · e3005627
      Since commit 70aab459, the msvc and MinGW builds have relied on
      the built-in implementation of ntohl() and htonl(), rather than
      linking the wsock32 library. The new index manipulation code now
      calls ntohs()/htons() in addition to ntohl()/htonl(), so we need
      to provide a built-in implementation of the 16-bit functions.
      
      Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
      Ramsay Jones committed