- 08 May, 2014 1 commit
-
-
The cmake module we provide is in the file FindIconv.cmake, so we must match the case correctly. It happens to work in practice because we only turn on ICONV on Darwin, and people generally have case-insensitive filesystems there. Note that we only need to update the package name here. The package itself still sets the all-uppercase ICONV_FOUND flag, so we continue to use uppercase in the rest of cmake.
Jeff King committed
-
- 02 May, 2014 2 commits
-
-
This adds an option to refresh the stat cache while generating status. It also rips out the GIT_PERF stuff I had an makes use of the trace API to keep statistics about what happens during diff.
Russell Belfer committed -
Russell Belfer committed
-
- 30 Apr, 2014 4 commits
-
-
Jacques Germishuys committed
-
It reportedly works. It does not however work when cross-compiling on Travis, so let's disable it there. This fixes #2311.
Carlos Martín Nieto committed -
This fixes #2118
Ting-Wei Lan committed -
The point of this phase is to know what we have and not. Show the user a clear indication of what we have.
Carlos Martín Nieto committed
-
- 28 Apr, 2014 1 commit
-
-
Marcin Sawicki committed
-
- 19 Apr, 2014 1 commit
-
-
Jacques Germishuys committed
-
- 18 Apr, 2014 3 commits
-
-
Jacques Germishuys committed
-
This simplifies platform/compiler dependent checks where we optionally enable features or disable warnings.
Jacques Germishuys committed -
Jacques Germishuys committed
-
- 17 Apr, 2014 1 commit
-
-
The checks to see if files were out of date in the attibute cache was wrong because the cache-breaker data wasn't getting stored correctly. Additionally, when the cache-breaker triggered, the old file data was being leaked.
Russell Belfer committed
-
- 01 Apr, 2014 1 commit
-
-
This warns local variables declarations after statement, which helps not to break MSVC
Linquize committed
-
- 24 Mar, 2014 2 commits
-
-
Anurag Gupta committed
-
Anurag Gupta committed
-
- 03 Mar, 2014 2 commits
- 25 Feb, 2014 1 commit
-
-
- added MSVC cmake definitions to disable warnings - general.c is rewritten so it is ansi-c compatible and compiles ok on microsoft windows - some MSVC reported warning fixes
Miha committed
-
- 21 Feb, 2014 1 commit
-
-
Check if librt exists independent of OS, to be able to exclude librt on Android builds, even though it is a 'Linux'.
Tobias Marquardt committed
-
- 30 Jan, 2014 3 commits
-
-
So we actually also never know that we can set a dependency on it in pkg-config. Instead always give it the -L and -l options.
Sascha Cunz committed -
- Add correct -I, -L and -l flags - Search for libiconv in /opt/local/[include|lib] before in the system path. See #2017 for details. - Give splitted -L and -l arguments to pkg-config
Sascha Cunz committed -
This has actually no effect on a "normal" build, but allows to use libgit2 as a part of a larger project via CMake's ADD_SUBDIRECTORY() Closes #2087
Sascha Cunz committed
-
- 13 Jan, 2014 1 commit
-
-
Sascha Cunz committed
-
- 11 Dec, 2013 1 commit
-
-
This adds tests that try canceling an indexer operation from within the progress callback. After writing the tests, I wanted to run this under valgrind and had a number of errors in that situation because mmap wasn't working. I added a CMake option to force emulation of mmap and consolidated the Amiga-specific code into that new place (so we don't actually need separate Amiga code now, just have to turn on -DNO_MMAP). Additionally, I made the indexer code propagate error codes more reliably than it used to.
Russell Belfer committed
-
- 02 Dec, 2013 1 commit
-
-
* add FindIconv helper for CMake iconv detection * only default using iconv to ON for MacOS * update pkg-config generation to include iconv dependency better
Russell Belfer committed
-
- 14 Nov, 2013 1 commit
-
-
Ben Straub committed
-
- 05 Nov, 2013 1 commit
-
-
Vicent Marti committed
-
- 04 Nov, 2013 1 commit
-
-
Ben Straub committed
-
- 25 Oct, 2013 1 commit
-
-
Edward Thomson committed
-
- 23 Oct, 2013 2 commits
-
-
It turns out that variables have function scope by default. Let's really set -liconv and add a few libraries that were forgotten in the previous commit. We also need to special-case OSX, as they ship zlib but do not provide a pkg-config file for it.
Carlos Martín Nieto committed -
When linking statically, the including project needs to know what the current library build depends on so they can link to it. Store this information in the pkg-config file. While here, remove claims that users need to link to zlib or libcrypto.
Carlos Martín Nieto committed
-
- 08 Oct, 2013 1 commit
-
-
Before these changes, looking up a reference would return the same precomposed or decomposed form of the reference name that was used to look it up, so on MacOS which ignores the difference between the two, a single reference could be looked up either way and git_reference_name would return the form of the name that was used to look it up! This change makes lookup always return the precomposed name if core.precomposeunicode is set regardless of which version was used to look it up. The reference iterator was already returning the precomposed form from earlier work. This also updates the CMakeLists.txt rules for enabling iconv usage because the clar tests for this code were actually not being activated properly with the old version. Finally, this moves git_repository_reset_filesystem from include/ git2/repository.h to include/git2/sys/repository.h since it is not really a function that normal library users should have to think about very often.
Russell Belfer committed
-
- 03 Oct, 2013 1 commit
-
-
This hooks up git_path_direach and git_path_dirload so that they will take a flag indicating if directory entry names should be tested and converted from decomposed unicode to precomposed form. This code will only come into play on the Apple platform and even then, only when certain types of filesystems are used. This involved adding a flag to these functions which involved changing a lot of places in the code. This was an opportunity to do a bit of code cleanup here and there, for example, getting rid of the git_futils_cleanupdir_r function in favor of a simple flag to git_futils_rmdir_r to not remove the top level entry. That ended up adding depth tracking during rmdir_r which led to a safety check for infinite directory recursion. Yay. This hasn't actually been tested on the Mac filesystems where the issue occurs. I still need to get test environment for that.
Russell Belfer committed
-
- 30 Sep, 2013 1 commit
-
-
This adds the basics of progress reporting during push. While progress for all aspects of a push operation are not reported with this change, it lays the foundation to add these later. Push progress reporting can be improved in the future - and consumers of the API should just get more accurate information at that point. The main areas where this is lacking are: 1) packbuilding progress: does not report progress during deltafication, as this involves coordinating progress from multiple threads. 2) network progress: reports progress as objects and bytes are going to be written to the subtransport (instead of as client gets confirmation that they have been received by the server) and leaves out some of the bytes that are transfered as part of the push protocol. Basically, this reports the pack bytes that are written to the subtransport. It does not report the bytes sent on the wire that are received by the server. This should be a good estimate of progress (and an improvement over no progress).
Jameson Miller committed
-
- 03 Sep, 2013 1 commit
-
-
Also, this converts the examples/CMakeLists.txt from explicitly listing to just globbing for all the individual C files.
Russell Belfer committed
-
- 01 Sep, 2013 2 commits
-
-
Krzysztof Adamski committed
-
CMake seems not to support Android as a target and this option lets us test this in CMakeLists.txt.
Krzysztof Adamski committed
-
- 26 Aug, 2013 1 commit
-
-
This loads SRWLock APIs at runtime and in their absence (i.e. on Windows before Vista) falls back on a regular CRITICAL_SECTION that will not permit concurrent readers.
Russell Belfer committed
-
- 22 Aug, 2013 1 commit
-
-
This makes libgit2 require Windows Vista or newer if it is going to be compiled with the THREADSAFE option
Russell Belfer committed
-