summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-18debian: drop patchesdebian/0.31.4-1archive/debian/0.31.4-10.31.4David Bremner
we should by synced up with the tarball again
2021-02-18doc: bump copyright yearDavid Bremner
2021-02-18debian: changelog for 0.31.4-1David Bremner
2021-02-18NEWS: news for 0.31.4David Bremner
2021-02-18version: update to 0.31.4David Bremner
2021-02-18test: Fix race condition in T568-lib-thread.shDavid Bremner
The assignment of thread-ids is (apparently) non-deterministic in a way that mostly seems to show up on multicore machines. In my tests the number is different from that previously assumed by this test about 15% of the time on a 50 thread (25 core) Xeon. Since message id's are fixed, use a message known to be in the thread of interest to pick out the correct thread-id.
2021-02-15fix build failure with glib 2.67David Bremner
Based on a patch from Michael J Gruber [1]. As of glib 2.67 (more specifically [2]), including "gmime-extra.h" inside an extern "C" block causes build failures, because glib is using C++ features. Observing that "gmime-extra.h" is no longer needed in notmuch-private.h, which can simply delete that include, but we have to correspondingly move the includes which might include it (in particular crypto.h) out of the extern "C" block also. This seems less fragile than only moving gmime-extra, and relying on preprocessor sentinels to keep the deeper includes from happening. Move to the include to the outside of the extern block. [1]: id:aee618a3d41f7889a7449aa16893e992325a909a.1613055071.git.git@grubix.eu [2]: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1715
2020-12-26debian: skip gdb based tests on hppadebian/0.31.3-2archive/debian/0.31.3-2David Bremner
2020-12-25Commit Debian 3.0 (quilt) metadatadebian/0.31.3-1archive/debian/0.31.3-1David Bremner
[dgit (9.12) quilt-fixup]
2020-12-25debian: drop debian/patchesDavid Bremner
These were originally committed by git-debrebase. Unfortunately git debrebase does not seem to like the notmuch git workflow, so giving up on it for now.
2020-12-25debian: don't tag debian tag at release is made.0.31.3David Bremner
This reflects a change in the debian workflow to use dgit, which does the tagging for us. It also leaves room for debian specific fixups.
2020-12-25NEWS: add news for 0.31.3David Bremner
2020-12-25debian: changelog for 0.31.3-1David Bremner
2020-12-25version: bump 0.31.3David Bremner
2020-12-25test/T360-symbol-hiding.sh: trim extra output from readelfDavid Bremner
readelf on (at least) ppc64le sometimes generates some extension to the Ndx name inside '[]'. Remove this output to allow our simple column based parsing to work.
2020-12-25python/notmuch2: fix exclude tag handlingJohannes Larsen
A typo in Database._create_query lost the exclude_tag names during the string to utf-8 conversion. Amended by DB: fixed patch format and updated commit message.
2020-12-23lib/config: delay setting talloc destructorDavid Bremner
If Xapian has thrown an exception, it is not safe to invoke the destructor when freeing the list struct. (cherry picked from commit 43ba5ed7eca6e9f6433b8c2c2a9d834d4101b92a)
2020-12-13Commit Debian 3.0 (quilt) metadatadebian/0.31.2-5archive/debian/0.31.2-5David Bremner
[dgit (9.12) quilt-fixup]
2020-12-13debian: changelog for 0.31.2-5David Bremner
2020-12-13test/T360-symbol-hiding: use readelf in place of nmDavid Bremner
It turns out that using nm -P isn't as portable as hoped. In particular with some ELF ABIs (e.g. ppc64 ELFv1), the desired symbols end up in the data section instead of text. The test is currently only functional on ELF based architectures, so I think it's legit to depend on readelf instead of nm. The switch to readelf has the advantage that we can explicitely ask for all of the symbols with global visibility, rather than grepping for notmuch. That seems a more robust approach since it will catch any strangely named global symbols.
2020-12-10Commit Debian 3.0 (quilt) metadatadebian/0.31.2-4archive/debian/0.31.2-4David Bremner
[dgit (9.12) quilt-fixup]
2020-12-10debian: changelog for 0.31.2-4David Bremner
2020-12-09build/docs: move docstring prereq to file targetsDavid Bremner
Under a sufficiently high level of parallelism [1] there seems to be a a race condition that allows sphinx-build to start running before the docstrings are extracted. This change moves the docstring stamp from the phony targets sphinx-html and sphinx-info to the file targets that they depend on. I'm not sure why this makes things better, but I am fairly confident it does not make things worse, and experimentally it seems to eliminate the race condition. [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976934
2020-11-09debian: upload 0.31.2-3debian/0.31.2-3archive/debian/0.31.2-3David Bremner
2020-11-09debian: changelog for 0.31.2-2debian/0.31.2-2archive/debian/0.31.2-2David Bremner
2020-11-09debian: run tests in verbose modeDavid Bremner
A hopefully temporary change to try and debug some test failures on autobuilders.
2020-11-08release: explicitely build sphinx-htmldebian/0.31.2-10.31.2David Bremner
This is to force it to happen after the "make clean".
2020-11-08NEWS: update for 0.31.2David Bremner
2020-11-08debian: remove quilt patchesDavid Bremner
These were generated by dgit due a mix up with .orig.tar.xz files.
2020-11-08debian: update changelog for 0.31.2-1David Bremner
2020-11-08version: bump to 0.31.2David Bremner
2020-11-08build: change one more occurrence of 'version' to 'version.txt'.David Bremner
This one disguised via tar and sed trickery.
2020-11-08Commit Debian 3.0 (quilt) metadatadebian/0.31.1-1archive/debian/0.31.1-1David Bremner
[dgit (9.12) quilt-fixup]
2020-11-08release: call python3 instead of python0.31.1David Bremner
Debian does not install /usr/bin/python by default any more.
2020-11-08release: update release-checks.sh for s/version/version.txt/David Bremner
Another place missed by the rename.
2020-11-08debian: changelog for 0.31.1-1David Bremner
2020-11-08NEWS: add news for 0.31.1David Bremner
2020-11-08update versionsDavid Bremner
2020-11-08build: fix update-versions ruleDavid Bremner
This was missed in the rename of the 'version' file to version.txt
2020-10-30Rename version to version.txtRalph Seichter
Building Notmuch on macOS is known to cause problems because the Notmuch distribution archive contains two files named "version". These names clash with the <version> header as defined in C++20. Therefore, the existing naming will likely become a problem on other platforms as well, once compilers adopt the new standard. Signed-off-by: Ralph Seichter <github@seichter.de> Amended-by: db s/keyword/header/ in commit message.
2020-10-29lib/config: don't set destructor until iterator is initialized.David Bremner
As diagnosed by Olivier Taïbi in id:20201027100916.emry3k2wujod4xnl@galois.lan, if an exception is thrown while the initialization is happening (e.g. if the function is called on a closed database), then the destructor is (sometimes) invoked on an uninitialized Xapian object. Solve the problem by moving the setting of the destructor until after the placement new successfully completes. It is conceivable this might cause a memory leak, but that seems preferable to crashing, and in any case, there seems to be nothing better to be done if the initialization is failing things are in an undefined state by definition.
2020-10-21configure: replace $(realpath emacs) with $(cd emacs && pwd -P)Tomi Ollila
For portability; the realpath command (e.g. from GNU coreutils) is not so common outside Linux systems. The "$(cd emacs && pwd -P)" replaces that realpath(1) execution suitably in this context (using just bash(1) builtins).
2020-10-21emacs docs: rstdoc.el: consistent single quote conversionsTomi Ollila
With text-quoting-style 'grave keeps "'" and "`" quotes unaltered for further processing done by this code (regardless of locale...). The tools that read the reStructuredText markup generated can do their styling instead. Added temporary conversions of ' and ` to \001 and \002 so that 's and `s outside of `...' and `...` are converted separately ('s restored back to ' and `s converted to \`). Both `...' and `...` are finally "converted" to `...` (not ``...``). https://docutils.sourceforge.io/docs/user/rst/quickref.html documents that as `interpreted text`: "The rendering and meaning of interpreted text is domain- or application-dependent. It can be used for things like index entries or explicit descriptive markup (like program identifiers)." Which looks pretty much right.
2020-09-19emacs: Remove notmuch-mua-message-send-hookTim Quelch
Currently `message-send-hook` functions are being called twice: In notmuch send common when `notmuch-mua-send-hook` functions are run (which by default includes `notmuch-mua-message-send-hook`) and in `message-send` itself. Because `message-send-hook` functions are run in `message-send` itself, we don't need also need to run them before we delegate to `message-send` Calling `notmuch-mua-message-send-hook` resulted in functions in `message-send-hook` to be called twice. This causes bugs in non-idempotent hook functions.
2020-09-05Merge tag '0.31' into masterDavid Bremner
notmuch 0.31 release
2020-09-05NEWS: set release datedebian/0.31-1archive/debian/0.31-10.31David Bremner
2020-09-05debian: changelog for 0.31-1David Bremner
2020-09-05version: bump to 0.31David Bremner
2020-09-05News: add entry for unthreaded modeMark Walters
A belated NEWS entry for the new un-threaded mode introduced in Notmuch 0.30.
2020-09-04test: fix syntax errors in erroring calls to notmuch insertDavid Bremner
notmuch insert does not currently support passing a filename for the input, so all of these tests have an extra error in addition to the one being tested for. Currently this does not make a difference because the error being tested for is caught before the error of an extra command line argument. In the future it might make a difference, and in any case it is confusing.