aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-formatter-quote.c
Commit message (Collapse)AuthorAgeFilesLines
* EMailFormatter: Use GOutputStream instead of CamelStream.Matthew Barnes2014-03-011-19/+26
|
* Fix duplicate #includesKjartan Maraas2014-01-221-1/+0
|
* Bug 721545 - License text contains obsolete FSF postal addressMatthew Barnes2014-01-081-10/+9
|
* Convert EMailPart to a GObject.Matthew Barnes2013-05-201-1/+1
| | | | | EMailPart is reference-counted, subclassed, and allows a custom finalize function. There's no excuse for it not to use GObject.
* Add e_mail_part_get_is_attachment().Matthew Barnes2013-05-201-1/+1
|
* Add e_mail_part_get_mime_type().Matthew Barnes2013-05-201-1/+4
|
* Add e_mail_part_id_has_suffix().Matthew Barnes2013-05-201-2/+2
|
* em-format cleanups.Matthew Barnes2013-05-201-2/+5
|
* EMailFormatterQuote: Use e_mail_formatter_find_rfc822_end_iter().Matthew Barnes2013-02-071-14/+2
|
* Teach EMailExtensionRegistry to find extensions.Matthew Barnes2013-02-011-3/+3
| | | | Restore this commit with a proper bug fix to follow.
* Revert "Teach EMailExtensionRegistry to find extensions."Milan Crha2013-01-291-3/+3
| | | | | | | | | | This reverts commit bf30024dd7973006bf99d0ae509a7f0022368a41, because it breaks EMailFormatter/Parser extensions, like the prefer-plain. The thing is that the internal formatters/parsers (also extensions) should be always added first, and only after then can be added extended extensions, which are used before those internal. This constraint was not satisfied with the reverted commit, the order of extension registration was unpredictable, depended on GType.
* Teach EMailExtensionRegistry to find extensions.Matthew Barnes2012-12-081-3/+3
| | | | | | | | | | | | | | | | | | | | | Now we have the following extension points in the GType hierarchy: E_TYPE_MAIL_FORMATTER_EXTENSION E_TYPE_MAIL_FORMATTER_PRINT_EXTENSION E_TYPE_MAIL_FORMATTER_QUOTE_EXTENSION E_TYPE_MAIL_PARSER_EXTENSION A registry just needs to be given one of these extension points, and it can use g_type_children() to find and load all registered extensions. This eliminates e-mail-format-extensions.[ch] as well as the dynamic loaders I added a few commits back. Dynamically loaded extensions are now easier to register, at the cost of internal extensions being a tad more cumbersome to register. Fair tradeoff, imo. This also makes e_mail_extension_registry_add_extension() a private function used only by e_mail_formatter_extension_registry_load() and e_mail_parser_extension_registry_load().
* Add EMailFormatterQuoteExtension.Matthew Barnes2012-12-081-1/+19
| | | | | This is an abstract base type for formatter extensions which are intended only for use by EMailFormatterQuote.
* e_mail_formatter_quote_base_init(): Register internal extension types.Matthew Barnes2012-12-081-4/+21
|
* Make EMailPartList thread-safe.Matthew Barnes2012-12-081-13/+10
| | | | | | 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.
* EMailFormatterContext: Keep a reference to EMailPartList.Matthew Barnes2012-12-081-12/+12
| | | | | Replace the individual components of an EMailPartList with a reference on the EMailPartList itself in EMailFormatContext. Easier to manage.
* EMailFormatter: Simplify context allocation.Matthew Barnes2012-12-081-15/+1
| | | | | | | | | | Replace the create_context() and free_context() class methods with a "context_size" class member defaulting to sizeof(EMailFormatterContext). EMailFormatter will use "context_size" to allocate a zero-filled slab of heap memory. Since EMailFormatterQuote is currently the only thing that overrides the "context_size" (to append a "qf_flags" member), let's keep this simple.
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-3/+5
|
* BR is not a "pair" HTML elementMilan Crha2012-09-111-2/+2
|
* Bug #680331 - Crash when replying to a messageDan Vrátil2012-08-031-3/+10
|
* Bug #680535 - Reply to message with text attachments formats them inlineDan Vrátil2012-08-011-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2012-06-251-8/+8
|
* Bug #677673 - Reply contains quoted top headersDan Vrátil2012-06-151-0/+5
|
* Mail formatter rewriteDan Vrátil2012-06-061-0/+224
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.