- 28 Dec, 2012 5 commits
-
-
Alternative fix for iterator memory leak
Vicent Martí committed -
Fixed compilation with =>VS2010
Vicent Martí committed -
Starting with VS2010 MS ships a stdint.h. Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed -
When normalizing a reference name, if there is an error because the name is invalid, then the memory allocated for storing the name could be leaked if the caller was not careful and assumed that the error return code meant that no allocation had occurred. This fixes that by explicitly deallocating the reference name buffer if there is an error in normalizing the name.
Russell Belfer committed -
An earlier change to `git_diff_from_iterators` introduced a memory leak where the allocated spoolandsort iterator was not returned to the caller and thus not freed. One proposal changes all iterator APIs to use git_iterator** so we can reallocate the iterator at will, but that seems unexpected. This commit makes it so that an iterator can be changed in place. The callbacks are isolated in a separate structure and a pointer to that structure can be reassigned by the spoolandsort extension. This means that spoolandsort doesn't create a new iterator; it just allocates a new block of callbacks (along with space for its own extra data) and swaps that into the iterator. Additionally, since spoolandsort is only needed to switch the case sensitivity of an iterator, this simplifies the API to only take the ignore_case boolean and to be a no-op if the iterator already matches the requested case sensitivity.
Russell Belfer committed
-
- 27 Dec, 2012 1 commit
-
-
Teach UNC paths to git_path_dirname_r()
Vicent Martí committed
-
- 26 Dec, 2012 2 commits
- 22 Dec, 2012 1 commit
-
-
Michael Schubert committed
-
- 21 Dec, 2012 2 commits
-
-
odb: check if object exists before writing
Vicent Martí committed -
Update the procondition of git_odb_backend::write. It may now be assumed that the object has already been hashed.
David Michael Barr committed
-
- 20 Dec, 2012 2 commits
-
-
Mark travis build as failed if any test fails
Vicent Martí committed -
Sascha Cunz committed
-
- 19 Dec, 2012 21 commits
-
-
fetchhead reading/iterating
Edward Thomson committed -
Edward Thomson committed
-
netops: on SSL teardown only send shutdown alert
Vicent Martí committed -
Vicent Marti committed
-
Vicent Marti committed
-
Make `goto cleanup` more consistent
Vicent Martí committed -
RFC: Some cleanups/features in CMakeLists.txt
Vicent Martí committed -
Fix some leaks in tests
Vicent Martí committed -
Also adds some asserts.
Sascha Cunz committed -
... so we can clean up correctly.
Sascha Cunz committed -
Sascha Cunz committed
-
Instead tell MSVC to group the source files by directory.
Sascha Cunz committed -
Sascha Cunz committed
-
- Also document the -DSTDCALL even better.
Sascha Cunz committed -
Sascha Cunz committed
-
With the src/compat/*.c glob removed, there is no longer a difference to the default globs we use for the IF( UNIX ) case.
Sascha Cunz committed -
This directory doesn't exist.
Sascha Cunz committed -
Up to now, on windows we don't even bother to look if the user has a zlib available somwhere. In almost all larger commercial projects i've participated in, it was not at all uncommon to have such a dependency somewhere in the source tree and use it whereever required. Searching for it, even if it's unlikely to be present, allows for such a scenario (i.e. by prefilling the CMake-Cache).
Sascha Cunz committed -
Sascha Cunz committed
-
Sascha Cunz committed
-
There may be some question about whether this is likely to be needed at all, but that's above my head at the moment.
Rick Bradley committed
-
- 18 Dec, 2012 6 commits
-
-
don't deref before we've asserted
Russell Belfer committed -
just sayin'.
Rick Bradley committed -
Trivial comment fix
Vicent Martí committed -
I was totally flaunting @ben's 3-space tab advice.
Rick Bradley committed -
This looked wrong to me. I *think* this is more appropriate commentary.
Rick Bradley committed -
Reset global variable to NULL after free'ing resource
Vicent Martí committed
-