notmuch clon
Find a file
Carl Worth 8969720108 Fix "notmuch new" (bad performance, and no committing of results).
We were incorrectly only destroying messages in the case of
successful addition to the database, and not in other cases,
(such as failure due to FILE_NOT_EMAIL).

I'm still not entirely sure why this was performing abysmally, (as in
making an operation that should take a small fraction of a second take
10 seconds), nor why it was causing the database to entirely fail to
get new results.

But fortunately, this all seems to work now.
2009-10-27 16:07:27 -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 add_message: Add an optional parameter for getting the just-added message. 2009-10-26 21:44:05 -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 Move terms and tags code to a new tags.cc file. 2009-10-26 05:53:40 -07:00
message-file.c Add public notmuch_thread_get_subject 2009-10-26 17:35:31 -07:00
message.cc Add public notmuch_thread_get_subject 2009-10-26 17:35:31 -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 Fix incorrect name of _notmuch_thread_get_subject. 2009-10-26 20:11:58 -07:00
notmuch.c Fix "notmuch new" (bad performance, and no committing of results). 2009-10-27 16:07:27 -07:00
notmuch.h add_message: Add an optional parameter for getting the just-added message. 2009-10-26 21:44:05 -07:00
query.cc Add public notmuch_thread_get_subject 2009-10-26 17:35:31 -07:00
sha1.c sha1: Add new notmuch_sha1_of_string function 2009-10-23 13:54:53 -07:00
tags.c tags: Replace sort() and reset() with prepare_iterator(). 2009-10-26 14:12:56 -07:00
thread.cc Fix incorrect name of _notmuch_thread_get_subject. 2009-10-26 20:11:58 -07:00
TODO Add TODO file. 2009-10-25 23:18:05 -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