notmuch clon
Find a file
Carl Worth aa46a683a8 Add the magic to allow searches such as "tag:inbox".
The key for this is call add_boolean_prefix on the QueryParser
object. That tells the query parser to take something like "tag:inbox"
and transform it into the "Linbox" term and do what it needs to do to
make this term a requirement of the search. We're starting to have a
real system here.

Also, I didn't want to expose the ugly name of "msgid" to the user, so
we add a prefix name of simply "id" instead.
2009-10-24 22:23:58 -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 the magic to allow searches such as "tag:inbox". 2009-10-24 22:23:58 -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 Add debugging code for examining query strings. 2009-10-24 22:18:20 -07:00
message-file.c Prevent that last bug from reoccurring. 2009-10-22 15:47:19 -07:00
message.cc Move the prefix-string arrays back into database.cc from message.cc 2009-10-24 21:52:48 -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 Add notmuch_database_set_timestamp and notmuch_database_get_timestamp 2009-10-23 14:31:01 -07:00
notmuch.c Add a preliminary "notmuch search" command. 2009-10-24 22:16:10 -07:00
notmuch.h notmuch_database_create: Document idea to (optionally) return a status 2009-10-24 22:14:31 -07:00
query.cc Use _find_prefix instead of hard-coded term in notmuch_query_search 2009-10-24 22:21:57 -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