Commit graph

62 commits

Author SHA1 Message Date
Carl Worth
2405b45a06 notmuch: Add a talloc context argument to each top-level command function.
I had noticed several times earlier that having a talloc context
passed in would make things more convenient. I'm not exercising
that convenience yet, but the context is there now, (and there's
one fewer item on our TODO list).
2009-10-31 16:40:47 -07:00
Carl Worth
c96021a477 Rename message_results/thread_results to messages/threads.
Shorter naming without being any less clear. A definite win.
2009-10-31 16:32:30 -07:00
Carl Worth
f365024166 TODO: Add man page and compiling a libnotmuch library to the list.
These are things we'll want done before any big announcement.
2009-10-30 12:02:11 -07:00
Carl Worth
bdde726388 TODO: Note that "notmuch show" exists now and list several new ideas.
The timestamp stuff we'll want to do soon, since it's a database
change, (though not a major one---at worst a handful of stale
timestamp documents would be left in the database).
2009-10-30 12:00:48 -07:00
Carl Worth
b39ebca8c9 TODO: Update now that full-text indexing is in.
The optimization idea removed here doesn't make sense anymore with
full-text indexing happening up front.
2009-10-28 16:52:45 -07:00
Carl Worth
df959868d9 TODO: A couple new items.
It's time to put full-text indexing back, and we might want to
experiment with optimization the original thread-stitching phase.
2009-10-28 07:28:01 -07:00
Carl Worth
f8a14b698f TODO: Remove a couple of since-completed items.
"notmuch tag" is implemented now and seems to work great (and fast).

As for the race condition, as noted in the description we're removing
it's not exposed directly in the API, but only in a client that
allows for looping over search results and removing the inbox tag
from all of them. But then, that's exactly what the "notmuch tag"
command does. So, as discussed, we've now documented that command
to highlight the issue. Problem resolved, (as well as we can).
2009-10-28 01:46:24 -07:00
Carl Worth
38bc6ba920 TODO: Several more ideas that have come to mind, that I don't want to forget.
Some of these are simple little code cleanups, but it's nice to write them
down rather than trying to remember them.
2009-10-27 11:35:30 -07:00
Carl Worth
f2bcc256fb TODO: More notes on archive-thread and race conditions.
Interstingly, it's our simple "notmuch" client that's going to be the
most difficult to fix. There's just not as much information preserved
in the textual representation from "notmuch search" as there is in the
objects returned from notmuch_query_search_threads.
2009-10-27 10:19:46 -07:00
Carl Worth
c690420076 TODO: Add "notmuch tag" and thoughts on avoiding races in archiving threads.
The archive-thread race condition doesn't even exist now because there's
no command for modifying tags at the level of a thread (just individual
messages).
2009-10-27 10:04:48 -07:00
Carl Worth
31db02a8c1 notmuch restore: Fix to remove all tags before adding tags.
This means that the restore operation will now properly pick up the
removal of tags indicated by the tag just not being present in the
dump file.

We added a few new public functions in order to support this:

	notmuch_message_freeze
	notmuch_message_remove_all_tags
	notmuch_message_thaw
2009-10-26 22:53:39 -07:00
Carl Worth
e8d8906d9c Add TODO file.
I've been maintaining this for a while now, so I might as well
start tracking it with revision control as well.
2009-10-25 23:18:05 -07:00