summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-23finalize release 0.23.10.23.1David Bremner
2016-10-22debian: start changelog stanza for 0.23.1David Bremner
2016-10-22version: bump to 0.23.1David Bremner
2016-10-22NEWS for two bugfixesMark Walters
This adds news items for the two bugs emacs: search face bugfix and emacs: fix notmuch-search-line-faces defcustom
2016-10-22Expand docstrings about fcc using notmuch-insertKeith Amidon
This commit expands docstrings for notmuch-fcc-dirs and notmuch-maildir-fcc-with-notmuch-insert to describe how quoted strings are processed and make the ability to configure sent folders containing whitespace more discoverable.
2016-10-22test: use vt100 as "smart" terminal for known dumb/unknown terminalsTomi Ollila
Otherwise use whatever user environment has set for TERM so that there is more chance to test on users' actual environments.
2016-10-22test-lib.sh: rename $DTACH_TERM to $SMART_TERMTomi Ollila
2016-10-19NEWS for 0.23.1David Bremner
2016-10-19emacs: search face bugfixMark Walters
In commit 2a7b11b064233afc4feead876fa396e3c18a6b91 the default faces for unread and flagged were accidentally swapped. This swaps them back.
2016-10-19emacs: fix notmuch-search-line-faces defcustomMark Walters
In commit 2a7b11b064233afc4feead876fa396e3c18a6b91 the default value for notmuch-search-line-faces was changed so that it didn't match the specification in the corresponding defcustom. This meant that it was difficult for the user to customize this variable as they got a type mismatch error. Note anyone who had already customised this variable would not see this bug as their customisation would match the defcustom.
2016-10-11emacs/show: force notmuch-show-buttonise-links to act on linesDavid Bremner
This seems to fix a problem with emacs 25 creating partial buttons by calling n-s-b-l with a region that does not include the whole button. I'm not 100% sure it's legit to act outside the region passed by jit-lock, but goto-address-fontify-region (where I borrowed the code from) already does this, so this patch to not make things worse.
2016-10-06lib: document API added in 0.23David Bremner
The API was already documented, but for future readers note when the functions were added,
2016-10-06require xapian >= 1.2.6David Bremner
It seems that no-one tried to compile without Xapian compact support since March of 2015, since that's when I introduced a syntax error in that branch of the ifdef. Given the choice of maintaining this underused branch of code, or bumping the Xapian dependency to a version from 2011, it seems reasonable to do the latter.
2016-10-05debian: changelog stanza for 0.23-2David Bremner
2016-10-03debian: changelog stanza for 0.23-10.23David Bremner
2016-10-03NEWS: bump date to todayDavid Bremner
2016-10-03version: bump to 0.23David Bremner
2016-10-01lib: bump minor version to mark added symbolsDavid Bremner
This should not change the SONAME, and therefore won't change the dynamic linking behaviour, but it may help some users debug missing symbols in case their libnotmuch is too old.
2016-09-30debian: changelog stanza for 0.23~rc1-1debian/0.23_rc1-10.23_rc1David Bremner
2016-09-30version: update to 0.23~rc1David Bremner
2016-09-30configure: set platform variables also when `uname` is unrecognizedTomi Ollila
Since commit 124a67e96ecab5495c0f17b6875d53dfd67ff137: configure: add set -u all variables must be set before their expansion are attempted. These 2 variables: "platform" and "linker_resolves_library_dependencies" were not given value in the final 'else' branch when platform check failed due to unrecognized kernel name (output of `uname`). Now those two are given reasonable non-empty values.
2016-09-30emacs: fcc: say we are doing FccMark Walters
Since doing the Fcc with notmuch insert could be slow (if the indexing takes some time) add a message saying we are doing it.
2016-09-29emacs: document notmuch-fcc-dirsMark Walters
This updates the docstring for the variable notmuch-fcc-dirs to match the new insert code.
2016-09-29NEWS: add news for fcc insert and address completion changesMark Walters
2016-09-28lib/database.cc: fix misleading indentationTomi Ollila
Found by gcc 6.1.1 -Wmisleading-indentation option (set by -Wall).
2016-09-28NEWS: emacs notmuch-show-resend-messageTomi Ollila
2016-09-27NEWS: mention message properties API, dump/restoreDavid Bremner
2016-09-27NEWS: fix headline for go bindings NEWSDavid Bremner
2016-09-27NEWS: note notmuch-reply refactorDavid Bremner
2016-09-27NEWS: note dropping of User-Agent headerDavid Bremner
2016-09-27NEWS: document mtime bugfixDavid Bremner
2016-09-26emacs: tree: make b bounce a message and backspace scroll message pane upMark Walters
This tweaks the keybindings in tree-mode. It make b do bounce/resend matching show-mode. Since b was already bound to scroll message pane back, we now use backspace for that. This means space/backspace scroll the message pane forwards/backwards, and page-up/page-down scrolls the tree pane forwards/backwards.
2016-09-26debian: update symbols for 0.23debian/0.23_rc0-10.23_rc0David Bremner
New sub-APIs: config, built_with, message_property. A new exception used internally. Mark the exception as optional, as it only shows up when built against Xapian supporting FieldProcessors
2016-09-26debian: changelog stanza for 0.23~rc0-1David Bremner
2016-09-26version: bump to 0.23~rc0David Bremner
2016-09-25emacs: tag deleted face bugfixMark Walters
Commit d25d33ff cleaned up some of the tag face code. However, for the face notmuch-tag-deleted it used the test ((class color) (supports :strike-through)) to decide whether to use red strikethrough or inverse-video (emacs in a terminal typically doesn't support red strikethrough, but in X it does). However, it seems that test often returns true even though red strikethrough is not supported. This breaks the tag update code -- the wrong thing is displayed to the user. Thus we make the test explicitly more specific, changing the test to ((class color) (supports :strike-through "red"))
2016-09-24test: test-lib.sh: use $BASH instead of ${SHELL-sh} to relaunchTomi Ollila
In case of the test script is to be relaunced under valgrind, or --tee is requested, use the $BASH shell variable to locate the command interpreter. The $SHELL variable is re-set by non-interactive shells so in case the shell uses some other shell (e.g. zsh) for interactive use these bash scripts continue to work.
2016-09-24lib: add talloc reference from string map iterator to mapDavid Bremner
This is needed so that when the map is modified during traversal, and thus unlinked by the database code, the map is not disposed of until the iterator is done with it.
2016-09-24emacs: tree: make jump close message paneMark Walters
j is in the global notmuch keymap bound to notmuch jump. In tree-mode it makes sense to close the message pane first (otherwise the new search runs in the small top pane of tree-mode).
2016-09-24test/emacs: add broken test for message replying to msg to selfDavid Bremner
This is a strange corner case where the removing of the user's address from the To: header does the wrong thing. If we think it is worth (eventually) fixing, this test can serve as a reminder.
2016-09-23NEWS: fix markup of CONSTANTS_WITH_UNDERSCORESDavid Bremner
Alas, I did not notice when when I originally applied the NEWS patch
2016-09-23NEWS: news for Xapian 1.4 enabled featuresDavid Bremner
In fact some of these features are available in Xapian 1.3.x development releases, but these are not really widely packaged. In any case, the experts who are using development releases of Xapian can figure that out.
2016-09-22test: fix printf formatDavid Bremner
notmuch_status_t is an integer type, printing it as a string is a very bad idea.
2016-09-21build system: choose gnu99 as a C standardDavid Bremner
Apparently pre 5.1 gcc defaulted to gnu89, but we decided it was ok to use some c99 features. '-std=c99' by itself is not enough for notmuch to compile. '-std=gnu99' seems to work with clang and gcc, so I'm not convinced configuration support is needed.
2016-09-21add property: query prefix to search for specific propertiesDaniel Kahn Gillmor
We want to be able to query the properties directly, like: notmuch count property:foo=bar which should return a count of messages where the property with key "foo" has value equal to "bar".
2016-09-21cli: optionally restore message properties from dump fileDavid Bremner
This somewhat mimics the config line parsing, except there can be arbitrarily many key value pairs, so one more level of looping is required.
2016-09-21CLI: add properties to dump outputDavid Bremner
Part of providing extensibility via properties is to make sure that user data is not lost. Thus we need to be able to dump and restore properties.
2016-09-21CLI: refactor dumping of tags.David Bremner
This is mainly code movement, to make room in the loop over messages for dumping properties.
2016-09-21lib: iterator API for message propertiesDavid Bremner
This is a thin wrapper around the string map iterator API just introduced.
2016-09-21lib: extend private string map API with iteratorsDavid Bremner
Support for prefix based iterators is perhaps overengineering, but I wanted to mimic the existing database_config API.