aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader.c
Commit message (Collapse)AuthorAgeFilesLines
* Bug #672200 - Skip Reply-To-List check for list administrative messagesMilan Crha2012-11-291-4/+22
|
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-6/+11
|
* Bug #683676 - Message source does not work when 'All Message Headers' enabledMilan Crha2012-09-121-5/+14
|
* Bug #682425 - Can do network operations on disabled accountsMilan Crha2012-09-051-15/+6
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-201-8/+15
|
* express: Remove clutter-based email tabs.Matthew Barnes2012-08-111-19/+0
| | | | | | This was another MeeGo feature. MeeGo is dead, the code is starting to bit rot and crashes on startup, the original author disappeared and the remaining developers are not interested in maintaining it. So it's out.
* Remove some unused code from EMailReaderDan Vrátil2012-08-091-41/+3
| | | | | | This is leftover from the WebKit port and it didn't work properly. Most of the code was removed, some was moved to a better place.
* Bug #680947 - Multiselect doesn't clear message preview panelDan Vrátil2012-08-071-5/+11
|
* Bug 677635 - Vanished message list with filled preview panelDan Vrátil2012-07-241-1/+4
|
* Coding style and whitespace cleanup.Matthew Barnes2012-06-251-1/+1
|
* Bug 678397 - Move "mail-to-task" actions to a submenuMatthew Barnes2012-06-211-15/+15
| | | | Shortens the Message menu a little for low screen resolutions.
* Do not call g_object_notify() when property didn't changeMilan Crha2012-06-181-1/+7
|
* Bug #677608 - Fails to open message which is not yet downloadedDan Vrátil2012-06-181-6/+15
|
* Fix displayed message headersDan Vrátil2012-06-081-1/+0
| | | | | | | | | 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.
* Mail formatter rewriteDan Vrátil2012-06-061-126/+91
| | | | | | | | 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.
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-041-2/+0
|
* Adapt mail to the new ESource API.Matthew Barnes2012-06-031-8/+43
|
* Whitespace cleanups.Matthew Barnes2012-06-021-3/+3
|
* Adapt to vFolder changes from evolution-data-serverMilan Crha2012-05-311-2/+7
|
* Bug #675723 - UI lock from action_mail_show_source_cbDan Vrátil2012-05-151-9/+67
|
* Don't unref the result in GAsyncReadyCallback functions.Matthew Barnes2012-05-151-2/+0
| | | | The callback does not own the GAsyncResult passed to it.
* Bug #675347 - No 'Retrieving message...' in preview panelDan Vrátil2012-05-031-0/+1
|
* Bug #674060 - Preview panel on folder change not updatedDan Vrátil2012-04-271-0/+1
|
* Fix a memory leakDan Vrátil2012-04-101-1/+3
|
* Whitespace cleanup.Matthew Barnes2012-04-021-8/+8
| | | | | Replace 8-space indentation with tab characters, and various other automated cleanups.
* EMFormat: Add "session" as a constructor property.Matthew Barnes2012-04-011-1/+8
| | | | Pass it in instead of digging it out of EShellSettings.
* WebKit port - port formatter and mail moduleDan Vrátil2012-03-291-120/+325
|
* Move vfolders to libemail-engine and rest as mail-vfolder-ui. It all works andSrinivasa Ragavan2012-03-031-1/+1
| | | | | the daemon can now start the vfolder storage without bothering much with the UI.
* Move EAlert* and e-xml-utils references from other part of the code to ↵Srinivasa Ragavan2012-03-031-1/+1
| | | | libevolution-utils.
* Hides errors on message loadMilan Crha2012-02-271-1/+15
|
* Coding style and whitespace cleanup.Matthew Barnes2012-02-201-9/+20
|
* Bug #669006 - Clicking "Not Junk" button should not move to next emailMilan Crha2012-01-311-2/+14
|
* Introduce libemail-engine and libemail-utils.Matthew Barnes2012-01-191-4/+7
| | | | | | | These libraries are bound for E-D-S so they live at the lowest layer of Evolution for now -- even libeutil can link to them (but please don't). This is the first step toward moving mail handing to a D-Bus service.
* Do not auto-mark-as-seen when changing filter typeMilan Crha2012-01-111-1/+37
|
* Bug #667398 - Automatic mark-as-seen too aggressiveMilan Crha2012-01-111-1/+37
|
* Avoid passing EMailBackend as much as possible.Matthew Barnes2011-12-161-2/+2
| | | | | | | | | | | | | | | More mail API churn... reversing some previous API decisions. I've made some key API changes to EMailSession on the account-mgmt branch which should allow for this, and will hopefully also benefit the "email-factory" branch. EMailBackend barely needs to exist anymore, except as the owner of EMailSession. For several low-level functions, we replace its EMailBackend parameter with EMailSession and EAlertSink parameters; the latter so it can still pass user alerts up the chain.
* EMailReader: Avoid more runtime warnings.Matthew Barnes2011-11-301-8/+7
|
* Avoid a runtime warning in mail_reader_message_seen_cb().Matthew Barnes2011-11-291-4/+6
|
* Merge branch 'master' into wip/gsettingsMatthew Barnes2011-11-231-77/+190
|\ | | | | | | | | Conflicts: mail/e-mail-paned-view.c
| * Split MDN handling into a module.Matthew Barnes2011-11-221-24/+11
| |
| * EPreviewPane: Implement EAlertSink.Matthew Barnes2011-11-221-0/+11
| | | | | | | | | | | | | | Means EMailBrowser no longer has to. Also, EMailReader now provides a default implementation for get_alert_sink() which just calls get_preview_pane() and casts.
| * Add EMailReader.get_preview_pane() method.Matthew Barnes2011-11-221-0/+23
| | | | | | | | | | Also give EMailReader::show-search-bar signal a default implementation, since it can now dig up the search bar widget itself.
| * Add EMailReader:message-loaded signal.Matthew Barnes2011-11-221-52/+86
| | | | | | | | Emitted when the CamelMimeMessage has been obtained.
| * Add EMailReader:message-seen signal.Matthew Barnes2011-11-221-17/+75
| | | | | | | | Replaces e_mail_reader_mark_as_read().
* | Fix compiler warnings.Matthew Barnes2011-11-231-1/+0
| |
* | Some build fixesRodrigo Moya2011-11-091-5/+2
| |
* | Merge branch 'master' into wip/gsettingsRodrigo Moya2011-10-241-27/+78
|\|
| * Bug #616981 - Mail marking as read is hardMilan Crha2011-10-201-27/+78
| |
* | More mail GSettings migrationRodrigo Moya2011-10-191-53/+40
| |
* | First successful buildRodrigo Moya2011-10-061-44/+0
| |
* | Merge from masterRodrigo Moya2011-10-051-17/+70
|\|
| * Bug #660224 - Assertion failure when forwarding messageMilan Crha2011-09-271-18/+27
| |
| * EMFolderTreeModel: Don't use parameters in "get_default" functions.Matthew Barnes2011-09-261-3/+3
| | | | | | | | | | | | | | | | 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().
| * Bug #351025 - Make the order of the mail accounts configurableMilan Crha2011-09-261-3/+3
| |
| * Coding style and whitespace cleanup.Matthew Barnes2011-09-041-2/+2
| |
| * Update EMailBrowser actions when MessageList reloads.Matthew Barnes2011-08-191-1/+12
| | | | | | | | | | There was never a bug filed for this, but some mailing list discussion: http://mail.gnome.org/archives/evolution-list/2011-August/msg00084.html
| * EMFolderSelector: Add a "model" construct-only property.Matthew Barnes2011-08-101-3/+11
| |
| * Bug #530335 - Allow Reply to selected address onlyRathin2011-06-141-0/+14
| |
| * Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-0/+4
| |
| * Let EMFolderSelector create its own EMFolderTree.Matthew Barnes2011-05-241-30/+28
| | | | | | | | | | Also, minimize the EMFolderSelector API by removing frivolous wrapper functions and unused functions.
| * EMFolderTree: Store an EMailBackend instead of an EMailSession.Matthew Barnes2011-05-241-2/+2
| | | | | | | | | | | | | | | | 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.
| * EMailReader: Remove the forward/reply style hack.Matthew Barnes2011-05-211-24/+23
| | | | | | | | | | Now that we're configuring EMailReader instances from an idle callback, we can safely store the forward and reply styles in the private struct.
| * Bug 650587 - Hide Search Folder actions when Search Folders are disabledMatthew Barnes2011-05-211-37/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-10/+25
| | | | | | | | | | | | 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_save_messages().Matthew Barnes2011-05-181-64/+1
| | | | | | | | Use e_mail_folder_save_messages() instead.
| * Remove mail_remove_attachments().Matthew Barnes2011-05-171-11/+6
| | | | | | | | Use e_mail_folder_remove_attachments() instead.
| * Reimplement the "mail-reply-sender" action.Matthew Barnes2011-05-141-47/+79
| | | | | | | | Now uses camel_folder_get_message().
| * Reimplement the "mail-reply-all" action.Matthew Barnes2011-05-141-33/+59
| | | | | | | | Now uses camel_folder_get_message().
| * Keep forgetting to add prefixes to EAlert tags.Matthew Barnes2011-05-131-1/+1
| |
| * Miscellaneous cleanups.Matthew Barnes2011-05-131-10/+15
| |
| * em_utils_reply_to_message(): Require a CamelMimeMessage.Matthew Barnes2011-05-131-7/+0
| | | | | | | | | | No more fetching a message itself. Oh, and stop unreffing the message. Those kinds of insane semantics are what lead to crashes.
| * Reimplement the "mail-redirect" action.Matthew Barnes2011-05-131-8/+59
| | | | | | | | | | Now fetches the message itself using camel_folder_get_message(), then calls em_utils_redirect_message().
| * Add e_mail_reader_new_activity().Matthew Barnes2011-05-131-13/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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...
| * Fix some GPtrArray leaks.Matthew Barnes2011-05-121-16/+35
| |
| * Reimplement em_utils_edit_messages().Matthew Barnes2011-05-121-8/+1
| | | | | | | | Now uses e_mail_folder_get_multiple_messages().
| * Reimplement em_utils_forward_messages().Matthew Barnes2011-05-121-32/+4
| | | | | | | | | | Now uses e_mail_folder_build_attachment() and e_mail_folder_get_multiple_messages().
| * EMailReader: Reimplement "mail-remove-duplicates" action.Matthew Barnes2011-05-121-151/+3
| | | | | | | | Now uses e_mail_folder_find_duplicate_messages().
| * Whitespace and coding style cleanups.Matthew Barnes2011-05-081-7/+9
| |
| * Adapt to CamelFolder:name -> display-name.Matthew Barnes2011-05-071-2/+2
| |
| * Use e_mail_folder_uri_from_folder() instead of camel_folder_get_uri().Matthew Barnes2011-05-041-5/+1
| |
| * Remove e_mail_reader_get_folder_uri().Matthew Barnes2011-05-041-24/+0
| | | | | | | | | | Instead call e_mail_reader_get_folder() and, if you really need to, generate the folder URI with e_mail_folder_uri_from_folder().
| * Build vfolder rules with CamelFolders instead of folder URIs.Matthew Barnes2011-05-041-6/+6
| |
| * Remove 'from_uri' params from e-msg-composer-utils.c.Matthew Barnes2011-05-041-15/+7
| | | | | | | | | | Pass CamelFolder objects instead, which are already available at almost every call site.
| * Change em_folder_tree_model_user_marked_unread() params.Matthew Barnes2011-05-031-3/+3
| | | | | | | | Take a CamelFolder instead of a folder URI string.
| * Fix a runtime warning in e_mail_reader_check_state().Matthew Barnes2011-05-031-6/+6
| | | | | | | | | | Don't call em_utils_folder_is_drafts() or em_utils_folder_is_outbox() if the CamelFolder is NULL.
| * Fix compiler warnings.Matthew Barnes2011-05-031-4/+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-031-1/+1
| |
| * Drop 'folder_uri' param from em_utils_folder_is_drafts().Matthew Barnes2011-05-031-3/+3
| |
| * Drop 'folder_uri' param from message_list_set_folder().Matthew Barnes2011-05-031-1/+1
| |
| * Remove e_mail_reader_set_folder_uri().Matthew Barnes2011-05-031-30/+0
| | | | | | | | Function is no longer used, or wanted.
| * EMailShellView: Open the selected folder ourselves.Matthew Barnes2011-05-031-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
| * Don't try to refresh or sync mail folders when offline.Matthew Barnes2011-04-141-1/+7
| | | | | | | | | | Switching between mail folders in offline mode produces lots of annoying alerts for operations we shouldn't even be attempting.
| * Demonstrate EWebView as an EAlertSink.Matthew Barnes2011-04-141-11/+4
| |
| * Miscellaneous GtkAction-related cleanups.Matthew Barnes2011-03-281-18/+18
| | | | | | | | Prefer the newer GtkAction "set" functions over g_object_set().
| * Restore lockdown integration.Matthew Barnes2011-03-281-27/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Fix alignment of extra widgets in EAlertDialogs.Matthew Barnes2011-03-251-32/+47
| | | | | | | | | | | | | | Add e_alert_dialog_get_content_area(), which returns the GtkVBox containing the primary and secondary labels. Use this instead of gtk_dialog_get_content_area() to maintain the dialog's left margin beneath the image.
| * Let Esc behave like Cancel in Reply questions and do not leak messageMilan Crha2011-03-011-3/+9
| |
| * Slightly smaller dialogs for Reply type questions (but not all)Milan Crha2011-03-011-5/+5
| |
| * Coding style and whitespace cleanup.Matthew Barnes2011-02-191-3/+5
| |
| * Fix few memory leaksMilan Crha2011-02-151-1/+4
| |
| * Bug 642171 - Implicit libgnome dependency for lockdown GConf keysMatthew Barnes2011-02-131-0/+5
| | | | | | | | | | Lockdown keys have moved to gsettings-desktop-schemas, so disable lockdown integration until we're ready for GSettings.
| * Bug 641756 - Fix warnings from GCC 4.6Kjartan Maraas2011-02-091-23/+0
| | | | | | | | GCC learned how to find dead assignments.
| * Coding style and whitespace cleanup.Matthew Barnes2011-01-301-21/+49
| |
| * Drop backward-compatibility cruft.Matthew Barnes2011-01-251-3/+0
| |
| * Bug #600013 - Crash in mail_reader_message_loaded_cbMilan Crha2011-01-121-0/+6
| |
| * Localize few strings with ngettextMilan Crha2010-12-021-2/+2
| | | | | | | | Per request of bug #635414
| * Revert certain parts from commit for bug #635738Milan Crha2010-11-291-4/+4
| |
| * Bug #635738 - Sanitize Previous/Next buttons when not usableMilan Crha2010-11-261-7/+32
| |
| * Bug #632683 - Remove-duplicates should work on selectionMilan Crha2010-11-101-57/+136
| |
| * Coding style and whitespace cleanup.Matthew Barnes2010-11-081-1/+1
| |
| * EMailReader: Add a get_alert_sink() method.Matthew Barnes2010-11-011-0/+13
| |
| * EMailReader: Rewrite message retrieval tracking.Matthew Barnes2010-11-011-64/+95
| | | | | | | | | | | | | | | | | | Instead of mail_get_messagex(), call camel_folder_get_message() and submit an EActivity to the shell backend. EMailReader now uses the activity's GCancellable to cancel the previous retrieval operation when the user selects a different message. Eliminates the last call to mail_get_messagex().
* | Bug #351025 - Make the order of the mail accounts configurableMilan Crha2011-09-261-3/+3
| |
* | Coding style and whitespace cleanup.Matthew Barnes2011-09-141-2/+2
| |
* | Update EMailBrowser actions when MessageList reloads.Matthew Barnes2011-09-141-1/+12
| | | | | | | | | | There was never a bug filed for this, but some mailing list discussion: http://mail.gnome.org/archives/evolution-list/2011-August/msg00084.html
* | EMFolderSelector: Add a "model" construct-only property.Matthew Barnes2011-09-141-3/+11
| |
* | Bug #530335 - Allow Reply to selected address onlyRathin2011-06-301-0/+14
| |
* | Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-06-301-0/+4
| |
* | Let EMFolderSelector create its own EMFolderTree.Matthew Barnes2011-06-301-30/+28
| | | | | | | | | | Also, minimize the EMFolderSelector API by removing frivolous wrapper functions and unused functions.
* | EMFolderTree: Store an EMailBackend instead of an EMailSession.Matthew Barnes2011-06-301-2/+2
| | | | | | | | | | | | | | | | 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.
* | EMailReader: Remove the forward/reply style hack.Matthew Barnes2011-06-301-24/+23
| | | | | | | | | | Now that we're configuring EMailReader instances from an idle callback, we can safely store the forward and reply styles in the private struct.
* | Bug 650587 - Hide Search Folder actions when Search Folders are disabledMatthew Barnes2011-06-301-37/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-10/+25
| | | | | | | | | | | | 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_save_messages().Matthew Barnes2011-06-301-64/+1
| | | | | | | | Use e_mail_folder_save_messages() instead.
* | Remove mail_remove_attachments().Matthew Barnes2011-06-301-11/+6
| | | | | | | | Use e_mail_folder_remove_attachments() instead.
* | Reimplement the "mail-reply-sender" action.Matthew Barnes2011-06-301-47/+79
| | | | | | | | Now uses camel_folder_get_message().
* | Reimplement the "mail-reply-all" action.Matthew Barnes2011-06-301-33/+59
| | | | | | | | Now uses camel_folder_get_message().
* | Keep forgetting to add prefixes to EAlert tags.Matthew Barnes2011-06-301-1/+1
| |
* | Miscellaneous cleanups.Matthew Barnes2011-06-301-10/+15
| |
* | em_utils_reply_to_message(): Require a CamelMimeMessage.Matthew Barnes2011-06-301-7/+0
| | | | | | | | | | No more fetching a message itself. Oh, and stop unreffing the message. Those kinds of insane semantics are what lead to crashes.
* | Reimplement the "mail-redirect" action.Matthew Barnes2011-06-301-8/+59
| | | | | | | | | | Now fetches the message itself using camel_folder_get_message(), then calls em_utils_redirect_message().
* | Add e_mail_reader_new_activity().Matthew Barnes2011-06-301-13/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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...
* | Fix some GPtrArray leaks.Matthew Barnes2011-06-301-16/+35
| |
* | Reimplement em_utils_edit_messages().Matthew Barnes2011-06-301-8/+1
| | | | | | | | Now uses e_mail_folder_get_multiple_messages().
* | Reimplement em_utils_forward_messages().Matthew Barnes2011-06-301-32/+4
| | | | | | | | | | Now uses e_mail_folder_build_attachment() and e_mail_folder_get_multiple_messages().
* | EMailReader: Reimplement "mail-remove-duplicates" action.Matthew Barnes2011-06-301-151/+3
| | | | | | | | Now uses e_mail_folder_find_duplicate_messages().
* | Whitespace and coding style cleanups.Matthew Barnes2011-06-301-7/+9
| |
* | Adapt to CamelFolder:name -> display-name.Matthew Barnes2011-06-301-2/+2
| |
* | Use e_mail_folder_uri_from_folder() instead of camel_folder_get_uri().Matthew Barnes2011-06-301-5/+1
| |
* | Remove e_mail_reader_get_folder_uri().Matthew Barnes2011-06-301-24/+0
| | | | | | | | | | Instead call e_mail_reader_get_folder() and, if you really need to, generate the folder URI with e_mail_folder_uri_from_folder().
* | Build vfolder rules with CamelFolders instead of folder URIs.Matthew Barnes2011-06-301-6/+6
| |
* | Remove 'from_uri' params from e-msg-composer-utils.c.Matthew Barnes2011-06-301-15/+7
| | | | | | | | | | Pass CamelFolder objects instead, which are already available at almost every call site.
* | Change em_folder_tree_model_user_marked_unread() params.Matthew Barnes2011-06-301-3/+3
| | | | | | | | Take a CamelFolder instead of a folder URI string.
* | Fix a runtime warning in e_mail_reader_check_state().Matthew Barnes2011-06-301-6/+6
| | | | | | | | | | Don't call em_utils_folder_is_drafts() or em_utils_folder_is_outbox() if the CamelFolder is NULL.
* | Fix compiler warnings.Matthew Barnes2011-06-301-4/+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-301-1/+1
| |
* | Drop 'folder_uri' param from em_utils_folder_is_drafts().Matthew Barnes2011-06-301-3/+3
| |
* | Drop 'folder_uri' param from message_list_set_folder().Matthew Barnes2011-06-301-1/+1
| |
* | Remove e_mail_reader_set_folder_uri().Matthew Barnes2011-06-301-30/+0
| | | | | | | | Function is no longer used, or wanted.
* | EMailShellView: Open the selected folder ourselves.Matthew Barnes2011-06-301-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
* | Don't try to refresh or sync mail folders when offline.Matthew Barnes2011-06-301-1/+7
| | | | | | | | | | Switching between mail folders in offline mode produces lots of annoying alerts for operations we shouldn't even be attempting.
* | Demonstrate EWebView as an EAlertSink.Matthew Barnes2011-06-301-11/+4
| |
* | Miscellaneous GtkAction-related cleanups.Matthew Barnes2011-06-301-18/+18
| | | | | | | | Prefer the newer GtkAction "set" functions over g_object_set().
* | Restore lockdown integration.Matthew Barnes2011-06-301-27/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Fix alignment of extra widgets in EAlertDialogs.Matthew Barnes2011-06-301-32/+47
| | | | | | | | | | | | | | Add e_alert_dialog_get_content_area(), which returns the GtkVBox containing the primary and secondary labels. Use this instead of gtk_dialog_get_content_area() to maintain the dialog's left margin beneath the image.
* | Let Esc behave like Cancel in Reply questions and do not leak messageMilan Crha2011-06-301-3/+9
| |
* | Slightly smaller dialogs for Reply type questions (but not all)Milan Crha2011-06-301-5/+5
| |
* | Coding style and whitespace cleanup.Matthew Barnes2011-06-301-3/+5
| |
* | Fix few memory leaksMilan Crha2011-06-301-1/+4
| |
* | Bug 642171 - Implicit libgnome dependency for lockdown GConf keysMatthew Barnes2011-06-301-0/+5
| | | | | | | | | | Lockdown keys have moved to gsettings-desktop-schemas, so disable lockdown integration until we're ready for GSettings.
* | Bug 641756 - Fix warnings from GCC 4.6Kjartan Maraas2011-06-301-23/+0
| | | | | | | | GCC learned how to find dead assignments.
* | Coding style and whitespace cleanup.Matthew Barnes2011-06-301-21/+49
| |
* | Drop backward-compatibility cruft.Matthew Barnes2011-06-301-3/+0
| |
* | Bug #600013 - Crash in mail_reader_message_loaded_cbMilan Crha2011-06-301-0/+6
| |
* | Localize few strings with ngettextMilan Crha2011-06-301-2/+2
| | | | | | | | Per request of bug #635414
* | Revert certain parts from commit for bug #635738Milan Crha2011-06-301-4/+4
| |
* | Bug #635738 - Sanitize Previous/Next buttons when not usableMilan Crha2011-06-301-7/+32
| |
* | Bug #632683 - Remove-duplicates should work on selectionMilan Crha2010-11-161-57/+136
| |
* | Coding style and whitespace cleanup.Matthew Barnes2010-11-101-1/+1
| |
* | EMailReader: Add a get_alert_sink() method.Matthew Barnes2010-11-101-0/+13
| |
* | EMailReader: Rewrite message retrieval tracking.Matthew Barnes2010-11-101-64/+95
|/ | | | | | | | | Instead of mail_get_messagex(), call camel_folder_get_message() and submit an EActivity to the shell backend. EMailReader now uses the activity's GCancellable to cancel the previous retrieval operation when the user selects a different message. Eliminates the last call to mail_get_messagex().
* Bug #631870 - Memory leak in e_week_view after GtkObject removalMilan Crha2010-10-251-1/+1
|
* Fix capitalization in menu labels.Matthew Barnes2010-10-231-1/+1
|
* Bug #632679 - Add 'Remove attachments' in pop up menuMilan Crha2010-10-211-0/+4
|
* Bug #630969 - Implement also Message->Go to->Previous ThreadMilan Crha2010-10-201-0/+18
|
* Reduce GConf usage in em-composer-utils.c.Matthew Barnes2010-10-201-19/+107
| | | | | | | | | | | | | | | | | | 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.
* Bug #534453 - Incorporate 'Remove attachments' pluginRex Tsai2010-10-191-0/+103
|
* Move more account utilities to e-account-utils.c.Matthew Barnes2010-10-191-1/+0
|
* Kill mail_config_get_gconf_client().Matthew Barnes2010-10-191-29/+83
|
* Send errors to an EAlertSink instead of the task bar.Matthew Barnes2010-10-191-6/+0
| | | | | | 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.
* Replace EBinding with GBinding.Matthew Barnes2010-10-141-3/+4
| | | | | | GObject now does property bindings itself. Requires GLib >= 2.26.
* Composer: Show cancellable operations and errors inline.Matthew Barnes2010-10-131-2/+9
| | | | | | | | | | | | | | | 'Send' and 'Save Draft' are now asynchronous and run outside of Evolution's MailMsg infrastructure. Add an EActivityBar to the composer window so these asynchronous operations can be tracked and cancelled even in the absense of a main window. Also add an EAlertBar to the composer window so error messages can be shown directly in the window. Instead of calling e_alert_dialog_run_for_args(), call e_alert_submit() and pass the EMsgComposer as the widget argument. The EMsgComposer will decide whether to show an EAlertDialog or use the EAlertBar, depending on the GtkMessageType of the alert.
* Give MailSession a permanent home.Matthew Barnes2010-10-131-55/+129
| | | | | | | | | | | 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 #223337 - Auto-close message-browser when replying to themMilan Crha2010-10-081-2/+66
|
* Bug #631320 - GtkObject is gone in GTK3Milan Crha2010-10-071-12/+1
|
* Pass GCancellable to Camel.Matthew Barnes2010-09-281-3/+9
|
* Use new GDK keysym names if available.Matthew Barnes2010-09-181-12/+15
| | | | | | | 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.
* Bug 628350 - Allow deletion of a deleted message to advance cursorMatthew Barnes2010-08-311-1/+5
|
* Fix a runtime warning.Matthew Barnes2010-08-281-1/+2
|
* Bug 628141 - Duplicate signal connections in EMailReaderMatthew Barnes2010-08-281-27/+19
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* GObject boilerplate cleanup.Matthew Barnes2010-08-251-104/+78
| | | | | | | Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over manual GType registration. This is just a start... lots more to do.
* Bug #627734 - Double-click a message opens it twiceMilan Crha2010-08-241-40/+9
|
* Whitespace and coding style cleanup.Matthew Barnes2010-08-141-21/+30
|
* Pass an EShell to EMsgComposer instances.Matthew Barnes2010-08-141-7/+42
| | | | Reduce the composer's dependency on e_shell_get_default().
* Bug 626724 - Folder tree mistakes "mark as unread" as new mailMatthew Barnes2010-08-121-1/+10
|
* Add keybindings to tab.Srinivasa Ragavan2010-08-121-0/+184
| | | | | | Control Up - Go to parent folder. Control Shift Up/Down - prev/next tab Control Shift w - close tab.
* Change em_format_redraw() to em_format_queue_redraw().Matthew Barnes2010-08-111-2/+2
| | | | | | This changes the behavior of the function: instead of redrawing immediately it schedules the redraw from an idle callback. This allows us to make multiple changes to EMFormat before redrawing.
* EMFormat cleanups.Matthew Barnes2010-08-101-5/+6
|
* Coding style and whitespace cleanup.Matthew Barnes2010-08-031-62/+80
|
* mail-reader: e_mail_reader_get_formatter may now return NULLRob Bradford2010-08-021-1/+7
| | | | | | | Since e_mail_reader_get_formatter (the EMailNotebookView implementation) can now return NULL we need to prevent that being passed into other functions. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=624867
* More code cleanup.Matthew Barnes2010-07-271-4/+6
|
* Drop the "quote-from-selection" property.Matthew Barnes2010-07-261-41/+1
| | | | | David's solution is simpler: check if the HTML widget is mapped. Avoids having to propagate the property to Srini's new classes.
* Coding style and whitespace cleanup.Matthew Barnes2010-07-261-19/+16
|
* Make clutter mode even more appealing.Srinivasa Ragavan2010-07-261-1/+26
|
* Add folder pane for tabbed browser.Srinivasa Ragavan2010-07-261-1/+15
|
* Make the update-actions work across tabs.Srinivasa Ragavan2010-07-261-0/+36
|
* More bug fixes.Srinivasa Ragavan2010-07-261-0/+15
|
* Fix a compilation errorSrinivasa Ragavan2010-07-261-2/+0
|
* Add EMailNotebook ViewSrinivasa Ragavan2010-07-261-0/+2
|
* Bug #624891 - Various compiler warnings in git/masterMilan Crha2010-07-221-1/+1
|
* Bug 624677 - Missing keyboard shortcut for "Save as mbox"Matthew Barnes2010-07-191-1/+1
|
* Add translation note for 'Group Reply'.David Woodhouse2010-07-161-2/+5
|
* Add nag popup when mailing list hijacks private reply with Reply-To: headerDavid Woodhouse2010-07-161-1/+42
|
* Change 'Reply to All' toolbar button into configurable 'Group Reply'David Woodhouse2010-07-151-1/+53
| | | | | ...with a dropdown menu like the Forward button, and configuration for whether it tries to do 'Reply to List' by default.
* Don't show the "reply in private?" nag popup for munged Reply-To: list messagesDavid Woodhouse2010-07-151-7/+55
|
* Fix two memory leaks when replyingDavid Woodhouse2010-07-151-0/+3
| | | | | | | | | | | | 1: em_utils_reply_to_message() can be passed a newly-created message (from a current selection. It needs to unref it. Which means that when we pass it a message which *isn't* newly-created, we have to obtain a ref of our own. It was that or add a boolean parameter to tell it whether to unref or not. 2: emf_finalize() wasn't unreferencing emf->message -- so when we clone the EMFormat in em_utils_message_to_html() and immediately unreference the clone, a refcount on the message got leaked. Fix emf_finalize() to unref emf->message as presumably it should.
* Warn on reply-to-all with too many recipientsDavid Woodhouse2010-07-151-3/+84
|
* Bug 624204 - Warn when replying privately to a mailing list messageDavid Woodhouse2010-07-151-1/+36
|
* EMailReader: Remove unused variableMatthew Barnes2010-07-141-1/+0
|
* Bug 624285 - When replying, ignore text selection if preview is hiddenMatthew Barnes2010-07-141-1/+41
|
* Bug 624128 - Folder -> Subscriptions is always enabledMatthew Barnes2010-07-121-27/+29
|
* Migrate from CamelException to GError.Matthew Barnes2010-07-091-13/+8
|
* Bug 616724 - Initialize message window with threaded state of main windowMatthew Barnes2010-06-191-0/+47
|
* Bug 621839 - Improve auto-selection of messagesMatthew Barnes2010-06-171-1/+1
|
* Keep chipping away at direct GtkHTML usage.Matthew Barnes2010-06-011-65/+65
| | | | | | | | | | EMFormatHTML now holds a sealed EWebView instead of a public GtkHTML, accessible through em_format_html_get_web_view(). Rename e_mail_reader_get_html_display() to e_mail_reader_get_formatter() and have it return an EMFormatHTML instead of an EMFormatHTMLDisplay, since that's usually the type you want (or else an EMFormat, but never an EMFormatHTMLDisplay).
* Bug 620044 - Reply and Forward actions should have "is-important" setMatthew Barnes2010-05-301-1/+11
|
* Revert "Work around another dropped gnome-icon-theme icon."Matthew Barnes2010-05-271-5/+5
| | | | | | | This reverts commit 43e2c871a418b560b391af00df2b10896055026c. Correct icon name is "mail-mark-notjunk". The previous fix got clobbered by the express2 merge.
* Coding style and whitespace cleanup.Matthew Barnes2010-05-271-1/+1
|
* Merge branch 'express2'Matthew Barnes2010-05-271-6/+8
|\
| * Coding style and whitespace cleanup.Matthew Barnes2010-05-251-2/+4
| |
| * Merge branch 'gnome-2-30' into express2Matthew Barnes2010-05-251-20/+36
| |\
| | * Bug #617041 - Set translation domain for e-mail-reader actionsGert Kulyk2010-05-191-0/+1
| | |
| | * Bug 618902 - Crash when viewing/closing messages quicklyMatthew Barnes2010-05-181-20/+35
| | | | | | | | | | | | | | | | | | | | | | | | Closing an EMailBrowser window causes it to be disposed immediately, but ongoing async operations still hold an EMailBrowser reference -- in particular, regenerating the internal message list and fetching a mail message. The callback functions for these operations were not equipped to deal with the disposed-but-not-yet-finalized object.
| * | Merge branch 'gnome-2-30' into express2Matthew Barnes2010-05-171-1/+5
| |\|
| | * Bug #611560 - 'Mark as junk' should be disabled in junk folderMilan Crha2010-05-041-1/+5
| | |
| | * Revert "Work around another dropped gnome-icon-theme icon."Matthew Barnes2010-04-301-5/+5
| | | | | | | | | | | | | | | | | | This reverts commit edf6286a38279e6db82dee4da50e94c587f06e02. gnome-icon-theme got it wrong, not us. See bug #616954.
| | * Work around another dropped gnome-icon-theme icon.Matthew Barnes2010-04-231-5/+5
| | | | | | | | | | | | mail-mark-notjunk -> mail-mark-not-junk
| * | Work around another dropped gnome-icon-theme icon.Matthew Barnes2010-04-301-5/+5
| | | | | | | | | | | | mail-mark-notjunk -> mail-mark-not-junk
| * | Merge gnome-2-30 into express2 to get bugfixesFederico Mena Quintero2010-04-101-0/+4
| |\| | | | | | | | | | | | | | | | Note that express2 got some documentation for EExtensible and friends, and that documentation is not in gnome-2-30 yet. We need to cherry-pick those commits into gnome-2-30 and elsewhere.
| | * [win32] Be consistent in disabling the lockdown options.Fridrich Strba2010-04-081-0/+4
| | |
| * | Fix mismatched quotes.Matthew Barnes2010-04-071-1/+1
| | |
| * | Minor EMailReader cleanup.Matthew Barnes2010-04-071-26/+12
| | | | | | | | | | | | | | | | | | | | | Add a load_string() method to EWebView. Have EMailDisplay override load_string() and check that the formatter is not busy before loading the string. Have EMailReader call e_web_view_load_string() directly on the EMailDisplay instance, and eliminate update_webview_content().
| * | Add an extension to configure EWebView.Matthew Barnes2010-04-071-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Make EWebView extensible and register an extension to automatically bind every EWebView instance to the appropriate EShellSettings. Conflicts: widgets/misc/e-web-view.c
| * | Add an extension to configure EMFormatHTML.Matthew Barnes2010-04-071-22/+0
| |/ | | | | | | | | Make EMFormatHTML extensible and register an extension to automatically bind every EMFormatHTML instance to the appropriate EShellSettings.
* | Bug #617041 - Set translation domain for e-mail-reader actionsGert Kulyk2010-05-191-0/+1
| |
* | Bug 618902 - Crash when viewing/closing messages quicklyMatthew Barnes2010-05-181-20/+35
| | | | | | | | | | | | | | | | Closing an EMailBrowser window causes it to be disposed immediately, but ongoing async operations still hold an EMailBrowser reference -- in particular, regenerating the internal message list and fetching a mail message. The callback functions for these operations were not equipped to deal with the disposed-but-not-yet-finalized object.
* | Bug #611560 - 'Mark as junk' should be disabled in junk folderMilan Crha2010-05-041-1/+5
| |
* | Adapt to Camel API changes.Matthew Barnes2010-04-301-3/+8
| |