summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-19debian: changelog stanza for 0.21~rc2-1debian/0.21_rc2-10.21_rc2David Bremner
2015-10-19version: bump to 0.21~rc2David Bremner
2015-10-17NEWS: news for notmuch_directory_deleteJani Nikula
2015-10-17NEWS: news for notmuch address --deduplicate optionJani Nikula
2015-10-17NEWS: news for date:<expr>..!Jani Nikula
2015-10-17NEWS: nmbug-status supports sort orderJani Nikula
2015-10-17NEWS: note some Emacs UI changes for 0.21David Bremner
2015-10-17NEWS: new count api / deprecated count/search functions for 0.21David Bremner
2015-10-17NEWS: note some build system changes for 0.21David Bremner
The ruby bindings changes in particular will be user visible. The skipped tests status may also be interesting for packagers
2015-10-17NEWS: news for initial revision tracking support (0.21)David Bremner
2015-10-17emacs: show: increase default max-text-part-sizeMark Walters
Currently notmuch-show-max-text-part-size is 10000 which means some relatively normal messages have all parts hidden by default. Increase this to 100000 by default. The setting was introduced to alleviate problems with notmuch being very slow on large threads. Users hitting these problems may wish to customize this variable to something smaller (like 10000).
2015-10-17emacs: tree bugfixMark Walters
Formerly replying to an encrypted message in tree-view did not work: the message was not decrypted. This commit makes notmuch-tree respect the setting of notmuch-crypto-process-mime. In particular, if notmuch-crypto-process-mime is set to t, then replying to encrypted messages in tree mode will now decrypt the reply (as it already did in show mode).
2015-10-17doc: update copyright year to contain range 2009-2015Tomi Ollila
Now it is accurate and provides more information to the reader of the documents.
2015-10-15debian: update symbols file0.21_rc1David Bremner
we are only adding symbols, which is exactly the interesting case for a symbols file.
2015-10-15version: bump to 0.21~rc1David Bremner
2015-10-15debian: update changelogs for pre-releaseDavid Bremner
a sensible changelog can wait for upstream NEWS to be updated
2015-10-14cli: delete directory documents on directory removal0.21_rc0Jani Nikula
There was a problem with the directory documents being left behind when the filesystem directory was removed. This was worked around in [1]. However, that ignored the fact that the directory documents are also still listed by notmuch_directory_get_child_directories() leading to confusing results when running notmuch new. The directory documents are found and queued for removal over and over again. Fix the problem for real by removing the directory documents. This fixes the tests flagged as broken in [2]. The (non-deterministic) hack test from [3] also still passes with this change. [1] commit acd66cdec075312944e527febd46382e54d99367 [2] commit ed9ceda623d3f22fb66365b33db63c5c982067d3 [3] id:1441445731-4362-1-git-send-email-jani@nikula.org
2015-10-10lib: add interface to delete directory documentsJani Nikula
As mentioned in acd66cdec075312944e527febd46382e54d99367 we don't have an interface to delete directory documents, and they're left behind. Add the interface.
2015-10-10test: flag one more notmuch new test as brokenJani Nikula
Drop the test update added in [1] and mark the test as broken, like the tests flagged as broken in [2]. These all reflect the same underlying breakage with (lack of) directory deletion. [1] commit e4e04bbc328f990e36b77f508aef904d156029b1 [2] commit ed9ceda623d3f22fb66365b33db63c5c982067d3
2015-10-05lib: update doxygen comments to add @since for the new _st APIDavid Bremner
We should probably to this for all new functions introduced from now on.
2015-10-05ruby: use new query_search APIDavid Bremner
These changes should not be too surprising for users because the routines were already potentially throwing exceptions.
2015-10-05lib: migrate thread.cc to new query_search APIDavid Bremner
here we rely on thread_id_query being attached to the local talloc context, so no new cleanup code is needed.
2015-10-05lib: migrate notmuch_database_upgrade to new query_search APIDavid Bremner
Here we depend on the error path cleaning up query
2015-10-05python: update bindings for new count APIDavid Bremner
Note that any mismatches are not detected until runtime (if at all) with the python bindings, so tests are crucial
2015-10-05ruby: use new count APIDavid Bremner
This change of replacing ignoring errors with exceptions is intended, and indeed one of the main motivations for the libnotmuch API changes.
2015-10-05cli: update to use new count APIDavid Bremner
Essentially replace each call to notmuch_count_* with the corresponding _st call, followed by print_status_query.
2015-10-05lib: add versions of n_q_count_{message,threads} with status returnDavid Bremner
Although I think it's a pretty bad idea to continue using the old API, this allows both a more gentle transition for clients of the library, and allows us to break one monolithic change into a series
2015-10-05cli/count: simplify and document return value of print_countDavid Bremner
Essentially a cosmetic change.
2015-10-05lib: move query variable to function scopeDavid Bremner
This is a prelude to deallocating it (if necessary) on the error path.
2015-10-04nmbug-status: print config errors to stderrJani Nikula
Particularly scripted usage with stdout redirection can be confusing if errors are printed to stdout instead of stderr.
2015-10-01notmuch-emacs-mua: make --auto-daemon imply --create-frameTomi Ollila
Before this change with --auto-daemon but without --create-frame emacs server was started but no clients stay connected to it (in both graphical and terminal displays). Note that this changes how --client --auto-daemon works on graphical display; New emacs frame is now created for the message (and message-exit-actions hook appended).
2015-09-29notmuch-emacs-mua: do not create a frame by default with --clientJani Nikula
Make the default behaviour for --client the same as emacsclient default: do not create a new frame. Add a new option --create-frame, passing the same option to emacsclient to create a frame.
2015-09-29notmuch-emacs-mua: add --auto-daemon option to start Emacs daemon as neededJani Nikula
Automatically starting Emacs in daemon mode if the Emacs server is not running is a matter of preference better not hard coded in notmuch-emacs-mua. Add an option to control the behaviour.
2015-09-29notmuch-emacs-mua: move --client option handling aroundJani Nikula
Move --client handling to a more suitable location. No functional changes.
2015-09-29notmuch-emacs-mua: support --no-window-system also for non-clientJani Nikula
Clearly --no-window-system should be applicable without --client as well. Prepare for future changes with the naming of the variables.
2015-09-29man: clean up notmuch-emacs-mua man pageJani Nikula
Move --client description to a more suitable location, stylistic changes.
2015-09-29cli: use designated initializer to initialize add_files_stateJani Nikula
The side effect is that all of add_files_state will be initialized to zero, removing any lingering doubt that some of it might not be initialized. It's not a small struct, and the initialization is scattered around a bit, so this makes the code more readable.
2015-09-29nmbug-status: add support for specifying sort order for each viewJani Nikula
Let each view have a "sort" key, typically used with values "oldest-first" or "newest-first" (although all values in Query.SORT are accepted), and sort the results accordingly. Oldest first remains the default. The dynamic approach of mapping sort values is as suggested by W. Trevor King <wking@tremily.us>.
2015-09-26Merge branch 'release'David Bremner
bring debian specific changes into master
2015-09-26debian: changelog stanza for 0.20.2-2debian/0.20.2-2David Bremner
2015-09-26debian: fix linking in emacsen-install scriptDavid Bremner
When upgrading emacs, the install file can (apparently) be called with the lisp files already linked into the flavour specific directories. In this case we should not fail.
2015-09-26cli: do not sort addresses on --output=count or --deduplicate=addressJani Nikula
The order of the results with --output=count and --deduplicate=address are unspecified as they're based on a hash table traversal. This being the case, optimize the query by explicitly requesting unsorted results. Clarify the documentation accordingly.
2015-09-26man: document notmuch address --deduplicate=address optionJani Nikula
Document the deduplication based on case insensitive address.
2015-09-26test: add notmuch address --deduplicate=(no|mailbox|address) testsJani Nikula
First a simple smoke test first, next generate messages with multiple email address variants and check the behaviour of deduplication schemes with these.
2015-09-26cli: add support for deduplicating based on case insensitive addressJani Nikula
Consider all variants of an email address as one, and print the most common variant.
2015-09-26cli: change the data structure for notmuch address deduplicationJani Nikula
Currently we key the address hash table with the case sensitive "name <address>". Switch to case insensitive keying with just address, and store the case sensitive name and address in linked lists. This will be helpful in adding support for different deduplication schemes in the future. There will be a slight performance penalty for the current full case sensitive name + address deduplication, but this is simpler as a whole when other deduplication schemes are added, and I expect the schemes to be added to become more popular than the current default. Aparet from the possible performance penalty, the only user visible change should be the change in the output ordering for --output=count. The order is not guaranteed (and is based on hash table traversal) currently anyway, so this should be of no consequence.
2015-09-26util: add strcmp_null, a strcmp that handles NULL parametersJani Nikula
Add strcmp_null, a strcmp that handles NULL strings; in strcmp terms a NULL string is considered to be less than a non-NULL string.
2015-09-25lib: add support for date:<expr>..! to mean date:<expr>..<expr>Jani Nikula
It doesn't seem likely we can support simple date:<expr> expanding to date:<expr>..<expr> any time soon. (This can be done with a future version of Xapian, or with a custom query query parser.) In the mean time, provide shorthand date:<expr>..! to mean the same. This is useful, as the expansion takes place before interpetation, and we can use, for example, date:yesterday..! to match from beginning of yesterday to end of yesterday. Idea from Mark Walters <markwalters1009@gmail.com>.
2015-09-25test suite: don't consider skipped individual tests as failingDavid Bremner
It isn't completely clear what we want to do here, but 1) We currently don't fail if we skip a whole test file (mainly because we neglect to count those skipped tests properly). This change at least makes the two kinds of skipping consistent. 2) Automated build environments may have good reasons for building with a minimal set of prereqs, and we don't want to discourage running our test suite by breaking builds.
2015-09-25make test: NOTMUCH_TEST_QUIET=1 is now the defaultTomi Ollila
make test V=1 (or any other value than 0) and make test V=0 works similar way as build in general