From 1af09c5b2715a394a1205d47d10180873d7220ba Mon Sep 17 00:00:00 2001 From: Ali Polatel Date: Mon, 7 May 2012 18:02:42 +0300 Subject: [PATCH] [PATCH 0/4] ruby: quick update before the freeze! --- 3b/52aa4146c6ff00b9a53220a5b256e5448e5a03 | 91 +++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 3b/52aa4146c6ff00b9a53220a5b256e5448e5a03 diff --git a/3b/52aa4146c6ff00b9a53220a5b256e5448e5a03 b/3b/52aa4146c6ff00b9a53220a5b256e5448e5a03 new file mode 100644 index 000000000..7ce2a33fb --- /dev/null +++ b/3b/52aa4146c6ff00b9a53220a5b256e5448e5a03 @@ -0,0 +1,91 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id E741D431FB6 + for ; Mon, 7 May 2012 08:03:07 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.699 +X-Spam-Level: +X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, + RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id wnJ7Fd++GmNw for ; + Mon, 7 May 2012 08:03:07 -0700 (PDT) +Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com + [74.125.82.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + 17325431FAE for ; Mon, 7 May 2012 08:03:06 -0700 + (PDT) +Received: by wgbds1 with SMTP id ds1so3288732wgb.2 + for ; Mon, 07 May 2012 08:03:04 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to + :references:organization; + bh=m0PAxPDj2X5uksqEEl/oJYZfTDMSLgOe3vemhgOOeRM=; + b=d/T/g/uFTNJnCUqOk9Zr/Z3hK5+vQQ+pLi7wlVOzyI0b2aEjhvIvBt4aCKgYpcM+H4 + cx98fYutIJMsl/B/rm09osdBoRtbvCYjLHFEYT5Wuy8Doky+7xEEkdkBAT1/Mt8Wjk3p + kQo9zb3AcCS1lKOiuyY/ZiHgWGYIBpjViD7zSX3km36RfWrkqN5JE3j69CJ2h7g/e6SJ + ACy/Wti45q2B5CxJFHlKK763/XR7vBWRlIypVII6Jn5fZei6kfZEBFzKegvwSEiL3ABt + iEqmjXbVtBwz4AZbzH3wjy3AvWL21OB3ewj+8Gh43CXGSGODvMq5YxHqGBNHKuewxvvo + W3HQ== +Received: by 10.180.101.136 with SMTP id fg8mr36106657wib.4.1336402984336; + Mon, 07 May 2012 08:03:04 -0700 (PDT) +Received: from hayalet.ev ([88.234.38.242]) + by mx.google.com with ESMTPS id ff2sm34852610wib.9.2012.05.07.08.03.02 + (version=TLSv1/SSLv3 cipher=OTHER); + Mon, 07 May 2012 08:03:03 -0700 (PDT) +Sender: Ali Polatel +From: Ali Polatel +To: David Bremner +Subject: [PATCH 0/4] ruby: quick update before the freeze! +Date: Mon, 7 May 2012 18:02:42 +0300 +Message-Id: +X-Mailer: git-send-email 1.7.10.1 +In-Reply-To: <87txzsgs4g.fsf@zancas.localnet> +References: <87txzsgs4g.fsf@zancas.localnet> +Organization: Pink Floyd +Cc: Ali Polatel , notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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, 07 May 2012 15:03:08 -0000 + +Hey David, + +I've polished the small patch series I had lying around. +I believe I've covered all the lacking API changes. + +In addition, the third patch fixes a long-standing bug about the build. + +I've decided to send these to you and the list instead of committing right away +in case someone notices any quick errors. Otherwise, please commit these before +the freeze and make rubyists happy. + +Ali Polatel (4): + ruby: Add wrapper for notmuch_query_count_messages + ruby: Add wrapper for notmuch_query_add_tag_exclude + ruby: Add workarounds to use in-tree build not the installed one + ruby: Add wrapper for notmuch_query_set_omit_excluded() + + bindings/ruby/defs.h | 13 +++++++++-- + bindings/ruby/extconf.rb | 26 +++++++++++++++++---- + bindings/ruby/init.c | 11 ++++++++- + bindings/ruby/query.c | 57 +++++++++++++++++++++++++++++++++++++++++++++- + 4 files changed, 99 insertions(+), 8 deletions(-) + +-- +1.7.10.1 + -- 2.26.2