[PATCH v2 0/7] notmuch search date:since..until query support
authorJani Nikula <jani@nikula.org>
Sat, 4 Aug 2012 07:41:38 +0000 (10:41 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:48:49 +0000 (09:48 -0800)
02/41eb41b1b797c1dc956bb95b0b6e10fca798b7 [new file with mode: 0644]

diff --git a/02/41eb41b1b797c1dc956bb95b0b6e10fca798b7 b/02/41eb41b1b797c1dc956bb95b0b6e10fca798b7
new file mode 100644 (file)
index 0000000..c0a2553
--- /dev/null
@@ -0,0 +1,104 @@
+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 162BD431FB6\r
+       for <notmuch@notmuchmail.org>; Sat,  4 Aug 2012 00:41:55 -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 QeorFVTVksr7 for <notmuch@notmuchmail.org>;\r
+       Sat,  4 Aug 2012 00:41:51 -0700 (PDT)\r
+Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com\r
+       [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 5BB7B431FAE\r
+       for <notmuch@notmuchmail.org>; Sat,  4 Aug 2012 00:41:51 -0700 (PDT)\r
+Received: by lagu2 with SMTP id u2so844636lag.26\r
+       for <notmuch@notmuchmail.org>; Sat, 04 Aug 2012 00:41:49 -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=YblgS7BHY6uPqV/kScj35inFbwRJ8G/Q031TONMpYac=;\r
+       b=SdscI8hI3amM91zaVSgaGQBPpJfyQe5twsLmY0z84wV+icQUMqTazC+qk/ujTGVEb6\r
+       Rvhk6lKJ13pW7PsER+ics6ow+awMMxntMriYmAVSyOsPuDWm7lRwGLPmNUPzjgYOOWvn\r
+       FeMKMTWCJv7BkmTWaOxSiVVk+llkQZGddV/Nuz9e2rjv3H0F/9eaultaTaRPbC2SPkmL\r
+       /ycMyQmVG+VM/hZvW9MLjvhfyTpHsTlN5vTq+qxVz+LTVizHZjxwcQrPWyJ8M6PZ1L0S\r
+       cvE4Acvz+e9homzWDJCeWnosI/rujWE/aiAOXQ1QkLkEBt/pBGPewQpKVGqnZgXtzHfr\r
+       Rx0g==\r
+Received: by 10.152.105.51 with SMTP id gj19mr3958556lab.38.1344066109690;\r
+       Sat, 04 Aug 2012 00:41:49 -0700 (PDT)\r
+Received: from localhost (dsl-hkibrasgw4-fe51df00-27.dhcp.inet.fi.\r
+       [80.223.81.27])\r
+       by mx.google.com with ESMTPS id u10sm2434196lbm.14.2012.08.04.00.41.47\r
+       (version=SSLv3 cipher=OTHER); Sat, 04 Aug 2012 00:41:48 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 0/7] notmuch search date:since..until query support\r
+Date: Sat,  4 Aug 2012 10:41:38 +0300\r
+Message-Id: <cover.1344065790.git.jani@nikula.org>\r
+X-Mailer: git-send-email 1.7.9.5\r
+X-Gm-Message-State:\r
+ ALoCoQmpux0KDkukftvuixhcyzrWitR0x7AxLanW6XxTVnI6Dsf0tt7MHKkzZ5v5tHezGvt6gzNB\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: Sat, 04 Aug 2012 07:41:55 -0000\r
+\r
+Hi all, immediate v2 of id:"cover.1344028781.git.jani@nikula.org" just\r
+to rebase patch 3 against master. No other changes.\r
+\r
+BR,\r
+Jani.\r
+\r
+\r
+Jani Nikula (7):\r
+  build: drop the -Wswitch-enum warning\r
+  lib: add a date/time parser module\r
+  test: add new test tool parse-time for date/time parser\r
+  test: add smoke tests for the date/time parser module\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
+\r
+ configure                       |    2 +-\r
+ lib/Makefile.local              |    2 +\r
+ lib/database-private.h          |    1 +\r
+ lib/database.cc                 |    5 +\r
+ lib/parse-time-string.c         | 1384 +++++++++++++++++++++++++++++++++++++++\r
+ lib/parse-time-string.h         |   95 +++\r
+ lib/parse-time-vrp.cc           |   40 ++\r
+ lib/parse-time-vrp.h            |   19 +\r
+ man/man7/notmuch-search-terms.7 |  147 ++++-\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
+ 15 files changed, 1883 insertions(+), 15 deletions(-)\r
+ create mode 100644 lib/parse-time-string.c\r
+ create mode 100644 lib/parse-time-string.h\r
+ create mode 100644 lib/parse-time-vrp.cc\r
+ create mode 100644 lib/parse-time-vrp.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