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 68462431FD4
\r
6 for <notmuch@notmuchmail.org>; Sat, 30 Nov 2013 07:34:11 -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 5un8u8RWDvjG for <notmuch@notmuchmail.org>;
\r
16 Sat, 30 Nov 2013 07:34:03 -0800 (PST)
\r
17 Received: from mail-ea0-f175.google.com (mail-ea0-f175.google.com
\r
18 [209.85.215.175]) (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 418E6431FAE
\r
21 for <notmuch@notmuchmail.org>; Sat, 30 Nov 2013 07:34:03 -0800 (PST)
\r
22 Received: by mail-ea0-f175.google.com with SMTP id z10so7575028ead.20
\r
23 for <notmuch@notmuchmail.org>; Sat, 30 Nov 2013 07:34:00 -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=Jp1PsVMY6bTG4GeGxnbnek4kDMlme+0A1DrxPE4+S9s=;
\r
28 b=Z9eHU4zLOM7t8eoI4neqzfrRH8OXFc1g+w5K7paL5T4xn9cfduePi44wSouK7mXRM1
\r
29 CUdlPqX74bBqBGMLKzGMo13P7B2aO8SC74H0TwdQR+JPka3NLfIeuL6tQ1FkGjfVE15I
\r
30 DW99BFAAbp/azdmvM1/lIZOkZQAHRh+V3EFtD2YCwntACb+vQFryMVVcvCOMwh2gKV0w
\r
31 cHWhyMomHmwTY5GUvlcd9lnbuoi+1CiozqQi/Cyw8Kix7F8C2+EGm/ldHK0yZhGtdJ5y
\r
32 2YPZYjqmfQ/6c0VRCMVU+mhAFi02OFcORb86eKKwl0MZjHS9Tct0yOK3ZZxLLuNFV2n4
\r
35 ALoCoQm54+gQuf3n6B9KF12X9WLsSpMsIvH5odqAJEmhGLKN+w1xsroVBpnuMmkj029Eeu0VEJC2
\r
36 X-Received: by 10.14.9.131 with SMTP id 3mr1601964eet.45.1385825640814;
\r
37 Sat, 30 Nov 2013 07:34:00 -0800 (PST)
\r
38 Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi.
\r
40 by mx.google.com with ESMTPSA id 44sm51851193eek.5.2013.11.30.07.33.59
\r
41 for <multiple recipients>
\r
42 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
43 Sat, 30 Nov 2013 07:34:00 -0800 (PST)
\r
44 From: Jani Nikula <jani@nikula.org>
\r
45 To: notmuch@notmuchmail.org
\r
46 Subject: [PATCH v2 0/7] lib: replace the message header parser with gmime
\r
47 Date: Sat, 30 Nov 2013 17:33:49 +0200
\r
48 Message-Id: <cover.1385825425.git.jani@nikula.org>
\r
49 X-Mailer: git-send-email 1.8.4.2
\r
50 X-BeenThere: notmuch@notmuchmail.org
\r
51 X-Mailman-Version: 2.1.13
\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: Sat, 30 Nov 2013 15:34:11 -0000
\r
64 This is v2 of id:cover.1381948853.git.jani@nikula.org with more polish.
\r
66 Patches 1-4 do prep work to fix some of the differences in the parsers
\r
67 in advance. Arguably they are not that bad regardless of the parser
\r
70 Patches 5-6 actually make the change. Having two patches is a somewhat
\r
71 artificial division, but perhaps makes it easier to review.
\r
73 Patch 7 is just a hack to make perf tests not ignore so many mails... we
\r
74 have quite a bit of non-emails in the corpus by gmime parser
\r
75 standards. And this illustrates one of the differences in the parsers.
\r
82 cli: sanitize tabs and newlines to spaces in notmuch search
\r
83 cli: refactor reply from guessing
\r
84 util: make sanitize string available in string util for reuse
\r
85 cli: sanitize the received header before scanning for replies
\r
86 lib: replace the header parser with gmime
\r
87 lib: parse messages only once
\r
88 HACK: fix broken messages in the perf test corpus
\r
90 lib/database.cc | 6 +-
\r
91 lib/index.cc | 70 +-------
\r
92 lib/message-file.c | 351 +++++++++++++-------------------------
\r
93 lib/message.cc | 6 +
\r
94 lib/notmuch-private.h | 20 ++-
\r
95 notmuch-reply.c | 186 ++++++++++++--------
\r
96 notmuch-search.c | 17 --
\r
97 performance-test/perf-test-lib.sh | 4 +
\r
98 test/search-output | 2 +-
\r
99 util/string-util.c | 22 +++
\r
100 util/string-util.h | 7 +
\r
101 11 files changed, 297 insertions(+), 394 deletions(-)
\r