summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-14ObjectType: capitalise TagCarlos Martín Nieto
2013-11-14Don't repeat the pkg-config lineCarlos Martín Nieto
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-13Packbuilder: adjust to changes in devCarlos Martín Nieto
2013-10-30branch: Deleted BranchForeachJohann Weging
2013-10-10branch:BranchForeach: Correct handling of the ListFlagsJohann Weging
2013-10-08branch: Renamed BranchLookup to LookupBrnachJohann Weging
2013-10-08branch: Renamed BranchCreate to CreateBranchJohann Weging
2013-10-08branch: Variable names don't repeat its type name any longerJohann Weging
2013-10-08branch: Changed BranchT to BranchTypeJohann Weging
2013-10-08branch: Implemented branch functions.Johann Weging
2013-09-22Remove leftover reference to old constCarlos Martín Nieto
2013-09-17Merge pull request #36 from libgit2/ref-iterVicent Martí
reference: get references out of the iterator
2013-09-17Merge pull request #38 from libgit2/odb-streamVicent Martí
Wrap the odb streams
2013-09-17Merge pull request #39 from libgit2/goify-constsVicent Martí
Goify consts
2013-09-12Give each const group a typeCarlos Martín Nieto
This allows us to restrict which constants the compiler will allow through, and makes the sorting in the documentation better.
2013-09-12Camel-case constantsCarlos Martín Nieto
Make the names look more like what you'd expect from Go.
2013-09-12Tree: add EntryByPathCarlos Martín Nieto
The more powerful version of EntryByName.
2013-09-11Object types are constantsCarlos Martín Nieto
Define the object type values as constants
2013-09-11Wrap the odb streamsCarlos Martín Nieto
The interface to these streams should be what you expect from Go, and both have Write and Close functions so they implement Reader/ReadCloser and Write/WriteCloser respectively.
2013-09-09Add Filemode to TreeEntryCarlos Martín Nieto
This field was missing, so let's add it, and let's add the const definitions for the modes while we're here.
2013-08-09reference: get references out of the iteratorCarlos Martín Nieto
Allow getting references out of the iterator instead of just names.
2013-07-22Submodule: adjust to the Default -> Reset change in the libraryCarlos Martín Nieto
2013-06-17Reference: adjust to iterator changesCarlos Martín Nieto
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-17Packbuilder: compilation fixesCarlos Martín Nieto
Don't name the return values, as they conflict with the names we want inside and the types don't match what we want to have inside. We need them to be two-way channels in the function, and then pass unidirectional references to the different functions.
2013-06-13Merge pull request #13 from libgit2/polymorphism-take-2Vicent Martí
My take on polymorphism
2013-06-13Merge pull request #24 from carlosmn/packbuilder-abortVicent Martí
Allow aborting the pack writing operation
2013-06-13Merge pull request #25 from carlosmn/error-nilVicent Martí
Catch nil error instances
2013-06-13Merge pull request #26 from carlosmn/ref-iterVicent Martí
Implement a reference iterator
2013-06-13Merge pull request #31 from crosbymichael/masterVicent Martí
Add nil for optional arguments to git_packbuilder_write
2013-06-13Merge pull request #29 from Merovius/parentVicent Martí
Implement Parent()-functions for Commits
2013-06-13Merge pull request #28 from Merovius/shortenVicent Martí
Implement ShortenOids
2013-06-13Merge pull request #27 from Merovius/odb_foreachVicent Martí
Implement git_odb_foreach
2013-06-07Add nil for optional parameters for pack_writeMichael Crosby
The git_packbuilder_write function now takes two optional arguments used for information callbacks. These are currently not needed in the Go wrapper.
2013-05-23Allow aborting the pack writing operationCarlos Martín Nieto
In case of an error in the writer, the packbuilder will stay around waiting for someone to read from its channel. The state associated with a packbuilder is non-trivial and it will keep a reference to the object, so the GC won't be able to free it. Change the ForEach interface to also return a "stop" channel. Closing the channel or writing into it will cause the first receive clause to act, making the callback to return -1, aborting the operation and ending the goroutine, freeing its hold on the packbuilder.
2013-05-23Implement a reference iteratorCarlos Martín Nieto
Wrap the reference iterators, and provide a Iter() function to get them through a channel.
2013-05-22Support for index-entriesAxel Wagner
2013-05-21Implement Parent()-functions for CommitsAxel Wagner
2013-05-21Implement ShortenOidsAxel Wagner
2013-05-21Implement git_odb_foreachAxel Wagner
2013-05-21Catch nil error instancesCarlos Martín Nieto
Unfortunately libgit2 sometimes returns an error without setting an error message. Provide an alternative message instead of trying to dereference nil.
2013-05-16Merge pull request #23 from Merovius/discoverVicent Martí
Use cbool-helper in Discover()
2013-05-16Merge pull request #19 from Merovius/discoverVicent Martí
Implement git_repository_discover
2013-05-17Use cbool-helper in Discover()Axel Wagner
2013-05-16Merge pull request #18 from Merovius/objecttypeVicent Martí
Use ObjectType in TreeEntry
2013-05-16Merge pull request #21 from Merovius/packbuilderVicent Martí
Implement Packbuilder-Support
2013-05-16Correct some errors from 1da989eAxel Wagner
2013-05-16Add Write(w io.Writer) to packbuilderAxel Wagner
This wraps (*packbuilder).ForEach(), making it possible to write the pack easiliy to a tcp-connection, a HTTP-Body or the like.
2013-05-16Add support for git_packbuilderAxel Wagner
2013-05-14Implement git_repository_discoverAxel Wagner
2013-04-26Merge pull request #17 from Merovius/oidVicent Martí
Implement most of the oid_-functions as Methods