1. 03 Oct, 2011 1 commit
  2. 01 Oct, 2011 11 commits
  3. 30 Sep, 2011 11 commits
  4. 29 Sep, 2011 7 commits
  5. 28 Sep, 2011 5 commits
  6. 27 Sep, 2011 5 commits
    • Merge pull request #432 from carlosmn/msvc · 35e9407c
      Really fix MSVC
      Vicent Martí committed
    • Really fix MSVC · a5b0e7f8
      These was left over from the previous PRs.
      
      Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
      Carlos Martín Nieto committed
    • Fix dev branch under MSVC · 887eaf4d
      In libgit2: Move an enum out of an int bitfield in the HTTP transport.
      
      In the parser: Use int bitfields and change some variable sizes to
      better fit thir use. Variables that count the size of the data chunk
      can only ever be as large as off_t. Warning 4127 can be ignored, as
      nobody takes it seriously anyway.
      
      From Emeric: change some variable declarations to keep MSVC happy.
      
      Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
      Carlos Martín Nieto committed
    • http-parser: Do not use bitfields · dc5c8781
      Bitfields suck. And if you make them with non-int types, they suck
      in a non-standards compliant way. Like sucking sideways or something.
      
      This commit removes all bitfields in the `http_parser` struct, and
      replaces them with the minimal type needed to contain their values. Note
      that the fields in the struct have been reordered so they can be packed
      with 4-byte alignment.
      
      This saves both memory on the parser (because non-int bitfields get expanded to
      4byte in most compilers anyway) and time (because the fields are now
      properly aligned and the compiler doesn't need to generate bit-level ops
      to access them).
      Vicent Marti committed
    • Make repo config loading automatic or completely explicit · 40fe5fbe
      git_repository_config wants to take the global and system paths again
      so that one can be explicit if needed.
      
      The git_repository_config_autoload function is provided for the cases
      when it's good enough for the library to guess where those files are
      located.
      
      Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
      Carlos Martín Nieto committed