aboutsummaryrefslogtreecommitdiff
path: root/message-file.c
AgeCommit message (Collapse)Author
2009-11-09libify: Move library sources down into lib directory.Carl Worth
A "make" invocation still works from the top-level, but not from down inside the lib directory yet.
2009-11-02Remove notmuch_message_get_header_size and notmuch_message_get_all_headersCarl Worth
The notmuch.c main program now uses GMime directly rather than using these functions, and I'd rather not export any functions unless we have good evidence that the functions are necessary.
2009-11-02Fix to decode header values, (primarily subject).Carl Worth
Use GMime function to decode message-header values according to RFC 2047.
2009-10-29notmuch show: Add body of message as well.Carl Worth
This is just the raw message body for now, (so any MIME parsing will be up to the consumer). And this will likely change in the future.
2009-10-29notmuch show: Initial implementation (headers only)Carl Worth
We're using a delimiter syntax that Keith is optimistic about being able to easily parse in emacs. Note: We're not escaping any occurrence of the delimiters in the message yet, so we'll need to fix that.
2009-10-26Add public notmuch_thread_get_subjectCarl Worth
And use this in "notmuch search" to display subject line as well as thread ID.
2009-10-26Remove all calls to g_strdup_printfCarl Worth
Replacing them with calls to talloc_asprintf if possible, otherwise to asprintf (with it's painful error-handling leaving the pointer undefined).
2009-10-25Add -Wmising-declarations and fix warnings.Carl Worth
Wow, lots of missing 'static' on internal functions.
2009-10-25Add -Wextra and fix warnings.Carl Worth
When adding -Wextra we also add -Wno-ununsed-parameters since that function means well enough, but is really annoying in practice. So the warnings we fix here are basically all comparsions between signed and unsigned values.
2009-10-25Add an INTERNAL_ERROR macro and use it for all internal errors.Carl Worth
We were previously just doing fprintf;exit at each point, but I wanted to add file and line-number details to all messages, so it makes sense to use a single macro for that.
2009-10-22Prevent that last bug from reoccurring.Carl Worth
It's even enough to check if a "missing" header was accidentally left off the list in the call to restrict_headers. (And it's cheap since we only check in case no such header was found in the message.)
2009-10-20Rename private notmuch_message_t to notmuch_message_file_tCarl Worth
This is in preparation for a new, public notmuch_message_t. Eventually, the public notmuch_message_t is going to grow enough features to need to be file-backed and will likely need everything that's now in message-file.c. So we may fold these back into one object/implementation in the future.