Commit Graph

26 Commits

Author SHA1 Message Date
2e87aa81fc Remove EMailShellSettings.
EShellSettings predates GSettings and is no longer necessary.

GSettings allows binding GObject properties to GSettings keys,
with optional mapping functions.  That fulfills the purpose of
EShellSettings.
2013-03-17 08:49:12 -04:00
d509f21104 EHTTPRequest: Use e_mail_ui_session_check_known_address_sync().
Use e_mail_ui_session_check_known_address_sync() to help determine
whether to automatically display images in a text/html MIME part.
2013-02-27 10:59:55 -05:00
91822b42dc Make EMailPartList thread-safe.
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.
2012-12-07 14:01:04 -05:00
e9038ba923 Relative URI can crash Evolution in http_request_send_async() 2012-11-13 13:37:10 +01:00
2c4ae5e768 Coding style and whitespace cleanup. 2012-11-10 15:54:43 -05:00
0bfb97d530 Replace deprecated soup_message_headers_get() with soup_message_headers_get_list() 2012-11-06 16:25:21 +01:00
11bdb5d83a Bug #682295 - Fix deadlock in EHttpRequest
Fix deadlock in EHttpRequest by running each libsoup operation in
it's own GMainContext.

The patch also replaces use of features from libsoup>=2.39, because
we can't change dependency. The code is based on code from CalDAV,
which uses synchronous libsoup API as well and works with
libsoup<2.39
2012-09-14 17:50:56 +02:00
309254e2ce Bug #683866 - Leaks of EMailFormatter object 2012-09-13 12:01:38 +02:00
a5bbf35da5 Fix all 'may be used uninitialized' compiler warnings 2012-08-20 13:06:23 +02:00
c85109fc32 Coding style and whitespace cleanup. 2012-08-19 14:17:55 -04:00
0f7ae17400 Bug #680702 - Freeze/crash when loading remote images
Simplify the EHttpRequest by using synchronous libsoup API instead
of spawning another async operation within already asynchronous handler.

This avoids nested event loop, complex locking and makes to code much
simpler.
2012-08-17 22:56:45 +02:00
a47f92b5da Bug #681783 - Critical warning and freeze with libsoup-2.39 and webkitgtk-1.9.2 2012-08-17 13:03:34 +02:00
1852490a93 Preset timeout on SoupSession-s to 90 seconds 2012-07-11 12:37:12 +02:00
b724ca9d48 Adapt to CamelDataCache API change.
camel_data_cache_get_filename() dropped its unused GError parameter.
2012-06-19 11:51:41 -04:00
9e88dd64e7 Bug #678293 - Already downloaded images are not shown 2012-06-19 10:27:05 +02:00
3dfda2606c Bug #431497 - Offline mode should disable loading of images from the internet 2012-06-18 15:44:32 +02:00
fe59b10f04 Bug #677608 - Fails to open message which is not yet downloaded 2012-06-18 13:44:58 +02:00
e439e17e2e Make em_utils_in_addressbook() cancellable 2012-06-14 13:01:57 +02:00
5b8340563c Mail formatter rewrite
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.
2012-06-06 15:27:19 +02:00
2a39437ee9 Adapt to single-include E-D-S libraries. 2012-06-03 15:14:03 -04:00
ec64c08d26 Don't unref GAsyncResult in "finish" functions. 2012-05-14 09:35:54 -04:00
59ba5e620d Fix some GSimpleAsyncResult reference leaks. 2012-05-13 09:40:23 -04:00
53a3d2f4e1 Use g_simple_async_result_set_check_cancellable().
Always call it immediately after g_simple_async_result_new().
2012-05-13 09:40:23 -04:00
89777f0726 Whitespace cleanups. 2012-05-13 09:15:42 -04:00
3016ec7bad Bug #674340 - Evolution hangs on startup 2012-04-26 11:54:42 +02:00
d571c56260 Bug #674272 - Contacts preview differs with mailer running and not
This splits the giant EMailRequest to individual EFileRequest, EStockRequest, EHTTPRequest and EMailRequest,
making the first two available globally from e-utils, the othe two are loaded only with mailer,
since no other component uses them.
2012-04-23 08:40:20 +02:00