aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-extension-registry.c
Commit message (Collapse)AuthorAgeFilesLines
* EMailExtensionRegistry cleanups.Matthew Barnes2012-12-081-54/+37
|
* Remove EMailExtension.Matthew Barnes2012-12-081-67/+18
| | | | | | | | | | | | EMailExtension is now too trivial to keep as a standalone interface. Add a 'mime_types' string array to the EMailFormatterExtension and EMailFormatterParser interface structs. Alter e_mail_extension_registry_add_extension() to take a 'mime_types' string array and the GType of an extension to instantiate, rather than the extension instance directly. e_mail_extension_registry_remove_extension() is no longer needed.
* EMailExtension: Replace mime_types() method with a string array.Matthew Barnes2012-12-081-17/+33
| | | | | | | | | | | In all implementations for EMailExtension, the MIME type list is a static string array -- with the single exception of the text-highlight module, where the MIME type list is dynamically assembled once. Replace the mime_types() method with a "mime_types" string array in the EMailExtensionInterface struct. Then the list of MIME types supported by the class implementing the EMailExtensionInterface can be obtained without requiring an instance of the class.
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-3/+5
|
* Bug #683665 - Crash on displaying message with broken Content-Type attachmentLucian Langa2012-09-111-0/+3
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-201-2/+2
|
* Coding style and whitespace cleanup.Matthew Barnes2012-06-251-5/+5
|
* Reduce usage of g_type_class_peek_parent().Matthew Barnes2012-06-251-7/+3
| | | | G_DEFINE_TYPE macros define a static "parent_class" variable.
* Mail formatter rewriteDan Vrátil2012-06-061-0/+294
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.