[PATCH v3 0/9] notmuch search date:since..until query support
Jani Nikula
jani at nikula.org
Wed Sep 12 14:27:17 PDT 2012
Hi all, v3 of id:"cover.1344065790.git.jani at nikula.org".
Notable changes since v2:
* Address most of David's comments in id:"877gtdmqol.fsf at zancas.localnet".
Delegating the list of time zones to the system is not without
problems, so not done. Also create_output() is not split further.
* Move the parser to a subdirectory of its own to be independent of the
rest of the notmuch code base, and build it as a static library. This
should be useful if the parser is ever packaged as a library of its
own.
* Add a high level documentation comment, and improve comments all
around.
* Add NEWS with hopes that this would make 0.15. :)
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 | 1484 +++++++++++++++++++++++++++++++++
parse-time-string/parse-time-string.h | 95 +++
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 +
21 files changed, 2025 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
More information about the notmuch
mailing list