[PATCH v2 04/14] cli/reply: unify reply format functions
[notmuch-archives.git] / 21 / 6021bf23a90242998cd2fbed3bdb9014770fc3
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 A665A431FDB\r
6         for <notmuch@notmuchmail.org>; Mon,  3 Feb 2014 11:52:02 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \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 xmPHf5ebSj41 for <notmuch@notmuchmail.org>;\r
16         Mon,  3 Feb 2014 11:51:53 -0800 (PST)\r
17 Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com\r
18  [74.125.83.54])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
19  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
20  EEDA8431FAF    for <notmuch@notmuchmail.org>; Mon,  3 Feb 2014 11:51:52 -0800\r
21  (PST)\r
22 Received: by mail-ee0-f54.google.com with SMTP id e53so3879834eek.13\r
23         for <notmuch@notmuchmail.org>; Mon, 03 Feb 2014 11:51:50 -0800 (PST)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=1e100.net; s=20130820;\r
26         h=x-gm-message-state:from:to:cc:subject:date:message-id;\r
27         bh=R2d6Exy44V7I5XykuC8hE9lVCh2dVcQBv6RNiglGfKs=;\r
28         b=Sr8MgCZ6TZ+5UUH8HL7ACXq5jsYOnPq9kjwzWl7hvxlOO6weV40sFhRYrFJg9z6ruf\r
29         ruNUE9IxeR/6nxcM4j2OT5Rzupa2Hau4/66eubOTyF+Z+w/DEOfcrSKKWDZSEedr9mTG\r
30         TDpRkP8HMAf4EI+jZ9+VWlfND/VUD5o3odCJBTXfOJy7eHvBHHckgxgIvLuw0d1y14Rq\r
31         hJpv6Lv3RDnrlTbILTS6DiDbdLVpoNr0GnV/H7AQtc3t7UbCdqWJJNQaUoYd75TlAs1W\r
32         B0MOWxpbbbft30NfS1AACGfjKuH7Fk3kSBUWXpyXnb2wENqen7RTh83hJ99uRNxAoSBg\r
33         huwg==\r
34 X-Gm-Message-State:\r
35  ALoCoQmNUwyu+eYBMUvSXb2jFRGO9JsuRL8usp1l9/1pS/+fS5iwcJWvhWaW+BtXnvpx6zAMfO0A\r
36 X-Received: by 10.15.33.193 with SMTP id c41mr5025281eev.79.1391457110251;\r
37         Mon, 03 Feb 2014 11:51:50 -0800 (PST)\r
38 Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi.\r
39         [88.195.111.91])\r
40         by mx.google.com with ESMTPSA id 8sm73377120eef.1.2014.02.03.11.51.47\r
41         for <multiple recipients>\r
42         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
43         Mon, 03 Feb 2014 11:51:49 -0800 (PST)\r
44 From: Jani Nikula <jani@nikula.org>\r
45 To: notmuch@notmuchmail.org\r
46 Subject: [PATCH v3 0/6]  lib: replace the message header parser with gmime\r
47 Date: Mon,  3 Feb 2014 21:51:40 +0200\r
48 Message-Id: <cover.1391456555.git.jani@nikula.org>\r
49 X-Mailer: git-send-email 1.8.5.2\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Mon, 03 Feb 2014 19:52:03 -0000\r
63 \r
64 This is v3 of id:cover.1385825425.git.jani@nikula.org\r
65 \r
66 As before, patches 1-4 are prep work that could be merged on their own,\r
67 and patches 5-6 actually make the change.\r
68 \r
69 The only changes since v2 are cosmetic: rebase, changes in comments,\r
70 function names, and commit messages.\r
71 \r
72 BR,\r
73 Jani.\r
74 \r
75 \r
76 Jani Nikula (6):\r
77   cli: sanitize tabs and newlines to spaces in notmuch search\r
78   cli: refactor reply from guessing\r
79   util: make sanitize string available in string util for reuse\r
80   cli: sanitize the received header before scanning for replies\r
81   lib: replace the header parser with gmime\r
82   lib: parse messages only once\r
83 \r
84  lib/database.cc            |   6 +-\r
85  lib/index.cc               |  70 +--------\r
86  lib/message-file.c         | 354 +++++++++++++++------------------------------\r
87  lib/message.cc             |   6 +\r
88  lib/notmuch-private.h      |  20 ++-\r
89  notmuch-reply.c            | 206 ++++++++++++++++----------\r
90  notmuch-search.c           |  17 ---\r
91  test/T090-search-output.sh |   2 +-\r
92  util/string-util.c         |  22 +++\r
93  util/string-util.h         |   7 +\r
94  10 files changed, 313 insertions(+), 397 deletions(-)\r
95 \r
96 -- \r
97 1.8.5.2\r
98 \r