aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Make exclusion visible againGravatar David Bremner2012-03-03
| | | | | | | | This reverts dfee0f9 man: remove search.exclude_tags from notmuch-config.1 for 0.12 e83409d NEWS: revert NEWS item for exclude tags for 0.12 e77b031 config: disable addition of exclude tags for 0.12
* Merge branch 'release'Gravatar David Bremner2012-03-03
|\
| * Actually close the xapian database in notmuch_database_closeGravatar Justus Winter2012-03-03
| | | | | | | | | | | | | | | | | | | | | | Formerly the xapian database object was deleted and closed in its destructor once the object was garbage collected. Explicitly call close() so that the database and the associated lock is released immediately. The comment is a courtesy of Austin Clements. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
| * debian: Bump standards versionGravatar David Bremner2012-03-03
| | | | | | | | No actual changes are needed.
| * debian: update .gitignoreGravatar David Bremner2012-03-03
| | | | | | | | Ignore individual binary package directories.
| * debian: add notmuch_query_add_tag_exclude to exported symbolsGravatar David Bremner2012-03-03
| | | | | | | | | | This symbol is added in 0.12, although we are "stealthing" the feature overall.
| * man: remove search.exclude_tags from notmuch-config.1 for 0.12Gravatar Mark Walters2012-03-03
| |
| * NEWS: revert NEWS item for exclude tags for 0.12Gravatar Mark Walters2012-03-02
| |
| * config: disable addition of exclude tags for 0.12Gravatar Mark Walters2012-03-02
| | | | | | | | | | This disables the addition of search_exclude_tags in notmuch-setup and notmuch-config.
* | emacs: notmuch.el ignore excluded matchesGravatar Mark Walters2012-03-02
| | | | | | | | | | | | | | | | This is a small change to make notmuch.el ignore excluded matches. In the future it could do something better like add a button for rerunning the search with the excludes (particularly if nothing matches with the excludes) or having them invisible and allowing the visibility to be toggled.
* | emacs: show: recognize the exclude flag.Gravatar Mark Walters2012-03-02
| | | | | | | | | | | | | | Show mode will recognize the exclude flag by not opening excluding messages by default, and will start at the first matching non-excluded message. If there are no matching non-excluded messages it will go to the first matching (necessarily excluded) message.
* | cli: omit excluded messages in results where appropriate.Gravatar Mark Walters2012-03-02
| | | | | | | | | | | | | | | | | | | | | | | | | | In all cases of notmuch count/search/show where the results returned cannot reflect the exclude flag return just the matched not-excluded results. If the caller wishes to have all the matched results (i.e., including the excluded ones) they should call with the --no-exclude option. The relevant cases are count: both threads and messages search: all cases except the summary view show: mbox format
* | man: update manpage for notmuch-show --no-exclude optionGravatar Mark Walters2012-03-02
| |
* | test: update tests to reflect the exclude flagGravatar Mark Walters2012-03-02
| | | | | | | | | | | | | | notmuch show outputs the exclude flag so many tests using notmuch show failed. This commit adds "excluded:0" or "excluded: false" to the expected outputs. After this commit there should be no failing tests.
* | cli: Make notmuch-show respect excludes.Gravatar Mark Walters2012-03-02
| | | | | | | | | | | | | | | | This adds the excludes to notmuch-show.c. We do not exclude when only a single message (or part) is requested. notmuch-show will output the exclude information when either text or json format is requested. As this changes the output from notmuch-show it breaks many tests (in a trivial and expected fashion).
* | test: update search test to reflect exclude flagGravatar Mark Walters2012-03-02
| | | | | | | | | | | | notmuch-search.c now returns all matching threads even if it the match is a search.tag_excluded message (but with a mark indicating this). Update the test to reflect this.
* | lib: Add the exclude flag to notmuch_query_search_threadsGravatar Mark Walters2012-03-02
| | | | | | | | | | | | | | | | | | | | | | Add the NOTMUCH_MESSAGE_FLAG_EXCLUDED flag to notmuch_query_search_threads. Implemented by inspecting the tags directly in _notmuch_thread_create/_thread_add_message rather than as a Xapian query for speed reasons. Note notmuch_thread_get_matched_messages now returns the number of non-excluded matching messages. This API is not totally desirable but fixing it means breaking binary compatibility so we delay that.
* | lib: Make notmuch_query_search_messages set the exclude flagGravatar Mark Walters2012-03-02
| | | | | | | | | | | | | | | | | | | | Add a flag NOTMUCH_MESSAGE_FLAG_EXCLUDED which is set by notmuch_query_search_messages for excluded messages. Also add an option omit_excluded_messages to the search that we do not want the excludes at all. This exclude flag will be added to notmuch_query_search threads in the next patch.
* | lib: Rearrange the exclude code in query.ccGravatar Mark Walters2012-03-02
| | | | | | | | | | Slightly refactor the exclude code to give the callers access to the exclude query itself. There should be no functional change.
* | test: add tests for new cli --no-exclude optionGravatar Mark Walters2012-03-02
| | | | | | | | | | | | The tests test the new --no-exclude option to search and count. There were no existing tests for the exclude behaviour for count so added these too.
* | cli: Add --no-exclude to the man pages for search and countGravatar Mark Walters2012-03-02
| |
* | cli: add --no-exclude option to count and search.Gravatar Mark Walters2012-03-02
| | | | | | | | | | | | This option turns off the exclusion so all matching messages are returned. We do not need to add this to notmuch-show as that does not (yet) exclude.
| * Spelling fixGravatar Tomi Ollila2012-03-01
| | | | | | | | Retreive is spelled as r e t r i e v e .
| * emacs: retain show buffer state after retrieving gpg keyGravatar Tomi Ollila2012-03-01
| | | | | | | | | | | | | | | | After retrieving gpg key retain show buffer state like in all other operations (i.e. no other calls to notmuch-show-refresh-view provides optional reset-state argument). Emacs MUA keeps current message under cursor instead of going first open message(possibly marking it read).
| * NEWS: add entry for `notmuch-show-stash-mlarchive-link{,-and-go}'Gravatar Pieter Praet2012-03-01
| |
* | show: Further general simplifications of the JSON formatterGravatar Austin Clements2012-03-01
| |
* | show: Make format_part_sigstatus_json's API consistent between GMIME 2.4 and 2.6Gravatar Austin Clements2012-03-01
| | | | | | | | | | The implementation is still different for GMIME 2.4 and 2.6, but at least now the caller doesn't have to be aware of this.
* | show: Make JSON helper functions print complete objectsGravatar Austin Clements2012-03-01
| | | | | | | | | | This makes the main recursive function easier to follow because helper functions don't add fields to the running object.
* | show: Simplify talloc use in format_headers_jsonGravatar Austin Clements2012-03-01
| | | | | | | | Previously there was an unnecessary talloc context.
* | show: Unify JSON header output for messages and message partsGravatar Austin Clements2012-03-01
| | | | | | | | | | | | | | | | | | This has three ramifications: - Blank To and Cc headers are no longer output for messages. - Dates are now canonicalized for messages, which means they always have a day of the week and GMT is printed +0000 (never -0000) - Invalid From message headers are handled slightly differently, since they get parsed by GMime now instead of notmuch.
* | show: Use consistent header ordering in the JSON formatGravatar Austin Clements2012-03-01
| | | | | | | | | | | | | | Previously, top-level message headers were printed as Subject, From, To, Date, while embedded message headers were printed From, To, Subject, Date. This makes both cases use the former order and updates the tests accordingly.
* | show: Convert JSON format to the new self-recursive styleGravatar Austin Clements2012-03-01
| | | | | | | | | | | | | | | | | | | | | | As before, this is all code movement and a smidgen of glue. This moves the existing JSON formatter code into one self-recursive function, but doesn't change any of the logic to take advantage of the new structure. In general, "leafs" of the JSON structure are left in helper functions (most of them untouched), so that it's easy to see the overall structure of the format from the main recursive function.
* | emacs: Tests for user-defined sectionsGravatar Daniel Schoepe2012-03-01
| | | | | | | | A new file was added for notmuch-hello tests.
* | emacs: User-defined sections in notmuch-helloGravatar Daniel Schoepe2012-03-01
|/ | | | | | | | | | This patch makes the notmuch-hello screen fully customizable by allowing the user to add and remove arbitrary sections. It also provides some convenience functions for constructing sections, e.g. showing the unread message count for each tag. This is done by specifying a list of functions that will be run when notmuch-hello is invoked.
* add minimal changelog stanza for 0.12~rc1Gravatar David Bremner2012-03-01
|
* bump version to 0.12~rc1Gravatar David Bremner2012-03-01
| | | | | As usual, only `version' is edited by hand. The rest of the changes I blame on the machine.
* emacs: Clarify description of thread manipulating functionsGravatar Michal Sojka2012-02-29
| | | | | | | | | | | It is not clear whether the term "thread" refers to the thread in the database or to the thread currently shown in a buffer. Those two meanings may refer to different sets of messages, e.g. when a new email is added to the database while the buffer shows the state before the new email arrived. This patch replaces the term thread with the term current buffer, which is hopefully less ambiguous.
* test: Remove 'broken' flag from encoding testGravatar Michal Sojka2012-02-29
|
* Convert non-UTF-8 parts to UTF-8 before indexing themGravatar Michal Sojka2012-02-29
| | | | | | | This fixes a bug that didn't allow to search for non-ASCII words such parts. The code here was copied from show_text_part_content(), because the show command already does the needed conversion when showing the message.
* test: Add test for searching of uncommonly encoded messagesGravatar Michal Sojka2012-02-29
| | | | | | Emails that are encoded differently than as ASCII or UTF-8 are not indexed properly by notmuch. It is not possible to search for non-ASCII words within those messages.
* doc: minor corrections in notmuch-config.1Gravatar Pieter Praet2012-02-29
| | | | | | | | | | | | | | * man/man1/notmuch-config.1 - SYNOPSIS: Remove spaces in 'section.item' arg, and indicate that `notmuch config set' accepts multiple value args. - DESCRIPTION: Correct config option to exclude tags from search results. ('search.exclude_tags' instead of 'search.exclude') Also see commit bb8ab4c8.
* News for Make buttons for attachments allow viewing as well as savingGravatar Mark Walters2012-02-29
| | | | | | | | | | | | | | | | | | | | | | | On Sat, 21 Jan 2012 09:09:58 -0400, David Bremner <david@tethera.net> wrote: > On Fri, 20 Jan 2012 09:44:06 +0000, Mark Walters <markwalters1009@gmail.com> wrote: > > Define a keymap for attachment buttons to allow multiple actions. > > Define 3 possible actions: > > save attachment: exactly as currently, > > view attachment: uses mailcap entry, > > view attachment with user chosen program > > pushed. Here is a News patch for this feature. Best wishes Mark From fde33258850a438f1810e4158c946b3cf185b5e8 Mon Sep 17 00:00:00 2001 From: Mark Walters <markwalters1009@gmail.com> Date: Wed, 29 Feb 2012 09:26:17 +0000 Subject: [PATCH] News item for allowing attachment buttons to view as well as save.
* man: add references to maildir flag synchronizationGravatar Jani Nikula2012-02-27
| | | | | | notmuch new, restore, and tag commands support maildir flag synchronization with notmuch tags. Reference the notmuch-config(1) man page about it in the relevant man pages.
* man: document the notmuch configuration settings in notmuch-config(1)Gravatar Jani Nikula2012-02-27
| | | | | | | | | | | | At the risk of duplication between the man page and the configuration file generated by default, document the notmuch configuration options in the notmuch config man page. Existing users of notmuch should not be expected to re-generate their config file in order to get access to the documentation for new configuration options. Include some minor fixes and cleanups while at it.
* emacs: Fix out of date commentGravatar Austin Clements2012-02-27
| | | | | | The behavior of the header line in show-mode changed from showing the subject of the first open message to showing the subject of the first message in 4d77f18b. Update a comment to reflect this.
* Document the JSON schemata used by show and searchGravatar Austin Clements2012-02-27
|
* NEWS: sync 'new.ignore' entry with its comment in notmuch-config.cGravatar Pieter Praet2012-02-27
| | | | See previous commit.
* cli: update 'new.ignore' config file comment wrt file/directory matchingGravatar Pieter Praet2012-02-27
|
* Build-Depend on libgmime-2.6-dev | libgmime2.4-devGravatar Daniel Kahn Gillmor2012-02-27
| | | | | | libgmime-2.6-dev entered debian unstable today. If 2.6 is available, notmuch should build against 2.6 instead of 2.4, as 2.6 is the current upstream stable version of libgmime.
* News for retaining state when refreshing notmuch showGravatar Austin Clements2012-02-25
|