aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* notmuch-deliver: Fix typos in option context descriptionAli Polatel2011-11-05
|
* notmuch-deliver: Fix copy/paste failAli Polatel2011-11-05
|
* notmuch-deliver: Initial importAli Polatel2011-11-05
|
* emacs: Tab completion for notmuch-search and notmuch-search-filterDaniel Schoepe2011-11-02
| | | | | This patch adds completion with <tab> in the minibuffer for notmuch-search and notmuch-search-filter.
* lib/database.cc: use flush Xapian method instead of commitDavid Bremner2011-11-02
| | | | | | | Apparently the method was renamed in Xapian 1.1.0 but the old method name will stay around for a while. It seems better to stick with the old name to make notmuch compile with older versions of Xapian, at least for now.
* remove GCC visibility pragmasTomi Ollila2011-10-31
| | | | | | | | libnotmuch.so.* linking fail on some environments. According to David Bremner on irc: "We jump through hoops with the linker script (notmuch.sym) so the pragmas are not needed. And they are a little bizarre in a library anyway..."
* xregcomp: don't consider every regex compilation failure an internal error.David Bremner2011-10-30
| | | | | | This pushes the error handling up one step, but makes the function more flexible. Running out of memory still triggers an internal error, in the spirit of other xutils functions.
* xutil.c: remove duplicate copies, create new library libutil.a to contain xutil.David Bremner2011-10-30
| | | | | | | We keep the lib/xutil.c version. As a consequence, also factor out _internal_error and associated macros. It might be overkill to make a new file error_util.c for this, but _internal_error does not really belong in database.cc.
* build system: target to make a Debian snapshot package.David Bremner2011-10-28
| | | | | | | | | | Currently this builds a native package, but since the source package is throw away, it should not matter too much, except for the extra warnings from lintian. The extra +1 is so that if $(VERSION) is the same as the last released version (for example outside a git repo) then the versions still order correctly.
* build system: remove dashes from git-describe generated version.David Bremner2011-10-28
| | | | | This makes it less confusing with released Debian versions, now that we have non-native Debian versions.
* emacs: Turn id:"<message-id>" elements into buttons for notmuch searchesDaniel Schoepe2011-10-28
| | | | | This fixes the minor annoyance that message ids were parsed as mail addresses by goto-address-mode in notmuch-show buffers.
* Separate Emacs misc. files dir. from Emacs code dir.Amadeusz Żołnowski2011-10-28
| | | | | New option --emacsetcdir was added, but it's set default to the same value as --emacslispdir for backward compatibility.
* Prefix lib/notmuch.h and lib/gen-version-script.sh with $(srcdir)Amadeusz Żołnowski2011-10-24
| | | | | lib/notmuch.h and lib/gen-version-script.sh couldn't have been found when building out of sources directory.
* docs: Update news, man page, and online help for restore --accumulateDavid Bremner2011-10-23
| | | | | | As a side effect, reformat the NEWs entry for notmuch dump for consistency with the notmuch restore NEWS submitted by Thomas Schwinge.
* notmuch-restore: check for extra arguments.David Bremner2011-10-23
| | | | | We consider it an error to pass more than one file to restore, since extra ones are ignored.
* notmuch-restore: implement --accumulate optionDavid Bremner2011-10-23
| | | | | | | | | | | | | Modify command line argument handling to take a --accumulate flag. Test for extra arguments beyond the input file. The --accumulate switch causes the union of the existing and new tags to be applied, instead of replacing each message's tags as they are read in from the dump file. Based on a patch by Thomas Schwinge: id:"1317317857-29636-1-git-send-email-thomas@schwinge.name"
* test/dump-restore: add tests for restore --accumulateDavid Bremner2011-10-23
| | | | | | | | | | Flesh out what ``notmuch restore --accumulate'' is supposed to do. Its tests are currently XFAILed; the functionality will be added in future patch(es). Based on a patch by Thomas Schwinge: id:"1317317811-29540-1-git-send-email-thomas@schwinge.name"
* notmuch.1: typo fixes new wording for dump/restoreDavid Bremner2011-10-23
| | | | | These changes were included in Thomas's restore --accumulate patch, but are actually more generally applicable.
* test/dump-restore: Fix quoting on grepDavid Bremner2011-10-23
| | | | | | | | Thanks to Thomas Schwinge for noticing yet another place where quoting matters. Since the shell translates \. to ., the regex passed to grep is too generous without the quotes. The use of [.] is the suggestion of Tomi Ollila.
* test/dump-restore: expand test suite for dump-restore, make more robustDavid Bremner2011-10-22
| | | | | | | | | | Several new tests are added, and existing use of test_begin_subtest is replaced by test_expect_success to catch failing commands in cases where we execute more than one command. Based on changes in id:"1317317811-29540-1-git-send-email-thomas@schwinge.name"
* test/test-lib.sh: update commentsDavid Bremner2011-10-22
| | | | | | | - explain test_expect_equal_file - remove mention of test_expect_failure, since that function was removed. Based on id:"1317317811-29540-1-git-send-email-thomas@schwinge.name"
* cli: change argument parsing convention for subcommandsDavid Bremner2011-10-22
| | | | | | | | | previously we deleted the subcommand name from argv before passing to the subcommand. In this version, the deletion is done in the actual subcommands. Although this causes some duplication of code, it allows us to be more flexible about how we parse command line arguments in the subcommand, including possibly using off-the-shelf routines like getopt_long that expect the name of the command in argv[0].
* docs: Update man page, NEWS and online help for new dump arguments.David Bremner2011-10-16
| | | | | We mention in all three places that using the filename argument is deprecated.
* notmuch-dump: deprecate use of output file argument.David Bremner2011-10-16
| | | | | | | | | We print an intentionally non-specific message on stderr, since it isn't clear if there will be some global output file argument to replace. We update the test suite atomically, since it relies on having the same text in two files.
* notmuch-dump: treat any remaining arguments after the filename as search termsDavid Bremner2011-10-16
| | | | | | | | | The main motivation here is allow the fast dumping of tag data for messages having certain tags. In practice it seems too slow to pipe dump to grep. All dump-restore tests should be working now, so we update test/dump-restore accordingly
* notmuch-dump: update handling of file name argumentDavid Bremner2011-10-16
| | | | | | | We permit -- as an "option processing terminator". Currently this does not do anything useful, but we plan to add search terms after the --.
* test: add tests for command line arguments to notmuch-dumpDavid Bremner2011-10-16
| | | | | The plan is to add the possibility of search terms after the file name, and the use of -- to stop looking for an output file name.
* test: update dump-restore to use redirection instead of filename argsDavid Bremner2011-10-12
| | | | | | The idea here is that we want to deprecate the use of arguments to dump and restore to specify paths, since in particular we want to use the non-option arguments to dump to form a query.
* debian: changelog stanza for 0.9David Bremner2011-10-11
| | | | | Admit that there have been no changes since the last release candidate.
* version: bump to 0.9David Bremner2011-10-11
| | | | also bump python bindings version.
* NEWS: document API changes to n_d_find_message{,_by_filename}David Bremner2011-10-11
| | | | | For details the user will have to refer to the source. Reformat Ruby news consistently with Python.
* NEWS: document API changes to n_d_find_message{,_by_filename}David Bremner2011-10-11
| | | | For details the user will have to refer to the source.
* test: add two emacs tests for show mode refreshJameson Graef Rollins2011-10-09
| | | | | | | | | | | | | The first test tests that the notmuch-show-refresh-view function produces the exact same output for an unmodified show buffer. This test should pass since the relevant functionality has already been applied. The second test tests show refresh for a show buffer that has been modified by navigation and message visibility toggling. Ideally refresh-view should preserve this state of the notmuch-show buffer. Unfortunately it currently does not, so this test is know to be broken and is marked as such.
* NEWS: add notes about emacs improvements and reply formating cleanupJameson Graef Rollins2011-10-09
|
* version: bump to 0.9~rc2David Bremner2011-10-07
| | | | We continue to keep the python bindings version in sync manually
* debian: update changelog for 0.9~rc2-1David Bremner2011-10-07
| | | | Document upstream changes since 0.9~rc1-1
* emacs: add notmuch-show-refresh-view functionJameson Graef Rollins2011-10-06
| | | | | | | | | This function, like the equivalent for notmuch-search, just refreshes the current show view. Like in notmuch-search, this new function is bound to "=". If a prefix is given then the redisplay happens with the crypto-switch set, which displays the thread with the opposite logic of whatever is set in the notmuch-crypto-process-mime customization variable.
* emacs: Add callback functions to crypto sigstatus button.Jameson Graef Rollins2011-10-06
| | | | | | | | | | This adds two callback functions to the sigstatus button. If the sig status is "good", then clicking the button displays the output of "gpg --list-keys" on the key fingerprint. If the sigstatus is "bad", then clicking the button will retrieve the key from the keyserver, and redisplay the current buffer. Thanks to David Bremner <bremner@unb.ca> for help with this.
* Ignore "application/pgp-*" parts in reply.Jameson Graef Rollins2011-10-06
| | | | | The quoted text doesn't need to mention that the message being replied to had these crufty parts.
* test: test for absence of "Non-text part: application/pgp-*" lines in replyJameson Graef Rollins2011-10-06
| | | | | | In reply, the quoted text does not need to mention that the original message had "application/pgp-signed" or "application/pgp-encrypted" parts.
* Fix notmuch-reply to not output "Non-text part:" lines for non-leafnode parts.Jameson Graef Rollins2011-10-06
| | | | These lines are just cruft in this case, and can be removed.
* test/multipart: test for absence of "Non-text part:" lines in reply for ↵Jameson Graef Rollins2011-10-06
| | | | | | | | | multipart/* and message/rfc822 parts There's no reason to output "Non-text part:" lines for parts that are not leaf nodes, eg. multipart/* and message/rfc822. We fix the text here to test for their absence. The next patch will fix reply accordingly.
* python: Set status in the class definitionsSebastian Spaeth2011-10-05
| | | | | | | | | | Technically, this is a superfluous change, as the self.status variable currently gets set in NotmuchErrors's __new__ function. However, in the long run I would like to get rid of the weird __new__ implementation which might be somewhat confusing for users (NotmuchError(status) returns a different class, e.g. OutOfMemoryError) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* python: help function Query._assert_query_is_initializedSebastian Spaeth2011-10-05
| | | | | | | | Remove code duplication by using the new helper function. Also raise the new fine grained exceptions in many cases, rather than the more generic NotmuchErrors. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* python: clean up docstrings and API documentationSebastian Spaeth2011-10-05
| | | | Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* python: whitespace fixed in docstringsSebastian Spaeth2011-10-05
| | | | Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* python: Add the new exception types in the API documentationSebastian Spaeth2011-10-05
| | | | | | as they should be documented... Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* python: Catch up with find_message(by_filename) API changesSebastian Spaeth2011-10-05
| | | | | | | message is now an out parameter, and we get an additional status code as a result. Hurray \o/. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* python: also use libnotmuch.so.2Sebastian Spaeth2011-10-05
| | | | | | | | Catch up with the major version bump. I wonder if this could somehow be automatically made the correct version number. Oh well, I hope it doesn't change too often :-). Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* debian: update packaging for new sonameDavid Bremner2011-10-04
| | | | | | | | we need - a new changelog stanza, because the symbols files need a new version - s/libnotmuch1/libnotmuch2/ everywhere - update symbols file, s/.so.1/.so.2/, and bump minimum versions on changed symbols (although the latter is just documentation)