Commit graph

3209 commits

Author SHA1 Message Date
Carl Worth
ea96cb694f xapian-dump: Add support to unserialize values.
The interface for this is cheesy, (bare integer value numbers on the
command line indicating that unserialization is desired for those
value numbers). But this at least lets us print sup databases with
human-readable output for the date values.
2009-10-13 09:36:25 -07:00
Carl Worth
96a706383f Add .gitignore file to ignore compiled binaries. 2009-10-13 08:57:02 -07:00
Carl Worth
76e15cf673 xapian-dump: Add values to the dump as well. 2009-10-13 08:54:43 -07:00
Carl Worth
c8532ce25d xapian-dump: Fix to dump all terms for each document ID. 2009-10-13 08:54:35 -07:00
Carl Worth
26795d64e6 xapian-dump: Actually dump document IDs
It's not a complete tool yet, but it at least does something now.
2009-10-13 08:53:34 -07:00
Carl Worth
287ffc828d Remove unused variable.
Compiling with -Wall considered useful.
2009-10-13 08:53:28 -07:00
Carl Worth
11f99eb8ea Add the beginnings of a xapian-dump program.
This will (when it is finished) make a much more reliable way to
ensure that notmuch's sync program behaves identically to sup-sync.
It doesn't actually do anything yet.
2009-10-13 08:53:14 -07:00
Carl Worth
5986cfe5e7 Add sup-compatible prefixes and achieve sup-compatible print output
What I've done here is to instrument sup-sync to print the text
and terms objects it constructs just before indexing a message.
Then I've made my g_mime_test program achieve (nearly) identical
output for an example email message, (just missing the body
text). Next we can start shoving this data into a Xapian index.
2009-10-13 08:52:34 -07:00
Carl Worth
7d0886352c Initial commit of a test program to form the basis of notmuch.
Basically just playing with some simple code using libgmime to parse
an email message.
2009-10-13 08:52:02 -07:00