Commit Graph

84 Commits

Author SHA1 Message Date
Matthew Barnes c75f58d01b Fix compiler warnings. 2011-11-22 14:34:11 -05:00
Rodrigo Moya 1b78f1e674 Migrate em-format* to GSettings 2011-10-18 23:28:27 +02:00
Matthew Barnes 1f38f4d92c Simplify library dependency flags.
We have a confusing array of nearly-identical CFLAGS/LIBS definitions in
configure.ac.  Time to simplify.  Instead let's just have one definition
that includes all the libraries provided by Evolution-Data-Server (incl.
Camel).  That, in combination with GNOME_PLATFORM, gives us most of what
we need for compliation and linking, and we can sprinkle definitions for
additional library dependencies in Makefile.am's as needed.
2011-10-04 22:27:14 -04:00
Matthew Barnes fcbbdfbd18 Coding style and whitespace cleanup. 2011-09-04 07:34:32 -04:00
Matthew Barnes f59681796d Coding style and whitespace cleanup. 2011-08-13 11:27:51 -04:00
Matthew Barnes 005a26de45 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-07-05 14:40:10 -04:00
Matthew Barnes 17127fbee9 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-07-05 11:31:01 -04:00
Matthew Barnes a51ea9b977 EMFormatQuote cleanups.
Move public members to the private struct.
2011-07-05 11:31:01 -04:00
Milan Crha 11bf8dd07d Bug #637402 - No quoted mail when replying to html email 2011-06-24 16:24:19 +02:00
Matthew Barnes f014ab82c8 Coding style and whitespace cleanups. 2011-06-08 13:14:48 -04:00
Matthew Barnes de752b010f Including <glib-object.h> directly is rarely needed. 2011-05-28 11:12:08 -04:00
Matthew Barnes cb97c2dc8f Coding style and whitespace cleanup. 2011-05-21 17:56:06 -04:00
Matthew Barnes 8a186c3588 Coding style cleanups. 2011-05-08 13:37:20 -04:00
Matthew Barnes 4cfb84c573 Whitespace and coding style cleanups. 2011-05-07 18:48:38 -04:00
Milan Crha c814aa614c Fix a memory leak 2011-04-27 18:37:53 +02:00
Milan Crha 8b0f78bb9c Use message subject for attachment description if no filename provided 2011-03-10 11:43:25 +01:00
Milan Crha eef2191a3a Bug #586461 - Remove signature also from HTML formatted emails on reply 2011-03-09 17:41:47 +01:00
Milan Crha 46a52a54c4 Bug #618440 - "Reply" does not always strip signatures 2011-03-09 17:08:05 +01:00
Matthew Barnes c6fd77460f Coding style and whitespace cleanup. 2011-03-05 12:34:28 -05:00
Milan Crha 2533e52b8c Do not leak attachments in a mail view 2011-03-02 15:13:40 +01:00
Milan Crha 1301cf02ef Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedly 2011-02-25 16:20:41 +01:00
Milan Crha 065755c13c Bug #640829 - Can drop text/plain message lines in message preview 2011-02-21 13:19:36 +01:00
Kjartan Maraas 2c31a5bc23 Bug 641756 - Fix warnings from GCC 4.6
GCC learned how to find dead assignments.
2011-02-08 11:57:50 -05:00
Matthew Barnes 21ab8044da Coding style and whitespace cleanup. 2011-01-29 20:22:57 -05:00
Matthew Barnes 006b4838e7 Adapt to Camel API changes. 2011-01-23 21:20:54 -05:00
Milan Crha a8bde44b69 Bug #436914 - Reply to inline GPG quotes raw GPG message 2010-12-13 16:30:21 +01:00
Milan Crha 98e867b9ce Bug #567265 - BCC kept on message forward from Sent folder 2010-10-19 09:36:01 +02:00
Milan Crha f7f4014e22 Bug #630518 - Hides calendar parts from multipart/alternative 2010-10-18 13:15:39 +02:00
Milan Crha 26b7d1f342 Bug #630375 - Character encoding of GPG encrypted message not honored 2010-10-13 16:28:43 +02:00
Matthew Barnes 31b57ed038 Adapt to Camel API changes. 2010-09-28 11:35:55 -04:00
Matthew Barnes a91eeb6471 Pass GCancellable to Camel. 2010-09-28 11:35:55 -04:00
Matthew Barnes cd53ba9900 Coding style cleanups. 2010-09-13 08:28:58 -04:00
Milan Crha 19fb22903c Bug #629046 - Empty reply quotation for HTML messages 2010-09-09 09:37:44 +02:00
Milan Crha 101305e1c7 Various memory leaks 2010-09-07 18:39:46 +02:00
Matthew Barnes 5c7182a0a8 Bug 628660 - em_format_part_as() memory leak 2010-09-03 07:44:39 -04:00
Matthew Barnes 4c05b9e925 Coding style and whitespace cleanup. 2010-08-29 11:22:28 -04:00
Matthew Barnes ff2c9f8499 Bug 628154 - Ignore paths in MIME part filenames 2010-08-27 18:12:45 -04:00
Matthew Barnes 9cbc19e949 Bug 627852 - Memory leak in em_format_push_level() 2010-08-27 10:49:08 -04:00
David Woodhouse 31167489b9 Bug 627598 - Memory leak in emf_format_clone() 2010-08-24 01:08:20 +01:00
Matthew Barnes 4e9050bc1e Whitespace and coding style cleanup. 2010-08-13 21:32:32 -04:00
Matthew Barnes 489ec676aa More EMFormat cleanups. 2010-08-10 18:53:31 -04:00
Matthew Barnes 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
Matthew Barnes c1381b02bc EMFormat cleanups. 2010-08-10 07:40:46 -04:00
Matthew Barnes 221c841d42 Bug 626453 - Show attachments inline when printing 2010-08-10 06:03:19 -04:00
Rob Bradford 2b6e5cce19 em-format: Guard entry point to em_format_set_mode with g_return_if_fail 2010-08-02 15:36:50 +01:00
David Woodhouse 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
Matthew Barnes 523d1da019 Bug 623947 - Error handling issues in em-format.c 2010-07-10 09:14:01 -04:00
Matthew Barnes 137b0743dd Migrate from CamelException to GError. 2010-07-08 14:37:52 -04:00
Matthew Barnes 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
Matthew Barnes bc90469e7f Camel is now GObject-based. 2010-04-24 11:05:27 -04:00