Carlos Martín Nieto
a40bdfd420
Lock the OS thread when acessing errors
...
The library stores error information in thread-local storage, which
means we need to make sure that the Go runtime doesn't switch OS
threads between the time we call a function and th time we attempt to
retrieve the error information.
2013-12-18 16:18:32 +01:00
Carlos Martín Nieto
a5ad8de506
Don't repeat the pkg-config line
...
This is only needed once per package. Having it on every file makes the
build system ask about it n times, which is silly.
2013-11-14 00:23:04 +01:00
Vicent Martí
6c97b9ac9d
Merge pull request #36 from libgit2/ref-iter
...
reference: get references out of the iterator
2013-09-17 08:03:50 -07:00
Carlos Martín Nieto
b5aca803db
Give each const group a type
...
This allows us to restrict which constants the compiler will allow
through, and makes the sorting in the documentation better.
2013-09-12 10:46:20 +02:00
Carlos Martín Nieto
00e3df94c7
Camel-case constants
...
Make the names look more like what you'd expect from Go.
2013-09-12 10:40:57 +02:00
Carlos Martín Nieto
4abda3a60b
reference: get references out of the iterator
...
Allow getting references out of the iterator instead of just names.
2013-08-09 18:22:26 +02:00
Carlos Martín Nieto
f5fc7e5f78
Reference: adjust to iterator changes
...
The Library's iterators now can return either the reference or the
reference's name. As the name is what we're set up for, rename the
functions appropriately so we compile against altest development.
2013-06-17 02:08:13 +02:00
Carlos Martín Nieto
931f187301
Implement a reference iterator
...
Wrap the reference iterators, and provide a Iter() function to get
them through a channel.
2013-05-23 11:13:42 +02:00
Carlos Martín Nieto
0b2f16665d
Wrap immutable refs
2013-03-07 21:01:21 +01:00