Commit Graph

7207 Commits

Author SHA1 Message Date
b1ed35f70d Coding style and whitespace cleanup. 2013-01-10 11:20:32 -05:00
79f9fe7f77 e-config: Remove unused functions.
e_config_add_skip_check()
e_config_class_remove_factory()
e_config_create_window()
e_config_page_get()
e_config_page_next()
e_config_page_prev()
e_config_set_page_is_finish()

Also remove E_CONFIG_ASSISTANT and all the assistant support therein.
2012-12-16 18:07:54 -05:00
6fecc5899e Fix compiler warnings. 2012-12-15 08:16:36 -05:00
edf538b50b Revert part of the previous commit, EMailUISession::alert_user()
Keep the EMailUISession define its own implementation of
CamelSession::alert_user(). It's good for couple reasons:
a) dialog is shown above Evolution itself (has parent)
b) info dialogs are shown in an alert bar
2012-12-14 15:49:46 +01:00
da874077be Implement and use CamelSession::trust_prompt() 2012-12-14 15:30:29 +01:00
011747a5f7 e_mail_migrate(): Remove directory creation code.
e_shell_backend_get_data_dir() already creates the user's data directory
for mail, so there's no need to try and create the directory again.

This eliminates the only usage of the E_SHELL_MIGRATE_ERROR domain.
2012-12-13 17:28:32 -05: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
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
2f0d83cf74 EMailFormatterContext: Keep a reference to EMailPartList.
Replace the individual components of an EMailPartList with a reference
on the EMailPartList itself in EMailFormatContext.  Easier to manage.
2012-12-07 14:01:04 -05:00
2bbd4baef0 Do not empty trash/delete junk in disabled accounts on exit 2012-12-04 19:35:55 +01:00
ae6344a22b Bug #315317 - Add option to expunge messages on folder leave 2012-12-04 19:33:29 +01:00
dff6f5d85d e_mail_reader_parse_message() cleanups.
Use the existing AsyncContext struct instead of defining a new struct.
2012-12-04 11:43:59 -05:00
dad8f67e57 Bug 689639 - File -> Print Preview in composer brings up Print dialog 2012-12-04 11:03:03 -05:00
01a3fd26cd Bug #687503 - Improve error message »Failed to refresh folders« 2012-12-03 18:32:46 +01:00
2e07947a51 Bug #502516 - Avoid "source" string in user visible dialogs 2012-12-03 17:55:55 +01:00
2074c0b628 Bug #529743 - Add "Any header" filter and search folder condition 2012-12-03 13:28:17 +01:00
09893a473b Bug #678606 - Crash under mail_backend_folder_deleted_cb() 2012-12-03 12:05:39 +01:00
ab3f65a15e Address couple issues found by a Coverity scan 2012-11-30 15:30:45 +01:00
d50deaf449 Avoid gdk_window_get_pointer().
Use gdk_window_get_device_position() instead.
2012-11-29 09:12:30 -05:00
953c9d8adf Avoid gtk_tree_view_get_vadjustment().
Use gtk_scrollable_get_vadjustment() instead.
2012-11-29 09:12:30 -05:00
aef0e1e7fd Bug #672200 - Skip Reply-To-List check for list administrative messages 2012-11-28 19:17:28 +01:00
4411abeea0 Bug #671200 - Inherit source message crypto options when reply on selection 2012-11-27 14:18:19 +01:00
e0f12eaaf4 EMailDisplay lefts opened file handles to downloaded images
This fixes three things:
a) mail_display_resource_requested() was leaking file handles on downloaded images
b) it's not necessary to open files, it's enough to test whether file exists
c) mail_display_button_press_event() used incorrect key for "http" cache
2012-11-22 19:32:33 +01:00
abdefcaa26 Bug #687670 - Signing with both pgp and S/MIME shows only one signature 2012-11-21 17:57:07 +01:00
ce64eb6ba1 Bug #677378 - Alert about self-signed certificates when checking auth types 2012-11-21 12:36:27 +01:00
dad357207e Bug #688199 - Replying via a template doesn't mark mail as read/replied 2012-11-13 15:02:40 +01: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
72524d4d30 Document why I decided not to implement RFC 6186. 2012-11-08 15:42:32 -05:00
6de9a0e56e EMailAutoconfig: Restructure XML parsing.
If we get a hit from the online database, parse the XML immediately and
store the results in generic internal structs.  Then when we're given an
ESource to populate we can feed it the stored results instead of parsing
the XML on demand (and repeatedly).

What this is really doing is making room for other auto-configuration
methods besides the online database lookup.
2012-11-08 13:23:31 -05:00
75595d233b Bug #683877 - No more contextual menus for links 2012-11-08 17:27:37 +01:00
2445e854a0 EMailAutoconfig: Use GResolver for DNS lookups.
Use g_resolver_lookup_records() instead of parsing binary DNS records
ourselves (yuck!).  Also, realized what we really want are NS records
not MX records.  We just want the name server for a given domain.
2012-11-08 10:46:19 -05:00
d7d44bfdd2 EMailAutoconfig: Comment no longer applies. 2012-11-08 10:08:56 -05:00
af1d412eed EMailConfigAssistant: Make revising auto-configuration easier.
After providing a name and email address on the Identity page, the user
clicks Forward and auto-configuration runs.  If successful, it jumps to
the Account Summary page showing a table of auto-configured settings.

If the user wants to go back and revise auto-configured settings, he
would click Go Back to return to the Identity Page, then click Forward
again to go to Receiving Email (since auto-coniguration only runs once).

But this is confusing.  It's not clear that clicking Forward from the
Identity Page will behave differently after auto-configuration has run.
Instead, clicking Go Back from the Summary Page after auto-configuration
should return to the Receiving Email page where IMAP/POP settings can be
modified.

This behavior combined with the GtkAssistant navigation sidebar should
hopefully make it less confusing.
2012-11-08 07:23:36 -05:00
ff4b5adc97 Make auto-configuration cancellable.
Based on my initial patch in https://bugzilla.gnome.org/678615.
2012-11-08 07:23:36 -05:00
de8aea580d EMailAutoconfig: Use libsoup instead of gvfs.
The GVFS HTTP backend seems to just hang forever when an I/O operation
is cancelled.  Use libsoup instead.

See also: https://bugzilla.gnome.org/678615
2012-11-08 07:23:36 -05:00
e8797d1ed9 Revert "Bug #686620 - Add an option to skip New Account autodiscovery"
This reverts commit 039c29c112.

Auto-configuration should instead be cancellable from the progress page.
2012-11-08 07:23:36 -05:00
039c29c112 Bug #686620 - Add an option to skip New Account autodiscovery 2012-11-07 15:17:03 +01:00
cd27672f61 Bug #656143 - Stop using deprecated Gtk[HV]Box(Class) 2012-11-06 18:33:37 +01:00
0bfb97d530 Replace deprecated soup_message_headers_get() with soup_message_headers_get_list() 2012-11-06 16:25:21 +01:00
704b78d23b Replace deprecated GLib symbols (as of GLib 2.34.x) 2012-11-06 16:21:37 +01:00
d6b350c751 Fixed squished labels on Identity page of Account Assistant.
GtkSizeGroup::ignore-hidden is broken, or so I'm told in the discussion
on https://bugzilla.gnome.org/show_bug.cgi?id=677609.  Leave it FALSE.
2012-11-01 16:31:11 -04:00
709a2498ef Bug 687060 - Identity page shows read-only GOA properties as editable
Hide the account name and email address fields when editing an Evolution
account linked to a GNOME Online Account.
2012-10-28 17:18:15 -04:00
abb81c8b83 EMailConfigIdentityPage: Add a "show-email-address" property.
Allows the Email Address field to be hidden.
2012-10-28 17:18:15 -04:00
6472883a8b EMailConfigIdentityPage cleanups. 2012-10-28 17:18:15 -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
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
32ca78553b Remove "Disable Account" menu item for GOA-based accounts.
GOA-based accounts must only be disabled from gnome-control-center.
2012-10-19 08:42:42 -04:00
bf8eaa185a Bug #268618 - Add: Save replies in the folder of the message being replied to 2012-10-18 19:44:35 +02:00