|
ec7e240b
|
2013-04-09T05:07:12
|
|
Add rev-list example to makefiles
|
|
2c7f7a66
|
2013-03-25T17:35:36
|
|
http: Support 302 Found (arrbee did most of the work)
|
|
c2ea65ee
|
2013-03-25T21:22:57
|
|
clar: Disable online tests. By now.
|
|
d66a7c06
|
2013-03-16T17:48:24
|
|
Fix for a cmake bug when using MSVC + Win64 + static libraries
(see http://public.kitware.com/Bug/view.php?id=11240)
|
|
08f32085
|
2013-03-16T17:38:27
|
|
Adds an option to select the CRT link mode ( static or dynamic ).
This is useful when linking libgit2 statically, as the setting must match the linking program's one.
|
|
0887b580
|
2013-03-08T15:13:25
|
|
Use C99 stdio in mingw-w64
MinGW >= 3.14 does this automatically, but mingw-64 wants us to define
it.
|
|
92ebbe99
|
2013-03-07T12:06:18
|
|
Merge pull request #1399 from nathan-osman/development
Add SONAME build option to facilitate building for Android.
|
|
b5ec5430
|
2013-03-04T23:52:30
|
|
optional tracing
|
|
e7da9acd
|
2013-03-06T17:51:38
|
|
Added build option SONAME to control whether VERSION and SOVERSION were set for the git2 target, as some platforms require that this NOT be set.
|
|
69c28b75
|
2013-03-06T13:22:50
|
|
MSVC: Define NDEBUG to disable asserts in release builds
|
|
19be3f9e
|
2013-02-13T12:36:41
|
|
Improve MSVC compiler, linker flags
|
|
fb60d268
|
2013-02-05T06:18:23
|
|
Merge pull request #1315 from nulltoken/development
cMakeList: Prevent MSVCR1x0.dll dependency
|
|
e8670d01
|
2013-02-05T14:32:09
|
|
cMakeList: Prevent MSVCR1x0.dll dependency
Deploys the libgit2/libgit2@9041250 fix to RELWITHDEBINFO
and MINSIZEREL build flavors
Fix #255
|
|
c27e2112
|
2013-01-23T17:38:00
|
|
update examples to work on windows
|
|
b41e24a6
|
2013-01-04T13:02:47
|
|
Add -fPIC only if BUILD_SHARED_LIBS is ON
|
|
707ede86
|
2013-01-04T03:25:05
|
|
Compile regexp dependency when AMIGA is defined.
Before it was compiled when CMake was actually run on AmigaOS.
|
|
c57c4af3
|
2012-12-29T23:27:14
|
|
Disable SSL when compiling for AmigaOS for now.
|
|
8f09f464
|
2013-01-08T16:54:44
|
|
remove ppc sha1 asm
|
|
d335e73a
|
2013-01-08T16:37:19
|
|
keep comments at < 80 chars
|
|
09556895
|
2013-01-06T14:40:32
|
|
travis: Include the online suite when running against Travis
|
|
4236164a
|
2013-01-03T02:37:28
|
|
Prototypes warning goes away
|
|
2e6f06a8
|
2013-01-03T02:34:45
|
|
...and add Clar raw
|
|
afb18116
|
2013-01-03T01:04:18
|
|
/deal with it
|
|
39444bea
|
2013-01-03T01:01:03
|
|
...fine
|
|
ad27838b
|
2013-01-03T00:58:46
|
|
Proper submodule dependency
|
|
6443eaf2
|
2013-01-03T00:50:29
|
|
Disable Network suite by default
|
|
39cd0177
|
2013-01-02T22:38:10
|
|
This is a better name
|
|
a44f2e9e
|
2013-01-02T22:26:34
|
|
Try it like this...
|
|
e229c048
|
2013-01-02T21:25:32
|
|
Fuck you CMake
|
|
0df41675
|
2013-01-02T21:22:19
|
|
Submodule checkout
|
|
a368fd0f
|
2013-01-02T20:08:49
|
|
Checkout test
|
|
5c2d3f6d
|
2013-01-02T04:17:31
|
|
Add build dependency for clar. Also, fuck you CMake. Fuck you.
|
|
b0a45829
|
2012-12-19T01:10:13
|
|
Bump the Clar submodule
|
|
156cfec0
|
2012-12-19T00:12:26
|
|
Cleanup Clar to make it SIMPLER
|
|
523a3ae5
|
2012-12-18T20:40:57
|
|
MSVC: Don't list all source files in an endless list
Instead tell MSVC to group the source files by directory.
|
|
94243295
|
2012-12-18T19:51:31
|
|
DRY: Add function that adds os-specific libraries to our targets
|
|
19a766a2
|
2012-12-18T19:32:31
|
|
Collect configuration options at the top of the file
- Also document the -DSTDCALL even better.
|
|
521479b1
|
2012-12-18T19:18:13
|
|
DRY: Don't repeat globs for libgit2's own source files
|
|
c5309eb2
|
2012-12-18T19:07:59
|
|
Remove special case source globs for Solaris
With the src/compat/*.c glob removed, there is no longer a difference to
the default globs we use for the IF( UNIX ) case.
|
|
49b63008
|
2012-12-18T19:07:08
|
|
Remove src/compat/*.c from source globs
This directory doesn't exist.
|
|
b53671ae
|
2012-12-18T19:03:29
|
|
Search for zlib unconditional
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).
|
|
3d007f4f
|
2012-12-18T18:55:23
|
|
DRY: Scan for regex.c only in one place
|
|
8d457891
|
2012-12-18T18:52:49
|
|
Only add deps/http-parser to include-dirs if required
|
|
cfbe4be3
|
2012-11-17T19:54:47
|
|
More external API cleanup
Conflicts:
src/branch.c
tests-clar/refs/branches/create.c
|
|
a9069f61
|
2012-11-19T12:11:01
|
|
Merge pull request #1086 from scunz/vs_warning_level
VS-Build: Append C_FLAGS to the end of the already given ones.
|
|
4a03913c
|
2012-11-19T04:48:40
|
|
VS-Build: Disable /W4 parameter, as it is not picked up anyway
My other PR revealed, that the /W4 parameter, we give to MSVC is ignored
because cmake set CMAKE_C_FLAGS already to /W3 and we overwrite it.
The command line tools gave me a D9025 warning for this on every file and
looking into the project properties page on MSVC 2008 tells, that it has
the warning level set to /W3.
However, the warnings introduced by /W4 are far to useless for having
them enabled. So just disable them.
|
|
26d9e317
|
2012-11-19T04:40:58
|
|
Don't use precompiled headers for command-line based VC builds.
The reason, why libgit2 currently cannot support compiling via the command-line
tools cl/nmake from WinSDK and/or Microsoft Visual Studio, seems to be a
missing dependency on the generated precompiled header file.
The Visual Studio IDE automatically inserts this dependency when it sees the
right combination of "/Y" parameters.
This patch allows to compile using command line tools by disabling precompiled
headers for NON-IDE builds.
|
|
d6fb0924
|
2012-11-05T12:37:15
|
|
Win32 CryptoAPI and CNG support for SHA1
|
|
dbd6850d
|
2012-11-01T10:57:14
|
|
Hide deprecations on MacOS
Why Apple, why?
|
|
88149fae
|
2012-10-28T10:21:28
|
|
Leave CMAKE_BUILD_TYPE absent on those generators which don't use it.
|
|
4a3be934
|
2012-10-28T09:56:18
|
|
Removed overwrite of CMAKE_C_FLAGS_DEBUG.
- No overwriting allows control from cmake cache or cmdline
- -g is already the CMake default
- -O0 is already gcc's default
|
|
54c56d3e
|
2012-10-28T09:42:54
|
|
Remove "-O2 -g" from default CMAKE_C_FLAGS.
- Those are the RelWithDebInfo flags.
- They should be controlled from CMAKE_BUILD_TYPE
|
|
2df7c944
|
2012-10-28T09:25:43
|
|
Remove duplicate CMAKE_C_FLAGS inside CMAKE_C_FLAGS_DEBUG.
- For Debug builds, CMake uses concatenated
CMAKE_C_FLAGS and CMAKE_C_FLAGS_DEBUG
- This reverts commit 291f7122927d2cc170dc63c378a08fa78515d987.
|
|
94155e2f
|
2012-10-25T14:51:08
|
|
remove /ZM1000 from msvc builds
|
|
81e7b10a
|
2012-10-23T13:43:28
|
|
Merge pull request #1012 from carlosmn/libcrypto-sha
Use libcrypto's SHA-1 implementation when linking to it
|
|
7205a4d9
|
2012-10-23T19:30:04
|
|
Use libcrypto's SHA-1 implementation when linking to it
libcryto's SHA-1 implementation is measurably better than the one that
ships with the library. If we link to it for HTTPS support already,
use that implementation instead.
Testing on a ~600MB of the linux repository, this reduces indexing
time by 40% and removes the hashing from the top spot in the perf
output.
|
|
88e0fc05
|
2012-10-20T02:59:40
|
|
Remove backwards compatibility for INSTALL_LIB
|
|
291f7122
|
2012-10-19T23:34:00
|
|
Let environment CFLAGS override the debug flags
|
|
9795a40f
|
2012-10-19T17:33:13
|
|
Use standard CMake variable names for installation paths
Rename INSTALL_INC and INSTALL_BIN to INCLUDE_INSTALL_DIR and
BIN_INSTALL_DIR, which are more commonly used. This is also
consistent with the variable for the library path which is
already LIB_INSTALL_DIR.
|
|
a75770fe
|
2012-10-10T14:57:05
|
|
tests: add a test for tag autofollow behaviour
Also tell ctest and valgrind to run libgit2_clar with '-iall' so we
run the network tests in travis.
|
|
3ce22c74
|
2012-08-26T19:22:34
|
|
http: use WinHTTP on Windows
Wondows has its own HTTP library. Use that one when possible instead of
our own.
As we don't depend on them anymore, remove the http-parser library from
the Windows build, as well as the search for OpenSSL.
|
|
b3237ac3
|
2012-07-13T17:13:35
|
|
Add support for the more standard LIB_INSTALL_DIR variable
|
|
abd6d52c
|
2012-06-20T19:27:17
|
|
revert defaults
|
|
17b45d80
|
2012-06-13T23:43:25
|
|
Removed hardcoded CMAKE_SYSTEM_NAME
|
|
a21bb1aa
|
2012-06-13T23:28:51
|
|
Merge remote-tracking branch 'source/development' into development
|
|
96ef3d84
|
2012-06-13T23:16:14
|
|
Make this more generic and mergeable.
Needs AmigaOS.cmake now from CMake package at OS4Depot, or contents below:
--8<--
SET(AMIGA 1)
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC")
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
--8<--
|
|
73aaf674
|
2012-06-13T14:22:33
|
|
Precompile headers for MSVC.
|
|
c9f79972
|
2012-06-09T23:13:21
|
|
remove errorneous comment
|
|
c3fad0ae
|
2012-06-09T23:06:32
|
|
Merge branch 'development' of github.com:chris-y/libgit2 into development
|
|
41cbbea8
|
2012-06-09T23:03:27
|
|
Let platform 'Generic' get the regex deps so we don't need to use our external ones
|
|
b9bfc768
|
2012-06-09T17:33:08
|
|
pre-compiled sha1ppc.S.obj file with nasty CMake hack instructions as the cross-compile process refuses to build and link this file itself.
|
|
4c650c2b
|
2012-06-08T19:55:04
|
|
Don't use the PPC native SHA1 :( CMake is refusing to acknowledge the sha1ppc.S ppc asm code.
|
|
c3f7a938
|
2012-06-08T19:37:24
|
|
Re-add the ability to select the PowerPC SHA1 function
|
|
fa56478f
|
2012-06-08T19:15:11
|
|
Generic needs compat files
|
|
fb0b1523
|
2012-06-07T20:40:03
|
|
force disable of openssl, confusing cross-compiler
|
|
c3f35902
|
2012-06-07T20:29:22
|
|
Merge remote-tracking branch 'source/development' into update-test
Merging main libgit2!
Conflicts:
CMakeLists.txt
src/unix/map.c
|
|
966fbdcb
|
2012-06-05T13:53:33
|
|
Merge pull request #697 from carlosmn/ssl
Add HTTPS support
|
|
cada414a
|
2012-06-05T12:07:08
|
|
OS4 is PPC
|
|
bad15056
|
2012-06-05T11:41:43
|
|
Force not to use openssl, as confusing cross-compiler
t to use openssl, as confusing cross-compiler
t to use openssl, as confusing cross-compiler
ss
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
modified: CMakeLists.txt
|
|
2eb18449
|
2012-05-26T18:20:33
|
|
Refactor CMakeLists.txt for mingw cross-compile
Two things:
1) By default, Linux CMake puts -fPIC on the link line. So we remove that
for MINGW to avoid warnings that it will be ignored.
2) Similarly, move -fvisibility=hidden flag to be for non-mingw
compilation only to avoid warnings that it will be ignored.
|
|
62986ff6
|
2012-05-20T00:46:48
|
|
Add CMake build for examples / add them to Travis
By default, they are still not built, but hopefully, now that Travis is
building them, this will help stave off some of the bitrot.
|
|
d3e1367f
|
2012-05-17T21:40:20
|
|
ssl: remove GnuTLS support
It's too much work for now to redo everything.
Move the ssl context struct to transport.h
|
|
a6f24a5b
|
2012-05-01T01:50:26
|
|
https: make it work with OpenSSL as well
Add specific functions that use OpenSSL instead of GnuTLS
|
|
66024c7c
|
2012-05-01T00:05:25
|
|
http: add https support when GnuTLS is available
If it's not available, an error saying so will be returned when trying
to use a https:// URL.
This also unifies a lot of the network code to use git_transport in
many places instead of an socket descriptor.
|
|
706a9974
|
2012-05-17T13:05:17
|
|
Basic setup for profiling
This fixes the examples so they will build and adds a PROFILE
option to the CMakeFile that enabled gprof info on non-Windows
|
|
72bfde97
|
2012-05-14T11:01:14
|
|
Merge pull request #681 from scottjg/solaris-fixes
Fix build/runtime issues on Solaris
|
|
b15bef23
|
2012-05-12T11:12:42
|
|
Use -fvisibility=hidden in GCC builds
|
|
ec42eafd
|
2012-05-09T22:30:57
|
|
Hook up Windows compat fnmatch() for Solaris
Since Solaris does not support some of the same flags as glibc fnmatch(),
we just use the implementation we have for Windows.
Now that it's no longer a windows-specific thing, I moved it into compat/
instead of win32/
|
|
901fbdad
|
2012-05-07T00:05:02
|
|
Define explicit _WIN32_WINNT version in makefile
Previously, it was defined in netops.c, but it's also needed in one of the
clar tests, so I figured we might as well just make it global for the
whole project.
Without it, the mingw32 linker won't resolve GetProcessId() (called from
the core/errors.c clar test) because of some conditionals in windows.h.
|
|
16eaa150
|
2012-04-02T17:24:16
|
|
Merge pull request #606 from benstraub/t04_commit_to_clar
Ported t04_commit.c to Clar.
|
|
fd29cd13
|
2012-03-31T16:10:01
|
|
Moved testing resources to clar, and removed old tests directory.
Removed the BUILD_CLAR CMake flag, and updated the readme.
|
|
9f75a9ce
|
2012-03-30T06:34:30
|
|
Turning on runtime checks when building debug under MSVC.
|
|
e0799b6c
|
2012-03-19T21:41:29
|
|
Ported t04_commit.c to Clar.
Created a copy of tests/resources/testrepo.git that is compatible
with the Clar sandboxing helpers.
Restructured commit test suites to use Clar sandbox helpers.
Now using typed data arrays rather than lots of macros to define test
cases.
|
|
06c081e1
|
2012-03-20T19:57:56
|
|
Adding multi-cpu compile option when generating MSVC projects.
|
|
3a5ad90a
|
2012-01-24T12:23:20
|
|
Import xdiff library from git
This is the initial import of the xdiff code (LGPL) from
core git as of rev f349b562086e2b7595d8a977d2734ab2ef9e71ef
|
|
4a1ecba6
|
2012-02-18T00:54:03
|
|
regex: Move the defines to a config header and include it unconditionally
|
|
c17b1d00
|
2012-02-17T19:41:14
|
|
Add POSIX regex sources when needed
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.
|
|
38691ffc
|
2012-02-01T13:20:47
|
|
Compile with _GNU_SOURCE when appropriate
On non-Windows builds, we will now use _GNU_SOURCE so header
files will include modern API extensions. This should resolve
issue #547.
|
|
3fd1520c
|
2012-01-24T20:35:15
|
|
Rename the Clay test suite to Clar
Clay is the name of a programming language on the makings, and we want
to avoid confusions. Sorry for the huge diff!
|
|
86a459a8
|
2011-12-29T12:16:01
|
|
cmake: generate clay main
The clay test suite files clay.h and clay_main.c are generated by
the clay python script. Teach CMake about this dependency and
remove the generated files from the repository.
|