From: David Bremner Date: Mon, 13 Jun 2016 01:05:47 +0000 (+2100) Subject: message properties patches, v1.0 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6d5c5bca251e3db4bce13fadd1baf6a6174619e4;p=notmuch-archives.git message properties patches, v1.0 --- diff --git a/ea/117ff9c26d2af3049e63e09a4c8f1dbca2c536 b/ea/117ff9c26d2af3049e63e09a4c8f1dbca2c536 new file mode 100644 index 000000000..dba773e2a --- /dev/null +++ b/ea/117ff9c26d2af3049e63e09a4c8f1dbca2c536 @@ -0,0 +1,59 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 6C3B16DE0350 + for ; Sun, 12 Jun 2016 18:06:24 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.011 +X-Spam-Level: +X-Spam-Status: No, score=-0.011 tagged_above=-999 required=5 + tests=[AWL=-0.000, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id EarT41JJPYrJ for ; + Sun, 12 Jun 2016 18:06:16 -0700 (PDT) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id C12326DE0127 + for ; Sun, 12 Jun 2016 18:06:08 -0700 (PDT) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) id 1bCGK8-0003wR-6n + for notmuch@notmuchmail.org; Sun, 12 Jun 2016 21:05:52 -0400 +Received: (nullmailer pid 5663 invoked by uid 1000); + Mon, 13 Jun 2016 01:06:04 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: message properties patches, v1.0 +Date: Sun, 12 Jun 2016 22:05:47 -0300 +Message-Id: <1465779955-5539-1-git-send-email-david@tethera.net> +X-Mailer: git-send-email 2.8.1 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 13 Jun 2016 01:06:24 -0000 + +There have been two rounds of RFC/WIP + + id:1463927339-5441-1-git-send-email-david@tethera.net + id:1464608999-14774-1-git-send-email-david@tethera.net + +This is the first feature complete version, and (compared to the +previous one) includes docs, more tests, and dump/restore support. + +There is one notable API change: I added a convenience function to +remove all tags. More importantly I adjusted the memory semantics of +the iterators so that the underlying map objects are kept alive. This +is the same issue alread present in the tag iterator code; when the +message metadata cache is invalidated, we don't want the iterator to +start segfaulting, otherwise the iterators are effectively read-only.