[PATCH v2 0/3] indicate length of omitted body content
authorPeter Wang <novalazy@gmail.com>
Wed, 8 Aug 2012 12:27:49 +0000 (22:27 +1000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:48:59 +0000 (09:48 -0800)
da/80b90db4701661388f93a46f4854a1d36b594f [new file with mode: 0644]

diff --git a/da/80b90db4701661388f93a46f4854a1d36b594f b/da/80b90db4701661388f93a46f4854a1d36b594f
new file mode 100644 (file)
index 0000000..211f650
--- /dev/null
@@ -0,0 +1,88 @@
+Return-Path: <novalazy@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id B68D7431FAF\r
+       for <notmuch@notmuchmail.org>; Wed,  8 Aug 2012 05:28:13 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id DyGbtQZGkC0m for <notmuch@notmuchmail.org>;\r
+       Wed,  8 Aug 2012 05:28:13 -0700 (PDT)\r
+Received: from mail-gh0-f181.google.com (mail-gh0-f181.google.com\r
+       [209.85.160.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 51402431FAE\r
+       for <notmuch@notmuchmail.org>; Wed,  8 Aug 2012 05:28:13 -0700 (PDT)\r
+Received: by ghz3 with SMTP id 3so879463ghz.26\r
+       for <notmuch@notmuchmail.org>; Wed, 08 Aug 2012 05:28:11 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:x-mailer;\r
+       bh=oFJ6PNuq3i4CFXLxaj9G1yMT2AeA6ygrouAQL2DP7w4=;\r
+       b=qHJTRNDdCNZVDXjhH0QF4LbrKPDtTkoo0STKw3nTEdku2i+qDkKv6BKy45+9tXrwh9\r
+       MMk2jwUJC5lqyFMaxx+UxagU9s+Mi0hQoCUrr8xB7fRoOwOoqkT5N6nFsCH/x4fY8Sr1\r
+       HQPw252EwUAVdLLzFm4mmRvA9G8BE9J0j3YU4LdGKwbd0kpM1QEYBIGfp6gc/hYbrZFc\r
+       SWTtIrqDAu9CU3Bg62qiOuIEXvJ+zl/0CDPWK90OiMmsWg/eQ0X+dBsdWBs/sTpOhnaM\r
+       3OyEcBrT2CDkn2W+81l7hdhEsURWZeEt5j7XO1JqwhyUkqIP1JK0nA7eG3tlkRUE8Mh9\r
+       uybw==\r
+Received: by 10.66.74.100 with SMTP id s4mr33401165pav.27.1344428891254;\r
+       Wed, 08 Aug 2012 05:28:11 -0700 (PDT)\r
+Received: from localhost (215.42.233.220.static.exetel.com.au.\r
+       [220.233.42.215])\r
+       by mx.google.com with ESMTPS id io1sm13306841pbc.67.2012.08.08.05.28.08\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Wed, 08 Aug 2012 05:28:10 -0700 (PDT)\r
+From: Peter Wang <novalazy@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 0/3] indicate length of omitted body content\r
+Date: Wed,  8 Aug 2012 22:27:49 +1000\r
+Message-Id: <1344428872-12374-1-git-send-email-novalazy@gmail.com>\r
+X-Mailer: git-send-email 1.7.4.4\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 08 Aug 2012 12:28:13 -0000\r
+\r
+The first commit is tangentally related.  An expected test case output\r
+in test/crypto previously had a filename left unnormalised by\r
+notmuch_json_show_sanitize because it was not followed by comma.\r
+The next commit causes the comma to be present, breaking the expected\r
+output.\r
+\r
+In the 2nd commit, a content-transfer-encoding field was added and\r
+comments clarified.\r
+\r
+In the 3rd commit, the content-length of an encrypted attachment had\r
+to be normalised because it varies between runs.\r
+\r
+Peter Wang (3):\r
+  test: normalize only message filenames in show json\r
+  show: indicate length, encoding of omitted body content\r
+  test: conform to content length, encoding fields\r
+\r
+ devel/schemata   |    9 ++++++++-\r
+ notmuch-show.c   |   14 ++++++++++++++\r
+ test/crypto      |   30 +++++++++++++++++++++---------\r
+ test/json        |    2 +-\r
+ test/multipart   |   11 ++++++-----\r
+ test/test-lib.sh |    2 +-\r
+ 6 files changed, 51 insertions(+), 17 deletions(-)\r
+\r
+-- \r
+1.7.4.4\r
+\r