Commit Graph

13 Commits

Author SHA1 Message Date
14ea179597 Don't rely on user's $PATH, use HIGHLIGHT_COMMAND defined by configure 2012-10-09 00:32:54 +02:00
5437fa7c35 Bug #684447 - Check for highlight during configure.
If the highlight program cannot be found width AC_PATH_PROGS,
configure will abort with an error message.

You can either
a) install highlight
b) specify the patch with HIGHLIGHT=/path/to/highlight
c) pass --disable-text-highlight to configure to exclude the module

This also makes text-highlight module to fallback to text/plain
formatter when highlight program would crash or fail to ensure
the content is delivered to user.
2012-10-08 23:27:29 +02:00
1cfe0327ca portability: don't use too generic variable names
OpenBSD (and maybe other OS) already declare stdout and stdin in <stdio.h>
which breaks evolution build, so prefix both with "pipe_" to prevent clashing.

https://bugzilla.gnome.org/show_bug.cgi?id=685471
2012-10-04 15:46:49 +02:00
164d4aeadd Bug #680786 - [text-highlight] Correctly display binary patches 2012-08-23 11:12:39 +02:00
c85109fc32 Coding style and whitespace cleanup. 2012-08-19 14:17:55 -04:00
2ba06f65fa Bug #680786 - [text-highlight] Prefer Content-Type header over file name extension 2012-08-10 14:26:04 +02:00
6fc650ff53 text-highlight: Add missing linker flags. 2012-07-27 14:35:19 -04:00
9574b77d63 Bug #680577 - [text-highlight] - Failed to load part 2012-07-26 21:24:23 +02:00
7878c06f05 Bug #680634 - Missing image attachment 2012-07-26 21:23:29 +02:00
8663b54cae Highlighting of text parts and source codes
This adds 'Format as' submenu to the preview pane context menu.
The submenu is available only for text/plain parts or parts
with a source code (we support about 40 various types). Using
the 'highlight' utility, the formatter processes the part and
highlights the source code it contains.

(discussion in bug #680026)
2012-07-25 11:29:22 +02:00
cc8bf823ec Coding style and whitespace cleanup. 2012-06-24 20:31:43 -04:00
f960fd2dff Reduce usage of g_type_class_peek_parent().
G_DEFINE_TYPE macros define a static "parent_class" variable.
2012-06-24 20:31:42 -04:00
9311914746 Mail formatter rewrite - convert some plugins to modules
audio-inline, itip-formatter, prefer-plain, tnef-attachments
and vcard-inline plugins were converted to modules so that they
can fit into concept of the new formatter.

Every module still installs .eplug file, because there is no
suitable API at the moment to register plugins to the plugins dialog
and to extend the Preferences dialog.
2012-06-06 15:29:38 +02:00