From d7e4cfec54bfaa4774fa44abb0fbc89aee3942f3 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Mon, 28 Sep 2015 12:31:54 +2100 Subject: [PATCH] v4 of count patches, plus convert remaining deprecated APIs --- 37/24f0a7e7d94eea99b50d073db7005114d4a78e | 72 +++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 37/24f0a7e7d94eea99b50d073db7005114d4a78e diff --git a/37/24f0a7e7d94eea99b50d073db7005114d4a78e b/37/24f0a7e7d94eea99b50d073db7005114d4a78e new file mode 100644 index 000000000..128a094f3 --- /dev/null +++ b/37/24f0a7e7d94eea99b50d073db7005114d4a78e @@ -0,0 +1,72 @@ +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 68B606DE025E + for ; Sun, 27 Sep 2015 08:32:49 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.11 +X-Spam-Level: +X-Spam-Status: No, score=0.11 tagged_above=-999 required=5 tests=[AWL=0.110] + 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 ChDwfNt6TJPe for ; + Sun, 27 Sep 2015 08:32:47 -0700 (PDT) +Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224]) + by arlo.cworth.org (Postfix) with ESMTPS id 24D4F6DE01F5 + for ; Sun, 27 Sep 2015 08:32:47 -0700 (PDT) +Received: from remotemail by gitolite.debian.net with local (Exim 4.80) + (envelope-from ) id 1ZgDwE-0008DX-5D + for notmuch@notmuchmail.org; Sun, 27 Sep 2015 15:32:30 +0000 +Received: (nullmailer pid 11926 invoked by uid 1000); Sun, 27 Sep 2015 + 15:32:11 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: v4 of count patches, plus convert remaining deprecated APIs +Date: Sun, 27 Sep 2015 12:31:54 -0300 +Message-Id: <1443367923-11867-1-git-send-email-david@tethera.net> +X-Mailer: git-send-email 2.5.3 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +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: Sun, 27 Sep 2015 15:32:49 -0000 + +Apologies for the confusion last night/this-morning with the count +patches. I'm resending the whole series with at least one important +bug fix. + +[Patch v4 1/9] lib: move query variable to function scope +[Patch v4 2/9] cli/count: simplify and document return value of + +The first two patches are setup. + +[Patch v4 3/9] lib: add versions of n_q_count_{message,threads} with + +this is the meat of the series, which adds the new functions, and +converts the lib to use them. I thought about cleaning up some of the +de-allocation paths using talloc_steal, but I concluded that could wait + +[Patch v4 4/9] cli: update to use new count API +[Patch v4 5/9] ruby: use new count API +[Patch v4 6/9] python: update bindings for new count API + +this migrates the CLI and bindings to use the new API. + +[Patch v4 7/9] lib: migrate notmuch_database_upgrade to new +[Patch v4 8/9] lib: migrate thread.cc to new query_search API +[Patch v4 9/9] ruby: use new query_search API + +Finally, some long overdue cleanup of deprecation warnings for the +previous API change. These rely on the same setup patches (namely +1/9), so I put them in the same series. -- 2.26.2