- 28 Feb, 2013 2 commits
-
-
This fixes some snprintf and vsnprintf related deprecation warnings we've been having on Windows with recent compilers.
Russell Belfer committed -
Allows compilation in newer versions of MinGW that already defined it.
Vicent Marti committed
-
- 08 Feb, 2013 5 commits
-
-
Jameson Miller committed
-
Patrick Pokatilo committed
-
As requested
Patrick Pokatilo committed -
Patrick Pokatilo committed
-
Patrick Pokatilo committed
-
- 07 Feb, 2013 2 commits
-
-
Patrick Pokatilo committed
-
Patrick Pokatilo committed
-
- 08 Jan, 2013 1 commit
-
-
Edward Thomson committed
-
- 17 Dec, 2012 1 commit
-
-
nulltoken committed
-
- 27 Nov, 2012 2 commits
-
-
Russell Belfer committed
-
Ben Straub committed
-
- 20 Nov, 2012 3 commits
-
-
Eduardo Bart committed
-
Eduardo Bart committed
-
Eduardo Bart committed
-
- 15 Nov, 2012 1 commit
-
-
The existing p_lstat implementation on win32 is not quite POSIX compliant when setting errno to ENOTDIR. This adds an option to make is be compliant so that code (such as checkout) that cares to have separate behavior for ENOTDIR can use it portably. This also contains a couple of other minor cleanups in the posix_w32.c implementations to avoid unnecessary work.
Russell Belfer committed
-
- 07 Nov, 2012 1 commit
-
-
Eduardo Bart committed
-
- 29 Aug, 2012 2 commits
-
-
Vicent Marti committed
-
Vicent Marti committed
-
- 02 Aug, 2012 1 commit
-
-
Carlos Martín Nieto committed
-
- 18 Jul, 2012 1 commit
-
-
Ben Straub committed
-
- 16 Jul, 2012 1 commit
-
-
Includes unfinished win32 implementation.
Ben Straub committed
-
- 21 Jun, 2012 1 commit
-
-
1. compile warning: D:\libgit2.git\src\win32\posix_w32.c: In function 'p_open': D:\libgit2.git\src\win32\posix_w32.c:235:10: warning: 'mode_t' is promoted to 'int' when passed through '...' [enabled by default] D:\libgit2.git\src\win32\posix_w32.c:235:10: note: (so you should pass 'int' not 'mode_t' to 'va_arg') D:\libgit2.git\src\win32\posix_w32.c:235:10: note: if this code is reached, the program will abort 2. test crash. 3. the above two issues are same root cause. please see http://www.eskimo.com/~scs/cclass/int/sx11c.html
liyuray committed
-
- 07 Jun, 2012 1 commit
-
-
Vicent Martí committed
-
- 06 Jun, 2012 1 commit
-
-
Ben Straub committed
-
- 15 May, 2012 1 commit
-
-
Ported the win32 implementations of gmtime_r, localtime_r, and gettimeofday to be part of the posix compatibility layer, and fixed git_signature_now to use them.
Ben Straub committed
-
- 08 May, 2012 1 commit
-
-
compat: make p_realpath Windows implementation be a bit more POSIX compliant and fail if the provided path does not lead to an existing entry
nulltoken committed
-
- 07 May, 2012 1 commit
-
- 17 Apr, 2012 1 commit
-
-
This fixes all the warnings on win64 except those in deps, which come from the regex code.
Russell Belfer committed
-
- 15 Mar, 2012 1 commit
-
-
This converts blob.c, fileops.c, and all of the win32 files. Also, various minor cleanups throughout the code. Plus, in testing the win32 build, I cleaned up a bunch (although not all) of the warnings with the 64-bit build.
Russell Belfer committed
-
- 13 Mar, 2012 1 commit
-
-
This migrates odb.c, odb_loose.c, odb_pack.c and pack.c to the new style of error handling. Also got the unix and win32 versions of map.c. There are some minor changes to other files but no others were completely converted. This also contains an update to filebuf so that a zeroed out filebuf will not think that the fd (== 0) is actually open (and inadvertently call close() on fd 0 if cleaned up). Lastly, this was built and tested on win32 and contains a bunch of fixes for the win32 build which was pretty broken.
Russell Belfer committed
-
- 06 Mar, 2012 1 commit
-
-
This also includes droping `git_buf_lasterror` because it makes no sense in the new system. Note that in most of the places were it has been dropped, the code needs cleanup. I.e. GIT_ENOMEM is going away, so instead it should return a generic `-1` and obviously not throw anything.
Vicent Martí committed
-
- 03 Mar, 2012 1 commit
-
-
Obviously all the old throw routines are still in place, so we can gradually port over.
Vicent Martí committed
-
- 13 Feb, 2012 1 commit
-
-
Signed-off-by: schu <schu-github@schulog.org>
schu committed
-
- 17 Jan, 2012 1 commit
-
-
nulltoken committed
-
- 16 Jan, 2012 1 commit
-
-
We force stat to be a stat64 structure, so we can and should put all 64 bits of the size in st_size.
Carlos Martín Nieto committed
-
- 14 Dec, 2011 1 commit
-
-
nulltoken committed
-
- 08 Dec, 2011 1 commit
-
-
This converts virtually all of the places that allocate GIT_PATH_MAX buffers on the stack for manipulating paths to use git_buf objects instead. The patch is pretty careful not to touch the public API for libgit2, so there are a few places that still use GIT_PATH_MAX. This extends and changes some details of the git_buf implementation to add a couple of extra functions and to make error handling easier. This includes serious alterations to all the path.c functions, and several of the fileops.c ones, too. Also, there are a number of new functions that parallel existing ones except that use a git_buf instead of a stack-based buffer (such as git_config_find_global_r that exists alongsize git_config_find_global). This also modifies the win32 version of p_realpath to allocate whatever buffer size is needed to accommodate the realpath instead of hardcoding a GIT_PATH_MAX limit, but that change needs to be tested still.
Russell Belfer committed
-
- 07 Nov, 2011 1 commit
-
-
Move the callers of git_futils_mv_atomic to use p_rename. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Carlos Martín Nieto committed
-