--- /dev/null
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 48F36431FB6\r
+ for <notmuch@notmuchmail.org>; Wed, 12 Sep 2012 14:27:35 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id Cu-PynB2ruW9 for <notmuch@notmuchmail.org>;\r
+ Wed, 12 Sep 2012 14:27:34 -0700 (PDT)\r
+Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com\r
+ [209.85.217.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 33302431FAF\r
+ for <notmuch@notmuchmail.org>; Wed, 12 Sep 2012 14:27:34 -0700 (PDT)\r
+Received: by lbbgk1 with SMTP id gk1so1587473lbb.26\r
+ for <notmuch@notmuchmail.org>; Wed, 12 Sep 2012 14:27:31 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=google.com; s=20120113;\r
+ h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state;\r
+ bh=sHnrYe4ia37dzHOiK6DkMxIVbUiL6GXQJNAuJLrV704=;\r
+ b=N7PJj6YCQrJnX/25tL5eTIJAzrHk38yoi/2OUk1ISEJXt29HpHNXQ9TtILt2k2WkR0\r
+ 1mhZ5DVyLesGD80thdyqiUBxwU2ftqbLDBKMshXMuxEt9YfAixgXfrf1gHnBnLN6WJLz\r
+ mVdb6O7wlE8ibZlyVI0Or4lKyu9x4I4oysJodc/x48wkC8c9jdR/W0/NQZGamgEyzyYC\r
+ LHbZ4AHaUwu1VYPwnU8fnzoWxAmdp2Rib/nsKflIqVm7X5CzBfp3sxQkGkf4K1cXIUSv\r
+ 0aNjERKPXsQksWa1QbpNiBk0/JVgl4tEMQ/QQDhWwA/13euU52oFUSk59Ne4C1HwJY+v\r
+ M1kg==\r
+Received: by 10.112.23.40 with SMTP id j8mr153936lbf.31.1347485251028;\r
+ Wed, 12 Sep 2012 14:27:31 -0700 (PDT)\r
+Received: from localhost (dsl-hkibrasgw4-fe51df00-27.dhcp.inet.fi.\r
+ [80.223.81.27]) by mx.google.com with ESMTPS id\r
+ lq10sm21216300lab.15.2012.09.12.14.27.28\r
+ (version=SSLv3 cipher=OTHER); Wed, 12 Sep 2012 14:27:29 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org,\r
+ David Bremner <david@tethera.net>\r
+Subject: [PATCH v3 0/9] notmuch search date:since..until query support\r
+Date: Thu, 13 Sep 2012 00:27:17 +0300\r
+Message-Id: <cover.1347484177.git.jani@nikula.org>\r
+X-Mailer: git-send-email 1.7.9.5\r
+X-Gm-Message-State:\r
+ ALoCoQnLkOEivlh1irAagscEc55N1gb1fyOKaYBXeYgMwnCLrKbcerD6e5FpOyAZ2+acf/6RxpzT\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 12 Sep 2012 21:27:35 -0000\r
+\r
+Hi all, v3 of id:"cover.1344065790.git.jani@nikula.org".\r
+\r
+Notable changes since v2:\r
+\r
+* Address most of David's comments in id:"877gtdmqol.fsf@zancas.localnet".\r
+ Delegating the list of time zones to the system is not without\r
+ problems, so not done. Also create_output() is not split further.\r
+\r
+* Move the parser to a subdirectory of its own to be independent of the\r
+ rest of the notmuch code base, and build it as a static library. This\r
+ should be useful if the parser is ever packaged as a library of its\r
+ own.\r
+\r
+* Add a high level documentation comment, and improve comments all\r
+ around.\r
+\r
+* Add NEWS with hopes that this would make 0.15. :)\r
+\r
+\r
+BR,\r
+Jani.\r
+\r
+Jani Nikula (9):\r
+ build: drop the -Wswitch-enum warning\r
+ parse-time-string: add a date/time parser to notmuch\r
+ test: add new test tool parse-time for date/time parser\r
+ test: add smoke tests for the date/time parser module\r
+ build: build parse-time-string as part of the notmuch lib and static\r
+ cli\r
+ lib: add date range query support\r
+ test: add tests for date:since..until range queries\r
+ man: document the date:since..until range queries\r
+ NEWS: date range search support\r
+\r
+ Makefile | 2 +-\r
+ Makefile.local | 2 +-\r
+ NEWS | 14 +\r
+ configure | 2 +-\r
+ lib/Makefile.local | 3 +-\r
+ lib/database-private.h | 1 +\r
+ lib/database.cc | 5 +\r
+ lib/parse-time-vrp.cc | 40 +\r
+ lib/parse-time-vrp.h | 19 +\r
+ man/man7/notmuch-search-terms.7 | 147 +++-\r
+ parse-time-string/Makefile | 5 +\r
+ parse-time-string/Makefile.local | 12 +\r
+ parse-time-string/README | 9 +\r
+ parse-time-string/parse-time-string.c | 1484 +++++++++++++++++++++++++++++++++\r
+ parse-time-string/parse-time-string.h | 95 +++\r
+ test/Makefile.local | 7 +-\r
+ test/basic | 2 +-\r
+ test/notmuch-test | 2 +\r
+ test/parse-time-string | 26 +\r
+ test/parse-time.c | 145 ++++\r
+ test/search-date | 21 +\r
+ 21 files changed, 2025 insertions(+), 18 deletions(-)\r
+ create mode 100644 lib/parse-time-vrp.cc\r
+ create mode 100644 lib/parse-time-vrp.h\r
+ create mode 100644 parse-time-string/Makefile\r
+ create mode 100644 parse-time-string/Makefile.local\r
+ create mode 100644 parse-time-string/README\r
+ create mode 100644 parse-time-string/parse-time-string.c\r
+ create mode 100644 parse-time-string/parse-time-string.h\r
+ create mode 100755 test/parse-time-string\r
+ create mode 100644 test/parse-time.c\r
+ create mode 100755 test/search-date\r
+\r
+-- \r
+1.7.9.5\r
+\r