aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* make release: verify-version-*: change comparison logicGravatar Tomi Ollila2011-11-24
| | | | | | | | | | | | | verfy-version-debian, verify-version-python and verify-version-components checked noneqality of the comparison strings and if got "positive" answer then made that goal fail. But in case of the test ([ ]) execution failed it never got to the 'then' part of the line (and the 'if [ ... ] then ... fi ' construct doesn't make the script line fail in case of problems inside [ ]. This commit inverses the "logic", so that only if the comparison for equality succeeds the script line will exit with 0 and execution can continue past the failure case to the next line (executed by another shell) with '@echo done'
* emacs: Avoid unnecessary markers.Gravatar Austin Clements2011-11-24
| | | | | This is just cleanup. These markers are all immediately resolved to points by Emacs, so using markers here is just unncessary overhead.
* emacs: Don't record undo information for search or show buffers.Gravatar Austin Clements2011-11-24
| | | | | | There's no reason to record undo information for read-only, programmatically-constructed buffers. The undo list just chews up memory keeping track of our calls to insert.
* debian/control: require dtach version >= 0.8 in Build-DependsGravatar Tomi Ollila2011-11-24
| | | | | | Since version 0.8 of dtach -n does no longer require controlling tty to be present when executed. Currently controlling tty is not always (if ever) present when tests are executed.
* Merge branch 'release'Gravatar David Bremner2011-11-23
|\
| * debian: changelog stanza for 0.10Gravatar David Bremner2011-11-23
| | | | | | | | Give a brief summary of (and pointer to) NEWS
| * NEWS: set (approximate) date for 0.10 releaseGravatar David Bremner2011-11-23
| | | | | | | | It doesn't really matter if we are off by a day.
| * version: update to 0.10Gravatar David Bremner2011-11-23
| |
| * NEWS: item for silent killing of search buffers.Gravatar David Bremner2011-11-23
| | | | | | | | | | This is maybe borderline for inclusion in NEWS, but maybe the NEWS item helps someone who thinks there is a bug.
| * contrib/notmuch-deliver: don't export from gitGravatar David Bremner2011-11-23
| | | | | | | | | | | | This prevents it from being part of the release tarballs. Hopefully this is only temporary while we sort out the GPL2 versus GPL3 question.
* | emacs: Make saving new saved searches append, not prependGravatar Jani Nikula2011-11-22
| | | | | | | | | | | | | | Append new saved searches at the end of saved searches rather than insert in front. Signed-off-by: Jani Nikula <jani@nikula.org>
* | emacs: Add new customization option to sort saved searchesGravatar Jani Nikula2011-11-22
| | | | | | | | | | | | | | | | | | | | | | Add new customization option notmuch-saved-search-sort-function to sort saved searches in user-defined order. Provide a sort function to sort the saved searches in alphabetical order. Setting the search function to nil causes the saved searches not to be sorted, as before. This also remains the default. The function only affects display of the saved searches, not the order in which they are stored by custom. Signed-off-by: Jani Nikula <jani@nikula.org>
* | tags_to_maildir_flags: Cleanup double assignementGravatar Louis Rilling2011-11-21
| | | | | | | | | | | | The for loop right after already does the job. Signed-off-by: Louis Rilling <l.rilling@av7.net>
* | lib: Kill last usage of C++ type boolGravatar Louis Rilling2011-11-21
| | | | | | | | Signed-off-by: Louis Rilling <l.rilling@av7.net>
* | Merge branch 'release'Gravatar David Bremner2011-11-21
|\|
* | fix a double // to single /Gravatar Florian Friesdorf2011-11-20
| |
* | emacs: breakout notmuch-show-advance functionality from ↵Gravatar Jameson Graef Rollins2011-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | notmuch-show-advance-and-archive This patch breaks out much of the functionality of notmuch-show-advance-and-archive into a new function: notmuch-show-advance. This new function does all the advancing through a show buffer that notmuch-show-advance-and-archive did, without all the invasive thread archiving. The return value of notmuch-show-advance is nil if the bottom of the thread is not reached, and t if it is. notmuch-show-advance-and-archive is modified to just call notmuch-show-advance, and then call notmuch-show-archive-thread if the return value is true. In this way the previous functionality of notmuch-show-advance-and-archive is preserved. This provides a way for people to rebind the space bar to a more sane function if they don't like the default behavior.
* | Don't link libnotmuch if libutil isn't linked in properly.Gravatar Tom Prince2011-11-19
| | | | | | | | | | | | | | For some reason, on my machine, the link is picking up /usr/lib/libutil.so instead of util/libutil.a. This causes there to be undefined symbols in libnotmuch, making it unuseable. This patch causes the link to fail instead.
* | RELEASING: document the semi-automated version propagation.Gravatar David Bremner2011-11-19
| | | | | | | | | | | | The instructions are purposely a bit coy about what files are updated, so we don't have to update immediately when something else is plugged into the make recipe.
* | build system: add target update-versions to propagate versionGravatar David Bremner2011-11-19
| | | | | | | | | | | | The version from file "version" is propagated to the man page and the python bindings via sed. Note that the git version is ignored because of the check for MAKECMDGOALS.
* | build system: use $(filter ...) to test MAKECMDGOALSGravatar David Bremner2011-11-19
| | | | | | | | | | This makes the test easier to extend to more targets. It also corrects a bug where "special" targets were only detected when given alone.
| * version: update version info for 0.10~rc2Gravatar David Bremner2011-11-19
| | | | | | | | | | Arguably editing debian/changelog violates the "do one thing at a time" rule, but all of these versions need to be kept in sync.
* | test: make all tests terminable with Ctrl-cGravatar Tomi Ollila2011-11-18
| | | | | | | | | | | | | | Some tests don't break when HUP signal is sent tho those (by pressing ctrl-c on the terminal). Therefore, the top-level test script catches the HUP and sends TERM signal to the started test script.
* | test: emacs: tidy up "Stashing in notmuch-show" testGravatar Pieter Praet2011-11-18
| | | | | | | | | | Merge expected output into the actual test, so we can verify the stashed filename using ${gen_msg_filename} instead of doing sed tricks.
* | test: attempt to send QUIT to smtp-dummy in case mail send failedGravatar Tomi Ollila2011-11-18
|/ | | | | | If mail sending from emacs fails before it has chance to connect to the smtp-dummy mail server, the opportunistic QUIT message sending makes smtp-dummy to exit.
* test: create dtach's session socket in $TEST_TMPDIRGravatar Tomi Ollila2011-11-17
| | | | | | | | Due to 108-character limit in unix domain socket path this change is required; it is more probable that length of ${TMPDIR:-/tmp} is shorter than length of path to the current directory of notmuch test source directory. One can expect to create reasonable-length unix domain sockets wherever $TMPDIR points to.
* test: create TEST_TMPDIR for holding temporary filesGravatar Tomi Ollila2011-11-17
| | | | | | The TEST_TMPDIR if first needed to hold dtach's socket (due to 108-character limit in socket file names). Later it can be used to hold other temporary files; directory deleted at exit.
* build system: tweak VERSION so that debian-snapshot works for N.NN~rcNGravatar David Bremner2011-11-17
| | | | | The problem was that the version is recovered from the git tag, which has the ~ replaced by _. This broke the sequencing of version numbers.
* NEWS: fix some old typos and trailing whitespaceGravatar Pieter Praet2011-11-16
| | | | (with a further M-x whitespace-cleanup by db)
* NEWS: add entries for stashing-related keybinding and testsGravatar Pieter Praet2011-11-16
| | | | | | Add news entries for commits: f9764bfacc97457d1154c2d2a6001a6564f13ec3 64febdf71c4184ca369f5d11d7f196704a3ec1a6
* NEWS entry for id-linksGravatar Daniel Schoepe2011-11-16
| | | | | | This adds a NEWS entry for commit 4a4ada73b751b1916c5dc4d408a8056411566e38 (second try, with whitespace fix)
* Revert "NEWS entry for id-links"Gravatar David Bremner2011-11-16
| | | | | | This reverts commit e93bf1f842d4d06b2468d1cdbd5e4e25877c7a44. reverting to fix whitespace
* NEWS entry for id-linksGravatar Daniel Schoepe2011-11-16
| | | | This adds a NEWS entry for commit 4a4ada73b751b1916c5dc4d408a8056411566e38
* NEWS entry for adding tab-completion to notmuch-searchGravatar Daniel Schoepe2011-11-16
| | | | Add a news entry for commit6a280088e6769015ade7758b9790384997a21ff3.
* NEWS: mention improved search buffer performance, change Optimizations to ↵Gravatar David Bremner2011-11-16
| | | | | | Performance via email: id:"20111116154317.GC2852@mit.edu"
* notmuch.1: bump version numberGravatar David Bremner2011-11-16
| | | | | | More of a leap than a bump. This is a bit silly keeping 3 files syncronized. At least for this file, I would prefer a solution that generates notmuch.1 from some template at build time.
* RELEASING: update description of "make release".Gravatar David Bremner2011-11-16
| | | | | | | The additional "safety feature" documented here is motivated by the fact that I use gpg-agent and I don't always get the GPG prompt that Carl was relying on as an abort point. The new version also allows more to be done in "dry run" mode.
* RELEASING: update discussion of version handlingGravatar David Bremner2011-11-16
| | | | This is definitely reaching the point where it should be automated.
* RELEASING: update symbol handling description for current practice.Gravatar David Bremner2011-11-16
| | | | | | | | We really did bump SONAME, and we probably will again, but not just for a simple symbol addition. Debian versions generally need to be removed from symbols file; this wasn't a problem before because there was no Debian versions
* NEWS: discuss contrib and nmbugGravatar David Bremner2011-11-15
| | | | | I mention the possibility of a seperate license here because currently notmuch-deliver is licensed GPL v2 only.
* debian/libnotmuch2.symbols: add notmuch_query_count_threadsGravatar David Bremner2011-11-15
| | | | Since this is only an added symbol, no soname bump required.
* debian: new changelog stanza for 0.10~rc1-1Gravatar David Bremner2011-11-15
| | | | | The changelog is a bit minimalist, but we'll do better for the real release.
* version: update to 0.10~rc1Gravatar David Bremner2011-11-15
| | | | and the usual dance with the python bindings version.
* test: add tests for notmuch search --offset and --limitGravatar Jani Nikula2011-11-15
| | | | Signed-off-by: Jani Nikula <jani@nikula.org>
* test: add tests for notmuch countGravatar Jani Nikula2011-11-15
| | | | Signed-off-by: Jani Nikula <jani@nikula.org>
* cli: add support for --output parameter in notmuch countGravatar Jani Nikula2011-11-15
| | | | | | | Add support for --output=messages (which remains the default) and --output=threads to notmuch count. Signed-off-by: Jani Nikula <jani@nikula.org>
* cli: drop unused code from notmuch countGravatar Jani Nikula2011-11-15
| | | | | | Remove unused code within #if 0 blocks from notmuch count. Signed-off-by: Jani Nikula <jani@nikula.org>
* cli: add options --offset and --limit to notmuch searchGravatar Jani Nikula2011-11-15
| | | | | | | | | | | | | | | Add options --offset=[-]N and --limit=M to notmuch search to determine the first result and maximum number of results to display. Option --limit=M limits the maximum number of results to display to M. Option --offset=[-]N skips the first N results; with the leading '-' skip until the Nth result from the end. Note that --offset with a negative N for thread or summary output requires counting the number of matching threads in advance. Signed-off-by: Jani Nikula <jani@nikula.org>
* lib: add function to get the number of threads matching a searchGravatar Jani Nikula2011-11-15
| | | | | | | | | Add function notmuch_query_count_threads() to get the number of threads matching a search. This is done by performing a search and figuring out the number of unique thread IDs in the matching messages, a significantly heavier operation than notmuch_query_count_messages(). Signed-off-by: Jani Nikula <jani@nikula.org>
* test: Add a test script for "notmuch tag"Gravatar Austin Clements2011-11-14
|