aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader.c
Commit message (Collapse)AuthorAgeFilesLines
* Bug 721545 - License text contains obsolete FSF postal addressMatthew Barnes2014-01-081-10/+9
|
* Fix/mute issues found by Coverity scanMilan Crha2013-11-151-1/+0
| | | | | | | | | | | | This makes the code free of Coverity scan issues. It is sometimes quite pedantic and expects/suggests some coding habits, thus certain changes may look weird, but for a good thing, I hope. The code is also tagged with Coverity scan suppressions, to keep the code as is and hide the warning too. Also note that Coverity treats g_return_if_fail(), g_assert() and similar macros as unreliable, and it's true these can be disabled during the compile time, thus it brings in other set of 'weird' changes.
* Convert libemail-engine to a single-include model.Matthew Barnes2013-11-121-7/+5
| | | | Use: #include <libemail-engine/libemail-engine.h>
* Generate enum GTypes for libevolution-mail.Matthew Barnes2013-11-111-1/+1
| | | | Steals some enum types that libemail-engine doesn't need to know about.
* Rename e-mail-enums.h to e-mail-engine-enums.h.Matthew Barnes2013-11-111-1/+1
|
* Bug 710797 - Name all the timeouts added with g_timeout_add()Bastien Nocera2013-10-301-10/+15
|
* Adapt to Camel API changes.Matthew Barnes2013-09-241-2/+2
|
* EMailReader cleanups.Matthew Barnes2013-08-231-11/+13
|
* EWebView: Add an "image-save" action.Matthew Barnes2013-07-281-128/+0
| | | | | | There's now enough hooks in EWebView that it can take over image saving from EMailDisplay / EMailReader, with the added perk that a "Save Image" pop-up menu item now appears for images in ALL preview panes.
* Rename e_mail_display_set_parts_list().Matthew Barnes2013-07-271-6/+6
| | | | | | Rename to e_mail_display_set_part_list(). Function takes an EMailPartList, not an "EMailPartsList".
* Rename e_mail_display_get_parts_list().Matthew Barnes2013-07-261-3/+3
| | | | | | Rename to e_mail_display_get_part_list(). Function returns an EMailPartList, not an "EMailPartsList".
* message_list_get_selected: Give the returned array a free func.Matthew Barnes2013-06-151-31/+12
| | | | | | The returned UID array now has a built-in "free" function for its elements and should be released by callers with g_ptr_array_unref() rather than em_utils_uids_free() or some equivalent.
* Add e_mail_reader_ref_folder().Matthew Barnes2013-06-151-87/+150
| | | | Replaces e_mail_reader_get_folder().
* MessageList: Add a "group-by-threads" property.Matthew Barnes2013-06-151-6/+5
| | | | | | | | | Bind this to EMailReader's "group-by-threads" property. New functions: message_list_get_group_by_threads() message_list_set_group_by_threads()
* MessageList: Add a "folder" property.Matthew Barnes2013-06-151-1/+9
| | | | | | | | Also move the CamelFolder pointer into the private structure. New functions: message_list_ref_folder()
* message_list_set_folder: Remove unused "outgoing" parameter.Matthew Barnes2013-06-131-10/+1
|
* EMailReader: Remove unused actions.Matthew Barnes2013-06-031-186/+0
| | | | | | | | | | These are just Express Mode leftovers. Also remove obsolete functions: e_mail_reader_get_enable_show_folder() e_mail_reader_enable_show_folder() e_mail_paned_view_set_enable_show_folder()
* Add e_mail_reader_forward_messages().Matthew Barnes2013-06-031-4/+4
| | | | Replaces em_utils_forward_messages().
* Add e_mail_reader_edit_messages().Matthew Barnes2013-06-031-1/+1
| | | | Replaces em_utils_edit_messages().
* Move "ask-reply-close-browser" prompt to EMailBrowser.Matthew Barnes2013-06-031-90/+4
| | | | | | | | | EMailReader is an interface and should not know about specific classes that implement its interface. Instead, EMailBrowser itself will prompt in response to "composer-created" signals that include a source message. This also removes the "destroy_when_done" parameter from em_utils_forward_messages() since it's no longer needed.
* EMailReader: Add a "composer-created" signal.Matthew Barnes2013-06-031-2/+47
| | | | | | | | | | | | | Emitted to indicate a composer window was created in response to a user action on the EMailReader. Examples of such actions include replying, forwarding, and starting a new message. If applicable, the source message (i.e. the message being replied to or forwarded) is included in the signal emission. New functions: e_mail_reader_composer_created()
* EMailReader cleanups.Matthew Barnes2013-06-021-122/+166
|
* Remove e_mail_display_set_charset().Matthew Barnes2013-05-151-4/+9
| | | | | Use e_mail_formatter_set_charset() instead. Obtain the EMailFormatter with e_mail_display_get_formatter().
* Coding style and whitespace cleanup.Matthew Barnes2013-05-081-2/+2
|
* Bug #301323 - "Edit as new message" doesn't strip signature properlyMilan Crha2013-05-071-1/+1
|
* Reimplement EPhotoCache to use EPhotoSource.Matthew Barnes2013-04-241-2/+2
| | | | | | | | | | | | | | | | | | | | | Reimplement EPhotoCache to delegate the actual photo fetching to EPhotoSources. When a photo is requested for a given email address, all available EPhotoSources are dispatched concurrently and a photo input stream is selected from the result set. This also utilizes EDataCapture, which is affixed to the returned GInputStream to capture and cache photo data for an email address. New functions: e_photo_cache_add_photo_source() e_photo_cache_list_photo_sources() e_photo_cache_remove_photo_source() e_photo_cache_add_photo() Renamed functions: e_photo_cache_remove() --> e_photo_cache_remove_photo()
* Fix for typing in ITIP comments when some keys triggered actions.Tomas Popela2013-03-281-0/+27
|
* Remove EMailShellSettings.Matthew Barnes2013-03-171-13/+9
| | | | | | | | EShellSettings predates GSettings and is no longer necessary. GSettings allows binding GObject properties to GSettings keys, with optional mapping functions. That fulfills the purpose of EShellSettings.
* EMailReader: Remove addresses from EPhotoCache as needed.Matthew Barnes2013-02-271-5/+28
| | | | Use e_photo_cache_remove() instead of emu_remove_from_mail_cache_1().
* Coding style and whitespace cleanup.Matthew Barnes2013-01-111-1/+1
|
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-26/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evolution consists of entirely too many small utility libraries, which increases linking and loading time, places a burden on higher layers of the application (e.g. modules) which has to remember to link to all the small in-tree utility libraries, and makes it difficult to generate API documentation for these utility libraries in one Gtk-Doc module. Merge the following utility libraries under the umbrella of libeutil, and enforce a single-include policy on libeutil so we can reorganize the files as desired without disrupting its pseudo-public API. libemail-utils/libemail-utils.la libevolution-utils/libevolution-utils.la filter/libfilter.la widgets/e-timezone-dialog/libetimezonedialog.la widgets/menus/libmenus.la widgets/misc/libemiscwidgets.la widgets/table/libetable.la widgets/text/libetext.la This also merges libedataserverui from the Evolution-Data-Server module, since Evolution is its only consumer nowadays, and I'd like to make some improvements to those APIs without concern for backward-compatibility. And finally, start a Gtk-Doc module for libeutil. It's going to be a project just getting all the symbols _listed_ much less _documented_. But the skeletal structure is in place and I'm off to a good start.
* Make EMailPartList thread-safe.Matthew Barnes2012-12-081-4/+10
| | | | | | Exposing data members in the public struct is unwise, especially when EMailPartList is used from multiple threads. Instead keep the members private and provide a set of thread-safe functions to manipulate them.
* Bug #315317 - Add option to expunge messages on folder leaveMilan Crha2012-12-051-2/+2
|
* 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
|