Commit Graph

569 Commits

Author SHA1 Message Date
146f9f653f Avoid code duplication for reply on message attachment 2012-09-12 16:50:53 +02:00
c85109fc32 Coding style and whitespace cleanup. 2012-08-19 14:17:55 -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
e8e4661811 Remove the settings capplet.
The evolution-settings capplet was originally designed for Anjal, it was
used in MeeGo as part of the Express Mode effort, but doesn't really fit
in GNOME 3 nowadays (nor did it really fit in GNOME 2, in my opinion).

This is pretty clearly dead weight at this point.  The MeeGo developers
have disappeared, and the remaining Evolution developers are not and do
not intend to maintain it.  Plus it doesn't even build currently.
2012-08-10 13:03:30 -04:00
0ae8e9e7b7 Return of the "mark messages as read" preference.
This reverses the removal of the "Mark messages as read" preference in
commit e7247d6d60.

I apparently misjudged the popularity of this preference, as there's
been a surprising amout of backlash and confusion as to its removal on
the mailing list, IRC channel, and various distro-support forums.

So, "mea culpa" for removing that one.  Haven't heard a peep about the
other removed preferences, however, so they will stay gone.
2012-08-08 10:12:15 -04:00
304a2c1c91 Bug #246530 - Rules editor lacks "Label is (not) 'None'" 2012-08-06 16:10:09 +02:00
518eb70213 Bug #678635 - File->Send/Receive lists too many sources 2012-07-25 16:51:13 +02:00
75ecbc91bd EMailShellBackend: Fix an EAlertSink runtime warning. 2012-07-18 17:43:24 -04:00
c14ebe7358 Bug 679649 - Remove "Recent Messages" from Quick Search Bar
The story on this is a question [1] was recently posed to the mailing
list about what's the different between "Recent Messages" and "Last 5
Days' Messages" as listed in the Show: combo box, and even I could not
answer before looking up the query expression for "Recent Messages" in
the source code (messages received in the past 24 hours, it turns out).

I can't defend why we need both options, and "Last 5 Days' Messages"
is less ambiguous and overlaps the results for "Recent Messages", so
"Last 5 Days' Messages" seems sufficient to me.  There are  numerous
ways to re-create the "Recent Messages" query if it's still desired:
saved search, search folder, or just sort messages by date received.

[1] https://mail.gnome.org/archives/evolution-list/2012-July/msg00044.html
2012-07-09 20:06:00 -04:00
69e55b253e Bug #602425 - Search in "Current Account"/"All Accounts" depends on vfolders 2012-07-09 16:44:31 +02:00
a0bc647f07 Remove mail_expunge_folder().
Use e_mail_folder_expunge() instead.
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
451afa8429 Add e_mail_reader_delete_folder_name().
Fetches the CamelFolder asynchronously, then deletes it asynchronously.
2012-07-09 08:44:22 -04:00
acac6795d9 Avoid em_folder_tree_get_selected_folder() in some places.
em_folder_tree_get_selected_folder() currently blocks, and I'm about to
remove the function.  But there's a couple places where we just need to
block for now, else it would require a significant rewrite.  So execute
the em_folder_tree_get_selected_folder() logic manually in those places.
2012-07-09 08:44:21 -04:00
749b49e507 Disconnect a CamelService after editing its settings.
This will force Evolution to reconnect to the service using the current
settings.  However this is not a complete solution.  If the new settings
now point to a completely different mail account, we leave behind cached
messages and database tables from the previous account such that you end
up with some weird hybrid of the previous account and current account.

I guess for now the answer is "don't do that", but we should try to
handle that more gracefully in the future -- more for architectural
correctness than it being a common real world use case.
2012-07-06 15:35:41 -04:00
e5eb699ce3 Fix few memory leaks 2012-06-27 20:17:28 +02:00
cc8bf823ec Coding style and whitespace cleanup. 2012-06-24 20:31:43 -04:00
d6ad0c22a2 Bug 678397 - Move "mail-to-task" actions to a submenu
Shortens the Message menu a little for low screen resolutions.
2012-06-21 01:31:56 -04:00
50a5e067d5 Bug 678393 - Disable Properties for built-in mail stores 2012-06-20 14:40:06 -04:00
94daae3dba Remove the last remaining usage of GConf 2012-06-15 09:04:08 +02:00
b4fbbde6ab Remove "enable-local" and "enable-vfolders" GSettings key.
We have built-in ESources for the 'local' and 'vfolder' mail stores,
and can now track their enabled state as we would any other mail store.
2012-06-08 13:47:22 -04:00
c4071b0a1d Fix displayed message headers
The new formatter was ignoring selected headers, always displaying
only From, To, Subject and Date (default headers).

Handling of the currently displayed headers has been moved to
EMailConfigFormatHTML extension, because it is related to
configuration of EMailFormatter, rather then EMailReader.
2012-06-08 17:08:00 +02:00
b3c57ed8e5 Bug 677624 - Disable Properties when Search Folders is selected 2012-06-07 20:32:51 -04: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
992373c8b0 Adapt modules/mail to the new ESource API. 2012-06-02 23:00:40 -04:00
8db3da39d7 Revert "Bug #669463 - HTML signature opens in editor as Plain text"
This reverts commit f25826211b.

Not an issue on the account-mgmt branch.  We can do without this hack.
2012-06-02 23:00:38 -04:00
ceea3a0a1f Reduce diff noise with 'account-mgmt' branch.
One last time.
2012-06-02 16:52:01 -04:00
184ec36d35 Fix an unused-but-set-variable warning. 2012-06-02 08:35:58 -04:00
71924fc487 Fix memory leaks around gtk_tree_model_get() function 2012-05-31 10:44:49 +02:00
c88d317030 Adapt to vFolder changes from evolution-data-server 2012-05-30 18:46:49 +02:00
005ac1efa3 Make the settings capplet optional.
The evolution-settings capplet was originally designed for Anjal, it was
used in MeeGo as part of the Express Mode effort, but doesn't really fit
in GNOME 3 nowadays (nor did it really fit in GNOME 2, in my opinion).

Add a --with-capplet configure switch defaulting to 'no'.  The capplet
will eventually be removed unless I see someone actively maintaining it.
2012-05-28 12:50:18 -04:00
98f39d7ee0 Adapt to CamelService API changes.
em_utils_connect_service_sync() and em_utils_disconnect_service_sync()
are no longer needed.  CamelService itself now effectively does what
these functions were doing.
2012-05-19 13:35:28 -04:00
250c3cade5 Rename Evolution module libraries.
Drop the "libevolution" prefix so it's not so verbose and also
consistent with upcoming evolution-data-server module libraries.

  libevolution-module-foo.so --> module-foo.so
2012-05-10 13:16:48 -04:00
f25826211b Bug #669463 - HTML signature opens in editor as Plain text 2012-05-03 14:43:32 +02:00
e4cce2eeae Bug #564820 - Search filter persists when changing folders 2012-04-23 12:49:46 +02:00
f4c30fef04 Bug #674249 - Crash when showing message with large text/plain 2012-04-19 10:30:55 +02:00
7c1a7df115 Bug #600860 - Opening IMAP message with large attachment blocks UI 2012-04-13 16:18:01 +02:00
9ed9a99bad EMFormat: Add "session" as a constructor property.
Pass it in instead of digging it out of EShellSettings.
2012-03-31 15:48:01 -04:00
6d2c382788 WebKit port - port formatter and mail module 2012-03-28 18:38:25 +02:00
b4f895265d Add missing linker flags. 2012-03-03 14:11:12 -05:00
5234efadbd Whitespace cleanups. 2012-03-03 10:24:38 -05:00
18593a0fb9 Move vfolders to libemail-engine and rest as mail-vfolder-ui. It all works and
the daemon can now start the vfolder storage without bothering much with the
UI.
2012-03-03 09:02:34 -05:00
14f82dde34 Move EAlert* and e-xml-utils references from other part of the code to libevolution-utils. 2012-03-03 09:02:33 -05:00
a35b61efa5 Bug #671211 - 'Mark Citations' preferences not applied 2012-03-02 15:35:11 +01:00
90d764399d Account properties shown also on remote folders 2012-02-20 18:58:07 +01:00
23f5773903 Coding style and whitespace cleanup. 2012-02-20 10:04:25 -05:00
c37424bc88 Use GSettings for EProxy 2012-02-17 16:28:31 +01:00
3ec164d12e Bug #668482 - Edit account properties from menu on folder store 2012-02-16 13:05:55 +01:00