From b751b22dac801baf2d9196ed94703dbb55deeff1 Mon Sep 17 00:00:00 2001 From: Adrien Bustany Date: Wed, 18 Jul 2012 21:34:28 +0300 Subject: [PATCH] [PATCH 0/7] Various fixes for the Go bindings --- ff/944f9c2fe542b8357386fb70853cab10a0c485 | 61 +++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 ff/944f9c2fe542b8357386fb70853cab10a0c485 diff --git a/ff/944f9c2fe542b8357386fb70853cab10a0c485 b/ff/944f9c2fe542b8357386fb70853cab10a0c485 new file mode 100644 index 000000000..e51169c91 --- /dev/null +++ b/ff/944f9c2fe542b8357386fb70853cab10a0c485 @@ -0,0 +1,61 @@ +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 EE49C431FB6 + for ; Wed, 18 Jul 2012 11:41:06 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 O-HY1g2p7NBE for ; + Wed, 18 Jul 2012 11:41:06 -0700 (PDT) +Received: from mail.bustany.org (bustany.org [176.31.244.208]) + by olra.theworths.org (Postfix) with ESMTP id 7FE83431FC2 + for ; Wed, 18 Jul 2012 11:41:05 -0700 (PDT) +Received: from localhost.localdomain (91-158-2-79.elisa-laajakaista.fi + [91.158.2.79]) + by mail.bustany.org (Postfix) with ESMTPSA id 59D851400BF + for ; Wed, 18 Jul 2012 20:37:07 +0200 (CEST) +From: Adrien Bustany +To: notmuch@notmuchmail.org +Subject: [PATCH 0/7] Various fixes for the Go bindings +Date: Wed, 18 Jul 2012 21:34:28 +0300 +Message-Id: <1342636475-16057-1-git-send-email-adrien@bustany.org> +X-Mailer: git-send-email 1.7.7.6 +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: Wed, 18 Jul 2012 18:41:07 -0000 + +The following patches fix some serious memory management issues with +the Go bindings, and add some missing functions as well. + +Adrien Bustany (7): + go: Use iota in enum bindings + go: Add missing MESSAGE_FLAG_EXCLUDED in Flag enum + go: Allow notmuch objects to be garbage collected + go: Make Destroy functions safe to call several times + go: Partially bind notmuch_database_upgrade + go: Bind notmuch_database_find_message_by_filename + go: Bind notmuch_thread_t functions + + bindings/go/src/notmuch/notmuch.go | 471 ++++++++++++++++++++++++++++++++++-- + 1 files changed, 447 insertions(+), 24 deletions(-) + +-- +1.7.7.6 + -- 2.26.2