aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-formatter.c
Commit message (Collapse)AuthorAgeFilesLines
* Make EMailPartList thread-safe.Matthew Barnes2012-12-081-8/+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-39/+35
| | | | | 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-26/+6
| | | | | | | | | | 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.
* EMailFormatter: Class method rearrangement.Matthew Barnes2012-12-081-156/+156
|
* Address couple issues found by a Coverity scanMilan Crha2012-11-301-2/+6
|
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-40/+54
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-201-5/+5
|
* Remove some unused code from EMailReaderDan Vrátil2012-08-091-7/+7
| | | | | | This is leftover from the WebKit port and it didn't work properly. Most of the code was removed, some was moved to a better place.
* Bug #679404 - Read colors for message preview from Gtk themeDan Vrátil2012-07-271-3/+9
|
* Coding style and whitespace cleanup.Matthew Barnes2012-06-251-21/+21
|
* Do not call g_object_notify() when property didn't changeMilan Crha2012-06-181-0/+22
|
* Fix displayed message headersDan Vrátil2012-06-081-0/+20
| | | | | | | | | The new formatter was ignoring selected headers, always displaying only From, To, Subject and Date (default headers). Handling of the currently displayed headers has been moved to EMailConfigFormatHTML extension, because it is related to configuration of EMailFormatter, rather then EMailReader.
* Mail formatter rewriteDan Vrátil2012-06-061-0/+1510
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.