notmuch clon
Find a file
Carl Worth 1ba3d46fab Add an initial implementation of a notmuch_thread_t object.
We've now got a new notmuch_query_search_threads and a
notmuch_threads_result_t iterator. The thread object itself
doesn't do much yet, (just allows one to get the thread_id),
but that's at least enough to see that "notmuch search" is
actually doing something now, (since it has been converted
to print thread IDs instead of message IDs).

And maybe that's all we need. Getting the messages belonging
to a thread is as simple as a notmuch_query_search_messages
with a string of "thread:<thread-id>".

Though it would be convenient to add notmuch_thread_get_messages
which could use the existing notmuch_message_results_t iterator.

Now we just need an implementation of "notmuch show" and we'll
have something somewhat usable.
2009-10-25 23:12:20 -07:00
.gitignore .gitignore: Ignore generated file Makefile.dep 2009-10-20 23:13:28 -07:00
AUTHORS Rename sha1.c to libsha1.c 2009-10-21 23:27:48 -07:00
COPYING Add copy of GNU General Public License (version 3). 2009-10-21 16:25:08 -07:00
COPYING-GPL-3 Add copy of GNU General Public License (version 3). 2009-10-21 16:25:08 -07:00
database-private.h notmuch dump: Fix the sorting of results. 2009-10-21 00:35:56 -07:00
database.cc Drop dead function add_term. 2009-10-25 16:14:07 -07:00
date.c Add -Wwrite-strings and fix warnings. 2009-10-25 15:55:23 -07:00
libsha1.c Rename sha1.c to libsha1.c 2009-10-21 23:27:48 -07:00
libsha1.h Add sha1.c and libsha1.h for doing SHA-1-based message-ID generation. 2009-10-21 21:33:02 -07:00
Makefile Add an initial implementation of a notmuch_thread_t object. 2009-10-25 23:12:20 -07:00
message-file.c Add -Wmising-declarations and fix warnings. 2009-10-25 15:58:05 -07:00
message.cc Add -Wmising-declarations and fix warnings. 2009-10-25 15:58:05 -07:00
message.h notmuch: Switch from gmime to custom, ad-hoc parsing of headers. 2009-10-19 13:00:43 -07:00
notmuch-completion.bash Add bash-completion script for notmuch. 2009-10-24 22:28:22 -07:00
notmuch-private.h Add an initial implementation of a notmuch_thread_t object. 2009-10-25 23:12:20 -07:00
notmuch.c Add an initial implementation of a notmuch_thread_t object. 2009-10-25 23:12:20 -07:00
notmuch.h Add an initial implementation of a notmuch_thread_t object. 2009-10-25 23:12:20 -07:00
query.cc Add an initial implementation of a notmuch_thread_t object. 2009-10-25 23:12:20 -07:00
sha1.c sha1: Add new notmuch_sha1_of_string function 2009-10-23 13:54:53 -07:00
thread.cc Add an initial implementation of a notmuch_thread_t object. 2009-10-25 23:12:20 -07:00
xutil.c Add -Wextra and fix warnings. 2009-10-25 15:52:14 -07:00
xutil.h Add wrappers for regcomp and regexec to xutil.c. 2009-10-21 15:07:20 -07:00