Commit Graph

80 Commits

Author SHA1 Message Date
ae9db3ed23 Coding style and whitespace cleanup. 2011-09-14 14:08:48 +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
c72aba8f7c Prefer g_seekable_seek() over camel_stream_reset().
When a stream is obviously a file or memory stream (both of which
implement the GSeekable interface), use g_seekable_seek() instead of
camel_stream_reset().

This is helping me discover if it's safe to remove camel_stream_reset().
We want to eventually move to GIO streams, which have no reset method.
2011-09-14 14:08:34 +02:00
d9ee2fc9c6 EMFormatQuote cleanups.
Move public members to the private struct.
2011-09-14 14:08:34 +02:00
f9de46563e Bug #637402 - No quoted mail when replying to html email 2011-06-29 18:42:32 +02:00
e7954c3f25 Coding style and whitespace cleanups. 2011-06-29 18:42:26 +02:00
f043e3c748 Including <glib-object.h> directly is rarely needed. 2011-06-29 18:42:21 +02:00
5146ff4c53 Coding style and whitespace cleanup. 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
698e3476e3 Fix a memory leak 2011-06-29 18:42:03 +02:00
ba4172f42c Use message subject for attachment description if no filename provided 2011-06-29 18:41:44 +02:00
45c0f29262 Bug #586461 - Remove signature also from HTML formatted emails on reply 2011-06-29 18:41:44 +02:00
b100e5d4ae Bug #618440 - "Reply" does not always strip signatures 2011-06-29 18:41:44 +02:00
7aacf983b3 Coding style and whitespace cleanup. 2011-06-29 18:41:41 +02:00
498337e852 Do not leak attachments in a mail view 2011-06-29 18:41:40 +02:00
c003c99a75 Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedly 2011-06-29 18:41:39 +02:00
04a178dc66 Bug #640829 - Can drop text/plain message lines in message preview 2011-06-29 18:41:36 +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
6af0c53b69 Coding style and whitespace cleanup. 2011-06-29 18:41:29 +02:00
c5298d19d8 Adapt to Camel API changes. 2011-06-29 18:41:25 +02:00
735dd1d054 Bug #436914 - Reply to inline GPG quotes raw GPG message 2011-06-29 18:41:10 +02:00
98e867b9ce Bug #567265 - BCC kept on message forward from Sent folder 2010-10-19 09:36:01 +02:00
f7f4014e22 Bug #630518 - Hides calendar parts from multipart/alternative 2010-10-18 13:15:39 +02: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
19fb22903c Bug #629046 - Empty reply quotation for HTML messages 2010-09-09 09:37:44 +02:00
101305e1c7 Various memory leaks 2010-09-07 18:39:46 +02:00
5c7182a0a8 Bug 628660 - em_format_part_as() memory leak 2010-09-03 07:44:39 -04:00
4c05b9e925 Coding style and whitespace cleanup. 2010-08-29 11:22:28 -04:00
ff2c9f8499 Bug 628154 - Ignore paths in MIME part filenames 2010-08-27 18:12:45 -04:00
9cbc19e949 Bug 627852 - Memory leak in em_format_push_level() 2010-08-27 10:49:08 -04:00
31167489b9 Bug 627598 - Memory leak in emf_format_clone() 2010-08-24 01:08:20 +01:00
4e9050bc1e Whitespace and coding style cleanup. 2010-08-13 21:32:32 -04:00
489ec676aa More EMFormat cleanups. 2010-08-10 18:53:31 -04: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
221c841d42 Bug 626453 - Show attachments inline when printing 2010-08-10 06:03:19 -04:00
2b6e5cce19 em-format: Guard entry point to em_format_set_mode with g_return_if_fail 2010-08-02 15:36:50 +01:00
8ae4bf802a Fix two memory leaks when replying
1: em_utils_reply_to_message() can be passed a newly-created message (from
a current selection. It needs to unref it. Which means that when we pass it
a message which *isn't* newly-created, we have to obtain a ref of our own.
It was that or add a boolean parameter to tell it whether to unref or not.

2: emf_finalize() wasn't unreferencing emf->message -- so when we clone
the EMFormat in em_utils_message_to_html() and immediately unreference the
clone, a refcount on the message got leaked. Fix emf_finalize() to unref
emf->message as presumably it should.
2010-07-15 16:48:45 +01:00
523d1da019 Bug 623947 - Error handling issues in em-format.c 2010-07-10 09:14:01 -04:00
137b0743dd Migrate from CamelException to GError. 2010-07-08 14:37:52 -04:00
f8626b2845 Bug 619345 - GtkHTML color settings not being honored
Includes some minor code cleanups related to this investigation.
2010-05-29 23:39:55 -04:00
bc90469e7f Camel is now GObject-based. 2010-04-24 11:05:27 -04:00
51e5ae5524 Adapt to Camel API changes. 2010-04-12 15:55:53 -04: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
e835906dcc Bug #613261 - application/mbox not shown properly 2010-04-01 15:20:22 +02:00