Commit Graph

226 Commits

Author SHA1 Message Date
3cba495195 Convert from autotools to CMake 2016-10-10 14:46:59 +02:00
24c65e3026 Add 'OAuth2 Google' authentication type to Google-based accounts
The 'OAuth2 Google' authentication is unknown to Camel, thus it cannot
offer it on its own.
2016-09-07 11:12:30 +02:00
6e80a7e097 Bug 770369 - Strip trailing white-spaces in Remove duplicate messages 2016-08-25 21:01:20 +02:00
5787fd247f Bug 770083 - Support removing attachments inside a search folder 2016-08-19 12:16:45 +02:00
0a907ddc48 Bug 764065 - [Camel] Use get methods for CamelMessageInfo fields 2016-06-22 12:13:15 +02:00
44743d4e74 Crash under e_mail_folder_find_duplicate_messages_sync()
Check whether the message still exists, before accessing the message info
structure, to avoid a crash.

This had been reported downstream at:
https://bugzilla.redhat.com/show_bug.cgi?id=1344888
2016-06-13 12:35:41 +02:00
b56e474a03 Use newly introduced ENetworkMonitor and add UI settings for it
The setting can be found at Edit->Preferences->Network Preferences tab.
2016-06-01 00:24:27 +02:00
28ba0cb289 Bug 766713 - Remove attachment does not work on multiple level message structure 2016-05-25 22:58:35 +02:00
cc8a823062 Bug 571723 - Prefer "Cancelled" over "Canceled" in translatable strings 2016-05-11 20:34:32 +02:00
3f8fa42099 Enhance delayed message send through Outbox
It could happen that a message was sent from Outbox before the set
timeout. This change makes sure that messages which are not in
the Outbox folder for long enough are not sent earlier. Users still
can flush the Outbox earlier from the context menu or from
File->Send/Receive->Send All (the "Send/Receive" action doesn't
skip this timeout).
2016-05-11 10:51:41 +02:00
02e28f113a Bug 725320 - [Camel] Let the store preconfigure settings the first time 2016-01-22 17:11:57 +01:00
46b706c8ef Bug 759665 - Update mail ops after change in libcamel 2016-01-11 19:41:06 +01:00
ea0f25c5c7 Bug 749974 - Use OAuth2 for Google sources 2015-09-21 15:38:12 +02:00
22e5d4d3dc Bug 531109 - Show account name and full folder path in error messages 2015-08-10 14:53:45 +02:00
b4ac73c4cf Bug 668808 - Can't cancel mbox file import 2015-04-29 17:14:31 +02:00
f34d0c637d Fix various memory leaks 2015-04-23 17:50:23 +02:00
38232653f3 Bug 746395 - Let the provider store sent messages on its own 2015-04-01 17:35:36 +02:00
5f900a3006 Update devel-doc Since from 3.14 to 3.16
As the 3.14 version will be skipped, to get back to sync with
the version of GNOME, then the right Since version is 3.16.
2015-02-24 10:16:02 +01:00
9dcac58b21 Use thread safe variants of g_object_bind_property*() functions from evolution-data-server 2015-02-24 09:54:41 +01:00
0b91d60b83 Bug 743109 - Do not require spam software during build time 2015-02-06 07:52:45 +01:00
a6e34f0bb7 Move authentication of backends back to the client
Since this change the client is responsible to provide credentials
to use to authenticate backends (through ESource-s, to be more precise),
unless the credentials are already saved.
2015-02-02 14:50:27 +01:00
ab45f3f3e9 Bug 740297 - [SMTP] Crash when sending two messages at once 2014-12-10 10:25:52 +01:00
79f65dafd6 Bug 736947 - Attachment icon not shown in Sent folder 2014-11-19 20:00:21 +01:00
59e2efa774 Share GSettings objects with e_util_ref_settings()
A simple Evolution run and move between all views means creation of
more than 100 GSettings objects, with only a bit more than 10 schemas.
Reusing the objects should have a positive impact on a performance too.
2014-11-13 10:06:04 +01:00
ab83045915 [Send through Outbox] Add option when to flush Outbox folder
There are currently only three values: Keep in Outbox, Send immediately
and Send after 5 minutes. It is partly related with the "flush-outbox"
option, but as that is used for filtering, I rather kept it untouched.
2014-11-03 16:09:58 +01:00
4a8c3fa737 Bug 300871 - Ignore a specific thread 2014-10-27 22:26:29 +01:00
f6c0c8226e Bug 223621 - Add per-account mail Archive Folder option 2014-10-20 15:17:39 +02:00
827dfed56d Change activity description when storing sent message
The composer/activity showed "Sending message" even when the sent
message had been saving into a configured Sent folder. Changing
the activity description will give a better clue what is happening
in the background.
2014-10-20 10:47:40 +02:00
b209664795 e_mail_folder_uri_build: Encode special characters in folder names
Some of them could cause failures during folder open, while they
are supported by the server as such.
2014-07-28 11:29:17 +02:00
569a2903b9 Correct typo in the previous commit ('error' versus 'local_error') 2014-07-08 13:07:08 +02:00
28391aa925 Disconnect the store when connected it on send from an Outbox
When there was a send from the Outbox folder, then the transport
service was connected when needed, but not disconnected after
the send was finished. That could mean that any later send from
the Outbox for this service could fail.because the server disconnected
meanwhile.
2014-07-08 13:00:34 +02:00
26e359645f store_info_insert_folder_info: Use g_hash_table_replace() to avoid use-after-free
The previously used g_hash_table_insert() replaces only value for keys
which are already included in the hash table, but as the key is owned
by the value and freed together with the value, then here should
be used g_hash_table_replace(), which replaces both key and value,
thus avoids the use-after-free on the hash table's key.
2014-06-25 19:06:33 +02:00
25a66ff7f4 Bug 678843 - May re-prompt password on message send
Follow-up fix, forgotten place to re-enable password prompt when
sending message.
2014-06-10 17:43:04 +02:00
8650fb139a Bug 540362: [webkit-composer] Use webkit for composer
Merge wip/webkit-composer branch into master.
2014-06-09 16:32:25 +02:00
6e9e7b0676 Ignore false GSettings key change notifications
Similar to GObject::notify, the GSettings::changed can be emitted
even if a key didn't change. It's up to the user (aka evolution)
to test for real changes, thus let's do it. It may have certain
performance positive impact too.
2014-06-05 16:59:29 +02:00
2f3fbdd6c6 Ignore false GObject property change notifications
This is related to bug 698275, which did not cover all cases.
The problem here is that the dconf can in certain situation claim
that everything changed (path "/" changed), which GSettingsBinding
propagates to a GObject property unconditionally and GObject's
property setter (g_object_set_property()) also notifies about
the property change unconditionally, despite the real descendant
property setter properly checks for the value change. After all
these false notifications a callback on "notify" signal is called
and possibly an expensive operation is run.

Checking whether the value really changed helps in performance, for
which were added new e-util functions:
   e_signal_connect_notify()
   e_signal_connect_notify_after()
   e_signal_connect_notify_swapped()
   e_signal_connect_notify_object()
which have the same prototype as their GLib counterparts, but they allow
only "notify::..." signals and they test whether the value really changed
before they call the registered callback.
2014-06-04 19:46:25 +02:00
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