]> git.proxmox.com Git - libgit2.git/log
libgit2.git
13 years agoconfig: Fix unmatched parameters in docs
Vicent Marti [Wed, 29 Jun 2011 13:11:34 +0000 (15:11 +0200)]
config: Fix unmatched parameters in docs

13 years agoMerge pull request #287 from kiryl/development
Vicent Martí [Thu, 30 Jun 2011 14:12:42 +0000 (07:12 -0700)]
Merge pull request #287 from kiryl/development

filebuf: fix endless loop on writing buf > WRITE_BUFFER_SIZE

13 years agoMerge pull request #288 from nulltoken/patch-4
Vicent Martí [Thu, 30 Jun 2011 14:11:04 +0000 (07:11 -0700)]
Merge pull request #288 from nulltoken/patch-4

GIT_EXTERN'd  head_detached() and head_orphan()

13 years agorepository: Make head_detached() and head_orphan() convenience methods accessible...
nulltoken [Thu, 30 Jun 2011 13:56:58 +0000 (06:56 -0700)]
repository: Make head_detached() and head_orphan() convenience methods accessible to bindings

13 years agofilebuf: fix endless loop on writing buf > WRITE_BUFFER_SIZE
Kirill A. Shutemov [Wed, 29 Jun 2011 21:16:23 +0000 (00:16 +0300)]
filebuf: fix endless loop on writing buf > WRITE_BUFFER_SIZE

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
13 years agoMerge pull request #284 from nulltoken/topic/hide-git-dir
Vicent Martí [Wed, 29 Jun 2011 19:14:29 +0000 (12:14 -0700)]
Merge pull request #284 from nulltoken/topic/hide-git-dir

Hide ".git" directory on Windows upon creation of a non bare repository

13 years agoHide ".git" directory on Windows upon creation of a non bare repository
nulltoken [Wed, 29 Jun 2011 12:06:18 +0000 (14:06 +0200)]
Hide ".git" directory on Windows upon creation of a non bare repository

Directory which name starts with a dot are hidden on Linux platforms. This patch makes libgit2 behaves similarly on Windows.

13 years agoconfig: `foreach` now returns variable values too
Vicent Marti [Wed, 29 Jun 2011 13:09:21 +0000 (15:09 +0200)]
config: `foreach` now returns variable values too

13 years agorefs: Remove duplicate rename method
Vicent Marti [Wed, 29 Jun 2011 09:01:35 +0000 (11:01 +0200)]
refs: Remove duplicate rename method

`git_reference_rename` now takes a `force` flag

13 years agosig: allow empty names
Carlos Martín Nieto [Tue, 28 Jun 2011 20:04:27 +0000 (22:04 +0200)]
sig: allow empty names

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agorepo: Fix git_repository_is_empty
Vicent Marti [Tue, 28 Jun 2011 19:30:15 +0000 (21:30 +0200)]
repo: Fix git_repository_is_empty

13 years agotest: Properly show error messages
Vicent Marti [Tue, 28 Jun 2011 19:04:59 +0000 (21:04 +0200)]
test: Properly show error messages

13 years agotest: Print last error message properly
Vicent Marti [Tue, 28 Jun 2011 18:27:38 +0000 (20:27 +0200)]
test: Print last error message properly

13 years agorepo: Rename HEAD-related methods
Vicent Marti [Tue, 28 Jun 2011 19:09:22 +0000 (21:09 +0200)]
repo: Rename HEAD-related methods

13 years agocommit: Allow spaces inside email addresses
Vicent Marti [Tue, 28 Jun 2011 17:52:41 +0000 (19:52 +0200)]
commit: Allow spaces inside email addresses

Core Git doesn't care when people use spaces in the email address, even
though this kind of foolery receives the capital punishment in several
states of the USA.

We must obey.

13 years agoMerge pull request #279 from carlosmn/detached-orphan
Vicent Martí [Tue, 28 Jun 2011 17:44:19 +0000 (10:44 -0700)]
Merge pull request #279 from carlosmn/detached-orphan

Add detached and orphan convenience functions

13 years agorefs: Remove unused declarations
Vicent Marti [Tue, 28 Jun 2011 17:43:36 +0000 (19:43 +0200)]
refs: Remove unused declarations

13 years agoMerge pull request #277 from schu/sign-compare
Vicent Martí [Tue, 28 Jun 2011 17:39:07 +0000 (10:39 -0700)]
Merge pull request #277 from schu/sign-compare

Fix warning: signed and unsigned type in cond expr

13 years agoRemove redundant methods from the API
Vicent Marti [Tue, 28 Jun 2011 17:15:48 +0000 (19:15 +0200)]
Remove redundant methods from the API

A bunch of redundant methods have been removed from the external API.

- All the reference/tag creation methods with `_f` are gone. The force
flag is now passed as an argument to the normal create methods.

- All the different commit creation methods are gone; commit creation
now always requires a `git_commit` pointer for parents and a `git_tree`
pointer for tree, to ensure that corrupted commits cannot be generated.

- All the different tag creation methods are gone; tag creation now
always requires a `git_object` pointer to ensure that tags are not
created to inexisting objects.

13 years agoAdd tests for detached and orphan
Carlos Martín Nieto [Tue, 28 Jun 2011 12:11:24 +0000 (14:11 +0200)]
Add tests for detached and orphan

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoAdd git_repository_is_detached, git_repository_is_orphan
Carlos Martín Nieto [Tue, 28 Jun 2011 11:55:00 +0000 (13:55 +0200)]
Add git_repository_is_detached, git_repository_is_orphan

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agogit_blob_create_fromfile: remove old code
schu [Sun, 26 Jun 2011 15:57:40 +0000 (17:57 +0200)]
git_blob_create_fromfile: remove old code

Remove call of gitfo_size, since we call gitfo_lstat anyway; remove some
old workaround code for gitfo_read, which is obsolete now.

Signed-off-by: schu <schu-github@schulog.org>
13 years agoMerge pull request #276 from carlosmn/development
Vicent Martí [Sun, 26 Jun 2011 15:33:11 +0000 (08:33 -0700)]
Merge pull request #276 from carlosmn/development

Bring back GCC flags

13 years agoBring back GCC flags
Carlos Martín Nieto [Sun, 26 Jun 2011 14:37:04 +0000 (16:37 +0200)]
Bring back GCC flags

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
13 years agorevwalk: Do not set error string on revwalk over
Vicent Marti [Fri, 24 Jun 2011 13:30:10 +0000 (15:30 +0200)]
revwalk: Do not set error string on revwalk over

13 years agocmake: Do not pass `/Tc` to MSVC
Vicent Marti [Thu, 23 Jun 2011 20:45:09 +0000 (22:45 +0200)]
cmake: Do not pass `/Tc` to MSVC

13 years agoMerge pull request #273 from GeneralMaximus/development
Vicent Martí [Thu, 23 Jun 2011 11:38:38 +0000 (04:38 -0700)]
Merge pull request #273 from GeneralMaximus/development

added defines for Haiku in types.h

13 years agoadded defines for Haiku in types.h
Ankur Sethi [Thu, 23 Jun 2011 13:36:09 +0000 (13:36 +0000)]
added defines for Haiku in types.h

13 years agorefs: Do not overflow when normalizing refnames
Vicent Marti [Thu, 23 Jun 2011 00:28:29 +0000 (02:28 +0200)]
refs: Do not overflow when normalizing refnames

13 years agoMerge pull request #269 from schu/infinite-append
Vicent Martí [Tue, 21 Jun 2011 20:53:48 +0000 (13:53 -0700)]
Merge pull request #269 from schu/infinite-append

gitfo_read: fix read-loop

13 years agoMerge pull request #270 from carlosmn/valgrind
Vicent Martí [Tue, 21 Jun 2011 14:24:57 +0000 (07:24 -0700)]
Merge pull request #270 from carlosmn/valgrind

Two memory access fixes

13 years agoStat files with full pathnames
Carlos Martín Nieto [Mon, 20 Jun 2011 15:53:21 +0000 (17:53 +0200)]
Stat files with full pathnames

Call gitfo_lstat with the full pathname instead of the relative one,
which fails in case the current working directory is different from
the workdir.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoAllocate enough memory for the terminator in commit parsing
Carlos Martín Nieto [Mon, 20 Jun 2011 15:34:01 +0000 (17:34 +0200)]
Allocate enough memory for the terminator in commit parsing

Also allow space for the null-terminator when allocating the buffer in
packfile_unpack_compressed. Up to now, the last newline had served as
a terminator, but 858ef372 searches for a double-newline and exposes
the problem.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agogitfo_read: fix read-loop
schu [Mon, 20 Jun 2011 15:25:13 +0000 (17:25 +0200)]
gitfo_read: fix read-loop

Signed-off-by: schu <schu-github@schulog.org>
13 years agoAdd test case checking GIT_FILEBUF_APPEND
schu [Mon, 20 Jun 2011 08:40:21 +0000 (10:40 +0200)]
Add test case checking GIT_FILEBUF_APPEND

Signed-off-by: schu <schu-github@schulog.org>
13 years agolibgit2 v0.13.0 "Watermelon Wheat"
Vicent Marti [Sat, 18 Jun 2011 19:14:55 +0000 (21:14 +0200)]
libgit2 v0.13.0 "Watermelon Wheat"

On this rascalicious minor release of libgit2:

- We've dropped support for Waf. All the build process is now managed
through CMake for all platforms.

- We've removed the custom backends from the repository. You can now
find a collection of Custom backends on their own repo, under the
libgit2 org. Including MySQL and Memcache backends, courtesy of the
beardful Brian Lopez.

- We are rocking a new documentation system, Docurium, courtesy of the
insightful Scott Chacon. Check out the details for each single method
in our external API and the way they've evolved through the history
of the library:

http://libgit2.github.com/libgit2/

This will certainly come in handy if you are developing bindings for
the library.

- You can now check the linked version of the library from your
application or bindings, using `git_libgit2_version`.

- We have a gazillion new features, courtesy of our invaluable
collaborators, including:

* Support for Config files!
* Support for prefix-only reads on the ODB
* Repository discovery
* Support for the Unmerged Entries index extension
* Better Windows support
* 30.000 bug fixes (actual number may be lower)

Thanks as always to everyone who makes this project possible.

Here's the full list of all external API changes:

- git_index_open_bare
- git_index_open_inrepo
- git_odb_backend_sqlite
- git_oid_mkraw
- git_oid_mkstr
- git_reference_listcb
- git_repository_workdir

= git_index_get
= git_repository_path
= git_tree_entry_byindex

+ git_blob_lookup_prefix
+ git_commit_lookup_prefix
+ git_config_add_file
+ git_config_add_file_ondisk
+ git_config_file__ondisk
+ git_config_find_global
+ git_config_foreach
+ git_config_free
+ git_config_get_bool
+ git_config_get_int
+ git_config_get_long
+ git_config_get_string
+ git_config_new
+ git_config_open_global
+ git_config_open_ondisk
+ git_config_set_bool
+ git_config_set_int
+ git_config_set_long
+ git_config_set_string
+ git_index_entry_stage
+ git_index_entrycount_unmerged
+ git_index_get_unmerged_byindex
+ git_index_get_unmerged_bypath
+ git_index_open
+ git_object_lookup_prefix
+ git_odb_read_prefix
+ git_oid_fromraw
+ git_oid_fromstr
+ git_oid_ncmp
+ git_reference_foreach
+ git_repository_config
+ git_repository_discover
+ git_repository_is_bare
+ git_tag_lookup_prefix
+ git_tree_entry_type
+ git_tree_lookup_prefix

13 years agoodb: Add GIT_EPASSTHROUGH
Vicent Marti [Sun, 19 Jun 2011 10:48:16 +0000 (12:48 +0200)]
odb: Add GIT_EPASSTHROUGH

Allows a custom user backend to passthrough one of the callbacks. Used
for e.g. caching backends.

13 years agoconfig: Fix API docs
Vicent Marti [Sat, 18 Jun 2011 13:07:41 +0000 (15:07 +0200)]
config: Fix API docs

13 years agoMerge pull request #268 from nulltoken/patch-3
Vicent Martí [Sun, 19 Jun 2011 10:50:19 +0000 (03:50 -0700)]
Merge pull request #268 from nulltoken/patch-3

Fix link to API documentation

13 years agoFix link to API documentation
nulltoken [Sat, 18 Jun 2011 16:07:51 +0000 (09:07 -0700)]
Fix link to API documentation

13 years agomingw: Fix compilation
Vicent Marti [Sat, 18 Jun 2011 11:23:19 +0000 (13:23 +0200)]
mingw: Fix compilation

13 years agoconfig: Fix sorting of repository config files
Vicent Marti [Sat, 18 Jun 2011 00:08:56 +0000 (02:08 +0200)]
config: Fix sorting of repository config files

13 years agoconfig: Bring back `git_config_open_global`
Vicent Marti [Fri, 17 Jun 2011 23:50:48 +0000 (01:50 +0200)]
config: Bring back `git_config_open_global`

Scott commands, I obey.

13 years agoconfig: Update examples
Vicent Marti [Fri, 17 Jun 2011 23:17:58 +0000 (01:17 +0200)]
config: Update examples

13 years agoconfig: Fix compilation in MSVC
Vicent Marti [Fri, 17 Jun 2011 23:12:58 +0000 (01:12 +0200)]
config: Fix compilation in MSVC

13 years agoconfig: Typorrrrl
Vicent Marti [Fri, 17 Jun 2011 22:54:24 +0000 (00:54 +0200)]
config: Typorrrrl

13 years agoMerge pull request #267 from Jopie64/development
Vicent Martí [Fri, 17 Jun 2011 22:44:26 +0000 (15:44 -0700)]
Merge pull request #267 from Jopie64/development

Fix compilation error in MSVC when compiling for c++

13 years agoconfig: Cleanup external API
Vicent Marti [Fri, 17 Jun 2011 22:39:39 +0000 (00:39 +0200)]
config: Cleanup external API

Do not mess with environment variables anymore. The new external API has
more helper methods, and everything is explicit.

13 years agoFix compilation error in MSVC when compiling for c++
Johan 't Hart [Tue, 7 Jun 2011 20:09:22 +0000 (22:09 +0200)]
Fix compilation error in MSVC when compiling for c++

13 years agoAdd fall-back support to the configuration
Carlos Martín Nieto [Thu, 16 Jun 2011 18:06:36 +0000 (20:06 +0200)]
Add fall-back support to the configuration

If a config has several files, we need to check all of them before we
can say that a variable doesn't exist.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoAdd a test for overriding config
Carlos Martín Nieto [Thu, 16 Jun 2011 17:56:48 +0000 (19:56 +0200)]
Add a test for overriding config

The repo's configuration should take precedence over the global one.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoParse the repo's configuration when we load it
Carlos Martín Nieto [Thu, 16 Jun 2011 17:54:37 +0000 (19:54 +0200)]
Parse the repo's configuration when we load it

It's not enough to load the config, we also need to explicitely parse
it after we create it.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoAdd git_repository_config API
Carlos Martín Nieto [Thu, 16 Jun 2011 15:46:06 +0000 (17:46 +0200)]
Add git_repository_config API

This function puts the global and repository configurations in one
git_config object and gives it to the user.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoRemove double-space
Carlos Martín Nieto [Thu, 16 Jun 2011 14:55:11 +0000 (16:55 +0200)]
Remove double-space

Noticed by txdv

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoconfig: Fix unitialized variable warning
Vicent Marti [Fri, 17 Jun 2011 17:47:58 +0000 (19:47 +0200)]
config: Fix unitialized variable warning

13 years agocmake: Build shared library by default
Vicent Marti [Fri, 17 Jun 2011 17:40:51 +0000 (19:40 +0200)]
cmake: Build shared library by default

13 years agowindows: Disable Runtime checks
Vicent Marti [Fri, 17 Jun 2011 17:27:11 +0000 (19:27 +0200)]
windows: Disable Runtime checks

Runtime checks are asserting on the embedded ZLib code because of
truncation (see zlib/trees.c:218). This is not good or pretty, but I'm
wary about patching the ZLib code even more.

There are two ways to fix this:

- Patch the ZLib code, and start storing a diff/patchset on
how does our version of ZLib differ from the original one, so we can
be more or less on sync when new version of ZLib.

- Go back to ZLib as an external dependency, which is np for *NIX
users but annoying as dicks for Windows users.

THINK HARD

13 years agoMerge pull request #264 from nulltoken/patch-2
Vicent Martí [Fri, 17 Jun 2011 17:32:42 +0000 (10:32 -0700)]
Merge pull request #264 from nulltoken/patch-2

Fix misleading comment in CMake build script

13 years agoMerge pull request #266 from carlosmn/valgrind
Vicent Martí [Fri, 17 Jun 2011 17:32:22 +0000 (10:32 -0700)]
Merge pull request #266 from carlosmn/valgrind

Plug memory leaks

13 years agofileops: Cast the GetProcAddress value
Vicent Marti [Fri, 17 Jun 2011 17:19:30 +0000 (19:19 +0200)]
fileops: Cast the GetProcAddress value

13 years agofileops: Fix 'GetFinalPathNameByHandleA' in old platforms
Vicent Marti [Fri, 17 Jun 2011 17:08:06 +0000 (19:08 +0200)]
fileops: Fix 'GetFinalPathNameByHandleA' in old platforms

13 years agoPlug an index leak
Carlos Martín Nieto [Thu, 16 Jun 2011 18:30:40 +0000 (20:30 +0200)]
Plug an index leak

The test wasn't updated when repos lost ownership of indices

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoPlug leaks in the repo discovery tests
Carlos Martín Nieto [Thu, 16 Jun 2011 18:24:51 +0000 (20:24 +0200)]
Plug leaks in the repo discovery tests

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoPlug two leaks in config writing
Carlos Martín Nieto [Thu, 16 Jun 2011 18:22:05 +0000 (20:22 +0200)]
Plug two leaks in config writing

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoFix misleading comment in CMake build script
<emeric.fermas@gmail.com> [Thu, 16 Jun 2011 15:10:25 +0000 (08:10 -0700)]
Fix misleading comment in CMake build script

13 years agoMerge pull request #263 from carlosmn/refs-writing
Vicent Martí [Thu, 16 Jun 2011 15:01:47 +0000 (08:01 -0700)]
Merge pull request #263 from carlosmn/refs-writing

Simplify loose ref writing

13 years agoSimplify loose ref writing
Carlos Martín Nieto [Thu, 16 Jun 2011 14:39:20 +0000 (16:39 +0200)]
Simplify loose ref writing

There is no need to store the format outselves, as the library
provides git_filebuf_printf which takes care of the formatting itself.

Also get rid of an use of strcat + strcpy which is always a nice
thing.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoUpdate documentation
Vicent Marti [Thu, 16 Jun 2011 01:02:46 +0000 (03:02 +0200)]
Update documentation

Fix all the missmatched arguments in the docs

13 years agooid: Uniformize ncmp methods
Vicent Marti [Thu, 16 Jun 2011 00:48:48 +0000 (02:48 +0200)]
oid: Uniformize ncmp methods

Drop redundant methods. The ncmp method is now public

13 years agooid: Rename methods
Vicent Marti [Thu, 16 Jun 2011 00:36:21 +0000 (02:36 +0200)]
oid: Rename methods

Yeah. Finally. Fuck the old names, this ain't POSIX
and they don't make any sense at all.

13 years agorefs: Rename git_referece_listcb to _foreach
Vicent Marti [Thu, 16 Jun 2011 00:27:43 +0000 (02:27 +0200)]
refs: Rename git_referece_listcb to _foreach

Same name as `git_config_foreach`

13 years agoMerge pull request #248 from carlosmn/config
Vicent Martí [Thu, 16 Jun 2011 00:24:04 +0000 (17:24 -0700)]
Merge pull request #248 from carlosmn/config

Implement config writing

13 years agoAdd method to get the compiled version of the lib
Vicent Marti [Thu, 16 Jun 2011 00:21:33 +0000 (02:21 +0200)]
Add method to get the compiled version of the lib

13 years agoMerge pull request #261 from Romain-Geissler/discovery-path-v2
Vicent Martí [Wed, 15 Jun 2011 20:47:41 +0000 (13:47 -0700)]
Merge pull request #261 from Romain-Geissler/discovery-path-v2

Fix: GIT_PATH_PATH_SEPARATOR is now a semi-colon under Windows.

13 years agoFix: GIT_PATH_PATH_SEPARATOR is now a semi-colon under Windows.
Romain Geissler [Wed, 15 Jun 2011 10:36:08 +0000 (12:36 +0200)]
Fix: GIT_PATH_PATH_SEPARATOR is now a semi-colon under Windows.

GIT_PATH_LIST_SEPARATOR and GIT_PATH_MAX are made public so
that it's can be used by a client.

13 years agoMerge pull request #251 from nulltoken/fix/msvc-warnings
Vicent Martí [Wed, 15 Jun 2011 19:15:11 +0000 (12:15 -0700)]
Merge pull request #251 from nulltoken/fix/msvc-warnings

Fix compilation warnings in MSVC

13 years agoMerge pull request #260 from nulltoken/fix/git_index_add
Vicent Martí [Wed, 15 Jun 2011 19:11:59 +0000 (12:11 -0700)]
Merge pull request #260 from nulltoken/fix/git_index_add

Fix git_index_add()

13 years agogit_index_add: enforce test coverage
nulltoken [Wed, 15 Jun 2011 14:06:20 +0000 (16:06 +0200)]
git_index_add: enforce test coverage

13 years agoblob: Fix git_blob_create_fromfile()
nulltoken [Wed, 15 Jun 2011 14:05:33 +0000 (16:05 +0200)]
blob: Fix git_blob_create_fromfile()

13 years agoAdd mode_t definition in MSVC compat layer
nulltoken [Wed, 15 Jun 2011 15:04:11 +0000 (17:04 +0200)]
Add mode_t definition in MSVC compat layer

13 years agoMerge pull request #259 from schu/nitpicky-markdown
Vicent Martí [Wed, 15 Jun 2011 17:39:20 +0000 (10:39 -0700)]
Merge pull request #259 from schu/nitpicky-markdown

README.md: do not break syntax highlighting

13 years agoupdate examples content to be compilable and up to date
Scott Chacon [Wed, 15 Jun 2011 16:38:55 +0000 (09:38 -0700)]
update examples content to be compilable and up to date

13 years agoREADME.md: do not break syntax highlighting
schu [Wed, 15 Jun 2011 12:08:43 +0000 (14:08 +0200)]
README.md: do not break syntax highlighting

Signed-off-by: schu <schu-github@schulog.org>
13 years agofix the example urls
Scott Chacon [Tue, 14 Jun 2011 22:15:11 +0000 (15:15 -0700)]
fix the example urls

13 years agoadd examples for docs
Scott Chacon [Tue, 14 Jun 2011 16:27:46 +0000 (09:27 -0700)]
add examples for docs

13 years agoreplace stupid doxygen
Scott Chacon [Tue, 14 Jun 2011 15:17:53 +0000 (08:17 -0700)]
replace stupid doxygen

13 years agoAdd CTest support for CI
Vicent Marti [Tue, 14 Jun 2011 18:00:06 +0000 (20:00 +0200)]
Add CTest support for CI

13 years agofix gid_ misspelling
Scott Chacon [Tue, 14 Jun 2011 16:31:19 +0000 (09:31 -0700)]
fix gid_ misspelling

13 years agoPort MSVC specific Waf compilation flags to CMake and remove dynamic dependence to...
Em [Tue, 14 Jun 2011 13:37:10 +0000 (06:37 -0700)]
Port MSVC specific Waf compilation flags to CMake and remove dynamic dependence to msvcr100.dll on Windows

The '/MT' and '/MTd' flags replace the dynamic link to 'msvcr100.dll' with a static link to 'libcmt.lib'. This has the nice effect to ease the deployment of libgit2 by removing the dependence on 'msvcr100.dll' which is not deployed by default on Windows.

13 years agoUpdate README.md
Vicent Marti [Tue, 14 Jun 2011 15:36:38 +0000 (17:36 +0200)]
Update README.md

13 years agobuild: Cleanup CMake
Vicent Marti [Mon, 13 Jun 2011 20:33:32 +0000 (22:33 +0200)]
build: Cleanup CMake

13 years agobuild: Drop waf support
Vicent Marti [Mon, 13 Jun 2011 13:34:34 +0000 (15:34 +0200)]
build: Drop waf support

Goodbye Waf. It's been a long ride.

13 years agoRemove custom backends
Vicent Marti [Sun, 12 Jun 2011 09:40:14 +0000 (11:40 +0200)]
Remove custom backends

All the custom backend code will be moved to a separate project,
together with the new MySQL backend.

13 years agoMerge pull request #258 from carlosmn/no-arpa
Vicent Martí [Tue, 14 Jun 2011 15:28:03 +0000 (08:28 -0700)]
Merge pull request #258 from carlosmn/no-arpa

Remove uneeded arpa/inet.h include

13 years agoRemove uneeded arpa/inet.h include
Carlos Martín Nieto [Tue, 14 Jun 2011 14:35:57 +0000 (16:35 +0200)]
Remove uneeded arpa/inet.h include

This header isn't needed at all and it shows a lot of warnings on
OpenBSD.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoTest replacing a value
Carlos Martín Nieto [Tue, 14 Jun 2011 12:26:08 +0000 (14:26 +0200)]
Test replacing a value

Add a test to check that value replacement works.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoIndent config variables with tags
Carlos Martín Nieto [Tue, 14 Jun 2011 11:08:30 +0000 (13:08 +0200)]
Indent config variables with tags

Confg variables are indended using tags and not four spaces as was
being done by the code.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
13 years agoFix filebuf0 test which was failing on Windows
nulltoken [Wed, 8 Jun 2011 20:15:49 +0000 (22:15 +0200)]
Fix filebuf0 test which was failing on Windows

13 years agoFix compilation warnings in MSVC
nulltoken [Wed, 8 Jun 2011 18:39:38 +0000 (20:39 +0200)]
Fix compilation warnings in MSVC

13 years agouse proper in-memory database for sqlite3 tests
Brian Lopez [Sun, 12 Jun 2011 05:05:26 +0000 (22:05 -0700)]
use proper in-memory database for sqlite3 tests