Commit Graph

232 Commits

Author SHA1 Message Date
ae9db3ed23 Coding style and whitespace cleanup. 2011-09-14 14:08:48 +02:00
76c9cdbb12 Bug #655669 - Can't save inline pictures embedded in HTML Mails 2011-09-14 14:08:45 +02:00
6dec534e63 Avoid crashes when moving between messages quickly
The itip-formatter part is clean, but the one for attachment_button
can still introduce runtime warnings, which requires more changes and
rethinking of this all, which I prefer to postpone, the best after
WebKit work will land, because it also may change most of the mail
formatting code (I guess). It doesn't crash, at least.
2011-09-14 14:08:42 +02:00
af704b849e Avoid camel_stream_printf().
camel_stream_printf() is next on the chopping block.

Use g_strdup_printf() or a GString to construct a formatted string in
memory, pass it to camel_stream_write() in one go, and then check for
errors (unless it's a memory stream).
2011-09-14 14:08:34 +02:00
c82fcd83e7 Bug 653247 - Don't show TIFF documents inline
image/tiff is omitted because it's a multi-page image format, but
gdk-pixbuf unconditionally renders the first page only, and doesn't
even indicate through meta-data whether multiple pages are present
(see bug 335959).  Therefore, make no attempt to render TIFF images
inline and defer to an application that can handle multi-page TIFF
files properly like Evince or Gimp.  Once the referenced bug is
fixed we can reevaluate this policy.
2011-09-14 14:08:33 +02:00
76ee6f3e7f Bug #653466 - Crash in efh_format_headers 2011-06-29 18:42:34 +02:00
7132d0f0c2 Including <glib.h> directly is rarely needed. 2011-06-29 18:42:21 +02:00
12428e3a01 Bug 650522 - em-format-html: Fix uninitialized variable 2011-06-29 18:42:17 +02:00
54da4fc09c Coding style cleanups. 2011-06-29 18:42:11 +02:00
578214584c Whitespace and coding style cleanups. 2011-06-29 18:42:10 +02:00
4542662853 Bug #303653 - Make headers collapsable in preview pane 2011-06-29 18:41:58 +02:00
7aacf983b3 Coding style and whitespace cleanup. 2011-06-29 18:41:41 +02:00
057f0c4d24 Bug #643297 - multipart/related formatter skips the last part 2011-06-29 18:41:39 +02:00
c003c99a75 Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedly 2011-06-29 18:41:39 +02:00
8efc1bc6f9 Bug 641756 - Fix warnings from GCC 4.6
GCC learned how to find dead assignments.
2011-06-29 18:41:31 +02:00
e6e5c62426 Bug #250046 - Quote names in addresses when necessary in mail preview 2011-06-29 18:41:11 +02:00
735dd1d054 Bug #436914 - Reply to inline GPG quotes raw GPG message 2011-06-29 18:41:10 +02:00
c881b5bc5e Simplify EActivity.
With unintrusive error dialogs gone, we can cut some unnecessary bits
out of EActivity.

I'm also adding a new enum property called "state", which is one of:

    E_ACTIVITY_RUNNING
    E_ACTIVITY_WAITING
    E_ACTIVITY_CANCELLED
    E_ACTIVITY_COMPLETED

The state of an activity must be explicitly changed.  In particular,
when the user cancels an activity the state should be set only after
confirming the operation has been cancelled and not when cancellation
is requested (e.g. after receiving a G_IO_ERROR_CANCELLED, not when
the GCancellable emits "cancelled").  EActivityBar and EActivityProxy
widgets have been updated to make this distinction clearer in the UI.

E_ACTIVITY_WAITING will be used when activities have to be queued and
dispatched in sequence, which I haven't written yet.
2010-10-22 14:21:22 -04:00
f261f288c8 Fix a runtime warning from the enum change. 2010-10-18 16:00:12 -04:00
ae478d1e3c Collect mail enum types in e-mail-enums.h.
And generate GTypes for each of them in e-mail-enumtypes.[ch].

Also, the glib-gen.mak script forced me to add a <mail/e-mail.h>
top-level header, which really isn't a bad idea anyway.

TODO: We should do this for calendar and addressbook too.
2010-10-18 14:31:16 -04:00
26b7d1f342 Bug #630375 - Character encoding of GPG encrypted message not honored 2010-10-13 16:28:43 +02:00
31b57ed038 Adapt to Camel API changes. 2010-09-28 11:35:55 -04:00
a91eeb6471 Pass GCancellable to Camel. 2010-09-28 11:35:55 -04:00
cd53ba9900 Coding style cleanups. 2010-09-13 08:28:58 -04:00
101305e1c7 Various memory leaks 2010-09-07 18:39:46 +02:00
480b9e1720 Bug 627611 - Memory leak in efh_format_header() 2010-08-24 01:15:25 +01:00
699e36491b Change em_format_redraw() to em_format_queue_redraw().
This changes the behavior of the function: instead of redrawing
immediately it schedules the redraw from an idle callback.  This
allows us to make multiple changes to EMFormat before redrawing.
2010-08-10 18:53:31 -04:00
c1381b02bc EMFormat cleanups. 2010-08-10 07:40:46 -04:00
36b9debed0 More code cleanup. 2010-07-26 12:26:55 -04:00
81e5428a59 Coding style and whitespace cleanup. 2010-07-26 01:16:42 -04:00
0d51f66583 Make clutter mode even more appealing. 2010-07-25 21:30:01 -04:00
dba7eededd Bug #623035 - Crash when printing email with too many recipients 2010-07-13 20:54:58 +02:00
f92b45d7df Fix places where "~/.evolution" is hard-coded.
Also replace "$USER_DATA_DIR/cache" path constructions with
e_get_user_cache_dir().
2010-07-08 16:59:11 -04:00
137b0743dd Migrate from CamelException to GError. 2010-07-08 14:37:52 -04:00
4f01d3d182 Keep chipping away at direct GtkHTML usage.
EMFormatHTML now holds a sealed EWebView instead of a public GtkHTML,
accessible through em_format_html_get_web_view().

Rename e_mail_reader_get_html_display() to e_mail_reader_get_formatter()
and have it return an EMFormatHTML instead of an EMFormatHTMLDisplay,
since that's usually the type you want (or else an EMFormat, but never
an EMFormatHTMLDisplay).
2010-05-31 12:01:49 -04:00
45cf94ed85 Bug #531912 - Mail inline parser doesn't always work 2010-05-14 16:31:52 +02:00
bc90469e7f Camel is now GObject-based. 2010-04-24 11:05:27 -04:00
91020b05a3 Bug #360461 - Avoid markup in translatable messages 2010-04-23 11:20:50 +02:00
d9deaf9bbc Bug #614325 - Shrink/expand To,Cc header images is missing 2010-04-08 13:55:10 +02:00
a8feedf390 Adapt to Camel API changes. 2010-04-03 23:06:39 -04:00
fabb6b035c Only #include Camel's top-level header. 2010-04-02 16:59:20 -04:00
55d6580d86 Stop relying on CamelObject meta-data. 2010-03-31 20:12:48 -04:00
fa2da5acd6 Fix mismatched quotes. 2010-03-28 18:55:22 -04:00
7c51d1c1a6 Add an extension to configure EMFormatHTML.
Make EMFormatHTML extensible and register an extension to automatically
bind every EMFormatHTML instance to the appropriate EShellSettings.
2010-03-20 11:49:46 -04:00
38f11c946e Work-around a problem with urls on windows 2010-03-11 11:33:55 +01:00
594dc83bc0 Use proper URIs in markup and be consistent in directory names 2010-03-11 10:28:11 +01:00
cae22334fa Remove dead assignments found by clang. 2010-01-15 21:50:05 -05:00
2db0cad78c Replace alloca() with g_alloca(). 2009-12-27 14:44:21 -05:00
a4def5c093 Bug #553057 - Show signer's information in a message window/preview 2009-12-16 20:19:58 +01:00
79e19d570c BUG 600217:Crashes in emfh_multipart_related_check
Check for the link
2009-11-13 06:50:41 +05:30