Commit Graph

190 Commits

Author SHA1 Message Date
8692b1cb72 Add an --enable-code-coverage configure option to enable gcov support
When enabled, this will compile all libraries/binaries with the necessary
gcc and ld flags to enable code coverage support using gcov.
2014-03-25 12:04:58 +01:00
5c60d57082 Replace 'interface' with 'iface' in the code
Win32 headers have a #define for 'interface', which breaks the build
when this word is used in the code, thus replace it to 'iface',
the same way as GLib or GTK+ code use to have it. (See bug #722068.)
2014-02-26 16:15:21 +01:00
aceed006fd mail_session_dispose: First free folders, only then stores
CamelFolder holds a weak reference to its parent CamelStore, thus
if the store is freed before the folder, then the folder cannot
access it, which can lead to crashes.
2014-02-24 12:52:48 +01:00
96f7a8ab3c libemail-engine.pc: Add missing gtk+-3.0 requirement. 2014-02-23 12:56:44 -05:00
c287f194e1 mail_xfer_folder: Not provided anymore (forgotten prototype definition) 2014-02-21 09:38:39 +01:00
d80607dbcb Bug #711443 - IMAPX account unread count goes only up, not down 2014-02-20 13:39:03 +01:00
d26be934dd Bug #655806 - Folder deletion is very slow 2014-02-10 20:20:53 +01:00
3d4f6335e7 Bug #722041 - NNTP Messages are silently dropped from Outbox 2014-02-10 17:57:28 +01:00
e81fab3f80 Remove unused mail_folder_cache_list_stores(). 2014-02-03 11:15:57 -05:00
1b2ae054bf Replace usage of __FUNCTION__ with G_STRFUNC 2014-01-23 10:12:13 +01:00
c19b053bfd MailFolderCache: Remove 'ping' operation.
Was only used for IMAP, and CamelIMAPXServer can do this itself now.
Consequently camel_store_noop_sync() has been removed.
2014-01-17 15:41:08 -05:00
b21733d067 Bug 721545 - License text contains obsolete FSF postal address 2014-01-07 16:05:51 -05:00
30920a8024 MailFolderCache: Remove some nuisance runtime warnings.
When renaming a folder, don't warn if the GalView files for the folder
don't exist (errno == ENOENT).  It may be the folder was never viewed.
2013-12-10 15:02:42 -05:00
7b98c39b0a Coding style and whitespace cleanup. 2013-12-07 10:04:45 -05:00
99bdfc8c24 sync_store_desc: Display the store's display name.
That's what it's for.
2013-11-30 09:49:15 -05:00
f02bb4526c em_utils_is_local_delivery_mbox_file(): Take a CamelService.
More convenient than constructing a CamelURL just for this function.

Also, document it.
2013-11-30 09:45:57 -05:00
f911f1754a Avoid camel_service_get_session().
Use camel_service_ref_session() instead.
2013-11-30 08:18:55 -05:00
7c407a88e2 Remove unused arguments in mail_fetch_mail().
The 'fetch_type' and 'fetch_count' arguments are not used.
2013-11-29 15:15:57 -05:00
8ae3cc3283 Remove mail_cancel_all().
Turns out this function was a no-op, because nothing registered itself
to be cancelled this way.  This was part of the legacy async framework,
which we've mostly moved away from now.
2013-11-27 13:15:08 -05:00
eedcd8118c Remove unused mail_cancel_hook_remove(). 2013-11-27 13:15:08 -05:00
19991bcbd0 Remove unused mail_cancel_hook_add(). 2013-11-27 13:15:08 -05:00
c803769454 Adapt to new CamelSession "user-alert" signal.
Replaces the old interactive (but not really) alert_user() method.
2013-11-27 10:02:59 -05:00
0fcfad1df3 mail-mt.h: Remove dangling mail_get_password() declaration. 2013-11-27 10:02:59 -05:00
60775476f3 EMailSession: Remove leftover EProxy instance. 2013-11-26 11:27:21 -05:00
ce72cf5b4e EMailSession: Remove "junk-filter-name" property.
No longer needed.  Following up on a pre-GSettings "FIXME" item.
2013-11-26 10:41:49 -05:00
122a84d7f6 ESettingsMailSession: Bind to "junk-default-plugin".
Use mapping functions to convert between the filter name string and
the corresponding EMailJunkFilter extension.
2013-11-26 10:41:49 -05:00
3cd87037bc Add e_mail_session_get_junk_filter_by_name().
Looks up an EMailJunkFilter extension by its filter name, as specified
in its class structure.
2013-11-26 10:41:49 -05:00
21effa0d45 Add ESettingsMailSession.
Handles junk mail settings.
2013-11-24 18:43:54 -05:00
570c637480 Fix/mute issues found by Coverity scan
This makes the code free of Coverity scan issues.
It is sometimes quite pedantic and expects/suggests some
coding habits, thus certain changes may look weird, but for a good
thing, I hope. The code is also tagged with Coverity scan
suppressions, to keep the code as is and hide the warning too.
Also note that Coverity treats g_return_if_fail(), g_assert() and
similar macros as unreliable, and it's true these can be disabled
during the compile time, thus it brings in other set of 'weird'
changes.
2013-11-15 09:06:57 +01:00
edf8ad6eff "Disco is dead!", says Camel.
All offline-capable Camel providers use CamelOfflineStore now.
2013-11-13 18:15:50 -05:00
3c30fb1747 Convert libemail-engine to a single-include model.
Use: #include <libemail-engine/libemail-engine.h>
2013-11-11 12:07:43 -05:00
4ea43b34a8 Move EMailImageLoadingPolicy to e-mail-formatter-enums.h.
libemail-engine doesn't need to know about this enum.
2013-11-11 08:29:20 -05:00
9c1975632e Generate enum GTypes for libevolution-mail.
Steals some enum types that libemail-engine doesn't need to know about.
2013-11-11 08:29:20 -05:00
ab13a0e01a Remove unused EMailDisplayStyle enum. 2013-11-11 08:29:20 -05:00
32f5964c6e Fix misspelled enum type. 2013-11-11 08:29:20 -05:00
4c2233114d Rename e-mail-enums.h to e-mail-engine-enums.h. 2013-11-11 08:29:20 -05:00
a7b322d37e Generate documentation for libemail-engine. 2013-11-11 08:10:10 -05:00
bc0d5d40ed Bug 710797 - Name all the timeouts added with g_timeout_add() 2013-10-29 15:22:35 -04:00
d3e0f96c73 Fix error handling glitch in mail_session_send_to_thread().
If sending a message fails but the user was already connected to the
MTA, the error is missed and not handled until further into the logic,
where it's treated as though sending succeeded and only post-processing
failed.  This results in the user seeing a copy of the message in Sent,
but the message was never actually sent.

Fallout from the investigation of bug 710807.
2013-10-29 09:28:17 -04:00
eb16646010 Adapt to Camel's proxy resolver API changes. 2013-10-25 12:51:11 -04:00
f792a7cd14 EMailSession: Implement ref_proxy_resolver() method.
Eventually I'd like to add an ESourceExtension for proxy settings,
but for now we'll live with the old and somewhat broken EProxy API.
2013-09-27 13:26:05 -04:00
2ff0a3ccf0 Adapt to CamelSession trust_prompt() changes. 2013-09-27 10:45:01 -04:00
82010c57ec Adapt to Camel API changes. 2013-09-23 12:03:17 -04:00
3da4948c0f Miscellaneous cleanups. 2013-09-07 19:08:54 -04:00
084974a617 MailFolderCache: Avoid g_signal_handlers_disconnect_matched().
store_info_unref() already disconnects the signal handlers one by one.
2013-08-17 10:29:15 -04:00
52a48c15e0 Bug #705446 - Old POP3 mails can be removed before getting them 2013-08-08 07:48:19 +02:00
660064e202 Bug 704682 - Runtime warning in MailFolderCache 2013-07-27 23:25:35 -04:00
7383843653 Reimplement mail_folder_cache_note_store().
* Use GIO-style async parameters.
* Add mail_folder_cache_note_store_finish().
* Do the bulk of the work in a thread so the logic is more readable.
* Queue multiple calls for the same CamelStore and share the results.
2013-07-19 08:36:56 -04:00
dd4d570b62 Add e_mail_store_go_offline_sync().
Mostly for symmetry with e_mail_store_go_online_sync().
2013-07-19 08:36:56 -04:00
f1cc9011fb Add e_mail_store_go_online_sync().
Need for new mail_folder_cache_note_store() implementation.
2013-07-19 08:36:56 -04:00