aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into wip/gsettingsRodrigo Moya2011-10-283-9/+20
|\
| * e-mail-store.c: Take EMailSession instead of EMailBackend.Matthew Barnes2011-10-273-9/+27
| | | | | | | | | | | | | | | | | | | | | | My apologies for flip-flopping the API again. e-mail-store.c functions used to take an EMailSession, then I changed it to take an EMailBackend in preparation for my account-mgmt branch. Having rethought some API decisions on the branch, however, the first flip-flop proved to be unnecessary. And now Srini needs the API to use EMailSession for his mail-factory branch, so I'm flip-flopping again.
* | Merge branch 'master' into wip/gsettingsRodrigo Moya2011-10-241-4/+31
|\|
| * Bug #660738 - Font changes ignored since 3.2Milan Crha2011-10-211-4/+31
| |
* | Make e_utils_prompt_user and callers use GSettings keysRodrigo Moya2011-10-141-1/+1
| |
* | Merge branch 'master' into wip/gsettingsRodrigo Moya2011-10-103-12/+13
|\|
| * Adapt to CamelFolderSummary API changesMilan Crha2011-10-061-5/+5
| |
| * GtkApplication has some new EShell-like features.Matthew Barnes2011-10-062-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I pushed a few EShell features up to GtkApplication for GTK+ 3.2, so we can now trim off the redundancies in EShell. 1) GtkApplication has a new "window-added" signal which replaces EShell's own "window-created" signal. 2) GtkApplication has a new "window-removed" signal which replaces EShell's own "window-destroyed" signal. 3) gtk_application_get_windows() now returns a list of windows sorted by most recently focused, replacing e_shell_get_watched_windows(). 4) GtkApplication now provides enough hooks to subclasses that we can remove e_shell_watch_window() and call gtk_application_add_window() directly.
* | Merge from masterRodrigo Moya2011-10-0513-82/+79
|\|
| * Simplify library dependency flags.Matthew Barnes2011-10-051-9/+7
| | | | | | | | | | | | | | | | | | We have a confusing array of nearly-identical CFLAGS/LIBS definitions in configure.ac. Time to simplify. Instead let's just have one definition that includes all the libraries provided by Evolution-Data-Server (incl. Camel). That, in combination with GNOME_PLATFORM, gives us most of what we need for compliation and linking, and we can sprinkle definitions for additional library dependencies in Makefile.am's as needed.
| * Bug #601898 - SOCKS proxy does not work with mailerMilan Crha2011-09-302-19/+19
| |
| * Miscellaneous cleanups from the account-mgmt branch.Matthew Barnes2011-09-276-59/+46
| | | | | | | | | | Reducing diff noise so I can see important changes easier when comparing branches. A few API changes, but nothing that affects functionality.
| * EMFolderTreeModel: Don't use parameters in "get_default" functions.Matthew Barnes2011-09-261-1/+1
| | | | | | | | | | | | | | | | Drop EMFolderTreeModel's "session" property now that it has a "backend" property and call em_folder_tree_model_set_backend() where we used to call em_folder_tree_model_set_session(). The session can still be obtained through e_mail_backend_get_session().
| * The EExtension framework is now in libebackend.Matthew Barnes2011-09-263-3/+6
| | | | | | | | | | | | | | | | The EModule, EExtensible and EExtension classes as well as the e_type_traverse() function have been moved to Evolution-Data-Server's libebackend library to replace e-data-server-module.c. Now Evolution-Data-Server modules use the same framework as Evolution.
| * Bug #351025 - Make the order of the mail accounts configurableMilan Crha2011-09-263-2/+103
| |
| * Coding style and whitespace cleanup.Matthew Barnes2011-09-045-44/+82
| |
| * Miscellaneous cleanups.Matthew Barnes2011-08-315-33/+34
| | | | | | | | | | | | | | Reducing diff noise with the account-mgmt branch. Trying to erode our dependency on EAccount as much as possible, or at least isolate its usage, to make things easier for me on the branch.
| * e_mail_store_foreach(): Take an EMailSession parameter.Matthew Barnes2011-08-182-2/+11
| | | | | | | | | | | | Use camel_session_list_services() instead of the internal store table. The store table serves little purpose nowadays and could probably be removed. I'll look into that later.
| * Use new CamelService:display-name property.Matthew Barnes2011-08-182-4/+2
| | | | | | | | Simplify, simplify...
| * Adapt to new CamelSubscribable interface.Matthew Barnes2011-08-161-9/+9
| |
| * Bug #655254 - Cropped Junk settings textMilan Crha2011-08-161-2/+1
| |
| * Coding style and whitespace cleanup.Matthew Barnes2011-08-131-2/+7
| |
| * Bug #655957 - Current account / all accounts search changes columnMilan Crha2011-08-121-1/+5
| |
| * Bug #656133 - Mail-local not initialized when adding/editing accountMilan Crha2011-08-111-0/+4
| |
| * EConfig: Broadcast abort/commit events by way of signals.Matthew Barnes2011-08-113-3/+3
| | | | | | | | | | Remove the clumsy abortfunc and commitfunc callback arguments from e_config_add_items().
| * Do not leak memory on each mail folder changeMilan Crha2011-08-011-0/+1
| |
| * Bug #655430 - Forgotten EMailJunkOptions type init for mail-config.uiMilan Crha2011-07-282-0/+4
| |
| * Convert junk filtering EPlugins to EExtensions.Matthew Barnes2011-07-146-565/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now have a proper junk mail filtering API. All junk filtering extensions must subclass EMailJunkFilter for user preferences and availability testing, and implement the CamelJunkFilter interface for the actual junk filtering and learning operations. The bogofilter module should be feature-equivalent to its former EPlugin. The spamassassin module is far more complex. It's nearly feature-equivalent to its former EPlugin, but I ditched the spamd respawning code since it seemed unnecessary for a mail client to have to deal with. If there's a huge outcry from users about it I'll reluctantly put it back, but I don't expect one. This gets us a step closer to killing off EConfig, and eventually the EPlugin framework itself.
| * Prefer g_seekable_seek() over camel_stream_reset().Matthew Barnes2011-07-051-1/+1
| | | | | | | | | | | | | | | | | | When a stream is obviously a file or memory stream (both of which implement the GSeekable interface), use g_seekable_seek() instead of camel_stream_reset(). This is helping me discover if it's safe to remove camel_stream_reset(). We want to eventually move to GIO streams, which have no reset method.
| * Bug #650671 - Service connect/disconnect not cancelled properlyMilan Crha2011-07-021-2/+2
| |
| * Bug 652958 - Evolution Account Assistant jumps stepsMatthew Barnes2011-07-013-2/+13
| | | | | | | | | | | | | | The GTK+ patch in bug 653705 is also required for the Account Assistant to work properly under the new GtkAssistant design in GTK+ 3.1. This commit only deals with sidebar ordering issues.
| * Bug #530335 - Allow Reply to selected address onlyRathin2011-06-141-2/+2
| |
| * Coding style and whitespace cleanups.Matthew Barnes2011-06-091-1/+2
| |
| * Bug #614274 - Labeling many messages is very slowMatt McCutchen2011-06-031-0/+2
| |
| * EMSubscriptionEditor: Manage stores, not accounts.Matthew Barnes2011-05-291-1/+11
| | | | | | | | | | We'll query the accounts to get display names for the combo box, but that's it. Use CamelStores instead.
| * EMailShellView: Avoid e_get_subscribable_accounts().Matthew Barnes2011-05-291-16/+17
| | | | | | | | | | Use em_folder_tree_model_list_stores() to determine whether to enable the folder subscription editor.
| * Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-2716-2/+62
| |
| * Use em_folder_tree_get_selected() in places to simplify code.Matthew Barnes2011-05-253-50/+22
| | | | | | | | | | | | There were a few places where we were accessing the folder tree model directly to get the selected store + folder name, or were asking for the selected URI only to parse back into its store + folder name components.
| * EMFolderTree: Add an EAlertSink property.Matthew Barnes2011-05-241-1/+3
| | | | | | | | | | Now EMFolderTree has access to both an EShellBackend and an EAlertSink; everything it needs to build and submit EActivity instances.
| * EMFolderTree: Store an EMailBackend instead of an EMailSession.Matthew Barnes2011-05-245-59/+50
| | | | | | | | | | | | | | | | All this so EMFolderTree can submit EActivity instances for async ops. You can obtain an EMailSession from an EMailBackend, but not vice versa. Creates lots of pretty ripples in the mail code, but ultimately reduces complexity. So it's a code cleanup of sorts.
| * Coding style and whitespace cleanup.Matthew Barnes2011-05-221-3/+5
| |
| * Bug 650587 - Hide Search Folder actions when Search Folders are disabledMatthew Barnes2011-05-215-18/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an action group for Search Folders to EMailReader. The action group's visibility is bound to the "mail-enable-search-folders" setting, so that menu items related to Search Folders are hidden when Search Folders are disabled in GConf. Affected menu items are: Edit -> Search Folders Message -> Create Rule -> Search Folder from Subject... Message -> Create Rule -> Search Folder from Sender... Message -> Create Rule -> Search Folder from Recipients... Message -> Create Rule -> Search Folder from Mailing List... Search -> Create Search Folder From Search...
| * EMailReader: Support multiple action groups.Matthew Barnes2011-05-211-4/+14
| | | | | | | | | | | | Use an enum type to request different action groups. For now we just have E_MAIL_READER_ACTION_GROUP_STANDARD. EMailReader implementations should map the enum value to an appropriate GtkActionGroup.
| * Remove mail_remove_folder().Matthew Barnes2011-05-212-6/+6
| | | | | | | | Use e_mail_folder_remove() instead.
| * Remove mail_store_prepare_offline().Matthew Barnes2011-05-182-4/+50
| | | | | | | | Use e_mail_store_prepare_for_offline() instead.
| * Bug 650088 - Cannot send message from Contacts viewMatthew Barnes2011-05-171-0/+5
| | | | | | | | | | | | | | | | This starts up the EMailShellBackend whenever a new composer window is created. Normally this happens when switching to the Mail shell view, but if trying to send a message from a different shell view before the Mail shell view is ever activated, the mail accounts were not getting loaded and sending or saving the message to a mail folder would fail.
| * Bug #601541 - Add 'Copy Image' Option On Inline Email ImagesMilan Crha2011-05-161-1/+6
| |
| * GN-bug #649935 - Check folder validity before asking for its URIMilan Crha2011-05-131-2/+5
| |
| * EMailShellView: Remove some unused utility functions.Matthew Barnes2011-05-132-159/+0
| | | | | | | | | | I guess I meant to move these to EMailReader but forgot to delete the original versions.
| * Keep forgetting to add prefixes to EAlert tags.Matthew Barnes2011-05-131-1/+1
| |
| * Miscellaneous cleanups.Matthew Barnes2011-05-132-20/+28
| |
| * em_utils_reply_to_message(): Require a CamelMimeMessage.Matthew Barnes2011-05-131-10/+4
| | | | | | | | | | No more fetching a message itself. Oh, and stop unreffing the message. Those kinds of insane semantics are what lead to crashes.
| * Add e_mail_reader_new_activity().Matthew Barnes2011-05-132-14/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configuring and submitting an EActivity for every mail operation is getting tedious. This function helps reduce boilerplate code by: * Creating a new EActivity instance. * Installing an EAlertSink using e_mail_reader_get_alert_sink(). * Installing a GCancellable (which is really a CamelOperation). * Submitting the activity via e_shell_backend_add_activity(). I'm considering adding a similar function (or class method) for EShellView. Not sure yet...
| * Reimplement em_folder_properties_show().Matthew Barnes2011-05-121-1/+1
| | | | | | | | | | Now uses camel_store_get_folder() and camel_folder_get_quota_info(), although I need to rewrite the quota function to be asynchronous.
| * Add e_activity_handle_cancellation().Matthew Barnes2011-05-122-4/+2
| | | | | | | | | | | | | | | | Convenience function for use in GAsyncReadyCallback functions. This acknowledges the cancellation, so that the activity's description changes from "(cancelling)" to "(cancelled)" and the description appears crossed out in the UI for a moment before disappearing.
| * Reimplement em_utils_forward_messages().Matthew Barnes2011-05-121-1/+1
| | | | | | | | | | Now uses e_mail_folder_build_attachment() and e_mail_folder_get_multiple_messages().
| * Coding style cleanups.Matthew Barnes2011-05-093-19/+19
| |
| * Whitespace and coding style cleanups.Matthew Barnes2011-05-081-1/+1
| |
| * Adapt to CamelFolder:name -> display-name.Matthew Barnes2011-05-072-2/+2
| |
| * em_folder_utils_create_folder(): Change function parameters.Matthew Barnes2011-05-072-7/+7
| | | | | | | | | | Take a folder URI string instead of a CamelFolderInfo, and swap places with the GtkWindow parameter.
| * em_folder_utils_copy_folder(): Change function parameter.Matthew Barnes2011-05-071-10/+12
| | | | | | | | Take a folder URI string instead of a CamelFolderInfo.
| * Drop support for command-line 'email://' URIs.Matthew Barnes2011-05-061-106/+3
| | | | | | | | | | I have no idea what this was used for, but it looks way too convoluted to be useful anymore.
| * Remove e_mail_reader_get_folder_uri().Matthew Barnes2011-05-044-26/+34
| | | | | | | | | | Instead call e_mail_reader_get_folder() and, if you really need to, generate the folder URI with e_mail_folder_uri_from_folder().
| * Remove 'from_uri' params from e-msg-composer-utils.c.Matthew Barnes2011-05-041-6/+33
| | | | | | | | | | Pass CamelFolder objects instead, which are already available at almost every call site.
| * Fix compiler warnings.Matthew Barnes2011-05-032-7/+0
| | | | | | | | Mostly dead assignments.
| * Drop 'folder_uri' param from em_utils_folder_is_outbox().Matthew Barnes2011-05-031-2/+2
| |
| * Drop 'folder_uri' param from em_utils_folder_is_sent().Matthew Barnes2011-05-032-4/+4
| |
| * Drop 'folder_uri' param from em_utils_folder_is_drafts().Matthew Barnes2011-05-031-1/+1
| |
| * EMailShellView: Open the selected folder ourselves.Matthew Barnes2011-05-035-32/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This one's a little involved: - EMailShellView now obtains a CamelFolder itself in response to EMFolderTree::folder-selected signals. Uses EActivity to do so. - Revise EMFolderTree::folder-selected signal arguments to be more useful: emit a CamelStore object instead of a folder URI. - Also revise EMFolderTree::folder-activiated signal arguments the same way while we're at it. - Remove the "folder_uri" argument from e_mail_reader_set_folder(). If you have a CamelFolder object you can obtain the URI string by calling camel_folder_get_uri().
| * Add em_folder_tree_get_selected_account().Matthew Barnes2011-05-032-18/+7
| | | | | | | | Comes in handy for a few EMailShellView actions.
| * Bug #588891 - Spam settings dialog terribly un-higgyDan Vrátil2011-04-291-39/+44
| |
| * Bug #303653 - Make headers collapsable in preview paneDan Vrátil2011-04-271-0/+4
| |
| * Adapt to CamelService changes.Matthew Barnes2011-04-214-26/+20
| |
| * Kill em_composer_prefs_new_signature().Matthew Barnes2011-04-152-14/+0
| | | | | | | | No longer used.
| * Miscellaneous GtkAction-related cleanups.Matthew Barnes2011-03-282-3/+4
| | | | | | | | Prefer the newer GtkAction "set" functions over g_object_set().
| * Restore lockdown integration.Matthew Barnes2011-03-281-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | With lockdown settings available through GSettings, widgets can handle lockdown integration themselves without having to use EShellSettings. Also fixed a few places where printing or save-to-disk actions were either not properly wired up or not responding to lockdown settings, but much more work needs done. Attachments, for example, are not honoring the disable-save-to-disk setting at all. This too requires the recently-added gsettings-desktop-schemas dependency.
| * Bug 643507 - Font preferences don't workMatthew Barnes2011-03-091-17/+182
| |
| * Coding style and whitespace cleanup.Matthew Barnes2011-03-067-7/+19
| |
| * Bug #642093 - Frees message attachment content on ReplyMilan Crha2011-03-011-0/+6
| |
| * Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-02-259-72/+40
| |
| * Coding style and whitespace cleanup.Matthew Barnes2011-02-192-3/+13
| |
| * Bug #638333 - Critical warning when invoking File->New->Mail FolderMilan Crha2011-02-162-3/+14
| |
| * Bug 642171 - Implicit libgnome dependency for lockdown GConf keysMatthew Barnes2011-02-131-0/+8
| | | | | | | | | | Lockdown keys have moved to gsettings-desktop-schemas, so disable lockdown integration until we're ready for GSettings.
| * Remove NULL checks for GObject methods.Matthew Barnes2011-02-133-6/+6
| | | | | | | | | | As of GLib 2.28 all GObject virtual methods, including constructed(), are safe to chain up to unconditionally. Remove unnecessary checks.
| * Bug 641756 - Fix warnings from GCC 4.6Kjartan Maraas2011-02-092-6/+0
| | | | | | | | GCC learned how to find dead assignments.
| * More whitespace cleanup.Matthew Barnes2011-01-312-4/+4
| |
| * Coding style and whitespace cleanup.Matthew Barnes2011-01-303-80/+210
| |
| * Adapt size_request vfuncs to latest gtk+-3.0 API.Rodrigo Moya2011-01-251-5/+15
| |
| * Adapt to GtkComboBox class reorg.Matthew Barnes2011-01-251-2/+7
| |
| * Drop backward-compatibility cruft.Matthew Barnes2011-01-252-6/+0
| |
| * Bug #634403 - Mails Label popup menu is not updated properlyMilan Crha2011-01-192-0/+2
| |
| * Bug #633982 - Crash when trying to Create a search folder from a searchMilan Crha2011-01-191-1/+3
| |
| * Bug #633788 - Mail plugin's update-actions handler is never calledMilan Crha2011-01-191-0/+19
| |
| * Avoid idle callbacks in EMailBackend initialization.Matthew Barnes2011-01-081-0/+6
| | | | | | | | | | | | | | | | If the migration phase has to show a dialog the idle callback for intializing mail stores will run too soon. Instead, hook it onto the EShellBackend start() method. Migration code can initialize mail stores early if it needs to.
| * Bug #637906 - Don't ask again when sending to non-mail recipientsMilan Crha2011-01-062-0/+11
| |
| * Fix menu item capitalizaion.Matthew Barnes2010-12-271-2/+2
| |
| * Bug #567879 - Add View >> Gallery Option In Email ComposerMilan Crha2010-12-221-0/+4
| |
| * Bug #637162 - May not add toolbar Send/Receive button multiple timesMilan Crha2010-12-141-22/+29
| |
| * Bug #631568 - Scheduling Meetings with CalDAV calendarsMilan Crha2010-12-081-0/+4
| |
| * Free/busy meeting view doesn't work due to non-working extensionMilan Crha2010-12-063-0/+21
| |
| * Bug 636265 - Trash is untranslated in the window titleMatthew Barnes2010-12-041-10/+16
| |
| * Add option "Check for new messages in all active accounts"Milan Crha2010-11-302-0/+16
| | | | | | | | As a follow-up for bug #633949
| * Set mnemonic widget for lblDefaultCharset in Mail PreferencesMilan Crha2010-11-301-0/+1
| |
| * Bug #633949 - Add an option to disable new e-mail check at startupMilan Crha2010-11-302-0/+11
| |
| * Bug #207580 - Allow new mail check on individual accountsMilan Crha2010-11-265-20/+448
| |
| * Bug #633783 - Folder->Expunge enabled when no folder selectedMilan Crha2010-11-221-0/+4
| |
| * Bug #633779 - GtkComboBoxText issuesMilan Crha2010-11-181-12/+18
| |
| * Bug #632683 - Remove-duplicates should work on selectionMilan Crha2010-11-102-136/+0
| |
| * Coding style and whitespace cleanup.Matthew Barnes2010-11-081-3/+3
| |
| * Bug #632562 - Disabled account in preferences not remove in folder treeMilan Crha2010-11-031-1/+3
| |
| * EMailReader: Add a get_alert_sink() method.Matthew Barnes2010-11-011-0/+15
| |
| * Kill em_folder_utils_unsubscribe_folder().Matthew Barnes2010-11-012-2/+50
| | | | | | | | Use e_mail_session_unsubscribe_folder() instead.
| * Bug 633172 - Folder->Subscriptions is always enabledMatthew Barnes2010-10-301-5/+14
| |
* | Bug #351025 - Make the order of the mail accounts configurableMilan Crha2011-09-263-2/+103
| |
* | Coding style and whitespace cleanup.Matthew Barnes2011-09-145-44/+82
| |
* | Miscellaneous cleanups.Matthew Barnes2011-09-145-33/+34
| | | | | | | | | | | | | | Reducing diff noise with the account-mgmt branch. Trying to erode our dependency on EAccount as much as possible, or at least isolate its usage, to make things easier for me on the branch.
* | e_mail_store_foreach(): Take an EMailSession parameter.Matthew Barnes2011-09-142-2/+11
| | | | | | | | | | | | Use camel_session_list_services() instead of the internal store table. The store table serves little purpose nowadays and could probably be removed. I'll look into that later.
* | Use new CamelService:display-name property.Matthew Barnes2011-09-142-4/+2
| | | | | | | | Simplify, simplify...
* | Adapt to new CamelSubscribable interface.Matthew Barnes2011-09-141-9/+9
| |
* | Bug #655254 - Cropped Junk settings textMilan Crha2011-09-141-2/+1
| |
* | Coding style and whitespace cleanup.Matthew Barnes2011-09-141-2/+7
| |
* | Bug #655957 - Current account / all accounts search changes columnMilan Crha2011-09-141-1/+5
| |
* | Bug #656133 - Mail-local not initialized when adding/editing accountMilan Crha2011-09-141-0/+4
| |
* | EConfig: Broadcast abort/commit events by way of signals.Matthew Barnes2011-09-143-3/+3
| | | | | | | | | | Remove the clumsy abortfunc and commitfunc callback arguments from e_config_add_items().
* | Do not leak memory on each mail folder changeMilan Crha2011-09-141-0/+1
| |
* | Bug #655430 - Forgotten EMailJunkOptions type init for mail-config.uiMilan Crha2011-09-142-0/+4
| |
* | Convert junk filtering EPlugins to EExtensions.Matthew Barnes2011-09-146-565/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now have a proper junk mail filtering API. All junk filtering extensions must subclass EMailJunkFilter for user preferences and availability testing, and implement the CamelJunkFilter interface for the actual junk filtering and learning operations. The bogofilter module should be feature-equivalent to its former EPlugin. The spamassassin module is far more complex. It's nearly feature-equivalent to its former EPlugin, but I ditched the spamd respawning code since it seemed unnecessary for a mail client to have to deal with. If there's a huge outcry from users about it I'll reluctantly put it back, but I don't expect one. This gets us a step closer to killing off EConfig, and eventually the EPlugin framework itself.
* | Prefer g_seekable_seek() over camel_stream_reset().Matthew Barnes2011-09-141-1/+1
| | | | | | | | | | | | | | | | | | When a stream is obviously a file or memory stream (both of which implement the GSeekable interface), use g_seekable_seek() instead of camel_stream_reset(). This is helping me discover if it's safe to remove camel_stream_reset(). We want to eventually move to GIO streams, which have no reset method.
* | Bug #650671 - Service connect/disconnect not cancelled properlyMilan Crha2011-09-141-2/+2
| |
* | Bug 652958 - Evolution Account Assistant jumps stepsMatthew Barnes2011-09-143-2/+13
| | | | | | | | | | | | | | The GTK+ patch in bug 653705 is also required for the Account Assistant to work properly under the new GtkAssistant design in GTK+ 3.1. This commit only deals with sidebar ordering issues.
* | Bug #530335 - Allow Reply to selected address onlyRathin2011-06-301-2/+2
| |
* | Coding style and whitespace cleanups.Matthew Barnes2011-06-301-1/+2
| |
* | Bug #614274 - Labeling many messages is very slowMatt McCutchen2011-06-301-0/+2
| |
* | EMSubscriptionEditor: Manage stores, not accounts.Matthew Barnes2011-06-301-1/+11
| | | | | | | | | | We'll query the accounts to get display names for the combo box, but that's it. Use CamelStores instead.
* | EMailShellView: Avoid e_get_subscribable_accounts().Matthew Barnes2011-06-301-16/+17
| | | | | | | | | | Use em_folder_tree_model_list_stores() to determine whether to enable the folder subscription editor.
* | Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-06-3016-2/+62
| |
* | Use em_folder_tree_get_selected() in places to simplify code.Matthew Barnes2011-06-303-50/+22
| | | | | | | | | | | | There were a few places where we were accessing the folder tree model directly to get the selected store + folder name, or were asking for the selected URI only to parse back into its store + folder name components.
* | EMFolderTree: Add an EAlertSink property.Matthew Barnes2011-06-301-1/+3
| | | | | | | | | | Now EMFolderTree has access to both an EShellBackend and an EAlertSink; everything it needs to build and submit EActivity instances.
* | EMFolderTree: Store an EMailBackend instead of an EMailSession.Matthew Barnes2011-06-305-59/+50
| | | | | | | | | | | | | | | | All this so EMFolderTree can submit EActivity instances for async ops. You can obtain an EMailSession from an EMailBackend, but not vice versa. Creates lots of pretty ripples in the mail code, but ultimately reduces complexity. So it's a code cleanup of sorts.
* | Coding style and whitespace cleanup.Matthew Barnes2011-06-301-3/+5
| |
* | Bug 650587 - Hide Search Folder actions when Search Folders are disabledMatthew Barnes2011-06-305-18/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an action group for Search Folders to EMailReader. The action group's visibility is bound to the "mail-enable-search-folders" setting, so that menu items related to Search Folders are hidden when Search Folders are disabled in GConf. Affected menu items are: Edit -> Search Folders Message -> Create Rule -> Search Folder from Subject... Message -> Create Rule -> Search Folder from Sender... Message -> Create Rule -> Search Folder from Recipients... Message -> Create Rule -> Search Folder from Mailing List... Search -> Create Search Folder From Search...
* | EMailReader: Support multiple action groups.Matthew Barnes2011-06-301-4/+14
| | | | | | | | | | | | Use an enum type to request different action groups. For now we just have E_MAIL_READER_ACTION_GROUP_STANDARD. EMailReader implementations should map the enum value to an appropriate GtkActionGroup.
* | Remove mail_remove_folder().Matthew Barnes2011-06-302-6/+6
| | | | | | | | Use e_mail_folder_remove() instead.
* | Remove mail_store_prepare_offline().Matthew Barnes2011-06-302-4/+50
| | | | | | | | Use e_mail_store_prepare_for_offline() instead.
* | Bug 650088 - Cannot send message from Contacts viewMatthew Barnes2011-06-301-0/+5
| | | | | | | | | | | | | | | | This starts up the EMailShellBackend whenever a new composer window is created. Normally this happens when switching to the Mail shell view, but if trying to send a message from a different shell view before the Mail shell view is ever activated, the mail accounts were not getting loaded and sending or saving the message to a mail folder would fail.
* | Bug #601541 - Add 'Copy Image' Option On Inline Email ImagesMilan Crha2011-06-301-1/+6
| |
* | GN-bug #649935 - Check folder validity before asking for its URIMilan Crha2011-06-301-2/+5
| |
* | EMailShellView: Remove some unused utility functions.Matthew Barnes2011-06-302-159/+0
| | | | | | | | | | I guess I meant to move these to EMailReader but forgot to delete the original versions.
* | Keep forgetting to add prefixes to EAlert tags.Matthew Barnes2011-06-301-1/+1
| |
* | Miscellaneous cleanups.Matthew Barnes2011-06-302-20/+28
| |
* | em_utils_reply_to_message(): Require a CamelMimeMessage.Matthew Barnes2011-06-301-10/+4
| | | | | | | | | | No more fetching a message itself. Oh, and stop unreffing the message. Those kinds of insane semantics are what lead to crashes.
* | Add e_mail_reader_new_activity().Matthew Barnes2011-06-302-14/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configuring and submitting an EActivity for every mail operation is getting tedious. This function helps reduce boilerplate code by: * Creating a new EActivity instance. * Installing an EAlertSink using e_mail_reader_get_alert_sink(). * Installing a GCancellable (which is really a CamelOperation). * Submitting the activity via e_shell_backend_add_activity(). I'm considering adding a similar function (or class method) for EShellView. Not sure yet...
* | Reimplement em_folder_properties_show().Matthew Barnes2011-06-301-1/+1
| | | | | | | | | | Now uses camel_store_get_folder() and camel_folder_get_quota_info(), although I need to rewrite the quota function to be asynchronous.
* | Add e_activity_handle_cancellation().Matthew Barnes2011-06-302-4/+2
| | | | | | | | | | | | | | | | Convenience function for use in GAsyncReadyCallback functions. This acknowledges the cancellation, so that the activity's description changes from "(cancelling)" to "(cancelled)" and the description appears crossed out in the UI for a moment before disappearing.
* | Reimplement em_utils_forward_messages().Matthew Barnes2011-06-301-1/+1
| | | | | | | | | | Now uses e_mail_folder_build_attachment() and e_mail_folder_get_multiple_messages().
* | Coding style cleanups.Matthew Barnes2011-06-303-19/+19
| |
* | Whitespace and coding style cleanups.Matthew Barnes2011-06-301-1/+1
| |
* | Adapt to CamelFolder:name -> display-name.Matthew Barnes2011-06-302-2/+2
| |
* | em_folder_utils_create_folder(): Change function parameters.Matthew Barnes2011-06-302-7/+7
| | | | | | | | | | Take a folder URI string instead of a CamelFolderInfo, and swap places with the GtkWindow parameter.
* | em_folder_utils_copy_folder(): Change function parameter.Matthew Barnes2011-06-301-10/+12
| | | | | | | | Take a folder URI string instead of a CamelFolderInfo.
* | Drop support for command-line 'email://' URIs.Matthew Barnes2011-06-301-106/+3
| | | | | | | | | | I have no idea what this was used for, but it looks way too convoluted to be useful anymore.
* | Remove e_mail_reader_get_folder_uri().Matthew Barnes2011-06-304-26/+34
| | | | | | | | | | Instead call e_mail_reader_get_folder() and, if you really need to, generate the folder URI with e_mail_folder_uri_from_folder().
* | Remove 'from_uri' params from e-msg-composer-utils.c.Matthew Barnes2011-06-301-6/+33
| | | | | | | | | | Pass CamelFolder objects instead, which are already available at almost every call site.
* | Fix compiler warnings.Matthew Barnes2011-06-302-7/+0
| | | | | | | | Mostly dead assignments.
* | Drop 'folder_uri' param from em_utils_folder_is_outbox().Matthew Barnes2011-06-301-2/+2
| |
* | Drop 'folder_uri' param from em_utils_folder_is_sent().Matthew Barnes2011-06-302-4/+4
| |
* | Drop 'folder_uri' param from em_utils_folder_is_drafts().Matthew Barnes2011-06-301-1/+1
| |
* | EMailShellView: Open the selected folder ourselves.Matthew Barnes2011-06-305-32/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This one's a little involved: - EMailShellView now obtains a CamelFolder itself in response to EMFolderTree::folder-selected signals. Uses EActivity to do so. - Revise EMFolderTree::folder-selected signal arguments to be more useful: emit a CamelStore object instead of a folder URI. - Also revise EMFolderTree::folder-activiated signal arguments the same way while we're at it. - Remove the "folder_uri" argument from e_mail_reader_set_folder(). If you have a CamelFolder object you can obtain the URI string by calling camel_folder_get_uri().
* | Add em_folder_tree_get_selected_account().Matthew Barnes2011-06-302-18/+7
| | | | | | | | Comes in handy for a few EMailShellView actions.
* | Bug #588891 - Spam settings dialog terribly un-higgyDan Vrátil2011-06-301-39/+44
| |
* | Bug #303653 - Make headers collapsable in preview paneDan Vrátil2011-06-301-0/+4
| |
* | Adapt to CamelService changes.Matthew Barnes2011-06-304-26/+20
| |
* | Kill em_composer_prefs_new_signature().Matthew Barnes2011-06-302-14/+0
| | | | | | | | No longer used.
* | Miscellaneous GtkAction-related cleanups.Matthew Barnes2011-06-302-3/+4
| | | | | | | | Prefer the newer GtkAction "set" functions over g_object_set().
* | Restore lockdown integration.Matthew Barnes2011-06-301-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | With lockdown settings available through GSettings, widgets can handle lockdown integration themselves without having to use EShellSettings. Also fixed a few places where printing or save-to-disk actions were either not properly wired up or not responding to lockdown settings, but much more work needs done. Attachments, for example, are not honoring the disable-save-to-disk setting at all. This too requires the recently-added gsettings-desktop-schemas dependency.
* | Bug 643507 - Font preferences don't workMatthew Barnes2011-06-301-17/+182
| |
* | Coding style and whitespace cleanup.Matthew Barnes2011-06-307-7/+19
| |
* | Bug #642093 - Frees message attachment content on ReplyMilan Crha2011-06-301-0/+6
| |
* | Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-06-309-72/+40
| |
* | Coding style and whitespace cleanup.Matthew Barnes2011-06-302-3/+13
| |
* | Bug #638333 - Critical warning when invoking File->New->Mail FolderMilan Crha2011-06-302-3/+14
| |
* | Bug 642171 - Implicit libgnome dependency for lockdown GConf keysMatthew Barnes2011-06-301-0/+8
| | | | | | | | | | Lockdown keys have moved to gsettings-desktop-schemas, so disable lockdown integration until we're ready for GSettings.
* | Remove NULL checks for GObject methods.Matthew Barnes2011-06-303-6/+6
| | | | | | | | | | As of GLib 2.28 all GObject virtual methods, including constructed(), are safe to chain up to unconditionally. Remove unnecessary checks.
* | Bug 641756 - Fix warnings from GCC 4.6Kjartan Maraas2011-06-302-6/+0
| | | | | | | | GCC learned how to find dead assignments.
* | More whitespace cleanup.Matthew Barnes2011-06-302-4/+4
| |
* | Coding style and whitespace cleanup.Matthew Barnes2011-06-303-80/+210
| |
* | Adapt size_request vfuncs to latest gtk+-3.0 API.Rodrigo Moya2011-06-301-5/+15
| |
* | Adapt to GtkComboBox class reorg.Matthew Barnes2011-06-301-2/+7
| |
* | Drop backward-compatibility cruft.Matthew Barnes2011-06-302-6/+0
| |
* | Bug #634403 - Mails Label popup menu is not updated properlyMilan Crha2011-06-302-0/+2
| |
* | Bug #633982 - Crash when trying to Create a search folder from a searchMilan Crha2011-06-301-1/+3
| |
* | Bug #633788 - Mail plugin's update-actions handler is never calledMilan Crha2011-06-301-0/+19
| |
* | Avoid idle callbacks in EMailBackend initialization.Matthew Barnes2011-06-301-0/+6
| | | | | | | | | | | | | | | | If the migration phase has to show a dialog the idle callback for intializing mail stores will run too soon. Instead, hook it onto the EShellBackend start() method. Migration code can initialize mail stores early if it needs to.
* | Bug #637906 - Don't ask again when sending to non-mail recipientsMilan Crha2011-06-302-0/+11
| |
* | Fix menu item capitalizaion.Matthew Barnes2011-06-301-2/+2
| |
* | Bug #567879 - Add View >> Gallery Option In Email ComposerMilan Crha2011-06-301-0/+4
| |
* | Bug #637162 - May not add toolbar Send/Receive button multiple timesMilan Crha2011-06-301-22/+29
| |
* | Bug #631568 - Scheduling Meetings with CalDAV calendarsMilan Crha2011-06-301-0/+4
| |
* | Free/busy meeting view doesn't work due to non-working extensionMilan Crha2011-06-303-0/+21
| |
* | Bug 636265 - Trash is untranslated in the window titleMatthew Barnes2011-06-301-10/+16
| |
* | Add option "Check for new messages in all active accounts"Milan Crha2011-06-302-0/+16
| | | | | | | | As a follow-up for bug #633949
* | Set mnemonic widget for lblDefaultCharset in Mail PreferencesMilan Crha2011-06-301-0/+1
| |
* | Bug #633949 - Add an option to disable new e-mail check at startupMilan Crha2011-06-302-0/+11
| |
* | Bug #207580 - Allow new mail check on individual accountsMilan Crha2011-06-305-20/+448
| |
* | Bug #633783 - Folder->Expunge enabled when no folder selectedMilan Crha2011-06-301-0/+4
| |
* | Bug #633779 - GtkComboBoxText issuesMilan Crha2011-06-301-12/+18
| |
* | Bug #632683 - Remove-duplicates should work on selectionMilan Crha2010-11-162-136/+0
| |
* | Coding style and whitespace cleanup.Matthew Barnes2010-11-101-3/+3
| |
* | Bug #632562 - Disabled account in preferences not remove in folder treeMilan Crha2010-11-101-1/+3
| |
* | EMailReader: Add a get_alert_sink() method.Matthew Barnes2010-11-101-0/+15
| |
* | Kill em_folder_utils_unsubscribe_folder().Matthew Barnes2010-11-102-2/+50
| | | | | | | | Use e_mail_session_unsubscribe_folder() instead.
* | Bug 633172 - Folder->Subscriptions is always enabledMatthew Barnes2010-11-101-5/+14
|/
* Bug #632767 - Some widgets removed from mail-config.uiMilan Crha2010-10-271-3/+1
|
* Bug #445439 - Delete mail from pop-server when deleted from Inbox/TrashMilan Crha2010-10-271-1/+1
|
* Fix capitalization in menu labels.Matthew Barnes2010-10-231-1/+1
|
* Simplify EActivity.Matthew Barnes2010-10-231-1/+3
| | | | | | | | | | | | | | | | | | | | | | With unintrusive error dialogs gone, we can cut some unnecessary bits out of EActivity. I'm also adding a new enum property called "state", which is one of: E_ACTIVITY_RUNNING E_ACTIVITY_WAITING E_ACTIVITY_CANCELLED E_ACTIVITY_COMPLETED The state of an activity must be explicitly changed. In particular, when the user cancels an activity the state should be set only after confirming the operation has been cancelled and not when cancellation is requested (e.g. after receiving a G_IO_ERROR_CANCELLED, not when the GCancellable emits "cancelled"). EActivityBar and EActivityProxy widgets have been updated to make this distinction clearer in the UI. E_ACTIVITY_WAITING will be used when activities have to be queued and dispatched in sequence, which I haven't written yet.
* Bug 632641 - Handle combo box text API going awayMatthias Clasen2010-10-211-5/+13
|
* Reduce GConf usage in em-composer-utils.c.Matthew Barnes2010-10-208-22/+205
| | | | | | | | | | | | | | | | | | To reduce GConf usage in em-composer-utils.c: - Relevant functions in em-composer-utils.c now take arguments for reply and forward styles. - Redundant forwarding functions were removed: em_utils_forward_attached() em_utils_forward_inline() em_utils_forward_quoted() - EMailReader now has "forward-style" and "reply-style" properties, which get bound to the appropriate EShellSettings properties in modules/mail/e-mail-config-reader.c. These same EShellSettings properties are bound to the combo boxes in Composer Preferences.
* Add an "ellipsize" property to EMFolderTree.Matthew Barnes2010-10-192-2/+55
| | | | | | So we don't have to access GConf directly from EMFolderTree. The property gets bound to an EShellSettings property, which is in turn bound to the "no_folder_dots" GConf key by way of a transform function.
* Collect mail enum types in e-mail-enums.h.Matthew Barnes2010-10-191-8/+8
| | | | | | | | | And generate GTypes for each of them in e-mail-enumtypes.[ch]. Also, the glib-gen.mak script forced me to add a <mail/e-mail.h> top-level header, which really isn't a bad idea anyway. TODO: We should do this for calendar and addressbook too.
* Move more account utilities to e-account-utils.c.Matthew Barnes2010-10-197-8/+3
|
* Kill mail_config_get_gconf_client().Matthew Barnes2010-10-193-11/+18
|
* Send errors to an EAlertSink instead of the task bar.Matthew Barnes2010-10-193-28/+33
| | | | | | This marks the end of unintrusive error dialogs, which were too unintrusive. We now show errors directly in the main window using the EAlert / EAlertSink framework.
* Bug #587011 - Integrate remove-duplicates into evolutionMilan Crha2010-10-152-0/+136
|
* Replace EBinding with GBinding.Matthew Barnes2010-10-1410-201/+282
| | | | | | GObject now does property bindings itself. Requires GLib >= 2.26.
* Bug 305425 - Toolbar cancel button is always sensitiveMatthew Barnes2010-10-141-0/+6
|
* EShellBackend: Respond to EShell::prepare-for-quit signals.Matthew Barnes2010-10-141-0/+14
| | | | | | | | | | | | Listen for "prepare-for-quit" signals from the shell and inhibit shutdown until all the activities we're tracking are finalized. Also, add a couple supporting functions: gboolean e_shell_backend_is_busy (EShellBackend *shell_backend); void e_shell_backend_cancel_all (EShellBackend *shell_backend); These will eventually replace mail_msg_active() and mail_cancel_all().
* Remove mail_tools_folder_to_url().Matthew Barnes2010-10-131-8/+4
| | | | Use camel_folder_get_uri() instead.
* Give MailSession a permanent home.Matthew Barnes2010-10-1315-123/+440
| | | | | | | | | | | Global variables in shared libraries are a bad idea. EMailBackend now owns the MailSession instance, which is actually now EMailSession. Move the blocking utility functions in mail-tools.c to e-mail-session.c and add asynchronous variants. Same approach as Camel. Replace EMailReader.get_shell_backend() with EMailReader.get_backend(), which returns an EMailBackend. Easier access to the EMailSession.
* Bug 588851 - Don't show unsubscribe option for local foldersMatthew Barnes2010-10-051-1/+3
|
* Coding style and whitespace cleanup.Matthew Barnes2010-10-041-4/+11
|
* Bug 510020 - Add "Manage Subscriptions" to store context menusMatthew Barnes2010-10-033-1/+28
|
* Rewrite the folder subscription editor.Matthew Barnes2010-10-032-5/+17
| | | | | Redesign the "Folder Subscriptions" dialog and use Camel's async API instead of the MailMsg infrastructure to simplify the implementation.
* camel_operation_new() now returns a GCancellable pointer.Matthew Barnes2010-09-292-8/+8
|
* Bug #629266 - Crash on search in Current AccountMilan Crha2010-09-291-7/+54
|
* Adapt to Camel API changes.Matthew Barnes2010-09-282-6/+5
|
* Pass GCancellable to Camel.Matthew Barnes2010-09-283-6/+12
|
* Use new GDK keysym names if available.Matthew Barnes2010-09-182-8/+11
| | | | | | | In GTK+ 2.21.8, the keysym names were renamed from GDK_* to GDK_KEY_*. I've added backward-compatibility macors to gtk-compat.h, which can be dumped as soon as we require GTK+ >= 2.22.0.
* Adapt to CamelOperation API changes.Matthew Barnes2010-09-152-7/+7
|
* Kill the subject-thread plugin.Matthew Barnes2010-09-152-0/+9
| | | | | | All this time I never realized the subject-thread plugin was nothing more than a stupid checkbox. The actual thread-by-subject code lives in the core mail library.
* Fix a crapload of run-time warnings.Matthew Barnes2010-09-153-12/+6
| | | | EConfig and EMAccountEditor are very, very brittle.
* mail-config.ui cleanups.Matthew Barnes2010-09-132-11/+11
| | | | | | - Fix GtkVBox orientations. - Reduce container widgets. - Remove unused widgets.
* Remove uninteresting mail options from Preferences.Matthew Barnes2010-09-131-92/+0
| | | | | | | | | | | | | | | | | | | Remove some options from Mail Preferences that aren't worth the screen real estate they take up. For now, the corresponding GConf keys still remain and are honored by Evolution. These same options were already removed for Express mode. Options removed are: [ ] Mark messages as read after XXX seconds [ ] Do not display messages when text size exceeds XXX KB [ ] Shrink To / Cc / Bcc headers to XXX addresses [ ] Enable Magic Spacebar [ ] Enable Search Folders
* Bug #580623 - Mishandling of evolution's proxy ignore_hosts keyMilan Crha2010-09-031-3/+76
|
* Convert composer autosave to an EExtension.Matthew Barnes2010-09-031-8/+0
| | | | | | | | | | | | | | | | | | | Given the way the autosave feature was awkwardly bolted on to the composer, an EExtension seemed like a natural fit. And it helped clean up some object lifecycle hacks (and bugs). What we have now is a new module consisting of two EExtensions: EComposerAutosave extends EMsgComposer and determines when to kick off an asynchronous autosave operation. EComposerRegistry extends EShell and offers to restore orphaned autosave files on startup (which is also asynchronous now). e-autosave-utils.c holds the actual asynchronous functions and a few other miscellaneous utility functions. Source code for the new module lives in /modules/composer-autosave.
* Coding style and whitespace cleanup.Matthew Barnes2010-08-296-37/+39
|
* Bug 628141 - Duplicate signal connections in EMailReaderMatthew Barnes2010-08-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | EMailShellContent implements the EMailReader interface but acts as a proxy for EMailPanedView, from which it obtains MessageList and EWebView widgets. The problem was both classes call e_mail_reader_init_private() which connects to signals emitted from the MessageList and EWebView widgets. But since EMailShellContent is a proxy for EMailPanedView, the signals were being connected twice. This commit does away with e_mail_reader_init_private(), instead adding options to e_mail_reader_init() to control what parts of initialization to run. It's an ugly and temporary hack. I'm beginning to realize EMailReader is too bloated and needs rethought. EMailReader should just manage actions. EMailView should own and manage the widgets, and EMailReader should just have a get_mail_view() method so it has access to those widgets. That way the EMailView subclasses won't have to implement EMailReader themselves and wind up allocating a bunch of duplicate, unused actions. It's too close to a stable release to rip these interfaces apart and reorganize them. I'll try to do that for 2.33 to help make the design more intuitive.
* Mail module + EMailView cleanups.Matthew Barnes2010-08-275-236/+364
|
* GObject boilerplate cleanup.Matthew Barnes2010-08-255-172/+49
| | | | | | | Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over manual GType registration. This is just a start... lots more to do.
* Fix more non-removal of signals on user_data object distruction byMichael Meeks2010-08-211-52/+52
| | | | using g_signal_connect_object in many places; fixes bgo#627525#