- 17 Mar, 2013 1 commit
-
-
Implicit type conversion argument of function to size_t type Suspicious sequence of types castings: size_t -> int -> size_t Consider reviewing the expression of the 'A = B == C' kind. The expression is calculated as following: 'A = (B == C)' Unsigned type is never < 0
Arkadiy Shapkin committed
-
- 11 Jan, 2013 3 commits
-
-
Vicent Marti committed
-
There are different solutions to the problem. In this change, we define an UNUSED macro that maps to __attribute__((unused)) when compiling with gcc. Otherwise it is a NOOP. We apply this macro in all function headers for each parameter value that is not used within the function body. The change is local to regex.
Sebastian Bauer committed -
Sebastian Bauer committed
-
- 23 Nov, 2012 1 commit
-
-
Remove words such as fuck, crap, shit etc. Remove other potentially offensive words from comments. Tidy up other geopolicital terms in comments.
Martin Woodward committed
-
- 12 Nov, 2012 1 commit
-
-
Vicent Marti committed
-
- 18 Feb, 2012 3 commits
-
-
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
- 17 Feb, 2012 1 commit
-
-
Windows doesn't support POSIX regex, so we need to include it ourselves. The sources come from git, which in turn took them from gawk.
Carlos Martín Nieto committed
-
- 05 Oct, 2011 1 commit
-
-
Vicent Marti committed
-
- 29 Sep, 2011 1 commit
-
-
Vicent Marti committed
-
- 28 Sep, 2011 3 commits
-
-
Carlos Martín Nieto committed
-
Vicent Marti committed
-
Vicent Marti committed
-
- 27 Sep, 2011 3 commits
-
-
These was left over from the previous PRs. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Carlos Martín Nieto committed -
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 -
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
-
- 09 Sep, 2011 1 commit
-
-
The code is under the MIT lincense Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Carlos Martín Nieto committed
-
- 08 Aug, 2011 1 commit
-
-
Vicent Marti committed
-
- 01 Jul, 2011 1 commit
-
-
Vicent Marti committed
-
- 30 Jun, 2011 1 commit
-
-
The visibility attribute is a headache on many platforms like Solaris, and not even supported on Windows.
Vicent Marti committed
-
- 16 Mar, 2011 1 commit
-
-
Vicent Marti committed
-
- 15 Mar, 2011 3 commits
-
-
Yes, we are changing the Zlib code. This is dangerous and uncool. Fortunately, these are just some implicit casts.
Vicent Marti committed -
Vicent Marti committed
-
I don't know if this is good or bad. This lets libgit2 compile cleanly on any platforms without any external dependencies, but adds a little bit of bloat... Let's test this out and see what happens.
Vicent Marti committed
-