Implement 'notmuch dump'.
authorCarl Worth <cworth@cworth.org>
Wed, 21 Oct 2009 04:03:30 +0000 (21:03 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 21 Oct 2009 04:21:39 +0000 (21:21 -0700)
commit466a7bbf620e4bf1b57097a6d3c474159c475b6d
tree178d6175c4a70d6d5d3e005c6b9ec6464b99c1c9
parentcd4a8734d3bb151df70d51a84903bff994439b05
Implement 'notmuch dump'.

This is a fairly big milestone for notmuch. It's our first command
to do anything besides building the index, so it proves we can
actually read valid results out from the index.

It also puts in place almost all of the API and infrastructure we
will need to allow searching of the database.

Finally, with this change we are now using talloc inside of notmuch
which is truly a delight to use. And now that I figured out how
to use C++ objects with talloc allocation, (it requires grotty
parts of C++ such as "placement new" and "explicit destructors"),
we are valgrind-clean for "notmuch dump", (as in "no leaks are
possible").
Makefile
database-private.h [new file with mode: 0644]
database.cc
message.cc [new file with mode: 0644]
notmuch-private.h
notmuch.c
notmuch.h
query.cc [new file with mode: 0644]