unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jani Nikula <jani@nikula.org>
To: notmuch@notmuchmail.org
Subject: [PATCH v4 0/9] notmuch search date:since..until query support
Date: Sun, 14 Oct 2012 01:09:46 +0300	[thread overview]
Message-ID: <cover.1350164594.git.jani@nikula.org> (raw)

Hi all, v4 of id:"cover.1347484177.git.jani@nikula.org", addressing most
of Michal Sojka's comments and issues in [1] and [2], and incorporating
his idea for improved testability and the tests from [2]. Thanks Michal!

[1] id:"8739262u4i.fsf@steelpick.2x.cz"
[2] id:"87zk4e1f5k.fsf@steelpick.2x.cz"

BR,
Jani.

Jani Nikula (9):
  build: drop the -Wswitch-enum warning
  parse-time-string: add a date/time parser to notmuch
  test: add new test tool parse-time for date/time parser
  test: add smoke tests for the date/time parser module
  build: build parse-time-string as part of the notmuch lib and static
    cli
  lib: add date range query support
  test: add tests for date:since..until range queries
  man: document the date:since..until range queries
  NEWS: date range search support

 Makefile                              |    2 +-
 Makefile.local                        |    2 +-
 NEWS                                  |   14 +
 configure                             |    2 +-
 lib/Makefile.local                    |    3 +-
 lib/database-private.h                |    1 +
 lib/database.cc                       |    5 +
 lib/parse-time-vrp.cc                 |   40 +
 lib/parse-time-vrp.h                  |   19 +
 man/man7/notmuch-search-terms.7       |  147 +++-
 parse-time-string/Makefile            |    5 +
 parse-time-string/Makefile.local      |   12 +
 parse-time-string/README              |    9 +
 parse-time-string/parse-time-string.c | 1492 +++++++++++++++++++++++++++++++++
 parse-time-string/parse-time-string.h |  102 +++
 test/Makefile.local                   |    7 +-
 test/basic                            |    2 +-
 test/notmuch-test                     |    2 +
 test/parse-time-string                |   71 ++
 test/parse-time.c                     |  281 +++++++
 test/search-date                      |   21 +
 21 files changed, 2221 insertions(+), 18 deletions(-)
 create mode 100644 lib/parse-time-vrp.cc
 create mode 100644 lib/parse-time-vrp.h
 create mode 100644 parse-time-string/Makefile
 create mode 100644 parse-time-string/Makefile.local
 create mode 100644 parse-time-string/README
 create mode 100644 parse-time-string/parse-time-string.c
 create mode 100644 parse-time-string/parse-time-string.h
 create mode 100755 test/parse-time-string
 create mode 100644 test/parse-time.c
 create mode 100755 test/search-date

-- 
1.7.9.5

             reply	other threads:[~2012-10-13 22:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-13 22:09 Jani Nikula [this message]
2012-10-13 22:09 ` [PATCH v4 1/9] build: drop the -Wswitch-enum warning Jani Nikula
2012-10-13 22:09 ` [PATCH v4 2/9] parse-time-string: add a date/time parser to notmuch Jani Nikula
2012-10-15  4:26   ` Ethan Glasser-Camp
2012-10-17  7:48     ` Jani Nikula
2012-10-13 22:09 ` [PATCH v4 3/9] test: add new test tool parse-time for date/time parser Jani Nikula
2012-10-13 22:09 ` [PATCH v4 4/9] test: add smoke tests for the date/time parser module Jani Nikula
2012-10-13 22:09 ` [PATCH v4 5/9] build: build parse-time-string as part of the notmuch lib and static cli Jani Nikula
2012-10-13 22:09 ` [PATCH v4 6/9] lib: add date range query support Jani Nikula
2012-10-13 22:09 ` [PATCH v4 7/9] test: add tests for date:since..until range queries Jani Nikula
2012-10-13 22:09 ` [PATCH v4 8/9] man: document the " Jani Nikula
2012-10-13 22:09 ` [PATCH v4 9/9] NEWS: date range search support Jani Nikula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1350164594.git.jani@nikula.org \
    --to=jani@nikula.org \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).