aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-parser.c
Commit message (Collapse)AuthorAgeFilesLines
* e_mail_parser_base_init(): Register internal extension types.Matthew Barnes2012-12-081-1/+56
|
* EMailParserExtension: Collect EMailParts in a GQueue.Matthew Barnes2012-12-081-52/+53
| | | | | | | | | | | | | | | Collect EMailParts in a GQueue provided to the EMailParserExtension, and change the return type of parse() to gboolean to indicate whether the given CamelMimePart was handled (even if no parts were added to the output GQueue). This avoids the awkward corner case of a parser extension returning a linked list node with a NULL data member to indicate the CamelMimePart was handled but no EMailParts produced, and then having to watch out for that NULL data member corner case throughout the application. Also, remove the GCancellable parameter from e_mail_parser_error() and e_mail_parser_wrap_as_attachment() since neither function blocks.
* Make EMailPartList thread-safe.Matthew Barnes2012-12-081-27/+39
| | | | | | Exposing data members in the public struct is unwise, especially when EMailPartList is used from multiple threads. Instead keep the members private and provide a set of thread-safe functions to manipulate them.
* Further EMailParser cleanups.Matthew Barnes2012-12-051-96/+95
|
* mail_parser_run(): Eliminate a dead code branch.Matthew Barnes2012-12-051-24/+16
| | | | | There's no need to check whether the 'parsers' GQueue is NULL since we assert that it's non-NULL just a few lines above.
* Address couple issues found by a Coverity scanMilan Crha2012-11-301-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-15/+27
|
* Replace deprecated GLib symbols (as of GLib 2.34.x)Milan Crha2012-11-061-8/+5
|
* Fix all 'may be used uninitialized' compiler warningsDan Vrátil2012-08-201-0/+2
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-201-4/+4
|
* Bug #680123 - Freeze on message/disposition-notification email parsingDan Vrátil2012-07-181-1/+1
|
* Add CamelDebug to e_mail_parser_parse_syncDan Vrátil2012-06-271-0/+17
|
* Coding style and whitespace cleanup.Matthew Barnes2012-06-251-10/+10
|
* Remove a leftover debug messageDan Vrátil2012-06-071-3/+0
|
* Mail formatter rewriteDan Vrátil2012-06-061-0/+693
All mail-parsing and formatting code has been moved to em-format. Parsing is handeled by EMailParser class, formatting by EMailFormatter. Both classes have registry which hold extensions - simple classes that do actual parsing and formatting. Each supported mime-type has it's own parser and formatter extension class.