notmuch clon
Find a file
Carl Worth 6b228e4509 sha1: Add new notmuch_sha1_of_string function
We'll be using this for storing really long terms in the database
and when we just need to look them up, (and never read back the
original data directly from the database). For example, storing
arbitrarily long directory paths in the database along with
mtime timestamps.

Note that if we did want to store arbitrarily long terms and also
be able to read them back, the Xapian folks recommending splitting
the term off with multiple prefixes. See the note near the end
of this page:

http://trac.xapian.org/wiki/FAQ/UniqueIds
2009-10-23 13:54:53 -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: Fix to not add multiple documents with the same message ID 2009-10-23 06:00:10 -07:00
date.c Hook up our fancy new notmuch_parse_date function. 2009-10-19 13:35:29 -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 Generate message ID (using SHA1) when a mail message contains none. 2009-10-22 15:31:56 -07:00
message-file.c Prevent that last bug from reoccurring. 2009-10-22 15:47:19 -07:00
message.cc notmuch_tags_has_more: Fix to use string.empty rather than string.size 2009-10-23 06:06:20 -07:00
message.h notmuch: Switch from gmime to custom, ad-hoc parsing of headers. 2009-10-19 13:00:43 -07:00
notmuch-private.h sha1: Add new notmuch_sha1_of_string function 2009-10-23 13:54:53 -07:00
notmuch.c notmuch restore: Print names of tags that cannot be applied 2009-10-23 06:08:22 -07:00
notmuch.h Fix notmuch_message_get_message_id to never return NULL. 2009-10-23 06:04:57 -07:00
query.cc notmuch dump: Fix the sorting of results. 2009-10-21 00:35:56 -07:00
sha1.c sha1: Add new notmuch_sha1_of_string function 2009-10-23 13:54:53 -07:00
xutil.c Add wrappers for regcomp and regexec to xutil.c. 2009-10-21 15:07:20 -07:00
xutil.h Add wrappers for regcomp and regexec to xutil.c. 2009-10-21 15:07:20 -07:00