[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / da / b97d2418c914a477d5c1b496293fb9b56d51b8
1 Return-Path: <novalazy@gmail.com>\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 C48EC431FBF\r
6         for <notmuch@notmuchmail.org>; Fri, 14 Dec 2012 19:07:31 -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.799\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id 53SoZYMotH44 for <notmuch@notmuchmail.org>;\r
17         Fri, 14 Dec 2012 19:07:31 -0800 (PST)\r
18 Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com\r
19         [209.85.160.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 20942431FBD\r
22         for <notmuch@notmuchmail.org>; Fri, 14 Dec 2012 19:07:31 -0800 (PST)\r
23 Received: by mail-pb0-f53.google.com with SMTP id jt11so2594874pbb.26\r
24         for <notmuch@notmuchmail.org>; Fri, 14 Dec 2012 19:07:30 -0800 (PST)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
26         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
27         bh=jlbd0eFzEVH0+mewbfKYdgD7/JgLUCvkowf04s79WBA=;\r
28         b=z0WQMgcoF2QB8wUigI3Ufl0cj7A2kTXXOMpxKvtsc5cyMh1xNgA8h+FlgrsZ+JfNnM\r
29         td0yo6cHWeZKy4mRM6AIzliz4zuA1996ltmZamjnImEerKZfi08J+tSoKGW1mAyuscp9\r
30         lSC6SHNPdo2eJaWg9nyqPLz/QW/GhDxk5Ekn7EkgJJLz9J3b4uzNk99agA/E7xyERcdn\r
31         hwUMCGQaqEafSQuVBVRp6u8QvirBWYkjZ4PNhgLWYhdZkf5U3UcYke3+NEE1/U0If39G\r
32         wWShcy+8mptvqpgE5ccwnFOWat07s0dawrer8wwAQw7jCYue8/bBTjsFyVLzRJW02iJO\r
33         gvwg==\r
34 Received: by 10.68.132.10 with SMTP id oq10mr2195220pbb.18.1355540850332;\r
35         Fri, 14 Dec 2012 19:07:30 -0800 (PST)\r
36 Received: from localhost (215.42.233.220.static.exetel.com.au.\r
37         [220.233.42.215])\r
38         by mx.google.com with ESMTPS id j8sm4225919paz.30.2012.12.14.19.07.25\r
39         (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Fri, 14 Dec 2012 19:07:29 -0800 (PST)\r
41 From: Peter Wang <novalazy@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH v5 1/4] test: normalize only message filenames in show json\r
44 Date: Sat, 15 Dec 2012 14:06:42 +1100\r
45 Message-Id: <1355540805-24937-2-git-send-email-novalazy@gmail.com>\r
46 X-Mailer: git-send-email 1.7.12.1\r
47 In-Reply-To: <1355540805-24937-1-git-send-email-novalazy@gmail.com>\r
48 References: <1355540805-24937-1-git-send-email-novalazy@gmail.com>\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.13\r
51 Precedence: list\r
52 List-Id: "Use and development of the notmuch mail system."\r
53         <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Sat, 15 Dec 2012 03:07:32 -0000\r
62 \r
63 notmuch_json_show_sanitize replaced "filename" field values even in part\r
64 structures, where the value is predictable.  Make it only normalize the\r
65 filename value if it is an absolute path (begins with slash), which is\r
66 true of the Maildir filenames that were intended to be normalized away.\r
67 ---\r
68  test/multipart   | 2 +-\r
69  test/test-lib.sh | 2 +-\r
70  2 files changed, 2 insertions(+), 2 deletions(-)\r
71 \r
72 diff --git a/test/multipart b/test/multipart\r
73 index 0527f84..344ed81 100755\r
74 --- a/test/multipart\r
75 +++ b/test/multipart\r
76 @@ -630,7 +630,7 @@ cat <<EOF >EXPECTED\r
77   "content": "This is an embedded message, with a multipart/alternative part.\n"}]}]}]},\r
78   {"id": 7,\r
79   "content-type": "text/plain",\r
80 - "filename": "YYYYY",\r
81 + "filename": "attachment",\r
82   "content": "This is a text attachment.\n"},\r
83   {"id": 8,\r
84   "content-type": "text/plain",\r
85 diff --git a/test/test-lib.sh b/test/test-lib.sh\r
86 index fd64736..6ce3b31 100644\r
87 --- a/test/test-lib.sh\r
88 +++ b/test/test-lib.sh\r
89 @@ -600,7 +600,7 @@ notmuch_json_show_sanitize ()\r
90  {\r
91      sed \\r
92         -e 's|"id": "[^"]*",|"id": "XXXXX",|g' \\r
93 -       -e 's|"filename": "[^"]*",|"filename": "YYYYY",|g'\r
94 +       -e 's|"filename": "/[^"]*",|"filename": "YYYYY",|g'\r
95  }\r
96  \r
97  # End of notmuch helper functions\r
98 -- \r
99 1.7.12.1\r
100 \r