aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-04lib: Only sync modified message documentsAustin Clements
Previously, we updated the database copy of a message on every call to _notmuch_message_sync, even if nothing had changed. In particular, this always happens on a thaw, so a freeze/thaw pair with no modifications between still caused a database update. We only modify message documents in a handful of places, so keep track of whether the document has been modified and only sync it when necessary. This will be particularly important when we add message revision tracking.
2015-07-30configure: support --without-rubyDavid Bremner
Apparently some ruby installs are broken in ways that prevent the ruby bindings from building.
2015-07-30configure: support --with-docs=noDavid Bremner
Since we promise --with-foo=no is equivalent to --without-foo
2015-07-30configure: alphabetize --without helpDavid Bremner
Now that the "without" options seem to be multiplying, try to make it easier for people to find the one they want.
2015-07-30configure: fix typo in commentDavid Bremner
Some lazy person, probably me, forgot to press shift.
2015-07-30cli: enable notmuch --help commandDavid Bremner
This functionality seems to have been undocumented, if it ever existed. Document it now.
2015-07-30doc: whitespace cleanup for notmuch.rstDavid Bremner
replace leading spaces with tabs
2015-07-28build: add "set -eu" to version script generationDavid Bremner
It turns out that on certain systems like FreeBSD, c++filt is not installed by default. It's basically OK if we fail the build in that case, but what's really not OK is for the build to continue and generate bad binaries.
2015-07-28configure: whitespace cleanupDavid Bremner
This is the result of running M-x whitespace-cleanup in emacs. In particular this replaces some spaces at the beginning of lines with tabs.
2015-07-27configure: add --without-docs switchMikhail
Previously documentation was build automatically if sphinx/doxygen executable were found. The switch is used to unconditionally disable sphinx/doxygen detection and therefor, building of documentation (including man pages).
2015-07-10replace hardcoded "python" with configured python commandDavid Bremner
Thanks to FreeBSD port maintainer Mikhail for report and the original the original patch. This is the right thing (TM) and also apparently fixes the build on FreeBSD.
2015-06-30Fix documentation for notmuch--tag-hook functionsDaniel Schoepe
The second argument to notmuch-tag is now called tag-changes, but the documentation for notmuch-before-tag-hook and notmuch-after-tag-hook still used the old argument name `tags'. This resulted in broken hooks when following the documentation.
2015-06-27Merge tag '0.20.2'David Bremner
notmuch 0.20.2 release Conflicts: NEWS
2015-06-27version: update to 0.20.2debian/0.20.2-10.20.2David Bremner
As usual, bump python version at same time.
2015-06-27debian: update changelog for 20.2-1David Bremner
Actual changes are documented in the bug.
2015-06-27NEWS for 0.20.2David Bremner
Just the one bug fix
2015-06-23emacs: tree: mark read changeMark Walters
The mark read code for tree mode did not get updated in the recent changes. This updates it to match. Since the user can customize the mark read logic we just call the show logic in the message pane.
2015-06-14test: add initial ruby testsDavid Bremner
This is pretty much a line by line translation of the existing python tests, with two new tests for the count API.
2015-06-14build/ruby: use notmuch configure script values for shared libDavid Bremner
This is supposed to help build on systems like MacOS with different conventions for naming shared libraries. We have already computed the relevant names, so doing it again in ruby seems like a bad idea.
2015-06-13lib, ruby: make use of -Wl,--no-undefined configurableDavid Bremner
In particular this is supposed to help build on systems (presumably using a non-gnu ld) where this flag is not available.
2015-06-13emacs search: stash queryMark Walters
Add keybinding c q to stash the current query in search mode.
2015-06-12build: integrate building ruby bindings into notmuch build processDavid Bremner
Because ruby generates a Makefile, we have to use recursive make. Because mkmf.rb hardcodes the name Makefile, put our Makefile{.local} in the parent directory.
2015-06-12lib: reject relative paths in n_d_{create,open}_verboseDavid Bremner
There are many places in the notmuch code where the path is assumed to be absolute. If someone (TM) wants a project, one could remove these assumptions. In the mean time, prevent users from shooting themselves in the foot. Update test suite mark tests for this error as no longer broken, and also convert some tests that used relative paths for nonexistent directories.
2015-06-12lib: add NOTMUCH_STATUS_PATH_ERRORDavid Bremner
The difference with FILE_ERROR is that this is for things that are wrong with the path before looking at the disk. Add some 3 tests; two broken as a reminder to actually use this new code.
2015-06-09release-checks: check that git working directory is cleanTomi Ollila
Before release check that there are no uncommitted changes and that there are no files in working directory that possibly should have been added to the repository. Amended by db: remove --ignored, since that seems like too much trouble.
2015-06-08test: redirect man output to /dev/nullDavid Bremner
In the case the these tests fail, they generate a bunch of output; this output is not very interesting because it is just the successful output of a man page. It does however make it hard to see what tests are actually failing, even with NOTMUCH_TEST_QUIET
2015-06-08configure: add ability to force python version via environmentDavid Bremner
This is makes it a bit easier to run our test suite under alternative python versions.
2015-06-08test: make python tests compatible with python3David Bremner
Making the test suite actually run them with python3 is left for future work.
2015-06-05doc: add minimal note about shared options.David Bremner
The example is a bit silly, but notmuch subcommand --help is actually not equivalent to "notmuch --help subcommand".
2015-06-02Merge branch 'release'David Bremner
20.1 plus NEWS fixup
2015-06-02NEWS: missing NEWS for 20.1David Bremner
Embarrassingly, these were not included in the actual 20.1 release
2015-06-01debian: change stanza for 0.20.10.20.1David Bremner
2015-06-01version: bump to 20.1David Bremner
2015-06-01cli: add standard option processing to config, help and setupDavid Bremner
In particular this fixes a recently encountered bug where the "--config" argument to "notmuch setup" is silently ignored, which the unpleasant consequence of overwriting the users config file.
2015-06-01cli: define shared options, use for --help and --versionDavid Bremner
Unfortunately it seems trickier to support --config globally The non-trivial changes are in notmuch.c; most of the other changes consists of blindly inserting two lines into every subcommand.
2015-06-01cli: refactor notmuch_help_commandDavid Bremner
Create a new private entry point _help_for so that we can call help without simulating a command line invokation to set up the arguments.
2015-06-01cli: ignore config argument of notmuch_help_commandDavid Bremner
We call it with NULL at one point anyway, so it needs to work with NULL. Since the only place we use talloc is right before exec, there is no harm in always using NULL.
2015-05-31cli: change "setup" to "set up" where used as a verbJ. Lewis Muir
The word "setup" is a noun, not a verb. Change occurrences of "setup" where used as a verb to "set up".
2015-05-31emacs: Added "is:<tag>" style completion to notmuch-read-query.Charles Celerier
The notmuch-search-terms man page states that "tag:<tag>" is equivalent to "is:<tag>". Completion for "is:<tag>" style searches is now supported in the Emacs interface. Amended by David Bremner: combine lexical-let and let into lexical-let*
2015-05-31test: remove redundant 'file' command from gdb scripts.David Bremner
Quoting Debian bug 787341 It failed to build on arm64: the last ten tests in T070-insert failed. What's happening here is that GDB is segfaulting in response to the "file" command. GDB on arm64 can be a bit buggy. However, the "file" command is redundant here as GDB has already got the file from the --args on the command line.
2015-05-31Merge tag '0.20'David Bremner
notmuch 0.20 release
2015-05-31NEWS: bump date0.20David Bremner
2015-05-31debian: changelog stanza for 0.20-1David Bremner
2015-05-31version: bump to 0.20David Bremner
2015-05-31drop mention of notmuch-emacs-muaDavid Bremner
2015-05-23Merge tag '0.20_rc2'David Bremner
notmuch 0.20~rc2 release
2015-05-23debian: changelog stanza for 0.20~rc2-1David Bremner
2015-05-23version: bump to 0.20~rc2David Bremner
2015-05-23python: use absolute import for SOVERSIONDavid Bremner
Apparently python3 needs this.
2015-05-23docs: initial draft of NEWS for 0.20David Bremner
This is meant as much to jog people's memory as to be definitive.