1 Return-Path: <jani@nikula.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 4C927429E27
\r
6 for <notmuch@notmuchmail.org>; Tue, 15 Nov 2011 12:09:02 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 44myJzNSg4Ib for <notmuch@notmuchmail.org>;
\r
16 Tue, 15 Nov 2011 12:09:01 -0800 (PST)
\r
17 Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com
\r
18 [209.85.161.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 694CF431FB6
\r
21 for <notmuch@notmuchmail.org>; Tue, 15 Nov 2011 12:09:01 -0800 (PST)
\r
22 Received: by faan15 with SMTP id n15so895260faa.26
\r
23 for <notmuch@notmuchmail.org>; Tue, 15 Nov 2011 12:08:58 -0800 (PST)
\r
24 Received: by 10.205.118.142 with SMTP id fq14mr12336517bkc.85.1321387738483;
\r
25 Tue, 15 Nov 2011 12:08:58 -0800 (PST)
\r
26 Received: from localhost (dsl-hkibrasgw4-fe5cdc00-23.dhcp.inet.fi.
\r
28 by mx.google.com with ESMTPS id o16sm18238094fag.21.2011.11.15.12.08.54
\r
29 (version=SSLv3 cipher=OTHER); Tue, 15 Nov 2011 12:08:56 -0800 (PST)
\r
30 From: Jani Nikula <jani@nikula.org>
\r
31 To: notmuch@notmuchmail.org
\r
32 Subject: [PATCH v7 0/6] lib/cli: limit number of messages in search results
\r
33 Date: Tue, 15 Nov 2011 22:08:47 +0200
\r
34 Message-Id: <cover.1321386762.git.jani@nikula.org>
\r
35 X-Mailer: git-send-email 1.7.5.4
\r
36 X-BeenThere: notmuch@notmuchmail.org
\r
37 X-Mailman-Version: 2.1.13
\r
39 List-Id: "Use and development of the notmuch mail system."
\r
40 <notmuch.notmuchmail.org>
\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
42 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
44 List-Post: <mailto:notmuch@notmuchmail.org>
\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
48 X-List-Received-Date: Tue, 15 Nov 2011 20:09:02 -0000
\r
50 v7, s/--first/--offset/ and s/--maxitems/--limit/ and rebased against master
\r
51 since since id:"cover.1321217854.git.jani@nikula.org"
\r
58 lib: add function to get the number of threads matching a search
\r
59 cli: add options --offset and --limit to notmuch search
\r
60 cli: drop unused code from notmuch count
\r
61 cli: add support for --output parameter in notmuch count
\r
62 test: add tests for notmuch count
\r
63 test: add tests for notmuch search --offset and --limit
\r
66 lib/notmuch.h | 14 ++++++++++
\r
67 lib/query.cc | 44 +++++++++++++++++++++++++++++++
\r
68 notmuch-count.c | 44 +++++++++----------------------
\r
69 notmuch-search.c | 68 +++++++++++++++++++++++++++++++++++++++--------
\r
70 notmuch.1 | 48 +++++++++++++++++++++++++++++----
\r
71 notmuch.c | 29 +++++++++++++++++---
\r
72 test/count | 40 ++++++++++++++++++++++++++++
\r
73 test/notmuch-test | 2 +
\r
74 test/search-limiting | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++
\r
75 10 files changed, 317 insertions(+), 53 deletions(-)
\r
76 create mode 100755 test/count
\r
77 create mode 100755 test/search-limiting
\r