aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lib: call g_type_init from notmuch_database_openDavid Bremner2011-12-04
| | | | | We want to make sure g_type_init is called before any GObject functionality is used.
* test: add simple tests for online helpDavid Bremner2011-11-25
| | | | Nothing fancy, but we can at least detect segmentation faults.
* NEWS: add NEWS stanza for 0.10.1David Bremner2011-11-25
| | | | | Explain the bug fix in slightly less technical language than in the Debian changelog.
* debian: changelog stanza for 0.10.1David Bremner2011-11-25
|
* version: update to 0.10.1David Bremner2011-11-25
|
* CLI: update call to notmuch_help_command for new calling conventions.David Bremner2011-11-25
| | | | | | | | | When I changed the calling convention to pass in all but the zero-th argument to subcommands, I missed this one call, resulting in a segmentation fault. As a bonus, the syntax "notmuch --help foo" is now equivalent to "notmuch help foo".
* debian: changelog stanza for 0.10David Bremner2011-11-23
| | | | Give a brief summary of (and pointer to) NEWS
* NEWS: set (approximate) date for 0.10 releaseDavid Bremner2011-11-23
| | | | It doesn't really matter if we are off by a day.
* version: update to 0.10David Bremner2011-11-23
|
* NEWS: item for silent killing of search buffers.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 gitDavid 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.
* version: update version info for 0.10~rc2David 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: create dtach's session socket in $TEST_TMPDIRTomi 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 filesTomi 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~rcNDavid 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 whitespacePieter Praet2011-11-16
| | | | (with a further M-x whitespace-cleanup by db)
* NEWS: add entries for stashing-related keybinding and testsPieter Praet2011-11-16
| | | | | | Add news entries for commits: f9764bfacc97457d1154c2d2a6001a6564f13ec3 64febdf71c4184ca369f5d11d7f196704a3ec1a6
* NEWS entry for id-linksDaniel Schoepe2011-11-16
| | | | | | This adds a NEWS entry for commit 4a4ada73b751b1916c5dc4d408a8056411566e38 (second try, with whitespace fix)
* Revert "NEWS entry for id-links"David Bremner2011-11-16
| | | | | | This reverts commit e93bf1f842d4d06b2468d1cdbd5e4e25877c7a44. reverting to fix whitespace
* NEWS entry for id-linksDaniel Schoepe2011-11-16
| | | | This adds a NEWS entry for commit 4a4ada73b751b1916c5dc4d408a8056411566e38
* NEWS entry for adding tab-completion to notmuch-searchDaniel Schoepe2011-11-16
| | | | Add a news entry for commit6a280088e6769015ade7758b9790384997a21ff3.
* NEWS: mention improved search buffer performance, change Optimizations to ↵David Bremner2011-11-16
| | | | | | Performance via email: id:"20111116154317.GC2852@mit.edu"
* notmuch.1: bump version numberDavid 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".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 handlingDavid Bremner2011-11-16
| | | | This is definitely reaching the point where it should be automated.
* RELEASING: update symbol handling description for current practice.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 nmbugDavid 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_threadsDavid Bremner2011-11-15
| | | | Since this is only an added symbol, no soname bump required.
* debian: new changelog stanza for 0.10~rc1-1David Bremner2011-11-15
| | | | | The changelog is a bit minimalist, but we'll do better for the real release.
* version: update to 0.10~rc1David Bremner2011-11-15
| | | | and the usual dance with the python bindings version.
* test: add tests for notmuch search --offset and --limitJani Nikula2011-11-15
| | | | Signed-off-by: Jani Nikula <jani@nikula.org>
* test: add tests for notmuch countJani Nikula2011-11-15
| | | | Signed-off-by: Jani Nikula <jani@nikula.org>
* cli: add support for --output parameter in notmuch countJani 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 countJani 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 searchJani 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 searchJani 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"Austin Clements2011-11-14
|
* news: Store "from" and "subject" headers in the database.Austin Clements2011-11-14
|
* Store "from" and "subject" headers in the database.Austin Clements2011-11-14
| | | | | | | | | | | | | | This is a rebase and cleanup of Istvan Marko's patch from id:m3pqnj2j7a.fsf@zsu.kismala.com Search retrieves these headers for every message in the search results. Previously, this required opening and parsing every message file. Storing them directly in the database significantly reduces IO and computation, speeding up search by between 50% and 10X. Taking full advantage of this requires a database rebuild, but it will fall back to the old behavior for messages that do not have headers stored in the database.
* test/atomicity: change shebang to '#!/usr/bin/env bash'Tomi Ollila2011-11-14
|
* emacs: add notmuch-show-worker function for specifying crypto processing ↵Jameson Graef Rollins2011-11-13
| | | | | | | | | | | directly The main reason to introduce this new unexposed function is to allow the buffer redisplay crypto switch to behaving in a more expected way. The prefix to notmuch-show-redisplay buffer now switches the crypto processing of the current show buffer, as opposed to switching the logic of the notmuch-crypto-process-mime customization variable. This behavior is more intuitive.
* emacs: add documentation for notmuch-show crypto-switch optionJameson Graef Rollins2011-11-13
|
* Link libutil using filenmae, rather than using -l.Tom Prince2011-11-13
| | | | | glibc includes a libutil, so if the wrong -L options get passed, we will pick up glibc's version, rather than our own.
* test: make smtp-dummy work with Emacs 24Thomas Jost2011-11-13
| | | | | In Emacs 24, a space is expected after a SMTP response code. If we don't respect that, smtpmail-send-it will wait forever.
* test: do not hide test_emacs errorsDmitry Kurochkin2011-11-13
| | | | | | | | Do not redirect test_emacs stderr to /dev/null. Test_emacs uses emacsclient(1) now and it does not print unwanted messages (like those from `message') to stderr. But it does print useful errors, e.g. when emacs server connection fails, given expression is not valid or undefined function is called.
* exec emacs at the end of run_emacs scriptTomi Ollila2011-11-12
| | | | | In the last line of run_emacs, exec the emacs process. With one fork less the process list is (also) neater.
* contrib/nmbug: new script for sharing tags with a given prefix.David Bremner2011-11-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The main idea is consider the notmuch database as analogous to the work-tree. A bare git repo is maintained in the users home directory, with a tree of the form tags/$message-id/$tag Like notmuch and git, we have a set of subcommnds, mainly modelled on git. Implementation wise, the heavy lifting is in the following functions. commit xapian -> git checkout git -> xapian merge fetched git + git -> xapian status find differences between xapian, git, and remote git. The central implementation trick, from an idea I think due to tomprince on IRC is manipulate the git index directly from the xapian tag information. The merge routine is still done using a temporary checkout as I wasn't able to get it working with the index only. There are also some convenience wrappers around git commands, like "fetch" that essential just set GIT_DIR in the environment. In order to encode tags (viewed as octet sequences) into filenames, we whitelist a smallish set of characters and %hex escape anything outside. The prefix is omitted in git, which lets one save and restore to different prefixes (although this is only lightly tested). Thanks to Tomi Ollila for a huge amount of feedback and patches while putting this together.
* emacs: update notmuch-crypto-process-mime config variable documentation.Jameson Graef Rollins2011-11-12
| | | | | This mentions the fact that prefix arguments are now used to enable to crypto switch.
* emacs: Unbind M-RET as display of thread with crypto switch.Jameson Graef Rollins2011-11-12
| | | | Use prefix argument instead to set switch.
* test: stashing in notmuch-{show,search}Pieter Praet2011-11-12
| | | | | | Should provide full test coverage of the stashing feature. Signed-off-by: Pieter Praet <pieter@praet.org>