[PATCH v2 00/14] reply refactor, fixes
[notmuch-archives.git] / 91 / fd9f8267e556812f63cea53732cd3d0cf236e2
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 arlo.cworth.org (Postfix) with ESMTP id 906536DE38DA\r
6  for <notmuch@notmuchmail.org>; Sat, 13 Aug 2016 04:39:12 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.573\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.573 tagged_above=-999 required=5 tests=[AWL=0.147,\r
12   DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7,\r
13  RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id fTZDGgRle78S for <notmuch@notmuchmail.org>;\r
17  Sat, 13 Aug 2016 04:39:04 -0700 (PDT)\r
18 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com\r
19  [74.125.82.68]) by arlo.cworth.org (Postfix) with ESMTPS id E63C36DE3844 for\r
20  <notmuch@notmuchmail.org>; Sat, 13 Aug 2016 04:39:03 -0700 (PDT)\r
21 Received: by mail-wm0-f68.google.com with SMTP id q128so2020384wma.1\r
22  for <notmuch@notmuchmail.org>; Sat, 13 Aug 2016 04:39:03 -0700 (PDT)\r
23 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
24  d=nikula-org.20150623.gappssmtp.com; s=20150623;\r
25  h=from:to:cc:subject:date:message-id;\r
26  bh=6P4sL+yDic0lYpSmM3Zfm1EDZDbrGoatTANJVEA1Exs=;\r
27  b=u69CGhzSYVsyME+iCSf4U0wlP1WkvvNB1y3qBb03q8NMaDlv9L+RaOUsl+sguPihdT\r
28  VvpjX3jTrmiLSpk49Pg2l8V1WxWgI6RZYUPQIszcDGmik99tJt4UTWcGGHCSPuGeFkWH\r
29  gu6zJbNo+cK4WMiWAurWNU0F2Dgf8kyo3TytmQ31kHt/ti0ieWHomXa++KoyLAN4zB9L\r
30  NDFINYQhyyrzp3JHVB+V45wWGsbN++EFV0QmHs6paIud672C53Wg6eIR9/HuR3SYDXTk\r
31  As8lgzV4hmMUFG00mzSlbxlXbsBxuDyG1sATLwoOg92zu/Knc3OSKkbTJIzSYe7URqkD\r
32  ijVQ==\r
33 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
34  d=1e100.net; s=20130820;\r
35  h=x-gm-message-state:from:to:cc:subject:date:message-id;\r
36  bh=6P4sL+yDic0lYpSmM3Zfm1EDZDbrGoatTANJVEA1Exs=;\r
37  b=WMom9HJPaPwOQrqYoGKtmVdC+bqj6qjUsFwxkw64wqSVnHzQClTW3k7yQ0E/5yQfDL\r
38  1Mx/ICgPLhzlXxY6gB29OlBG2QryZzF7Ptrw6y2fzK+kMiAta6nyKIwXo+EkCwpNndu/\r
39  VwNKImDvUMlTwqhnljgzuf1A1b0+9fAAwQr1cMCWPYbJAgTPTgeN+slrfj2vuH47b4bV\r
40  wFC0mZRbaJFLc2apxror7+P97waDgNd1sKGnyXv1CB5Q4UF4T1ekxojoL/cbL+KMZuVM\r
41  HiXCN544SeH0x+Fz0+I76jmbAZCJ4NNDWp4ZTawo+Td6iVkzdcfXSWrZJz1K4M5ibmpF\r
42  beUg==\r
43 X-Gm-Message-State:\r
44  AEkoouvR5abeoGb54LPa7p4PD4SJEGcBzFnMghV3hJz6lHl4b4mGSmvYBQMyRJN6SN107w==\r
45 X-Received: by 10.28.111.213 with SMTP id c82mr3296826wmi.47.1471088342164;\r
46  Sat, 13 Aug 2016 04:39:02 -0700 (PDT)\r
47 Received: from localhost (mobile-access-bcee63-250.dhcp.inet.fi.\r
48  [188.238.99.250])\r
49  by smtp.gmail.com with ESMTPSA id 142sm6811929wmh.12.2016.08.13.04.39.01\r
50  (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
51  Sat, 13 Aug 2016 04:39:01 -0700 (PDT)\r
52 From: Jani Nikula <jani@nikula.org>\r
53 To: notmuch@notmuchmail.org\r
54 Cc: Daniel Kahn Gillmor <dkg@fifthhorseman.net>,\r
55         jani@nikula.org\r
56 Subject: [PATCH v2 00/14] reply refactor, fixes\r
57 Date: Sat, 13 Aug 2016 14:37:24 +0300\r
58 Message-Id: <cover.1471088022.git.jani@nikula.org>\r
59 X-Mailer: git-send-email 2.1.4\r
60 X-BeenThere: notmuch@notmuchmail.org\r
61 X-Mailman-Version: 2.1.20\r
62 Precedence: list\r
63 List-Id: "Use and development of the notmuch mail system."\r
64  <notmuch.notmuchmail.org>\r
65 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
66  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
67 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
68 List-Post: <mailto:notmuch@notmuchmail.org>\r
69 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
70 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
71  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
72 X-List-Received-Date: Sat, 13 Aug 2016 11:39:12 -0000\r
73 \r
74 Hi all, this lengthy series fixes replies to messages with multiple Cc:\r
75 headers. Daniel reported the problem in\r
76 id:87d1ngv95p.fsf@alice.fifthhorseman.net.\r
77 \r
78 Lots of refactoring is required to switch to using more GMime functions\r
79 in the reply code.\r
80 \r
81 This is v2 of the series in id:cover.1466284726.git.jani@nikula.org.\r
82 \r
83 BR,\r
84 Jani.\r
85 \r
86 \r
87 Jani Nikula (14):\r
88   test: add known broken test for reply to message with multiple Cc\r
89     headers\r
90   cli/reply: push notmuch reply format abstraction lower in the stack\r
91   cli/reply: reuse show_reply_headers() in headers-only format\r
92   cli/reply: unify reply format functions\r
93   cli/reply: reorganize create_reply_message()\r
94   cli/reply: make references header creation easier to follow\r
95   cli/reply: reuse create_reply_message() also for headers-only format\r
96   cli/reply: reduce the reply format abstractions\r
97   cli/reply: use dedicated functions for reply to mapping\r
98   cli/reply: check for NULL list first in scan_address_list()\r
99   cli/reply: return internet address list from get header funcs\r
100   cli/reply: pass internet address list to munge detect\r
101   cli/reply: pass gmime message to munge detection\r
102   cli/reply: only pass gmime message to add recipients to reply message\r
103 \r
104  notmuch-reply.c    | 435 +++++++++++++++++++++--------------------------------\r
105  test/T220-reply.sh |  24 +++\r
106  2 files changed, 192 insertions(+), 267 deletions(-)\r
107 \r
108 -- \r
109 2.1.4\r
110 \r