notmuch/lib
Carl Worth 5d56e931b9 add_message: Use sha-1 in place of overly long message ID.
Since Xapian has a limit on the maximum length of a term, we have
to check for that before trying to add the message ID as a term.

This fixes the bug reported by Mike Hommey here:

	<20091120132625.GA19246@glandium.org>

I've also constructed 20 files with a range of message ID lengths
centered around the Xapian term-length limit which I'll use to seed a
new test suite soon.
2009-11-22 04:03:49 +01:00
..
database-private.h Catch and optionally print about exception at database->flush. 2009-11-22 03:54:20 +01:00
database.cc add_message: Use sha-1 in place of overly long message ID. 2009-11-22 04:03:49 +01:00
index.cc Typsos 2009-11-18 03:21:36 -08:00
libsha1.c libify: Move library sources down into lib directory. 2009-11-09 16:24:03 -08:00
libsha1.h libify: Move library sources down into lib directory. 2009-11-09 16:24:03 -08:00
Makefile Use $(MAKE) when invoking make from make. 2009-11-12 22:00:51 -08:00
Makefile.local lib: Move notmuch_messages_t code from query.cc to new messages.c 2009-11-14 23:05:17 -08:00
message-file.c message_file_get_header: Use break where more clear than continue. 2009-11-17 18:37:45 -08:00
message.cc Catch and optionally print about exception at database->flush. 2009-11-22 03:54:20 +01:00
messages.c add_message: Don't add any self-references to the database. 2009-11-17 17:55:37 -08:00
notmuch-private.h Permit opening the notmuch database in read-only mode. 2009-11-21 22:04:49 +01:00
notmuch.h Fix freak case problem that broke the compile. 2009-11-21 22:29:31 +01:00
query.cc Catch and optionally print about exception at database->flush. 2009-11-22 03:54:20 +01:00
sha1.c Typsos 2009-11-18 03:21:36 -08:00
tags.c notmuch_tags_advance: Make safe against excessive calls. 2009-11-14 23:02:55 -08:00
thread.cc Typsos 2009-11-18 03:21:36 -08:00
xutil.c libify: Move library sources down into lib directory. 2009-11-09 16:24:03 -08:00
xutil.h libify: Move library sources down into lib directory. 2009-11-09 16:24:03 -08:00