Re: [PATCH v6 0/9] notmuch search date:since..until query support
authorTomi Ollila <tomi.ollila@iki.fi>
Wed, 31 Oct 2012 11:35:29 +0000 (13:35 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:50:14 +0000 (09:50 -0800)
ea/ff574c331e65b88a963ec91990ddd57cc1418f [new file with mode: 0644]

diff --git a/ea/ff574c331e65b88a963ec91990ddd57cc1418f b/ea/ff574c331e65b88a963ec91990ddd57cc1418f
new file mode 100644 (file)
index 0000000..2451f75
--- /dev/null
@@ -0,0 +1,136 @@
+Return-Path: <tomi.ollila@iki.fi>\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 4C611431FBD\r
+       for <notmuch@notmuchmail.org>; Wed, 31 Oct 2012 04:35:31 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       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 ku5pEWhvnT4h for <notmuch@notmuchmail.org>;\r
+       Wed, 31 Oct 2012 04:35:30 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id ECA60431FBC\r
+       for <notmuch@notmuchmail.org>; Wed, 31 Oct 2012 04:35:29 -0700 (PDT)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+       by guru.guru-group.fi (Postfix) with ESMTP id CFB2E10007D;\r
+       Wed, 31 Oct 2012 13:35:29 +0200 (EET)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH v6 0/9] notmuch search date:since..until query support\r
+In-Reply-To: <cover.1351626272.git.jani@nikula.org>\r
+References: <cover.1351626272.git.jani@nikula.org>\r
+User-Agent: Notmuch/0.14+59~gf9031cd (http://notmuchmail.org) Emacs/24.2.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+       $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+       !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Wed, 31 Oct 2012 13:35:29 +0200\r
+Message-ID: <m2mwz2nabi.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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, 31 Oct 2012 11:35:31 -0000\r
+\r
+On Tue, Oct 30 2012, Jani Nikula <jani@nikula.org> wrote:\r
+\r
+> Hi all, v6 of [1] with plenty of small changes addressing Austin's\r
+> review [2], [3], [4], and [5]. See my replies to Austin for what I've\r
+> agreed to change, and what I've chosen to ignore and why.\r
+>\r
+> The single biggest change is the requirement to have some delimiter(s)\r
+> between keywords, which allowed simplification of keyword\r
+> matching. Consequently match_keyword() and parse_keyword() functions in\r
+> patch 2/9 have changed considerably.\r
+>\r
+> There are a few ways to examine the changes since v5. My public repo at\r
+> [6] has branches topic-parse-time-string-v5 (rebased to master) and\r
+> topic-parse-time-string-v6, and [7] should provide a fancy colorful diff\r
+> between the two. The same but less fancy diff is also at the end of this\r
+> cover letter.\r
+>\r
+> Change by change commits to the parser and test tool can also be found\r
+> at [8]. The source files there are copied verbatim to patches 2/9 and\r
+> 3/9.\r
+\r
+LGTM\r
+\r
+>\r
+> BR,\r
+> Jani.\r
+>\r
+\r
+Tomi\r
+\r
+> [1] id:cover.1350854171.git.jani@nikula.org\r
+> [2] id:20121022081444.GM14861@mit.edu for patch 2/9\r
+> [3] id:20121023042326.GP14861@mit.edu for patch 4/9\r
+> [4] id:20121023045255.GQ14861@mit.edu for patch 6/9\r
+> [5] id:20121024210841.GU14861@mit.edu for patch 8/9\r
+> [6] https://gitorious.org/jani/notmuch\r
+> [7] https://gitorious.org/jani/notmuch/commit/06c76eb4181bc88eccabc419c690046682125d7a/diffs/ef5e8d111748784433f4b80c9e5378f0c1a57319\r
+> [8] https://gitorious.org/parse-time-string/parse-time-string\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                                  |   12 +\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                 |   61 ++\r
+>  lib/parse-time-vrp.h                  |   40 +\r
+>  man/man7/notmuch-search-terms.7       |  150 +++-\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 | 1503 +++++++++++++++++++++++++++++++++\r
+>  parse-time-string/parse-time-string.h |  102 +++\r
+>  test/Makefile.local                   |    7 +-\r
+>  test/basic                            |    2 +-\r
+>  test/notmuch-test                     |    2 +\r
+>  test/parse-time-string                |   78 ++\r
+>  test/parse-time.c                     |  314 +++++++\r
+>  test/search-date                      |   21 +\r
+>  21 files changed, 2315 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.10.4\r