libgit2/src
Russell Belfer d85296ab9b Fix valgrind issues (and mmap fallback for diff)
This fixes a number of issues identified by valgrind - mostly
missed free calls.  Inside valgrind, mmap() may fail which causes
some of the diff tests to fail.  This adds a fallback code path
to diff_output.c:get_workdir_content() where is the mmap() fails
the code will now try to read the file data directly into allocated
memory (which is what it would do if the data needed to be filtered
anyhow).
2013-03-14 13:50:54 -07:00
..
amiga Added missing curly brackets and fixed compiler warnings. 2013-01-10 09:16:14 +01:00
hash Revert "hash: remove git_hash_init from internal api" 2013-02-26 01:08:34 +01:00
transports Style: Reverse lhs and rhs of == comparisons 2013-03-12 15:31:14 -04:00
unix Make tree iterator handle icase equivalence 2013-03-08 16:39:57 -08:00
win32 Merge pull request #1373 from arrbee/why-cdecl-why 2013-02-28 15:09:32 -08:00
xdiff Merge branch 'new-error-handling' into development 2012-05-02 15:59:02 -07:00
attr_file.c Vector improvements and their fallout 2013-01-27 14:17:07 -05:00
attr_file.h update copyrights 2013-01-08 17:31:27 -06:00
attr.c Do not fail if .gitignore is directory 2013-02-22 12:21:54 -08:00
attr.h update copyrights 2013-01-08 17:31:27 -06:00
blob.c update copyrights 2013-01-08 17:31:27 -06:00
blob.h update copyrights 2013-01-08 17:31:27 -06:00
branch.c immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
branch.h branch: Introduce git_branch_tracking_name() 2013-01-16 22:56:13 +01:00
bswap.h update copyrights 2013-01-08 17:31:27 -06:00
buf_text.c Change similarity metric to sampled hashes 2013-02-20 15:09:40 -08:00
buf_text.h Change similarity metric to sampled hashes 2013-02-20 15:09:40 -08:00
buffer.c update copyrights 2013-01-08 17:31:27 -06:00
buffer.h Add const to some buffer functions 2013-03-06 16:44:53 -08:00
cache.c update copyrights 2013-01-08 17:31:27 -06:00
cache.h update copyrights 2013-01-08 17:31:27 -06:00
cc-compat.h Fix gen_pktline format specifier for Win32 2013-01-22 09:25:15 -05:00
checkout.c Fix valgrind issues (and mmap fallback for diff) 2013-03-14 13:50:54 -07:00
checkout.h update copyrights 2013-01-08 17:31:27 -06:00
clone.c Clone should not delete directories it did not create 2013-03-01 14:56:09 -05:00
commit_list.c update copyrights 2013-01-08 17:31:27 -06:00
commit_list.h update copyrights 2013-01-08 17:31:27 -06:00
commit.c immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
commit.h update copyrights 2013-01-08 17:31:27 -06:00
common.h Fix some deprecation warnings on Windows 2013-02-28 14:41:26 -08:00
compress.c update copyrights 2013-01-08 17:31:27 -06:00
compress.h update copyrights 2013-01-08 17:31:27 -06:00
config_cache.c update copyrights 2013-01-08 17:31:27 -06:00
config_file.c Implement config key validation rules 2013-01-29 12:15:18 -08:00
config_file.h Implement config key validation rules 2013-01-29 12:15:18 -08:00
config.c Allow empty config object and use it 2013-03-01 13:41:53 -08:00
config.h update copyrights 2013-01-08 17:31:27 -06:00
crlf.c update copyrights 2013-01-08 17:31:27 -06:00
date.c Remove use of English expletives 2012-11-23 13:31:22 +00:00
delta-apply.c update copyrights 2013-01-08 17:31:27 -06:00
delta-apply.h update copyrights 2013-01-08 17:31:27 -06:00
delta.c update copyrights 2013-01-08 17:31:27 -06:00
delta.h Fix warnings on Win64 build 2012-11-27 13:18:29 -08:00
diff_output.c Fix valgrind issues (and mmap fallback for diff) 2013-03-14 13:50:54 -07:00
diff_output.h Fix MSVC compilation warnings 2013-02-05 20:33:27 +01:00
diff_tform.c handle small files in similarity metrics 2013-03-11 12:47:01 -05:00
diff.c Merge pull request #1408 from arrbee/refactor-iterators 2013-03-12 09:23:53 -07:00
diff.h Replace diff delta binary with flags 2013-02-20 15:10:21 -08:00
errors.c Fix valgrind issues (and mmap fallback for diff) 2013-03-14 13:50:54 -07:00
fetch.c update copyrights 2013-01-08 17:31:27 -06:00
fetch.h update copyrights 2013-01-08 17:31:27 -06:00
fetchhead.c immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
fetchhead.h update copyrights 2013-01-08 17:31:27 -06:00
filebuf.c update copyrights 2013-01-08 17:31:27 -06:00
filebuf.h update copyrights 2013-01-08 17:31:27 -06:00
fileops.c Merge pull request #1369 from arrbee/repo-init-template-hooks 2013-03-05 15:35:28 -08:00
fileops.h Merge pull request #1369 from arrbee/repo-init-template-hooks 2013-03-05 15:35:28 -08:00
filter.c update copyrights 2013-01-08 17:31:27 -06:00
filter.h update copyrights 2013-01-08 17:31:27 -06:00
fnmatch.c update copyrights 2013-01-08 17:31:27 -06:00
fnmatch.h update copyrights 2013-01-08 17:31:27 -06:00
global.c update copyrights 2013-01-08 17:31:27 -06:00
global.h update copyrights 2013-01-08 17:31:27 -06:00
graph.c update copyrights 2013-01-08 17:31:27 -06:00
hash.c update copyrights 2013-01-08 17:31:27 -06:00
hash.h Revert "hash: remove git_hash_init from internal api" 2013-02-26 01:08:34 +01:00
hashsig.c Make tree iterator handle icase equivalence 2013-03-08 16:39:57 -08:00
hashsig.h Refine pluggable similarity API 2013-02-20 15:09:41 -08:00
ignore.c Set up default internal ignores 2012-11-19 16:33:30 -08:00
ignore.h update copyrights 2013-01-08 17:31:27 -06:00
index.c Make iterator APIs consistent with standards 2013-03-06 16:52:01 -08:00
index.h Make iterator APIs consistent with standards 2013-03-06 16:52:01 -08:00
indexer.c indexer: use a hashtable for keeping track of offsets 2013-03-03 23:18:29 +01:00
iterator.c Improved tree iterator internals 2013-03-14 13:40:15 -07:00
iterator.h Add INCLUDE_TREES, DONT_AUTOEXPAND iterator flags 2013-03-06 16:52:01 -08:00
khash.h Isolate khash inlines from global namespace 2012-07-12 11:49:15 -07:00
map.h update copyrights 2013-01-08 17:31:27 -06:00
merge.c update copyrights 2013-01-08 17:31:27 -06:00
merge.h update copyrights 2013-01-08 17:31:27 -06:00
message.c update copyrights 2013-01-08 17:31:27 -06:00
message.h update copyrights 2013-01-08 17:31:27 -06:00
mwindow.c Global options setter 2013-01-23 02:58:58 +01:00
mwindow.h update copyrights 2013-01-08 17:31:27 -06:00
netops.c Merge pull request #1298 from ben/user-at 2013-02-04 14:49:28 -08:00
netops.h Enhance url parsing to include passwords 2013-01-31 14:04:21 -08:00
notes.c Make iterator APIs consistent with standards 2013-03-06 16:52:01 -08:00
notes.h fixed minor issues with new note iterator 2013-03-06 22:36:19 +01:00
object.c update copyrights 2013-01-08 17:31:27 -06:00
object.h update copyrights 2013-01-08 17:31:27 -06:00
odb_loose.c update copyrights 2013-01-08 17:31:27 -06:00
odb_pack.c indexer: properly free the packfile resources 2013-01-12 18:44:58 +01:00
odb.c odb: Refresh on exists query too 2013-01-10 15:43:08 +01:00
odb.h update copyrights 2013-01-08 17:31:27 -06:00
offmap.h pack: introduce a delta base cache 2013-01-11 16:55:37 +01:00
oid.c update copyrights 2013-01-08 17:31:27 -06:00
oidmap.h update copyrights 2013-01-08 17:31:27 -06:00
pack-objects.c indexer: use a hashtable for keeping track of offsets 2013-03-03 23:18:29 +01:00
pack-objects.h update copyrights 2013-01-08 17:31:27 -06:00
pack.c indexer: use a hashtable for keeping track of offsets 2013-03-03 23:18:29 +01:00
pack.h indexer: use a hashtable for keeping track of offsets 2013-03-03 23:18:29 +01:00
path.c Improved tree iterator internals 2013-03-14 13:40:15 -07:00
path.h Improved tree iterator internals 2013-03-14 13:40:15 -07:00
pathspec.c Return the matched pathspec pattern in git_pathspec_match_path 2013-02-07 20:44:34 +01:00
pathspec.h Return the matched pathspec pattern in git_pathspec_match_path 2013-02-07 20:44:34 +01:00
pool.c Improved tree iterator internals 2013-03-14 13:40:15 -07:00
pool.h Improved tree iterator internals 2013-03-14 13:40:15 -07:00
posix.c Fix memory leak in p_getaddrinfo on Amiga 2013-02-15 16:01:31 -08:00
posix.h Make tree iterator handle icase equivalence 2013-03-08 16:39:57 -08:00
pqueue.c update copyrights 2013-01-08 17:31:27 -06:00
pqueue.h update copyrights 2013-01-08 17:31:27 -06:00
push.c Implemented push on the local transport 2013-03-11 17:32:33 -04:00
push.h Implemented push on the local transport 2013-03-11 17:32:33 -04:00
refdb_fs.c immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
refdb_fs.h immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
refdb.c immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
refdb.h immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
reflog.c update copyrights 2013-01-08 17:31:27 -06:00
reflog.h update copyrights 2013-01-08 17:31:27 -06:00
refs.c immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
refs.h immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
refspec.c Teach refspec to transform destination reference to source reference 2013-02-11 11:36:28 -05:00
refspec.h update copyrights 2013-01-08 17:31:27 -06:00
remote.c immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
remote.h update copyrights 2013-01-08 17:31:27 -06:00
repo_template.h Make mode handling during init more like git 2013-02-27 13:44:15 -08:00
repository.c immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
repository.h immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
reset.c immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
revparse.c immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
revwalk.c update copyrights 2013-01-08 17:31:27 -06:00
revwalk.h update copyrights 2013-01-08 17:31:27 -06:00
sha1_lookup.c update copyrights 2013-01-08 17:31:27 -06:00
sha1_lookup.h update copyrights 2013-01-08 17:31:27 -06:00
signature.c signature: Small cleanup 2013-02-20 18:46:10 +01:00
signature.h update copyrights 2013-01-08 17:31:27 -06:00
stash.c immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
status.c Support case insensitive tree iterators and status 2013-01-15 09:51:35 -08:00
strmap.h update copyrights 2013-01-08 17:31:27 -06:00
submodule.c Make iterator APIs consistent with standards 2013-03-06 16:52:01 -08:00
submodule.h update copyrights 2013-01-08 17:31:27 -06:00
tag.c immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
tag.h update copyrights 2013-01-08 17:31:27 -06:00
thread-utils.c update copyrights 2013-01-08 17:31:27 -06:00
thread-utils.h update copyrights 2013-01-08 17:31:27 -06:00
trace.c optional tracing 2013-03-07 12:42:33 -06:00
trace.h optional tracing 2013-03-07 12:42:33 -06:00
transport.c update copyrights 2013-01-08 17:31:27 -06:00
tree-cache.c update copyrights 2013-01-08 17:31:27 -06:00
tree-cache.h update copyrights 2013-01-08 17:31:27 -06:00
tree.c Improved tree iterator internals 2013-03-14 13:40:15 -07:00
tree.h Store treebuilder length separately from entries vec 2013-02-20 10:50:01 -08:00
tsort.c Sorting function cleanup and MinGW fix 2013-03-11 16:43:58 -07:00
util.c MSVC: What could possibly be the size of a void*? 2013-03-12 20:36:35 +01:00
util.h Sorting function cleanup and MinGW fix 2013-03-11 16:43:58 -07:00
vector.c Now with no multiply 2013-01-29 16:49:12 -05:00
vector.h Merge the push report into the refs to avoid a 3rd network call 2013-02-08 15:21:37 -05:00