<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src/global.h, branch longpath-printf</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/'/>
<entry>
<title>error: store the error messages in a reusable buffer</title>
<updated>2015-07-28T07:31:00+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-07-26T19:12:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=f85fc367e01eb0f5918263b1fcdfc8b7d16065c1'/>
<id>f85fc367e01eb0f5918263b1fcdfc8b7d16065c1</id>
<content type='text'>
Instead of allocating a brand new buffer for each error string we want
to store, we can use a per-thread buffer to store the error string and
re-use the underlying storage. We already use the buffer to format the
string, so this mostly makes that more direct.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of allocating a brand new buffer for each error string we want
to store, we can use a per-thread buffer to store the error string and
re-use the underlying storage. We already use the buffer to format the
string, so this mostly makes that more direct.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename GIT_SSL to GIT_OPENSSL</title>
<updated>2015-04-23T15:39:51+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-03-19T08:55:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=24e53d2fba1ea10c27c3b19f202dc92cabedf0ed'/>
<id>24e53d2fba1ea10c27c3b19f202dc92cabedf0ed</id>
<content type='text'>
This is what it's meant all along, but now we actually have multiple
implementations, it's clearer to use the name of the library.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is what it's meant all along, but now we actually have multiple
implementations, it's clearer to use the name of the library.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename routine to free TLS data</title>
<updated>2015-04-18T13:07:48+00:00</updated>
<author>
<name>Jeff Hostetler</name>
<email>jeffhost@microsoft.com</email>
</author>
<published>2015-04-18T13:07:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=06c985d8647a254000ed172fd888cc853a2c91dd'/>
<id>06c985d8647a254000ed172fd888cc853a2c91dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Attempt to fix Windows TLS memory leak.</title>
<updated>2015-04-17T13:30:22+00:00</updated>
<author>
<name>Jeff Hostetler</name>
<email>jeffhost@microsoft.com</email>
</author>
<published>2015-04-17T13:30:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=55c5f756d80cb762fa21054c7460359424428668'/>
<id>55c5f756d80cb762fa21054c7460359424428668</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Factor 40 and 41 constants from source.</title>
<updated>2014-09-16T11:07:04+00:00</updated>
<author>
<name>Ciro Santilli</name>
<email>ciro.santilli@gmail.com</email>
</author>
<published>2014-09-16T09:49:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=3b2cb2c91ee77e5e45957e8355025e3e742c07bd'/>
<id>3b2cb2c91ee77e5e45957e8355025e3e742c07bd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>oid: Export `git_oid_tostr_s` instead of `_allocfmt`</title>
<updated>2014-08-18T10:41:06+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>tanoku@gmail.com</email>
</author>
<published>2014-08-18T10:41:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=4ca0b566ca811550b4db31045e580b4970e5b8e3'/>
<id>4ca0b566ca811550b4db31045e580b4970e5b8e3</id>
<content type='text'>
The old `allocfmt` is of no use to callers, as they are not able to free
the returned buffer. Export a new API that returns a static string that
doesn't need to be freed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The old `allocfmt` is of no use to callers, as they are not able to free
the returned buffer. Export a new API that returns a static string that
doesn't need to be freed.
</pre>
</div>
</content>
</entry>
<entry>
<title>ssl: init everything all the time</title>
<updated>2014-06-12T14:58:25+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-06-12T14:20:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=081e76bac26e1ed6adafb402d15b30c622866d61'/>
<id>081e76bac26e1ed6adafb402d15b30c622866d61</id>
<content type='text'>
Bring together all of the OpenSSL initialization to
git_threads_init() so it's together and doesn't need locks.

Moving it here also gives us libssh2 thread safety (when built against
openssl).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bring together all of the OpenSSL initialization to
git_threads_init() so it's together and doesn't need locks.

Moving it here also gives us libssh2 thread safety (when built against
openssl).
</pre>
</div>
</content>
</entry>
<entry>
<title>ssl: cargo-cult thread safety</title>
<updated>2014-06-12T12:37:03+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-06-12T01:20:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=cf15ac8aa96304a36699ae65398b7adac0d2ddde'/>
<id>cf15ac8aa96304a36699ae65398b7adac0d2ddde</id>
<content type='text'>
OpenSSL's tests init everything in the main thread, so let's do that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OpenSSL's tests init everything in the main thread, so let's do that.
</pre>
</div>
</content>
</entry>
<entry>
<title>netops: init OpenSSL once under lock</title>
<updated>2014-06-11T18:54:42+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-06-11T18:52:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=1d3364ac9d2bcd2d194f0afa0d301456d0d4e276'/>
<id>1d3364ac9d2bcd2d194f0afa0d301456d0d4e276</id>
<content type='text'>
The OpenSSL init functions are not reentrant, which means that running
multiple fetches in parallel can cause us to crash.

Use a mutex to init OpenSSL, and since we're adding this extra checks,
init it only once.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The OpenSSL init functions are not reentrant, which means that running
multiple fetches in parallel can cause us to crash.

Use a mutex to init OpenSSL, and since we're adding this extra checks,
init it only once.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add simple global shutdown hooks</title>
<updated>2013-09-17T16:31:45+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2013-09-11T19:45:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=a3aa5f4d5dcbe038f1d1c5ff40eed29d27953fbe'/>
<id>a3aa5f4d5dcbe038f1d1c5ff40eed29d27953fbe</id>
<content type='text'>
Increasingly there are a number of components that want to do some
cleanup at global shutdown time (at least if there are not going
to be memory leaks).  This creates a very simple system of shutdown
hooks that will be invoked by git_threads_shutdown.  Right now, the
maximum number of hooks is hardcoded, but since adding a hook is
not a public API, it should be fine and I thought it was better to
start off with really simple code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Increasingly there are a number of components that want to do some
cleanup at global shutdown time (at least if there are not going
to be memory leaks).  This creates a very simple system of shutdown
hooks that will be invoked by git_threads_shutdown.  Right now, the
maximum number of hooks is hardcoded, but since adding a hook is
not a public API, it should be fine and I thought it was better to
start off with really simple code.
</pre>
</div>
</content>
</entry>
</feed>
