Re: [PATCH] add has: query prefix to search for specific properties
[notmuch-archives.git] / 48 / 5c08018de76495de3be5fd59c1cf00903dde0e
1 Return-Path: <jani@nikula.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 72AAF431E62\r
6         for <notmuch@notmuchmail.org>; Sun,  1 Dec 2013 05:14:16 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id GdGp6JmbtDSu for <notmuch@notmuchmail.org>;\r
16         Sun,  1 Dec 2013 05:14:08 -0800 (PST)\r
17 Received: from mail-ea0-f170.google.com (mail-ea0-f170.google.com\r
18         [209.85.215.170]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id B096B431FD0\r
21         for <notmuch@notmuchmail.org>; Sun,  1 Dec 2013 05:14:08 -0800 (PST)\r
22 Received: by mail-ea0-f170.google.com with SMTP id k10so8157965eaj.15\r
23         for <notmuch@notmuchmail.org>; Sun, 01 Dec 2013 05:14:07 -0800 (PST)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=1e100.net; s=20130820;\r
26         h=x-gm-message-state:from:to:cc:subject:date:message-id;\r
27         bh=Mugaf95IP51fnxa2jufRz/2yMNteMXN5zMSDwArAq3U=;\r
28         b=c+qR5Hw45h6hHBbt5zTCFb6IP5k7QoaaciWJjzqUJ71AbbBGwcskR89u+ZjI7KDzJt\r
29         aKydPiqorPPv/ORqOXRNfaqfjkv3KTXnT9+5aKrxVtNxZU/2ABv+klcjSYc4SdyBu6Ao\r
30         6FdFysxWRt4FiCpQKkVStEuX3mU5Kg4vacOZIFHzFxU/NAUV9cNwXcKj26pze7Aa4wBH\r
31         sYLkOvZzICQOWy1U/TWt4dhsQK7XFk7VmXdIFtuC8AvS4CVN1TeHTlCLr4kc9uPnn5zO\r
32         83D9w4xz51iS5CGCpEbDUKUTVqWE0mHs4aZnON2xSEQoTjgAOknioXHlZaVO4RwwxDUe\r
33         Aq0Q==\r
34 X-Gm-Message-State:\r
35  ALoCoQlXvwoonEaSJ04Ki9JsQF13ctlgxebYiFfU7St1939n8gS1awySLLYiIyGT2w48g33YPAdI\r
36 X-Received: by 10.14.95.130 with SMTP id p2mr75178eef.47.1385903646022;\r
37         Sun, 01 Dec 2013 05:14:06 -0800 (PST)\r
38 Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi.\r
39         [88.195.111.91])\r
40         by mx.google.com with ESMTPSA id h3sm35532015eem.15.2013.12.01.05.14.03\r
41         for <multiple recipients>\r
42         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
43         Sun, 01 Dec 2013 05:14:05 -0800 (PST)\r
44 From: Jani Nikula <jani@nikula.org>\r
45 To: notmuch@notmuchmail.org\r
46 Subject: [PATCH 0/2] lib: introduce notmuch_database_new\r
47 Date: Sun,  1 Dec 2013 15:13:58 +0200\r
48 Message-Id: <cover.1385903109.git.jani@nikula.org>\r
49 X-Mailer: git-send-email 1.8.4.2\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Sun, 01 Dec 2013 13:14:16 -0000\r
63 \r
64 Hi all -\r
65 \r
66 In preparation of adding some logging hooks into the library (instead of\r
67 printing everything to stdout/stderr) we need a way to set that kind of\r
68 options before opening/creating the database. Here's a proposed API\r
69 change to make that possible in the future.\r
70 \r
71 N.B. This breaks bindings and contrib/notmuch-deliver.\r
72 \r
73 BR,\r
74 Jani.\r
75 \r
76 \r
77 Jani Nikula (2):\r
78   lib: add return status to database close and destroy\r
79   lib: introduce notmuch_database_new for initializing a database handle\r
80 \r
81  lib/database.cc      | 80 ++++++++++++++++++++++++++++++----------------------\r
82  lib/notmuch.h        | 69 ++++++++++++++++++++++++++++++++++----------\r
83  notmuch-compact.c    | 11 +++++++-\r
84  notmuch-count.c      | 10 +++++--\r
85  notmuch-dump.c       | 10 +++++--\r
86  notmuch-insert.c     | 10 +++++--\r
87  notmuch-new.c        | 14 +++++----\r
88  notmuch-reply.c      | 10 +++++--\r
89  notmuch-restore.c    | 10 +++++--\r
90  notmuch-search.c     | 10 +++++--\r
91  notmuch-show.c       | 10 +++++--\r
92  notmuch-tag.c        | 10 +++++--\r
93  test/random-corpus.c | 10 +++++--\r
94  test/symbol-test.cc  |  3 +-\r
95  14 files changed, 193 insertions(+), 74 deletions(-)\r
96 \r
97 -- \r
98 1.8.4.2\r
99 \r