summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-09debian: re-enable atomicity tests on armhfdebian/0.18.1-2David Bremner
Commit a33ec9c seems to have fixed the problem on the armhf porterbox (harris.debian.org).
2014-08-09debian: build with emacs24 by default, disable gdb on arm64David Bremner
From wookey@debian.org id:20140808012130.GT7605@stoneboat.aleph1.co.uk Fixes for the port in progress of debian to arm64.
2014-06-25version: bump to 0.18.1debian/0.18.1-10.18.1David Bremner
Also add precis of NEWS to debian changelog
2014-06-24NEWS: Improve and correct "Fix for phrase indexing" entryAustin Clements
This improves the description of the fix, fixes some typos, and changes "(re)-indexed" to "indexed" because we have no particular notion of "re-indexing" a message.
2014-06-23NEWS: quibbles from TomiDavid Bremner
See id:m2vbrsgi7n.fsf@guru.guru-group.fi for details
2014-06-22version: bump to 0.18.1~rc0David Bremner
Also bump the python bindings version, the NEWS version and the Debian version. Since the changelog is (slightly dubiously) metadata, we have to change it to upload a release candidate.
2014-06-22NEWS: add news for 0.18.1David Bremner
This is my summary of the commits from 0.18.
2014-06-21configure: add workaround for systems without zlib.pcFelipe Contreras
Some systems (e.g. FreeBSD) might not have installed the appropriate pkg-config file as they should. We can workaround the issue by creating the .pc file they should have distributed. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2014-06-18lib: Separate all phrases indexed by _notmuch_message_gen_termsAustin Clements
This adds a 100 termpos gap between all phrases indexed by _notmuch_message_gen_terms. This fixes a bug where terms from the end of one header and the beginning of another header could match together in a single phrase and a separate bug where term positions of un-prefixed terms overlapped. This fix only affects newly indexed messages. Messages that are already indexed won't benefit from this fix without re-indexing, but the fix won't make things any worse for existing messages.
2014-06-18test: Known-broken test for overlapping/adjacent termposAustin Clements
This adds two known-broken tests and one working test related to the term positions assigned to terms from different headers or MIME parts. The first test fails because we don't create a termpos gap between different headers. The second test fails because we don't adjust termpos at all when indexing multiple parts.
2014-06-18lib: Index name and address of from/to headers as a phraseAustin Clements
Previously, we indexed the name and address parts of from/to headers with two calls to _notmuch_message_gen_terms. In general, this indicates that these parts are separate phrases. However, because of an implementation quirk, the two calls to _notmuch_message_gen_terms generated adjacent term positions for the prefixed terms, which happens to be the right thing to do in this case, but the wrong thing to do for all other calls. Furthermore, _notmuch_message_gen_terms produced potentially overlapping term positions for the un-prefixed copies of the terms, which is simply wrong. This change indexes both the name and address in a single call to _notmuch_message_gen_terms, indicating that they should be part of a single phrase. This masks the problem with the un-prefixed terms (fixing the two known-broken tests) and puts us in a position to fix the unintentionally phrases generated by other calls to _notmuch_message_gen_terms.
2014-06-18test: Add search tests for combined name/address queriesAustin Clements
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.
2014-06-18test: Fix from/to search test queriesAustin Clements
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.
2014-06-15emacs install: make sure all components to be installed are thereTomi Ollila
`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.
2014-06-14debian: update notmuch-emacs for emacsen-common 2.0.8David Bremner
- redo install/remove scripts from new samples - symlink .el files properly - add depends instead of conflicts
2014-06-14debian: tighten dependency of python packages on libnotmuch.David Bremner
Using (>= ${source:Version}) allows newer versions of the library with the same SONAME.
2014-06-13lib: resurrect support for single-message mbox filesJani Nikula
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.
2014-06-13test: use --quick when starting emacs.David Bremner
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.
2014-05-28build: fix order of rpathFelipe Contreras
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>
2014-05-28Unset html_static_path in Python bindings docsAmadeusz Żołnowski
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.
2014-05-28doc/conf.py: Remove _static from html_static_pathW. Trevor King
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.
2014-05-27emacs: make sure tagging on an empty query is harmlessMark Walters
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.
2014-05-18test: allow pending break points in atomicity script.David Bremner
This seems to fix problems with the symbol rename not being defined at startup on at least OS/X and some Debian Linux architectures.
2014-05-18test/Makefile.local: Added configured TALLOC_LDFLAGS.Charles Celerier
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>
2014-05-18notmuch-dump: use fsync instead of fdatasyncDavid Bremner
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.
2014-05-08debian: disable atomicity tests on armel.David Bremner
Another temporary fix for build problems.
2014-05-08debian: disable atomicity tests on armhfDavid Bremner
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.
2014-05-06debian: changelog stanza for 0.180.18David Bremner
plagiariaze my own summary from upstream NEWS
2014-05-06version: bump to 0.18David Bremner
debian changelog to be done seperately.
2014-05-04build: use UPSTREAM_TAG and not VERSION to generate tarballdebian/0.18_rc1-10.18_rc1David Bremner
The latter can have "~" in it, which is not legal for a git tag.
2014-05-04doc/doxygen.cfg: bump version to 0.18David Bremner
2014-05-04version: bump for 0.18~rc1David Bremner
Doing all of the needed version bumps in one commit, and do a complete, if minimal debian changelog entry
2014-05-03vim: improve the way messages are sentFelipe Contreras
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>
2014-05-03vim: make the html handler configurablePaul Roberts
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2014-05-03vim: fix count_threads variable checkFelipe Contreras
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>
2014-05-03NEWS: make it explicit that wildcard matching is no longer supportedJani Nikula
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.
2014-05-02NEWS: insert and new refuse invalid tagsJani Nikula
2014-05-02NEWS: message piping working directoryJani Nikula
2014-05-02NEWS: emacs: push mark before signature on replyJani Nikula
2014-05-02NEWS: cli exit status codesJani Nikula
2014-05-02NEWS: notmuch insert respects maildir.synchronize_flagsJani Nikula
2014-05-01NEWS: add overview section for 0.18David Bremner
This mentions the things I (subjectively) thought were most likely to either annoy people or make it worth upgrading.
2014-04-28NEWS: message header parser changesJani Nikula
2014-04-28NEWS: mbox files are no longer supportedJani Nikula
2014-04-28NEWS: folder:, path:, and database upgradeJani Nikula
Related news together.
2014-04-28NEWS: replies to encrypted messages encrypted by defaultJani Nikula
2014-04-27NEWS: Ido initialization for Emacs 23.[123]Tomi Ollila
2014-04-22doc: remove conf.pyc on cleandebian/0.18_rc0-10.18_rc0David Bremner
This build artifict messes up the packaging process for (at least) Debian if not removed on clean.
2014-04-22python: bump versionDavid Bremner
2014-04-22NEWS: bump versionDavid Bremner
As usual, we'll just edit the version in place for release candidates.