Permalink
Commits on Nov 20, 2011
  1. fix a double // to single /

    chaoflow committed Nov 20, 2011
Commits on Nov 19, 2011
  1. Don't link libnotmuch if libutil isn't linked in properly.

    tomprince authored and bremner committed Nov 13, 2011
    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.
  2. RELEASING: document the semi-automated version propagation.

    bremner committed Nov 18, 2011
    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.
  3. build system: add target update-versions to propagate version

    bremner committed Nov 18, 2011
    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.
  4. build system: use $(filter ...) to test MAKECMDGOALS

    bremner committed Nov 18, 2011
    This makes the test easier to extend to more targets. It also corrects
    a bug where "special" targets were only detected when given alone.
Commits on Nov 18, 2011
  1. test: make all tests terminable with Ctrl-c

    Tomi Ollila authored and bremner committed Nov 8, 2011
    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.
  2. test: emacs: tidy up "Stashing in notmuch-show" test

    praet authored and bremner committed Nov 16, 2011
    Merge expected output into the actual test, so we can verify the stashed
    filename using ${gen_msg_filename} instead of doing sed tricks.
  3. test: attempt to send QUIT to smtp-dummy in case mail send failed

    Tomi Ollila authored and bremner committed Nov 16, 2011
    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.
Commits on Nov 17, 2011
  1. test: create dtach's session socket in $TEST_TMPDIR

    Tomi Ollila authored and bremner committed Nov 16, 2011
    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.
  2. test: create TEST_TMPDIR for holding temporary files

    Tomi Ollila authored and bremner committed Nov 16, 2011
    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.
  3. build system: tweak VERSION so that debian-snapshot works for N.NN~rcN

    bremner committed Nov 17, 2011
    The problem was that the version is recovered from the git tag, which
    has the ~ replaced by _. This broke the sequencing of version numbers.
Commits on Nov 16, 2011
  1. NEWS: fix some old typos and trailing whitespace

    praet authored and bremner committed Nov 16, 2011
    (with a further M-x whitespace-cleanup by db)
  2. NEWS: add entries for stashing-related keybinding and tests

    praet authored and bremner committed Nov 16, 2011
    Add news entries for commits:
      f9764bf
      64febdf
  3. NEWS entry for id-links

    dschoepe authored and bremner committed Nov 16, 2011
    This adds a NEWS entry for commit 4a4ada7
    
    (second try, with whitespace fix)
  4. Revert "NEWS entry for id-links"

    bremner committed Nov 16, 2011
    This reverts commit e93bf1f.
    
    reverting to fix whitespace
  5. NEWS entry for id-links

    dschoepe authored and bremner committed Nov 16, 2011
    This adds a NEWS entry for commit 4a4ada7
  6. NEWS entry for adding tab-completion to notmuch-search

    dschoepe authored and bremner committed Nov 16, 2011
    Add a news entry for commit6a280088e6769015ade7758b9790384997a21ff3.
  7. NEWS: mention improved search buffer performance, change Optimization…

    bremner committed Nov 16, 2011
    …s to Performance
    
    via email: id:"20111116154317.GC2852@mit.edu"
  8. notmuch.1: bump version number

    bremner committed Nov 16, 2011
    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.
  9. RELEASING: update description of "make release".

    bremner committed Nov 16, 2011
    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.
  10. RELEASING: update discussion of version handling

    bremner committed Nov 16, 2011
    This is definitely reaching the point where it should be automated.
  11. RELEASING: update symbol handling description for current practice.

    bremner committed Nov 16, 2011
    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
  12. NEWS: discuss contrib and nmbug

    bremner committed Nov 16, 2011
    I mention the possibility of a seperate license here because currently
    notmuch-deliver is licensed GPL v2 only.
  13. debian/libnotmuch2.symbols: add notmuch_query_count_threads

    bremner committed Nov 16, 2011
    Since this is only an added symbol, no soname bump required.
Commits on Nov 15, 2011
  1. debian: new changelog stanza for 0.10~rc1-1

    bremner committed Nov 15, 2011
    The changelog is a bit minimalist, but we'll do better for the real
    release.
  2. version: update to 0.10~rc1

    bremner committed Nov 15, 2011
    and the usual dance with the python bindings version.
  3. test: add tests for notmuch search --offset and --limit

    jnikula authored and bremner committed Nov 15, 2011
    Signed-off-by: Jani Nikula <jani@nikula.org>
  4. test: add tests for notmuch count

    jnikula authored and bremner committed Nov 15, 2011
    Signed-off-by: Jani Nikula <jani@nikula.org>
  5. cli: add support for --output parameter in notmuch count

    jnikula authored and bremner committed Nov 15, 2011
    Add support for --output=messages (which remains the default) and
    --output=threads to notmuch count.
    
    Signed-off-by: Jani Nikula <jani@nikula.org>
  6. cli: drop unused code from notmuch count

    jnikula authored and bremner committed Nov 15, 2011
    Remove unused code within #if 0 blocks from notmuch count.
    
    Signed-off-by: Jani Nikula <jani@nikula.org>
  7. cli: add options --offset and --limit to notmuch search

    jnikula authored and bremner committed Nov 15, 2011
    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>
  8. lib: add function to get the number of threads matching a search

    jnikula authored and bremner committed Nov 15, 2011
    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>
Commits on Nov 14, 2011
  1. Store "from" and "subject" headers in the database.

    aclements authored and bremner committed Nov 6, 2011
    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.