aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings/go
Commit message (Collapse)AuthorAge
* go: add return status to database close methodGravatar Peter Wang2014-09-16
| | | | | Add return status to the Database.Close() method that calls notmuch_database_destroy.
* bindings/go: Start a .gitignore for go bindings.Gravatar David Bremner2013-06-03
| | | | In particular ignore downloaded source from github.com
* go: use a different goconfig packageGravatar Justus Winter2013-05-03
| | | | | | | | | | | The notmuch-addrlookup utility uses a third party library to read the notmuch configuration file. The previously used implementation at "github.com/kless/goconfig" vanished, so this patch switches to the implementation at "github.com/msbranco/goconfig". As the implementations differ at the API level, the code is updated accordingly. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* go: Update for changes to notmuch_database_get_directoryGravatar Austin Clements2012-05-15
|
* go: format the souce code using gofmtGravatar Justus Winter2012-05-11
| | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* go: update the build systemGravatar Justus Winter2012-05-11
| | | | | | | | | The new "go" utility does not require any Makefiles to compile go packages and programs. Remove the old Makefiles and replace the top level Makefile with one defining some convenience targets for compiling the notmuch bindings and the notmuch-addrlookup utility. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* go: update the addrlookup utility to go 1Gravatar Justus Winter2012-05-11
| | | | | | | Use the new built in error type that replaces os.Error, adapt the code to the fact that strings.Split has just two arguments now. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* go: set LDFLAGS to -lnotmuch in the packages source fileGravatar Justus Winter2012-05-11
| | | | | | | Set the LDFLAGS to -lnotmuch so the resulting go package will be linked with libnotmuch. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* go: reorganize the go bindingsGravatar Justus Winter2012-05-11
| | | | | | | | go 1 introduced the "go" program that simplifies building of libraries and programs. This patch reorganizes the go code so it can be compiled using the new utility, it does not change any files. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* go: define the constant STATUS_UNBALANCED_ATOMICGravatar Justus Winter2012-05-11
| | | | | | | Add the constant STATUS_UNBALANCED_ATOMIC to the list of notmuch status codes. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* go: fix the notmuch status constantsGravatar Justus Winter2012-05-11
| | | | | | | | Formerly all the constants were set to zero since in golang constants are set to the previous value if no new value is specified. Use the iota operator that is incremented after each use to fix this issue. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* go: update notmuch-addrlookup to the new APIGravatar Justus Winter2012-05-11
| | | | | | | notmuch.OpenDatabase now returns a status indicating success or failure. Use this information to inform the user of any failures. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* go: Update Go bindings for new notmuch_database_{open, create} signaturesGravatar Austin Clements2012-05-05
| | | | | | This requires changing the return types of NewDatabase and OpenDatabase to follow the standard Go convention for returning errors.
* go: Update to the current notmuch_database_find_message APIGravatar Austin Clements2012-05-04
| | | | | | | The signature of notmuch_database_find_message was changed in 02a30767 to report errors and the Go bindings were never updated. This brings the Go bindings in sync with that change and at least makes them compile with Go r60.3, the last release before Go 1.
* go: Use notmuch_database_destroy instead of notmuch_database_closeGravatar Justus Winter2012-04-28
| | | | | | Adapt the go bindings to the notmuch_database_close split. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* update for go-release-2011-02-01:Gravatar Sebastien Binet2011-02-03
| | | | | * M bindings/go/cmds/notmuch-addrlookup.go log.Exitf -> log.Fatalf
* Migrate to goconfig pkgGravatar Sebastien Binet2011-01-26
|
* bindings/go: Add a todo fileGravatar Sebastien Binet2011-01-26
|
* A minor, cosmetic changeGravatar Sebastien Binet2011-01-26
| | | | Just trying to keep the line lengths in check.
* Initial import of Go bindings for notmuchGravatar Sebastien Binet2011-01-26