|
fff036ec
|
2011-04-09T17:45:38
|
|
Import 'with' from __future__ in the build script
|
|
8a64bc29
|
2011-04-03T21:43:51
|
|
redis backend
|
|
ba84cad3
|
2011-03-31T15:02:23
|
|
wscript: Use -O0 on debug
If we want debugging symbols, we most likely want them to point to the
right place. With -O2, gdb or valgrind may give wrong information.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
|
|
a796d24c
|
2011-03-29T14:19:40
|
|
Fix help message for waf configure --with-sqlite
|
|
bb3de0c4
|
2011-03-16T21:35:51
|
|
Thread safe cache
|
|
9f81a37a
|
2011-03-16T23:02:31
|
|
Define NO_GZIP in zconf.h instead of at compile time
|
|
f73b09cd
|
2011-03-15T21:19:02
|
|
Revert changes in wscript file
|
|
bbcc7ffc
|
2011-03-15T21:04:41
|
|
Add proper threading support to libgit2
We now depend on libpthread on all Unix platforms (should be installed
by default) and use a simple wrapper for Windows threads under Win32.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
ab6a3d3d
|
2011-03-15T03:25:44
|
|
Add ZLib as a built-in dependency
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.
|
|
7064938b
|
2011-03-14T23:55:32
|
|
libgit2 version 0.10.0, "very disco"
A version *so* awesome that needs 2 version bumps AND a codename.
Major features:
- New internal garbage collection (harder)
- Pack backend rewritten from scratch (better)
- Revision walker rewritten from scratch (faster)
- New object interdependency system (stronger)
- Unique OID shortener
- Reference listing
In honor of one heck of a music album, released ten years ago,
yesterday.
|
|
71d33382
|
2011-03-03T20:20:45
|
|
Move the external includes folder from `src` to `include`
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
83403e99
|
2011-03-02T11:02:22
|
|
Fix check for bad --sha1 option argument
|
|
af774b01
|
2011-02-21T13:14:01
|
|
Add --without-sqlite option to waf configure
Disable sqlite support when ./waf configure is run with --without-sqlite
|
|
9d1dcca2
|
2011-02-07T10:35:58
|
|
Add proper version management
We now have proper sonames in Mac OS X and Linux, proper versioning on
the pkg-config file and proper DLL naming in Windows.
The version of the library is defined exclusively in 'src/git2.h'; the build scripts
read it from there automatically.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
c041af95
|
2011-02-05T19:45:57
|
|
Add support for SQLite backends
Configure again the build system to look for SQLite3. If the library is
found, the SQLite backend will be automatically compiled.
Enjoy *very* fast reads and writes.
MASTER PROTIP: Initialize the backend with ":memory" as the path to the
SQLite database for fully-hosted in-memory repositories. Rejoice.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
2a1732b4
|
2011-02-02T02:15:25
|
|
Rewrite the unit testing suite
NIH Enterprises presents: a new testing system based on CuTesT, which is
faster than our previous one and fortunately uses no preprocessing on
the source files, which means we can run that from CMake.
The test suites have been gathered together into bigger files (one file
per suite, testing each of the different submodules of the library).
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
9ace34c8
|
2011-01-07T12:07:15
|
|
Revised build configuration for MSVC.
Major changes and rationale:
- /WX: absolutely vital when compiling in C-mode as the compiler is
incredibly lenient on what is allowed to compile. It allows functions to be
called without prototypes declared, treating them as functions returning int
taking an unspecified (read: unrestricted) list of arguments, without any
type checking! It will simply issue a warning, which is easily overlooked.
A real example: it will allow you to call ceil(1.75) without first including
<math.h> causing UB, returning bogus results like 1023 on the machine I
tested on.
- Release build separate from debug.
Presently release builds don't exist. Consequently they are completely
untested. Many bugs may only manifest themselves in release mode. The current
configuration sets debug-only flags like /RTC1 which are incompatible with
optimization (/O2).
In addition, the Windows build of libgit2 has no optimized version. This
change resolves this.
- Added checksum generation in image headers. This is so debuggers don't
complain about checksum mismatches and provides a small amount of consistency
to binaries.
|
|
2645053b
|
2011-01-04T01:17:07
|
|
Find proper path to 'ldconfig' on wscript
Don't hardcode the '/sbin/ldconfig' path; also, don't run anything if
ldconfig cannot be found (Mac OS X, for instance).
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
51035184
|
2010-12-23T01:00:40
|
|
Prevent test manifests from being run
The test runner was running the manifest and other crap files. Now it
filters out to just the executables.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
e6c8966d
|
2010-12-23T00:49:34
|
|
Merge branch 'call-ldconfig-on-unix' of https://github.com/marvil07/libgit2
|
|
f4649655
|
2010-12-23T00:48:35
|
|
Merge branch 'waf-pkgconfig-typo' of https://github.com/marvil07/libgit2
|
|
e7379f33
|
2010-12-23T00:43:07
|
|
Link tests with the raw objects
Fix the test building issues once for all; each test is linked
with the raw objects of the library, not with any compiled version. That
way we make sure the tests always run, and are always linked with the
latest and most up-to-date version of the code.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
0847dff5
|
2010-12-22T21:57:48
|
|
Fix test builds in Win32
Use forward slashes for the TEST_RESOURCES definition. libgit2 uses only
forward slashes.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
a58e6a5f
|
2010-12-22T13:39:13
|
|
Run ldconfig on install at unix platforms.
|
|
bd6eb230
|
2010-12-22T04:02:18
|
|
minor: Let waf write the right values for prefix and libdir at pkg-config file.
|
|
f70cbbc5
|
2010-12-18T03:16:04
|
|
Link tests with shared library, not static
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
2cd6d686
|
2010-12-10T05:53:39
|
|
Tests now run with the resources folder as a hardcoded path
Each tests expects a "TEST_RESOURCES" define with the full path to the
resources folder.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
9de351b2
|
2010-12-09T23:06:02
|
|
Move documentation generation to the Waf system
The new command is './waf doxygen'
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
44908fe7
|
2010-12-06T23:03:16
|
|
Change the library include file
Libgit2 is now officially include as
#include "<git2.h>"
or indidividual files may be included as
#include <git2/index.h>
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
d12299fe
|
2010-12-03T22:22:10
|
|
Change include structure for the project
The maze with include dependencies has been fixed.
There is now a global include:
#include <git.h>
The git_odb_backend API has been exposed.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
8507ab12
|
2010-11-24T17:49:55
|
|
Improve build system for MSVC
Add options to select architecture and compiler version.
Removed dependency on 'grep'.
Fix debug mode flags being always empty.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
e06551e5
|
2010-11-22T16:42:21
|
|
Add library dependencies to the build
The libgit2 shared library must be linked with all the dynamic libraries
it depends (z, openssl).
These libraries are now automatically detected during the configuration
phase.
Also, removed the linking dependency on libgit2 which Scott added: if
you link libgit2 with itself, the universe could implode, and we don't
want that to happen.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
405ac511
|
2010-11-23T22:43:54
|
|
Add --debug flag to toggle debugging
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
0ef70b4a
|
2010-11-23T23:25:30
|
|
Make the test suite depend on the static library
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
f8b422b6
|
2010-11-23T22:33:04
|
|
Use the proper Zlib version with MSVC
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
5dc2bee1
|
2010-11-23T14:33:46
|
|
Fix compilation in Win32
Currently, libgit2 compiles and passes all tests under MinGW, and
compiles but fails the test suite on MSVC 2010.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
b2898c45
|
2010-11-21T02:59:53
|
|
Add more features to the build system
- Windows 32 compilation
- Test system
- Shared and static libraries
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
c34a044f
|
2010-11-21T16:42:47
|
|
add library includes, remove Makefile and readme update for waf
|
|
d910be21
|
2010-11-21T18:07:28
|
|
Add separate commands for all possible actions
The build script now supports all the required features
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|
|
357547fa
|
2010-11-19T17:07:34
|
|
Change to waf as the buildsystem
Signed-off-by: Vicent Marti <tanoku@gmail.com>
|