From: David Bremner Date: Tue, 22 Mar 2016 10:54:41 +0000 (+2100) Subject: field processor features, merged series X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=401f3998771425a52d291e3c108d57605a585564;p=notmuch-archives.git field processor features, merged series --- diff --git a/91/37beceee5c938028da253e43537b2ec3d1b3da b/91/37beceee5c938028da253e43537b2ec3d1b3da new file mode 100644 index 000000000..b0b427460 --- /dev/null +++ b/91/37beceee5c938028da253e43537b2ec3d1b3da @@ -0,0 +1,100 @@ +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 A561F6DE0297 + for ; Tue, 22 Mar 2016 03:55:24 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.029 +X-Spam-Level: +X-Spam-Status: No, score=-0.029 tagged_above=-999 required=5 + tests=[AWL=-0.018, 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 NdJb6qBYsq93 for ; + Tue, 22 Mar 2016 03:55:16 -0700 (PDT) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id 7C34D6DE0217 + for ; Tue, 22 Mar 2016 03:55:16 -0700 (PDT) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) id 1aiJyY-00013y-56 + for notmuch@notmuchmail.org; Tue, 22 Mar 2016 06:55:50 -0400 +Received: (nullmailer pid 14064 invoked by uid 1000); + Tue, 22 Mar 2016 10:55:11 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: field processor features, merged series +Date: Tue, 22 Mar 2016 07:54:41 -0300 +Message-Id: <1458644094-13951-1-git-send-email-david@tethera.net> +X-Mailer: git-send-email 2.7.0 +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: Tue, 22 Mar 2016 10:55:24 -0000 + +This series merges and obsoletes + + id:1458437904-17677-1-git-send-email-david@tethera.net + +and all except the last patch + + id:1458437904-17677-1-git-send-email-david@tethera.net + +I represents an alternative initial motivation for the library config patches + +The first 4 are independent, and provide date:foo queries without the trailing .. + + [PATCH 01/13] config: autodetect xapian-1.3 + [PATCH 02/13] configure: detect Xapian:FieldProcessor + [PATCH 03/13] lib: optionally support single argument date: queries + [PATCH 04/13] lib/cli: add library API / CLI for compile time options + +This is just an optional cleanup, here to avoid conflicts. + + [PATCH 05/13] configure: check directly for xapian compaction API + +This is the previous library config series, rebased. This could be +merged without the following 3, although the motivation is maybe a bit +unclear. + + [PATCH 06/13] lib: provide config API + [PATCH 07/13] lib: config list iterators + [PATCH 08/13] CLI: add print_status_database + [PATCH 09/13] CLI: add optional config data to dump output. + [PATCH 10/13] CLI: optionally restore config data. + +Finally, add support for "named queries". I'm open to suggestions +about naming ("the hardest problem...") but I thought it was a bit +less confusing than "saved searches". + + [PATCH 11/13] CLI: add notmuch-config support for named queries + [PATCH 12/13] lib: make a global constant for query parser flags + [PATCH 13/13] lib: add support for named queries + +Outstanding issues that I know about + + - missing docs for named queries. It might be nice to have optionally + included sections in the docs. Or we could just write in something + like "These search terms are only available if you have field + processors. `notmuch config get option.field_processor` to find + out. + +- compiler warnings about visibility. I suspect I'm somehow failing at + C++ here + +- compiler warnings about deprecated compact API. This is only related + in the sense that it is triggered by using xapian 1.3 + +- as I write this, I realise I probably need to test these patches + again with xapian 1.2