<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src/unix/map.c, branch cmn/diff-binary-patch</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/'/>
<entry>
<title>Fix segmentation fault observed on OpenBSD/sparc64</title>
<updated>2014-11-03T12:49:04+00:00</updated>
<author>
<name>Stefan Sperling</name>
<email>stsp@openbsd.org</email>
</author>
<published>2014-11-03T12:46:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=aad0bd6bc78b79bb8c0778c0c135c167d359fe12'/>
<id>aad0bd6bc78b79bb8c0778c0c135c167d359fe12</id>
<content type='text'>
A non-readable mapping of a file causes an access violation in
the pack tests. Always use PROT_READ to work around this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A non-readable mapping of a file causes an access violation in
the pack tests. Always use PROT_READ to work around this.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compiler warning (git_off_t cast to size_t).</title>
<updated>2014-05-20T00:37:29+00:00</updated>
<author>
<name>Albert Meltzer</name>
<email>kitbellew@users.noreply.github.com</email>
</author>
<published>2014-05-18T14:54:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=62e562f92b45b6a9b124452f7de6b9e86a179224'/>
<id>62e562f92b45b6a9b124452f7de6b9e86a179224</id>
<content type='text'>
Use size_t for page size, instead of long. Check result of sysconf.
Use size_t for page offset so no cast to size_t (second arg to p_mmap).
Use mod instead div/mult pair, so no cast to size_t is necessary.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use size_t for page size, instead of long. Check result of sysconf.
Use size_t for page offset so no cast to size_t (second arg to p_mmap).
Use mod instead div/mult pair, so no cast to size_t is necessary.
</pre>
</div>
</content>
</entry>
<entry>
<title>indexer: use mmap for writing</title>
<updated>2014-05-16T23:39:43+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-05-13T00:41:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=f7310540ae888454f9ab69200cfcd8df07faf957'/>
<id>f7310540ae888454f9ab69200cfcd8df07faf957</id>
<content type='text'>
Some OSs cannot keep their ideas about file content straight when mixing
standard IO with file mapping. As we use mmap for reading from the
packfile, let's make writing to the pack file use mmap.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some OSs cannot keep their ideas about file content straight when mixing
standard IO with file mapping. As we use mmap for reading from the
packfile, let's make writing to the pack file use mmap.
</pre>
</div>
</content>
</entry>
<entry>
<title>Test cancel from indexer progress callback</title>
<updated>2013-12-11T23:02:20+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2013-12-11T23:02:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=7697e54176ccab22ed6d4597d7256e9a1e6ff202'/>
<id>7697e54176ccab22ed6d4597d7256e9a1e6ff202</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>update copyrights</title>
<updated>2013-01-08T23:31:27+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2013-01-08T23:07:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=359fc2d241ac407bdf9bf0d28715705f01ca6360'/>
<id>359fc2d241ac407bdf9bf0d28715705f01ca6360</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>posix: Always set a default mapping mode</title>
<updated>2012-08-27T01:00:10+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>tanoku@gmail.com</email>
</author>
<published>2012-08-23T22:47:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=17f7bde2f730723f6edae66b454afba481595bb0'/>
<id>17f7bde2f730723f6edae66b454afba481595bb0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make this more generic and mergeable.</title>
<updated>2012-06-13T22:16:14+00:00</updated>
<author>
<name>Chris Young</name>
<email>chris@unsatisfactorysoftware.co.uk</email>
</author>
<published>2012-06-13T22:16:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=96ef3d84629ef72fb662d95abbab3de634921678'/>
<id>96ef3d84629ef72fb662d95abbab3de634921678</id>
<content type='text'>
Needs AmigaOS.cmake now from CMake package at OS4Depot, or contents below:
--8&lt;--
SET(AMIGA 1)
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC")
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
--8&lt;--
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Needs AmigaOS.cmake now from CMake package at OS4Depot, or contents below:
--8&lt;--
SET(AMIGA 1)
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC")
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
--8&lt;--
</pre>
</div>
</content>
</entry>
<entry>
<title>Actually do the mmap... unsurprisingly, this makes the indexer work on SFS</title>
<updated>2012-06-12T18:25:09+00:00</updated>
<author>
<name>Chris Young</name>
<email>chris@unsatisfactorysoftware.co.uk</email>
</author>
<published>2012-06-12T18:25:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=2aeadb9c78df4b463ffb3293e242e19a7e0d17a9'/>
<id>2aeadb9c78df4b463ffb3293e242e19a7e0d17a9</id>
<content type='text'>
On RAM: the .idx and .pack files become links to a .lock and the original download respectively.
Assume some feature (such as record locking) supported by SFS but not JXFS or RAM: is required.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On RAM: the .idx and .pack files become links to a .lock and the original download respectively.
Assume some feature (such as record locking) supported by SFS but not JXFS or RAM: is required.
</pre>
</div>
</content>
</entry>
<entry>
<title>Basic mmap/munmap compatiblity</title>
<updated>2012-06-10T17:08:15+00:00</updated>
<author>
<name>Chris Young</name>
<email>chris@unsatisfactorysoftware.co.uk</email>
</author>
<published>2012-06-10T17:08:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=90490113af9cef092b36c5ee0231c11675ed9f51'/>
<id>90490113af9cef092b36c5ee0231c11675ed9f51</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'source/development' into update-test</title>
<updated>2012-06-07T19:29:22+00:00</updated>
<author>
<name>Chris Young</name>
<email>chris@unsatisfactorysoftware.co.uk</email>
</author>
<published>2012-06-07T19:29:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=c3f35902f3f951de5ce5193409f336ee45c682b6'/>
<id>c3f35902f3f951de5ce5193409f336ee45c682b6</id>
<content type='text'>
Merging main libgit2!
Conflicts:
	CMakeLists.txt
	src/unix/map.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Merging main libgit2!
Conflicts:
	CMakeLists.txt
	src/unix/map.c
</pre>
</div>
</content>
</entry>
</feed>
