summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-05-15debian: changelog stanza for 0.130.13David Bremner
My usual lazy self, refer to upstream NEWS.
2012-05-15version: bump to 0.13David Bremner
2012-05-15add NEWS item about new emacs tagging interface.Jameson Graef Rollins
This is fairly important to mention, since it represents a user interface change.
2012-05-15debian: recommend notmuch-mutt as an alternative user interfaceStefano Zacchiroli
Recommend all notmuch UI (including notmuch-mutt) as alternatives, to avoid unneeded vim/emacs installation. Thanks Matteo F. Vescovi for the patch. Closes: #673011
2012-05-15news: Update for changes to notmuch_database_get_directoryAustin Clements
2012-05-15ruby: Update for changes to notmuch_database_get_directoryAustin Clements
2012-05-15python: Update for changes to notmuch_database_get_directoryAustin Clements
notmuch_database_get_directory now returns NOTMUCH_STATUS_READ_ONLY_DATABASE on its own (rather than crashing) so the workaround in Database.get_directory is no longer necessary.
2012-05-15go: Update for changes to notmuch_database_get_directoryAustin Clements
2012-05-15lib/cli: Make notmuch_database_get_directory return a status codeAustin Clements
Previously, notmuch_database_get_directory had no way to indicate how it had failed. This changes its prototype to return a status code and set an out-argument to the retrieved directory, like similar functions in the library API. This does *not* change its currently broken behavior of creating directory objects when they don't exist, but it does document it and paves the way for fixing this. Also, it can now check for a read-only database and return NOTMUCH_STATUS_READ_ONLY_DATABASE instead of crashing. In the interest of atomicity, this also updates calls from the CLI so that notmuch still compiles.
2012-05-12NEWS: add an entry for the go 1 compatibilityJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-11go: format the souce code using gofmtJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-11go: update the build systemJustus Winter
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>
2012-05-11go: update the addrlookup utility to go 1Justus Winter
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>
2012-05-11go: set LDFLAGS to -lnotmuch in the packages source fileJustus Winter
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>
2012-05-11go: reorganize the go bindingsJustus Winter
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>
2012-05-11go: define the constant STATUS_UNBALANCED_ATOMICJustus Winter
Add the constant STATUS_UNBALANCED_ATOMIC to the list of notmuch status codes. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-11go: fix the notmuch status constantsJustus Winter
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>
2012-05-11go: update notmuch-addrlookup to the new APIJustus Winter
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>
2012-05-08debian: fix suitedebian/0.13_rc1-2David Bremner
Since I already pushed a tag 0.13_rc-1, let's just increment the debian version to keep everything tidy.
2012-05-08bump version to 0.13~rc1debian/0.13_rc1-10.13_rc1David Bremner
2012-05-08ruby: Add wrapper for notmuch_query_set_omit_excluded()Ali Polatel
2012-05-08ruby: Add workarounds to use in-tree build not the installed oneAli Polatel
- Make mkmf use the notmuch.h under ../../lib - Use libnotmuch.a instead of linking to the installed libnotmuch.so
2012-05-08ruby: Add wrapper for notmuch_query_add_tag_excludeAli Polatel
2012-05-08ruby: Add wrapper for notmuch_query_count_messagesAli Polatel
2012-05-06emacs: fix custom queries section customization widget in notmuch-helloDmitry Kurochkin
The customization widget referred to a non-existing function `notmuch-hello-insert-query-list'. The patch changes it to the correct one - `notmuch-hello-insert-searches'. The relevant test is fixed now.
2012-05-06test: add Emacs notmuch-hello tests for custom tags and queries section.Dmitry Kurochkin
The tests use default values from customization widgets to make sure that these customization widgets work (at least on basic level). The custom queries section test is currently broken.
2012-05-06test: Force reply to use html2text for consistencyAdam Wolfe Gordon
The output of the HTML reply test in the emacs suite can vary depending on which HTML renderers are installed on the machine running the tests. The renderer that is always available is emacs's builtin html2text function. In order to get consistency, force the test to use html2text even if other renderers are available.
2012-05-06emacs: Do not pass stderr of notmuch reply to JSON parserMichal Sojka
Sometimes, notmuch reply outputs something to stderr, for example: "Failed to verify signed part: Cannot verify multipart/signed part: unsupported signature protocol". When this happens, replying in emacs fails, because emacs cannot parse the error message as JSON. This patch causes emacs to ignore stderr when reading reply from notmuch.
2012-05-06emacs: Let the user choose where to compose new mailsThomas Jost
Introduce a new defcustom notmuch-mua-compose-in that allows users to specify where new mails are composed, either in the current window or in a new window or frame. Signed-off-by: Jameson Rollins <jrollins@finestructure.net>
2012-05-06emacs: Correctly quote non-text/plain parts in replyAdam Wolfe Gordon
Quote non-text parts nicely by displaying them with mm-display-part before calling message-cite-original to quote them. HTML-only emails can now be quoted correctly. We re-use some code from notmuch-show (notmuch-show-mm-display-part-inline), which has been moved to notmuch-lib.el. Mark the test for this feature as not broken.
2012-05-06test: Replying to an HTML-only message in emacsAdam Wolfe Gordon
With the latest reply infrastructure, we should be able to nicely quote HTML-only emails. But currently emacs quotes the raw HTML instead of parsing it first. This commit adds a test for this case. This test currently marked as broken.
2012-05-05debian: add notmuch_query_set_omit_excluded to symbols file.David Bremner
This symbol is apparently part of the exclude code that was disabled for 0.12.
2012-05-05debian: update packaging for new soname libnotmuch.so.3David Bremner
we need - a new changelog stanza, because the symbols files need a new version - s/libnotmuch2/libnotmuch3/ everywhere - update symbols file, s/.so.1/.so.2/, and bump minimum versions on changed symbols (although the latter is just documentation)
2012-05-05debian: start changelog stanza for 0.13~rc1-1David Bremner
This is mainly so that the soname bump in the debian symbols file makes sense.
2012-05-05lib: Bump SO version from 2.0.0 to 3.0.0Austin Clements
We've changed the APIs of notmuch_database_open, notmuch_database_create, and notmuch_database_close. Amended by db: also bump string in bindings/python/notmuch/globals.py
2012-05-05News for changes to notmuch_database_{open,create}Austin Clements
2012-05-05ruby: Update Ruby bindings for new notmuch_database_{open, create} signaturesAustin Clements
2012-05-05python: Update Python bindings for new notmuch_database_{open, create} signaturesAustin Clements
2012-05-05go: Update Go bindings for new notmuch_database_{open, create} signaturesAustin Clements
This requires changing the return types of NewDatabase and OpenDatabase to follow the standard Go convention for returning errors.
2012-05-05lib/cli: Make notmuch_database_create return a status codeAustin Clements
This is the notmuch_database_create equivalent of the previous change. In this case, there were places where errors were not being propagated correctly in notmuch_database_create or in calls to it. These have been fixed, using the new status value.
2012-05-05lib/cli: Make notmuch_database_open return a status codeAustin Clements
It has been a long-standing issue that notmuch_database_open doesn't return any indication of why it failed. This patch changes its prototype to return a notmuch_status_t and set an out-argument to the database itself, like other functions that return both a status and an object. In the interest of atomicity, this also updates every use in the CLI so that notmuch still compiles. Since this patch does not update the bindings, the Python bindings test fails.
2012-05-04NEWS: Insert markdown formatting commandsTomi Ollila
To make updating the notmuchmail.org wiki 'news' section more straightforward the content of the NEWS file has now been brought to almost the same as the *.mdwn files in the wiki page. The changes are basically insertion of mdwn formatting "commands". More effort has been put into formatting the newer release entries (0.12, 0.11 & 0.10) than older. Commit to format 0.13 entries will be made available separately.
2012-05-04NEWS: spacing changesTomi Ollila
With these whitespace changes the spacing looks generally the same throughout the whole file.
2012-05-04NEWS: untabified and added file local variables blockTomi Ollila
Changed all tabs to 8 spaces (M-x untabify over region of the whole file). Now this looks uniformly on all viewers (using fixed-width font) and the observed difference between this "source" file and markdown generated html output on browser window is smaller. In markdown to html conversions tab and 8 spaces indents differently. Also the "Local variables:" block added to the end of this file attempts to ensure tabs are always expanded; whether the used editor is Emacs or Vi.
2012-05-04go: Update to the current notmuch_database_find_message APIAustin Clements
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.
2012-04-30python: remove a note stating wrong things about the memory managementJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-04-30python: document the Database.close functionJustus Winter
Put a prominent warning into the docstring of Database.close, make the function show up in the sphinx doc and refer to the warning in the paragraph mentioning the context manager protocol. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-04-30python: deprecate code formatting messages as text and jsonJustus Winter
This code adds functionality at the python level that is unlikely to be useful for anyone. Furthermore the python bindings strive to be a thin wrapper around libnotmuch, so this code will be removed in notmuch 0.14. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-04-30python: cleanup the __nonzero__ implementationsJustus Winter
Cleanup the code, reword the docstring and use the same implementation in the Threads, Tags and Messages classes. __nonzero__ implements truth value testing. If __nonzero__ is not implemented, the python runtime would fall back to `len(..) > 0` thus exhausting the iterator. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-04-30python: fix NULL pointer testsJustus Winter
Fix the NULL pointer tests in the destructors of all classes and Database.create. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>