aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * lib: Perform the same transformation to _notmuch_database_find_directory_idAustin 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_createAustin 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 ()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.David Bremner2012-05-16
| | | | | | | | | | the path for NEWS was wrong (cherry picked from commit b9520ef033ea9ae54507f94f7258641a6a1ad2e6)
| * NEWS: Capitalized go bindings changes titleTomi Ollila2012-05-16
| | | | | | | | Align 'Go bindings changes' title capitalization to rest of the file
| * NEWS: Insert markdown formatting commands in 0.13 section textTomi 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-15Tomi Ollila2012-05-16
| |
| * NEWS: Dropped old 'Reply to sender' sectionTomi Ollila2012-05-16
| | | | | | | | | | 'Reply to sender' section was 0.12 news which was accidentally duplicated in 0.13 news
* | cli: clean up user address matching code in guess_from_received_header()Jani Nikula2012-05-23
| | | | | | | | | | | | | | | | | | | | Get rid of user address matching code duplication in guess_from_received_header() by using the new address matching helpers. No functional changes. Signed-off-by: Jani Nikula <jani@nikula.org>
* | cli: add user address matching helpers for notmuch replyJani Nikula2012-05-23
| | | | | | | | | | | | | | | | | | | | | | | | Add a multi-purpose address_match() function for matching strings against user's configured primary and other email addresses. Add thin wrappers user_address_in_string() and string_in_user_address() for ease of use, and also convert existing address_is_users() to wrapper for the same. No functional changes. Signed-off-by: Jani Nikula <jani@nikula.org>
* | python: deprecate Messages.{format,print}_messagesJustus Winter2012-05-17
| | | | | | | | | | | | | | | | | | 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.15. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: deprecate Database.db_pJustus Winter2012-05-17
| | | | | | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: fix Message.get_headerJustus Winter2012-05-17
| | | | | | | | | | | | | | | | | | | | | | | | 8dc8495010057202b725ac029831c03f4e3ab6bd introduced a bug, if the requested header is not set the underlying notmuch function returns an empty string that also made the expression true resulting in an exception being raised. Partly revert the commit to fix this issue. Testing for equality with None is correct in this case since the restype of the function Message._get_header is c_char_p so NULL pointers are in fact converted to None in this case. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: add a file abstracting away differences between python 2 and 3Justus Winter2012-05-17
| | | | | | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: remove the "notmuch binary" section from the docsJustus Winter2012-05-17
| | | | | | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: Fix the remaining broken NULL pointer testsJustus Winter2012-05-17
| | | | | | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: use relative importsJustus Winter2012-05-17
| | | | | | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: remove unused import of the json moduleJustus Winter2012-05-17
| | | | | | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | debian: fix typo in changelog.David Bremner2012-05-16
| | | | | | | | the path for NEWS was wrong
* | python: remove format_message_as_{json,text} from the sphinx docsJustus Winter2012-05-16
| | | | | | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: remove functions that have been marked as deprecated in 0.13Justus Winter2012-05-16
| | | | | | | | | | | | | | | | | | | | | | Removes Message.format_message_{internal,as_json,as_text}. 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. The code has been marked as deprecated in 0.13 and is now removed. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: remove notmuch.pyJustus Winter2012-05-16
|/ | | | | | | | | | | | Removes notmuch.py. If someone wants to step up and work on this it can always be restored using the version control system. notmuch.py was meant to be a python implementation of the notmuch utility. It was never finished and hasn't been updated to changes in the API and bindings and its features and interface haven't been kept in sync with the notmuch utility. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* debian: changelog stanza for 0.13David Bremner2012-05-15
| | | | My usual lazy self, refer to upstream NEWS.
* version: bump to 0.13David Bremner2012-05-15
|
* add NEWS item about new emacs tagging interface.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 interfaceStefano 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_directoryAustin Clements2012-05-15
|
* ruby: Update for changes to notmuch_database_get_directoryAustin Clements2012-05-15
|
* python: Update for changes to notmuch_database_get_directoryAustin 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_directoryAustin Clements2012-05-15
|
* lib/cli: Make notmuch_database_get_directory return a status codeAustin 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 compatibilityJustus Winter2012-05-12
| | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* 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>
* debian: fix suiteDavid 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~rc1David Bremner2012-05-08
|
* ruby: Add wrapper for notmuch_query_set_omit_excluded()Ali Polatel2012-05-08
|
* ruby: Add workarounds to use in-tree build not the installed oneAli 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_excludeAli Polatel2012-05-08
|
* ruby: Add wrapper for notmuch_query_count_messagesAli Polatel2012-05-08
|
* emacs: fix custom queries section customization widget in notmuch-helloDmitry 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.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 consistencyAdam 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 parserMichal 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.