summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-28NEWS: bump date0.17_rc2David Bremner
2013-11-28version: bump to 0.17~rc2David Bremner
2013-11-28debian: update changelog for new release candidateDavid Bremner
2013-11-28test/crypto: disable gpg version printingDavid Bremner
This was causing test failures because version strings varied in length between GNU/Linux and GNU/KFreeBSD. One can also imagine different versions of gnupg causing the same failure.
2013-11-28vim: NEWS for vim interfaceDavid Bremner
Transcribed from Felipe's email.
2013-11-27debian: remove warning about emacs24David Bremner
2013-11-27util: detect byte orderDavid Bremner
Unfortunately old versions of GCC and clang do not provide byte order macros, so we re-invent them. If UTIL_BYTE_ORDER is not defined or defined to 0, we fall back to macros supported by recent versions of GCC and clang
2013-11-25NEWS: News for big endian sha1 bug fix.David Bremner
We could give more details about how to migrate tags, but I'm not sure that it's a practical problem, or just a theoretical one.
2013-11-25lib: fix byte order test in libsha1.cDavid Bremner
Previously PLATFORM_BYTE_ORDER and IS_LITTLE_ENDIAN were not defined, so the little endian code was always compiled in. This will have the effect that the "SHA1s" on big endian architectures will change (i.e. become actual sha1s). So someone re-indexing their database could conceivable lose tags on messages without a message-id header.
2013-11-24debian: disable gdb as a build-dependency on s390xDavid Bremner
Gdb is currently broken on s390x buildd's and porterboxes (see #728705). By removing it as a build-dep, we disable the (failing) atomicity test on this architecture
2013-11-24Add NEWS entry for notmuch-compactBen Gamari
Signed-off-by: Ben Gamari <bgamari.foss@gmail.com>
2013-11-23debian: add notmuch_database_compact to symbols file.debian/0.17_rc1-10.17_rc1David Bremner
This change does not require an SONAME bump because it only adds a symbol.
2013-11-23debian: changelog stanza for release candidateDavid Bremner
2013-11-23version: bump to 0.17~rc1David Bremner
Various other files are synched using "make update-versions". NEWS has to be hand edited.
2013-11-23NEWS: remove blank line.David Bremner
Tomi says I have to.
2013-11-23test: replace $PWD with YYY in emacs & emacs-show testsDavid Bremner
When executed command line is written to *Notmuch errors* buffer, shell-quote-argument will backslash-escape any char that is not in "POSIX filename characters" (i.e. matching "[^-0-9a-zA-Z_./\n]"). Currently in two emacs tests shell has expanded $PWD as part of emacs variable, which will later be fed to #'shell-quote-argument and finally written to ERROR file. If $PWD contained non-POSIX filename characters, data in ERROR file will not match $PWD when later comparing in shell. Therefore, in these two particular cases the escaped $PWD is replaced with YYY in ERROR file and expected content is adjusted accordingly.
2013-11-20emacs: show: stop stderr appearing in bufferMark Walters
In emacs 24.3+ the stdout/stderr from externally displaying an attachment gets inserted into the show buffer. This is caused by changes in mm-display-external in mm-decode.el. Ideally, we would put this output in the notmuch errors buffer but the handler is called asynchronously so we don't know when the output will appear. Thus if we put it straight into the errors buffer it could get interleaved with other errors. Also we can't easily tell when we have got all the error output so can't wait until the process is complete. One solution would be to create a new buffer for the stderr of each attachment viewed. Again, since we can't tell when the process has finished, we can't close these buffers automatically so this will leave lots of buffers around. Thus we add a debug variable notmuch-show-attachment-debug: it this is non-nil we create a new buffer for each viewer; if this variable is nil we just use a temp buffer which means all error output is discarded (this is the same behaviour as with emacs pre 24.3).
2013-11-20vim: add help fileFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: check compose is done on deleteFelipe Contreras
Not on unload, which happens when we switch buffers. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: remove unnecessary buffer queueFelipe Contreras
Vim handles the buffers just fine: when one is deleted, we go to the previous one. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: add wrapper for old variable namesFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: move default sets to set_defaults()Felipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: rename public notmuch_rb variablesFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: rename internal notmuch_rb variablesFelipe Contreras
Now we are the official one. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: add option to compose new messagesFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: refactor open_reply()Felipe Contreras
In preparation for composing new messages. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: trivial cleanupFelipe Contreras
Using $email_address is more straight forward. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: don't execute search if it's cancelledFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: generate custom message-idFelipe Contreras
Using Mail as a reference. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: split $email_addressFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: allow calling with argumentsFelipe Contreras
For example: :NotMuch date:today Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: add option to save the patches of a patch seriesFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: use much clearer sort constantFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: show first message of the threadFelipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: refactor database handlingFelipe Contreras
To minimize memory usage we need to destroy the queries and the databases, so we should keep track of them. Each buffer gets a database connection that is destroyed when the buffer is destroyed, and all the queries along with it. Ideally notmuch should destroy the queries when the database is destroyed, but it's not doing that at the moment. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: use notmuch fieldsFelipe Contreras
They are better encoded than Ruby's Mail. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: don't automatically refresh after taggingFelipe Contreras
This operation might take a while, and even if it only takes fractions of a second, that's not what the user might want. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-20vim: run mutt in default termCharlie Allom
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-11-19NEWS: insert quotable parts in reply as they are displayed in show viewJani Nikula
News for commit 5c19eb46a906819744a022463ee3fd7cdfaabbb9 Author: Jani Nikula <jani@nikula.org> Date: Sun Sep 1 20:59:53 2013 +0300 emacs: insert quotable parts in reply as they are displayed in show view
2013-11-19emacs: do not put quoted reply in primary selectionMark Walters
In current emacs (24.3) select-active-regions is set to t by default. The reply insertion code sets the region to the quoted message to make it easy to delete (kill-region or C-w). These two things combine to put the quoted message in the primary selection. This is not what the user wanted and is a privacy risk (accidental pasting of the quoted message). We can avoid some of the problems by let-binding select-active-regions to nil. This fixes if the primary selection was previously in a non-emacs window but not if it was in an emacs window. To avoid the problem in the latter case we deactivate mark. One key test (which fails under many simpler "fixes") is: open emacs 24.3 with notmuch, open 2 windows (viewing different notmuch buffers), highlight some text in one, and then reply to a message in the other. In many of my earlier attempts to fix this big this test fails.
2013-11-19compact: improve error messages on failures after compactionTomi Ollila
The error messages written during the steps replacing old database with new now includes relevant paths and strerror.
2013-11-19compact: unconditionally remove old wip database compact directoryTomi Ollila
In case previous notmuch compact has been interrupted there is old work-in-progress database compact directory partially filled. Remove it just before starting to fill the directory with new files.
2013-11-19compact: preserve backup database until compacted database is in placeTomi Ollila
It is less error prone and window of failure opportunity is smaller if the old (backup) database is always renamed (instead of sometimes rmtree'd) before new (compacted) database is put into its place. Finally rmtree() old database in case old database backup is not kept.
2013-11-17compact: catch Xapian::Error consistentlyTomi Ollila
catch Xapian::Error in compact code in lib/database.cc to be consistent with other code in addition to not making software crash on uncaught other Xapian error.
2013-11-17compact: tidy formattingTomi Ollila
Notmuch compact code whitespace changes to match devel/STYLE.
2013-11-16News for tree-viewMark Walters
2013-11-13emacs: tree: use remap for the over-ridden global bindingsMark Walters
Following a suggestion by Austin in id:20130915153642.GY1426@mit.edu we use remap for the over-riding bindings in pick. This means that if the user modifies the global keymap these modifications will happen in the tree-view versions of them too. [tree-view overrides these to do things like close the message pane before doing the action, so the functionality is very close to the original common keymap function.]
2013-11-13emacs: help: add a special function to deal with remapsMark Walters
remaps are a rather unusual keymap consisting of "first key" 'remap and then "second-key" the remapped-function. Thus we do the documentation for it separately.
2013-11-13emacs: help: add base-keymapMark Walters
To support key remapping in emacs help we need to know the base keymap when looking at the remapping. keep track of this while we recurse down the sub-keymaps in help.
2013-11-13emacs: help: split out notmuch-describe-key as a functionMark Walters
The actual documentation function notmuch-describe-keymap was getting rather complicated so split out the code for a single key into its own function notmuch-describe-key.