Commit Graph

89 Commits

Author SHA1 Message Date
6faf671382 e-passwords: Remove unused function parameters. 2012-12-16 17:03:54 -05:00
63cff95414 Use cancellable mutex for photo and address book lookups in mailer 2012-12-14 17:46:36 +01:00
da874077be Implement and use CamelSession::trust_prompt() 2012-12-14 15:30:29 +01:00
bed06d9ec3 Move the contact map widgets to addressbook/gui/widgets.
Move the supporting widgets for the contact maps feature alongside
EABContactDisplay.  Removing them from libeutil helps isolate our usage
of libchamplain so it's not imposed on the entire application, and even
3rd party software.  That libchamplain is an optional dependency only
further complicates the matter.

Ideally I'd like to somehow isolate this feature in an extension module,
but we currently lack sufficient hooks for such an extension.  So this
arrangement will have to suffice for now.
2012-12-12 14:33:47 -05:00
d09d8de870 Consolidate base utility libraries into libeutil.
Evolution consists of entirely too many small utility libraries, which
increases linking and loading time, places a burden on higher layers of
the application (e.g. modules) which has to remember to link to all the
small in-tree utility libraries, and makes it difficult to generate API
documentation for these utility libraries in one Gtk-Doc module.

Merge the following utility libraries under the umbrella of libeutil,
and enforce a single-include policy on libeutil so we can reorganize
the files as desired without disrupting its pseudo-public API.

   libemail-utils/libemail-utils.la
   libevolution-utils/libevolution-utils.la
   filter/libfilter.la
   widgets/e-timezone-dialog/libetimezonedialog.la
   widgets/menus/libmenus.la
   widgets/misc/libemiscwidgets.la
   widgets/table/libetable.la
   widgets/text/libetext.la

This also merges libedataserverui from the Evolution-Data-Server module,
since Evolution is its only consumer nowadays, and I'd like to make some
improvements to those APIs without concern for backward-compatibility.

And finally, start a Gtk-Doc module for libeutil.  It's going to be a
project just getting all the symbols _listed_ much less _documented_.
But the skeletal structure is in place and I'm off to a good start.
2012-12-12 14:33:43 -05:00
c5eb6afc0f Bug #579315 - Identify filter names in filtering errors 2012-12-10 14:51:02 +01:00
ae6344a22b Bug #315317 - Add option to expunge messages on folder leave 2012-12-04 19:33:29 +01:00
b9b56d39cc Bug #525932 - Unhelpful "Error while Filtering Selected Messages." 2012-12-03 16:29:02 +01:00
ab3f65a15e Address couple issues found by a Coverity scan 2012-11-30 15:30:45 +01:00
10aa3a7a99 Bug #688819 - It's possible to make Evolution stop sending emails 2012-11-23 16:23:07 +01:00
2c4ae5e768 Coding style and whitespace cleanup. 2012-11-10 15:54:43 -05:00
704b78d23b Replace deprecated GLib symbols (as of GLib 2.34.x) 2012-11-06 16:21:37 +01:00
f62adc91c1 e_flaw_wait_until() expects gint64, not gint 2012-11-05 20:45:04 +01:00
136f4d53bd Replace e_flag_timed_wait() with e_flag_wait_until() 2012-11-05 20:21:14 +01:00
9bcde61c47 mail_session_refresh_cb(): Skip disabled sources. 2012-10-31 15:18:20 -04:00
aded0858c4 Prefer e_source_registry_check_enabled().
Prefer e_source_registry_check_enabled() over e_source_get_enabled()
for most instances where we want to exclude disabled data sources.
2012-10-25 13:01:50 -04:00
67f230c63b Bug #680497 - POP3 re-adds messages to local Inbox 2012-10-25 12:06:21 +02:00
0c65652f2a Bug #268618 - Add: Save replies in the folder of the message being replied to
Follow-up fixes:
a) don't copy to origin folder for forwarded messages
b) use a real folder when reply/forward from a vFolder
2012-10-22 15:28:01 +02:00
bf8eaa185a Bug #268618 - Add: Save replies in the folder of the message being replied to 2012-10-18 19:44:35 +02:00
b0efa5cb27 MailFolderCache: Silently ignore cancellation errors. 2012-10-18 08:37:56 -04:00
f9fbeb7c82 Bug #683849 - Add account name to »Checking for new mail« 2012-10-15 19:57:07 +02:00
c539a9ec20 Remove e_mail_junk_filter_available().
Because we now check for junk filtering software in configure, junk
filtering modules can now safely assume the required junk filtering
software is installed.  No more having the module installed but not
the required software.  If this invariant is broken, an error will
be shown for each new message received.
2012-09-30 23:26:23 -04:00
32550418d5 Bug #678806 - Flush Outbox doesn't remove sent messages 2012-09-11 12:29:33 +02:00
8048b5a2c5 Bug #683349 - Crash when sending a mail from the Outbox folder 2012-09-10 11:56:48 +02:00
511acab89a Bug #682425 - Can do network operations on disabled accounts 2012-09-05 15:42:03 +02:00
5cda0904f9 MailFolderCache: Remove dead code.
No comment as to why it's disabled => has no value.
2012-08-27 17:07:17 -04:00
8a10fa2481 MailFolderCache: Remove some unnecessary #includes. 2012-08-27 17:06:50 -04:00
c85109fc32 Coding style and whitespace cleanup. 2012-08-19 14:17:55 -04:00
cbf51737fa Add e_mail_session_append_to_local_folder().
Asynchronous + synchronous convenience functions.

Uses the EMailLocalFolder enumeration to specify a well-known folder.
2012-08-15 11:44:29 -04:00
cfc8ef4c6c Adapt to CamelService API changes.
camel_service_get_settings() is now camel_service_ref_settings()
and it returns a new CamelSettings reference which the caller must
release with g_object_unref().
2012-08-12 14:16:04 -04:00
6be2668e48 Adapt to CamelSession API changes.
These functions now return new references:

  camel_session_add_service()
  camel_session_list_services()

These functions have been renamed and also return new references:

  camel_session_get_service()        -> camel_session_ref_service()
  camel_session_get_service_by_url() -> camel_session_ref_service_by_url()
2012-08-12 11:44:37 -04:00
6456e814fa Adapt to CamelSession forward_to() changes. 2012-08-12 08:00:04 -04:00
5e5cdafb95 Avoid using uninitialized variable in e_mail_folder_expunge_sync() 2012-08-10 15:16:45 +02:00
d783fee9aa EMailSession: Minor code rearrangement. 2012-08-09 07:41:53 -04:00
e45c63f52b Bug #677695 - Crash on quit under emu_free_mail_cache()
This is reverting previous patch for this bug and fixes it with
a different approach. The previous patch had regression, instead
of freezing evolution on quit it crashed it when there was pending
addressbook lookups.
2012-08-08 11:27:30 +02:00
77a8559d51 Remove unused mail_disconnect_store(). 2012-07-25 20:32:04 -04:00
f22e38ffad Use template files to generate GEnumClass types. 2012-07-17 13:49:09 -04:00
d88c38abeb Rework handling of GOA mail.
Disabling the mail part of an online account through the Control Center
panel will now remove the CamelService from the EMailSession in addition
to disabling the account/identity/transport ESources, causing it to be
delisted from the account list in Preferences.

Furthermore, hide the Enabled check box for accounts linked to GOA in
Preferences.  The collection ESource for these accounts can no longer
be disabled through Evolution; all such account manipulation must be
done through the Control Center panel.

Lastly, display an icon next to accounts linked to GOA in Preferences.

* Might be nice to show the actual provider icon instead of the generic
  Online Accounts icon from the Control Center, but need to think about
  how best to do that.  Don't want a GOA dependency in core Evolution.
  Maybe ESourceCollection should grow a GIcon property for the online-
  accounts module in the registry service to set?
2012-07-15 18:19:39 -04:00
fcca366ecc mail_session_add_service(): Make display-name binding one-way.
We're leaking CamelService references when we remove a CamelService
from a CamelSession.  I don't yet know where or how.

If we remove a CamelService without finalizing the corresponding ESource,
and then add a new CamelService with the same UID, the ESource will have
a bidirectional "display-name" binding to multiple CamelService instances.
This creates an endless cascade of "notify" signals as soon as any of the
bound "display-name" properties change.

Until I can fix the leaking CamelService references, make the binding
one-way: ESource -> CamelService.  This means the ESource's display name
is authoritative, and camel_service_set_display_name() MUST NOT be called
explicitly or else it will become out-of-sync with the ESource.
2012-07-15 16:08:41 -04:00
fe2961aa50 mail_session_add_from_source(): Warn if backend name is unset.
Even send-only accounts should have a backend name of "none".
2012-07-15 11:07:16 -04:00
0c881254de Bug #223309 - Add "Include Subfolders" to "Search Folder Sources" 2012-07-11 16:38:27 +02:00
20973f9281 Bug #548778 - Use original location when replying in Search Folder 2012-07-10 19:21:28 +02:00
8ca9931144 Bug #677695 - Freeze on quit in emu_free_mail_cache() 2012-07-10 18:21:34 +02:00
a3bd7ff42f Add "auto-update" option to Search Folder Editor 2012-07-10 17:02:20 +02:00
82e980001b Always notify about finished updated_folders() call 2012-07-10 10:55:16 +02:00
a0bc647f07 Remove mail_expunge_folder().
Use e_mail_folder_expunge() instead.
2012-07-09 08:44:22 -04:00
c44c65e85f Add e_mail_folder_expunge().
To replace mail_expunge_folder().
2012-07-09 08:44:22 -04:00
0785722478 Use folder display name in status messages when possible. 2012-07-09 08:44:22 -04:00
5bd9b58290 Remove mail_refresh_folder().
Use e_mail_reader_refresh_folder() instead.
2012-07-09 08:44:22 -04:00
9c79788481 Add e_mail_reader_unsubscribe_folder_name().
Replaces e_mail_session_unsubscribe_folder().
2012-07-09 08:44:22 -04:00