lib: Separate list of all messages from top-level messages
authorAustin Clements <amdragon@MIT.EDU>
Sun, 25 Nov 2012 04:57:03 +0000 (23:57 -0500)
committerDavid Bremner <bremner@debian.org>
Tue, 19 Feb 2013 00:20:24 +0000 (20:20 -0400)
commit5394924e6cf8f4758fdfb748b8b28b7ef9165ce7
treeea14351f3d4d9e192624f2e81f560e68398f7020
parent086dab4333623f38a8813643f42eee4ac31aa7f5
lib: Separate list of all messages from top-level messages

Previously, thread.cc built up a list of all messages, then
proceeded to tear it apart to transform it into a list of
top-level messages.  Now we simply build a new list of top-level
messages.

This simplifies the interface to _notmuch_message_add_reply,
eliminates the pointer acrobatics from
_resolve_thread_relationships, and will enable us to do things
with the list of all messages in the following patches.
lib/message.cc
lib/notmuch-private.h
lib/thread.cc