aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* lib: Perform the same transformation to _notmuch_database_find_directory_idGravatar Austin Clements2012-05-23
| | | | | | | Now _notmuch_database_find_directory_id takes a flags argument, which it passes through to _notmuch_directory_create and can indicate if the directory does not exist. Again, callers have been updated, but retain their original behavior.
* lib: Make directory document creation optional for _notmuch_directory_createGravatar Austin Clements2012-05-23
| | | | | | | | | | | Previously this function would create directory documents if they didn't exist. As a result, it could only be used on writable databases. This adds an argument to make creation optional and to make this function work on read-only databases. We use a flag argument to avoid a bare boolean and to permit future expansion. Both callers have been updated, but currently retain the old behavior. We'll take advantage of the new argument in the following patches.
* emacs: use 'gnus-decoded in notmuch-mm-display-part-inline ()Gravatar Tomi Ollila2012-05-23
| | | | | | | | | | | | | | | | | | | | When mail message is read from emacs, the message structure obtained may contain parts which have content included (`text/plain` for example) and other parts where content is not included (`text/html` for example). In case content is included, the string is already available in emacs' internal format and therefore mm-... functions should not attempt to do further decoding for the data in temp buffer provided for it. Currently when reply buffer is created, notmuch-mm-display-part-inline () is used to provided quoted reply content. This change makes the mm-... functions called by it use 'gnus-decoded as charset whenever the content is already available. File .../emacs-23.3/lisp/gnus/mm-uu.el mentions: "`gnus-decoded' is a fake charset, which means no further decoding."
* debian: fix typo in changelog.Gravatar David Bremner2012-05-16
| | | | | the path for NEWS was wrong (cherry picked from commit b9520ef033ea9ae54507f94f7258641a6a1ad2e6)
* NEWS: Capitalized go bindings changes titleGravatar Tomi Ollila2012-05-16
| | | | Align 'Go bindings changes' title capitalization to rest of the file
* NEWS: Insert markdown formatting commands in 0.13 section textGravatar Tomi Ollila2012-05-16
| | | | | NEWS entries in section 0.13 is brought consistent with rest of the NEWS file.
* NEWS: Changed 0.13 release date in NEWS file to 2012-05-15Gravatar Tomi Ollila2012-05-16
|
* NEWS: Dropped old 'Reply to sender' sectionGravatar Tomi Ollila2012-05-16
| | | | | 'Reply to sender' section was 0.12 news which was accidentally duplicated in 0.13 news
* debian: changelog stanza for 0.13Gravatar David Bremner2012-05-15
| | | | My usual lazy self, refer to upstream NEWS.
* version: bump to 0.13Gravatar David Bremner2012-05-15
|
* add NEWS item about new emacs tagging interface.Gravatar Jameson Graef Rollins2012-05-15
| | | | | This is fairly important to mention, since it represents a user interface change.
* debian: recommend notmuch-mutt as an alternative user interfaceGravatar Stefano Zacchiroli2012-05-15
| | | | | | | | | Recommend all notmuch UI (including notmuch-mutt) as alternatives, to avoid unneeded vim/emacs installation. Thanks Matteo F. Vescovi for the patch. Closes: #673011
* news: Update for changes to notmuch_database_get_directoryGravatar Austin Clements2012-05-15
|
* ruby: Update for changes to notmuch_database_get_directoryGravatar Austin Clements2012-05-15
|
* python: Update for changes to notmuch_database_get_directoryGravatar Austin Clements2012-05-15
| | | | | | 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.
* go: Update for changes to notmuch_database_get_directoryGravatar Austin Clements2012-05-15
|
* lib/cli: Make notmuch_database_get_directory return a status codeGravatar Austin Clements2012-05-15
| | | | | | | | | | | | | | 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.
* NEWS: add an entry for the go 1 compatibilityGravatar Justus Winter2012-05-12
| | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* 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>
* debian: fix suiteGravatar David Bremner2012-05-08
| | | | | Since I already pushed a tag 0.13_rc-1, let's just increment the debian version to keep everything tidy.
* bump version to 0.13~rc1Gravatar David Bremner2012-05-08
|
* ruby: Add wrapper for notmuch_query_set_omit_excluded()Gravatar Ali Polatel2012-05-08
|
* ruby: Add workarounds to use in-tree build not the installed oneGravatar Ali Polatel2012-05-08
| | | | | - Make mkmf use the notmuch.h under ../../lib - Use libnotmuch.a instead of linking to the installed libnotmuch.so
* ruby: Add wrapper for notmuch_query_add_tag_excludeGravatar Ali Polatel2012-05-08
|
* ruby: Add wrapper for notmuch_query_count_messagesGravatar Ali Polatel2012-05-08
|
* emacs: fix custom queries section customization widget in notmuch-helloGravatar Dmitry Kurochkin2012-05-06
| | | | | | | 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.
* test: add Emacs notmuch-hello tests for custom tags and queries section.Gravatar Dmitry Kurochkin2012-05-06
| | | | | | | 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.
* test: Force reply to use html2text for consistencyGravatar Adam Wolfe Gordon2012-05-06
| | | | | | | | 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.
* emacs: Do not pass stderr of notmuch reply to JSON parserGravatar Michal Sojka2012-05-06
| | | | | | | | | | 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.
* emacs: Let the user choose where to compose new mailsGravatar Thomas Jost2012-05-06
| | | | | | | | 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>
* emacs: Correctly quote non-text/plain parts in replyGravatar Adam Wolfe Gordon2012-05-06
| | | | | | | | | | 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.
* test: Replying to an HTML-only message in emacsGravatar Adam Wolfe Gordon2012-05-06
| | | | | | | | 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.
* debian: add notmuch_query_set_omit_excluded to symbols file.Gravatar David Bremner2012-05-05
| | | | | This symbol is apparently part of the exclude code that was disabled for 0.12.
* debian: update packaging for new soname libnotmuch.so.3Gravatar David Bremner2012-05-05
| | | | | | | | 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)
* debian: start changelog stanza for 0.13~rc1-1Gravatar David Bremner2012-05-05
| | | | | This is mainly so that the soname bump in the debian symbols file makes sense.
* lib: Bump SO version from 2.0.0 to 3.0.0Gravatar Austin Clements2012-05-05
| | | | | | | 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
* News for changes to notmuch_database_{open,create}Gravatar Austin Clements2012-05-05
|
* ruby: Update Ruby bindings for new notmuch_database_{open, create} signaturesGravatar Austin Clements2012-05-05
|
* python: Update Python bindings for new notmuch_database_{open, create} ↵Gravatar Austin Clements2012-05-05
| | | | signatures
* 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.
* lib/cli: Make notmuch_database_create return a status codeGravatar Austin Clements2012-05-05
| | | | | | | | 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.
* lib/cli: Make notmuch_database_open return a status codeGravatar Austin Clements2012-05-05
| | | | | | | | | | | | 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.
* NEWS: Insert markdown formatting commandsGravatar Tomi Ollila2012-05-04
| | | | | | | | | | | | 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.