]> git.notmuchmail.org Git - notmuch/commit
Implement an internal generic string list and use it.
authorAustin Clements <amdragon@mit.edu>
Thu, 9 Dec 2010 00:26:05 +0000 (19:26 -0500)
committerAustin Clements <amdragon@mit.edu>
Mon, 21 Mar 2011 06:45:18 +0000 (02:45 -0400)
commitf3c1eebfaf8526129ae6946cbcd44a3c602563d6
tree13457ad173997005f6023d274e9a0ec130bba098
parentd9b0ae918fd9d535e819b8859eca579002146661
Implement an internal generic string list and use it.

This replaces the guts of the filename list and tag list, making those
interfaces simple iterators over the generic string list.  The
directory, message filename, and tags-related code now build generic
string lists and then wraps them in specific iterators.  The real wins
come in later patches, when we use these for even more generic
functionality.

As a nice side-effect, this also eliminates the annoying dependency on
GList in the tag list.
lib/Makefile.local
lib/database.cc
lib/directory.cc
lib/filenames.c
lib/message.cc
lib/messages.c
lib/notmuch-private.h
lib/string-list.c [new file with mode: 0644]
lib/tags.c
lib/thread.cc