aboutsummaryrefslogtreecommitdiff
path: root/bindings/go
Commit message (Collapse)AuthorAge
* go: Update for changes to notmuch_database_get_directoryAustin Clements2012-05-15
|
* go: format the souce code using gofmtJustus Winter2012-05-11
| | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* go: update the build systemJustus 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 1Justus 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 fileJustus 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 bindingsJustus 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_ATOMICJustus 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 constantsJustus 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 APIJustus 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} signaturesAustin 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 APIAustin 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_closeJustus 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:Sebastien Binet2011-02-03
| | | | | * M bindings/go/cmds/notmuch-addrlookup.go log.Exitf -> log.Fatalf
* Migrate to goconfig pkgSebastien Binet2011-01-26
|
* bindings/go: Add a todo fileSebastien Binet2011-01-26
|
* A minor, cosmetic changeSebastien Binet2011-01-26
| | | | Just trying to keep the line lengths in check.
* Initial import of Go bindings for notmuchSebastien Binet2011-01-26