Hi all, immediate v2 of id:"cover.1344028781.git.jani@nikula.org" just to rebase patch 3 against master. No other changes. BR, Jani. Jani Nikula (7): build: drop the -Wswitch-enum warning lib: add a date/time parser module test: add new test tool parse-time for date/time parser test: add smoke tests for the date/time parser module lib: add date range query support test: add tests for date:since..until range queries man: document the date:since..until range queries configure | 2 +- lib/Makefile.local | 2 + lib/database-private.h | 1 + lib/database.cc | 5 + lib/parse-time-string.c | 1384 +++++++++++++++++++++++++++++++++++++++ lib/parse-time-string.h | 95 +++ lib/parse-time-vrp.cc | 40 ++ lib/parse-time-vrp.h | 19 + man/man7/notmuch-search-terms.7 | 147 ++++- test/Makefile.local | 7 +- test/basic | 2 +- test/notmuch-test | 2 + test/parse-time-string | 26 + test/parse-time.c | 145 ++++ test/search-date | 21 + 15 files changed, 1883 insertions(+), 15 deletions(-) create mode 100644 lib/parse-time-string.c create mode 100644 lib/parse-time-string.h create mode 100644 lib/parse-time-vrp.cc create mode 100644 lib/parse-time-vrp.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