aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* test: Add search tests for combined name/address queriesGravatar Austin Clements2014-06-18
| | | | | | | | Two of these are currently known-broken. We index the name and address parts in two separate calls to _notmuch_message_gen_terms. Currently this has the effect of placing the term positions of the prefixed terms from the second call right after those of the first call, but screws up the term positions of the non-prefixed terms.
* test: Fix from/to search test queriesGravatar Austin Clements2014-06-18
| | | | | | Two of the search tests for "from" and "to" queries were clearly trying to search for prefixed phrases, but forgot to shell quote the phrases. Fix this by quoting them correctly.
* emacs install: make sure all components to be installed are thereGravatar Tomi Ollila2014-06-15
| | | | | | | | | `make install-emacs` will copy $(emacs_sources), $(emacs_images) and $(emacs_bytecode) to their target directories. $(emacs_bytecode) was already a prerequisite of make install-emacs as these obviously needed to be build. Until a while ago all of $(emacs_sources) was available in the repository, but now it includes `notmuch-version.el` which is generated. In the future we may have generated emacs images too.
* debian: update notmuch-emacs for emacsen-common 2.0.8Gravatar David Bremner2014-06-14
| | | | | | - redo install/remove scripts from new samples - symlink .el files properly - add depends instead of conflicts
* debian: tighten dependency of python packages on libnotmuch.Gravatar David Bremner2014-06-14
| | | | | Using (>= ${source:Version}) allows newer versions of the library with the same SONAME.
* lib: resurrect support for single-message mbox filesGravatar Jani Nikula2014-06-13
| | | | | | | | | | | | | | | | | | | This is effectively a revert of commit 6812136bf576d894591606d9e10096719054d1f9 Author: Jani Nikula <jani@nikula.org> Date: Mon Mar 31 00:21:48 2014 +0300 lib: drop support for single-message mbox files The intention was to drop support for indexing new single-message mbox files (and whether that was a good idea in the first place is arguable). However this inadvertently broke support for reading headers from previously indexed single-message mbox files, which is far worse. Distinguishing between the two cases would require more code than simply bringing back support for single-message mbox files.
* test: use --quick when starting emacs.Gravatar David Bremner2014-06-13
| | | | | | | | | | At least in emacs24, this removes the "site-lisp" directories from the load path in addition to enforcing --no-site-lisp --no-init-file. This works around a slightly mysterious bug on Debian that causes test-lib.el not to load when there is cl-lib.el(c) in some site-lisp directory. It should be harmless in general since we really don't want to load any files from addon packages to emacs.
* build: fix order of rpathGravatar Felipe Contreras2014-05-28
| | | | | | | | | | | | | | | | | | In my system `pkg-config --libs talloc` returns 'Wl,-rpath,/usr/lib -ltalloc' (probably wrongly) which causes the final LDFLAGS to be something like '-Wl,-rpath,/usr/lib -Wl,-rpath,/opt/notmuch/lib', which causes the RUNPATH to be '/usr/lib:/opt/notmuch/lib', so basically defeating the whole purpose of RUNPATH. I noticed this when my /opt/notmuch/bin/notmuch (0.17) started updating the database after I updated the system (which updated the system's notmuch). This shouldn't happen. Let's move the RUNPATH flags before other external flags have a chance of screwing the build. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* Unset html_static_path in Python bindings docsGravatar Amadeusz Żołnowski2014-05-28
| | | | | | html_static_path is a kind of source directory and it was set to destination directory (../html) which caused infinite recursion with Sphinx 1.2 and above.
* doc/conf.py: Remove _static from html_static_pathGravatar W. Trevor King2014-05-28
| | | | | | | | | | | | Avoid: $ make HAVE_SPHINX=1 sphinx-html python ./doc/mkdocdeps.py ./doc doc/_build doc/docdeps.mk sphinx-build -b html -d doc/_build/doctrees -q ./doc doc/_build/html Making output directory... WARNING: html_static_path entry '/home/wking/src/notmuch/notmuch/doc/_static' does not exist because we have no static source in doc/_static.
* emacs: make sure tagging on an empty query is harmlessGravatar Mark Walters2014-05-27
| | | | | | | | | | | | | | | | | | | Currently notmuch-tag throws a "wrong-type-argument stringp nil" if passed a nil query-string. Catch this and provide a more useful error message. This fixes a case in notmuch-tree (if you try to tag when at the end of the buffer). Secondly, as pointed out by David (dme) `notmuch-search-find-stable-query-region' can return the query string () if there are no messages in the region. This gets passed to notmuch tag, and due to interactions in the optimize_query code in notmuch-tag.c becomes, in the case tag-change is -inbox, "( () ) and (tag:inbox)". This query matches some strange collection of messages which then get archived. This should probably be fixed, but in any case make `notmuch-search-find-stable-query-region' return a nil query-string in this case. This avoids data-loss (random tag removal) in this case.
* test: allow pending break points in atomicity script.Gravatar David Bremner2014-05-18
| | | | | This seems to fix problems with the symbol rename not being defined at startup on at least OS/X and some Debian Linux architectures.
* test/Makefile.local: Added configured TALLOC_LDFLAGS.Gravatar Charles Celerier2014-05-18
| | | | | | | | The linking to talloc is hard-coded in the testing Makefile. This patch causes the linking to talloc to be done according to how TALLOC_LDFLAGS was configured. Signed-off-by: Charles Celerier <cceleri@cs.stanford.edu>
* notmuch-dump: use fsync instead of fdatasyncGravatar David Bremner2014-05-18
| | | | | | Since the file size will have changed, there is no performance benefit to calling fdatasync. Somewhat surprisingly, using fdatasync apparently causes portability problems on FreeBSD.
* debian: disable atomicity tests on armel.Gravatar David Bremner2014-05-08
| | | | Another temporary fix for build problems.
* debian: disable atomicity tests on armhfGravatar David Bremner2014-05-08
| | | | | | In fact a fix for these tests is currently being reviewed, but I want to roll it together with a few other portability fixes for a point release.
* debian: changelog stanza for 0.18Gravatar David Bremner2014-05-06
| | | | plagiariaze my own summary from upstream NEWS
* version: bump to 0.18Gravatar David Bremner2014-05-06
| | | | debian changelog to be done seperately.
* build: use UPSTREAM_TAG and not VERSION to generate tarballGravatar David Bremner2014-05-04
| | | | The latter can have "~" in it, which is not legal for a git tag.
* doc/doxygen.cfg: bump version to 0.18Gravatar David Bremner2014-05-04
|
* version: bump for 0.18~rc1Gravatar David Bremner2014-05-04
| | | | | Doing all of the needed version bumps in one commit, and do a complete, if minimal debian changelog entry
* vim: improve the way messages are sentGravatar Felipe Contreras2014-05-03
| | | | | | | | | | | We want the proper encoding and content-type to be set when sending the mail, but human-readable plain-text for composing. So split the code in two parts: the presentation and the transport conversion. This fixes an issue while sending non-ascii mails to strict servers; the mail needs to be encoded. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: make the html handler configurableGravatar Paul Roberts2014-05-03
| | | | Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* vim: fix count_threads variable checkGravatar Felipe Contreras2014-05-03
| | | | | | | | | | | It never really worked; in Ruby only 'nil' and 'false' evaluate to false, therefore the statement '0 : true ? false' returns true, so it doesn't matter if notmuch_folders_count_threads = 0, count_threads would be true. We need to check specifically if the value is 1 or 0. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
* NEWS: make it explicit that wildcard matching is no longer supportedGravatar Jani Nikula2014-05-03
| | | | | | Wildcard matching was a feature of the probabilistic prefix, and we no longer have it for the boolean prefix. Also note that top-level folder can now be searched.
* NEWS: insert and new refuse invalid tagsGravatar Jani Nikula2014-05-02
|
* NEWS: message piping working directoryGravatar Jani Nikula2014-05-02
|
* NEWS: emacs: push mark before signature on replyGravatar Jani Nikula2014-05-02
|
* NEWS: cli exit status codesGravatar Jani Nikula2014-05-02
|
* NEWS: notmuch insert respects maildir.synchronize_flagsGravatar Jani Nikula2014-05-02
|
* NEWS: add overview section for 0.18Gravatar David Bremner2014-05-01
| | | | | This mentions the things I (subjectively) thought were most likely to either annoy people or make it worth upgrading.
* NEWS: message header parser changesGravatar Jani Nikula2014-04-28
|
* NEWS: mbox files are no longer supportedGravatar Jani Nikula2014-04-28
|
* NEWS: folder:, path:, and database upgradeGravatar Jani Nikula2014-04-28
| | | | Related news together.
* NEWS: replies to encrypted messages encrypted by defaultGravatar Jani Nikula2014-04-28
|
* NEWS: Ido initialization for Emacs 23.[123]Gravatar Tomi Ollila2014-04-27
|
* doc: remove conf.pyc on cleanGravatar David Bremner2014-04-22
| | | | | This build artifict messes up the packaging process for (at least) Debian if not removed on clean.
* python: bump versionGravatar David Bremner2014-04-22
|
* NEWS: bump versionGravatar David Bremner2014-04-22
| | | | As usual, we'll just edit the version in place for release candidates.
* debian: NEWS item about database upgradeGravatar David Bremner2014-04-22
|
* debian: changelog stanza for 0.18~rc0-1Gravatar David Bremner2014-04-22
| | | | | | - make versions match to pacify release-checks.sh - close a few more bugs. - fix one HTMLism
* version: bump to 0.18~rc0Gravatar David Bremner2014-04-22
| | | | Start the promised feature freeze
* doc: Simplify and clarify notmuch show --format=sexp descriptionGravatar Austin Clements2014-04-21
| | | | | | Previously, this was a verbatim copy of the --format=json text. Change it to instead reference the JSON text and actually describe how the S-expression format works.
* doc: Clarify charset encoding of JSON outputGravatar Austin Clements2014-04-21
|
* doc: Fix minor formatting issues in notmuch-show.rstGravatar Austin Clements2014-04-21
| | | | There were some extra line breaks and missing periods.
* doc: Clarify notmuch show --format=raw descriptionGravatar Austin Clements2014-04-21
| | | | | In addition to being generally more precise, this is explicit that there is no charset conversion.
* emacs: hello: bugfix for saved searches defcustomGravatar Mark Walters2014-04-21
| | | | | | | | | | | | | | | | | | | | The recent changes for saved searches introduced a bug when notmuch was loaded after the saved search was defined. This was caused by a utility function not being defined when the defcustom was loaded. Fix this by moving some code around: the defcustom is moved into notmuch-hello (which is a more natural place anyway), and the utility functions are moved before the defcustom in notmuch-hello. We are rather constrained as the defcustom for saved searches is the first variable in the notmuch-hello customize window; to avoid moving this customize the defcustom needs to be the first defcustom in notmuch-hello, and the utility functions come before that. This patch also renames one of the utility functions from notmuch--saved-searches-to-plist to notmuch-hello--saved-searches-to-plist (as it is purely local to notmuch-hello) and corrects a couple of typo/spelling mistakes pointed out by Tomi.
* doc/prerst2man.py: Fix 'os.system' -> 'system' typoGravatar W. Trevor King2014-04-21
| | | | | | | | | | | | | | | | | Avoid: $ make HAVE_SPHINX=0 HAVE_RST2MAN=1 build-man python ./doc/prerst2man.py ./doc doc/_build/man Traceback (most recent call last): File "./doc/prerst2man.py", line 65, in <module> os.system('set -x; rst2man {0} {1}/{2}.{3}' NameError: name 'os' is not defined make: *** [doc/_build/man/man1/notmuch.1] Error 1 by using system directly. We don't need the 'os.' namespacing, because the function was imported with: from os import makedirs, system
* doc/prerst2man.py: Use Python-3-compatible octal notationGravatar W. Trevor King2014-04-21
| | | | | | | | Python 3 only supports the 0oXXX notation for octal literals [1,2], which have also been supported in 2.x since 2.6 [2]. [1]: https://docs.python.org/3.0/whatsnew/3.0.html#integers [2]: http://legacy.python.org/dev/peps/pep-3127/
* doc/mkdocdeps.py: Use "with" statement for the output fileGravatar W. Trevor King2014-04-21
| | | | | | | | | Before this patch, the open was unnecessarily early and relied on the process cleanup to close. Neither one of these was a real problem, but PEP 343's context managers (which landed in Python 2.5) make proper cleanup very easy. [1]: http://legacy.python.org/dev/peps/pep-0343/