aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail
Commit message (Collapse)AuthorAgeFilesLines
* Add "show-headers" settings key.Matthew Barnes2013-06-061-83/+104
| | | | | | | Replaces the "headers" key. Whereas "headers" is an array of XML blobs, the "show-headers" key is an array of string/boolean pairs. Also update the appropriate places to get/set the new key.
* Remove unused EMailNotebookView.Matthew Barnes2013-06-031-1/+0
| | | | This is just an Express Mode leftover.
* Simplify em_utils_forward_message() arguments.Matthew Barnes2013-06-021-22/+14
| | | | | Replace the EShell and CamelSession arguments with a single EMailBackend argument, from which both the EShell and CamelSession can be obtained.
* Use F9 to toggle sidebar visibility.Matthew Barnes2013-05-291-1/+1
| | | | | | | | | | | | As discussed recently on the users mailing list [1], there's a strong precedent among GTK+ applications for F9 to toggle sidebar visibility. Examples cited were Nautilus, Evince, Totem, Rhythmbox, File-Roller and gThumb. Change the Send/Receive accelerator from F9 to F12, and designate F9 as the accelerator for View->Layout->Show Side Bar. [1] https://mail.gnome.org/archives/evolution-list/2013-May/msg00194.html
* Rename libcomposer to libevolution-mail-composer.Matthew Barnes2013-05-281-1/+1
| | | | | | To make Evolution's shared libraries more consistent. Also add an evolution-mail-composer documentation module.
* Rename libemformat to libevolution-mail-formatter.Matthew Barnes2013-05-281-1/+1
| | | | | | To make Evolution's shared libraries more consistent. Also add an evolution-mail-formatter documentation module.
* Rename libeshell to libevolution-shell.Matthew Barnes2013-05-281-1/+1
| | | | | | To make Evolution's shared libraries more consistent. Also rename the documentation module to evolution-shell.
* Rename libeutil to libevolution-util.Matthew Barnes2013-05-281-1/+1
| | | | | | To make Evolution's shared libraries more consistent. Also rename the documentation module to evolution-util.
* Make EAttachment a little more thread-safe.Matthew Barnes2013-05-241-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | EAttachment is now used from worker threads by EMailFormatterAttachment, so add some thread-safe accessor functions to eliminate potential races. Added thread-safe functions: e_attachment_dup_disposition() e_attachment_ref_file() e_attachment_ref_file_info() e_attachment_ref_icon() e_attachment_ref_mime_part() e_attachment_dup_description() e_attachment_dup_thumbnail_path() Renamed functions: e_attachment_get_mime_type() -> e_attachment_dup_mime_type() Removed non-thread-safe functions: e_attachment_get_file() e_attachment_get_file_info() e_attachment_get_icon() e_attachment_get_mime_part() e_attachment_get_description() e_attachment_get_thumbnail_path()
* Attachment-related cleanups.Matthew Barnes2013-05-241-40/+58
|
* Coding style and whitespace cleanup.Matthew Barnes2013-05-083-19/+20
|
* Merge [mark-all-read] plugin into core codeMilan Crha2013-05-043-29/+328
| | | | | | During fixes on bug #602428, rather than do everything twice, I merged the plugin into the core code, thus it should be easier to maintain as well.
* Bug #699555 - prompt-on-mark-all-read doesn't work in context menuMilan Crha2013-05-031-15/+1
|
* [EMailFormatter] Use GdkRGBA and GtkStyleContext to get theme colorsMilan Crha2013-04-231-21/+19
| | | | | | | | | | It could happen that header text color had been picked white one time, but the other time black as expected (for me usually when I started Evolution in Calendar and moved to Mail view, the header text color was white, while when starting in Mail view it was black). The change to use GtkStyleContext is there only as a cleanup from deprecated GtkStyle, and to make things easier too, because both GtkStyle and the GtkStyleContext had set white color for some reason.
* Remove "Search for sender photograph only in local address books".Matthew Barnes2013-04-211-10/+0
| | | | | | | | | | | | | This was added as part of bug 360184 but no justification was given for the "local-only" part. My Spidey sense tells me it was a hack- around for the old implementation's tendency to freeze the UI while searching for a photograph. So the "local-only" option really just meant "don't freeze the UI for very long, please". The new EPhotoCache-based implementation in 3.8 NEVER freezes the UI, so the "local-only" option is no longer needed. If a remote address book is slow or unresponsive we simply cancel the async photo lookup when the user moves on to another email.
* Bug #271262 - Allow Send/Receive of local stores in offlineMilan Crha2013-04-092-20/+20
|
* Remove more Express Mode hacks.Matthew Barnes2013-04-013-36/+11
| | | | | | This removes all traces of Express Mode from all but the contact editor and calendar appointment editor. Need to evaluate the remaining cases individually.
* Remove e_shell_hide_widgets_for_express_mode().Matthew Barnes2013-04-011-7/+0
| | | | No longer needed.
* Remove EUIManager.Matthew Barnes2013-04-011-2/+2
| | | | No longer needed. Use GtkUIManager directly.
* Fix for typing in ITIP comments when some keys triggered actions.Tomas Popela2013-03-281-0/+2
|
* Fix a typo which disabled "Always load images" option foreverMilan Crha2013-03-221-1/+1
|
* Remove EMailShellSettings.Matthew Barnes2013-03-1710-839/+410
| | | | | | | | 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.
* Add "headers-collapsed" setting.Matthew Barnes2013-03-171-2/+2
| | | | | | Replaces "paned-view-headers-state", which was defined as an integer for some stupid reason. Not bothering to migrate the old setting since it's one button click.
* Coding style and whitespace cleanup.Matthew Barnes2013-02-241-2/+2
|
* EMailShellView: Use g_clear_object() in dispose().Matthew Barnes2013-02-162-12/+5
|
* Bug #680537 - Reply to individual message in digest generates empty bodyMilan Crha2013-01-241-27/+64
|
* Bug #639698 - Crash in mail_shell_view_execute_search()Milan Crha2013-01-231-20/+28
|
* evolution-module-mail.c: Remove unused declaration.Matthew Barnes2013-01-211-1/+0
|
* Add a "settings" module.Matthew Barnes2013-01-2110-1039/+0
| | | | | | Collect all the "config" extensions from the "addressbook", "calendar", and "mail" modules into one place. These extensions typically just bind GObject properties of extensible classes to app-specific GSettings keys.
* Coding style and whitespace cleanup.Matthew Barnes2013-01-111-4/+5
|
* Bug 588216 - 'Unsubscribe' disabled for newsgroupsMatthew Barnes2012-12-291-1/+1
| | | | Unsubscribable folders are not necessarily deletable.
* e-config: Remove unused functions.Matthew Barnes2012-12-173-6/+3
| | | | | | | | | | | | e_config_add_skip_check() e_config_class_remove_factory() e_config_create_window() e_config_page_get() e_config_page_next() e_config_page_prev() e_config_set_page_is_finish() Also remove E_CONFIG_ASSISTANT and all the assistant support therein.
* Move the contact map widgets to addressbook/gui/widgets.Matthew Barnes2012-12-131-2/+0
| | | | | | | | | | | | Move the supporting widgets for the contact maps feature alongside EABContactDisplay. Removing them from libeutil helps isolate our usage of libchamplain so it's not imposed on the entire application, and even 3rd party software. That libchamplain is an optional dependency only further complicates the matter. Ideally I'd like to somehow isolate this feature in an extension module, but we currently lack sufficient hooks for such an extension. So this arrangement will have to suffice for now.
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-1321-64/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2/+6
| | | | | | 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-053-9/+12
|
* Avoid using GdkEventButton directly in certain places.Matthew Barnes2012-11-301-6/+5
| | | | | | | | | | | | Prefer dealing with GdkEvent pointers and using accessor functions like gdk_event_get_button(). This is complicated by the fact that some GtkWidget method declarations still use GdkEventButton pointers, and synthesizing button events pretty much requires direct GdkEventButton access. But GDK seems to be nudging itself toward sealing the GdkEvent union. Likely to happen in GDK4. Mainly clean up signal handlers and leave method overrides alone for now.
* Bug #202576 - A way to refresh IMAP folder listMilan Crha2012-11-223-0/+69
|
* Coding style and whitespace cleanup.Matthew Barnes2012-11-112-6/+6
|
* Bug #683877 - No more contextual menus for linksMilan Crha2012-11-091-9/+3
|
* Bug #686325 - Preview message window keyboard use severely limitedMilan Crha2012-11-081-27/+66
|
* Bug #656143 - Stop using deprecated Gtk[HV]Box(Class)Dominique Leuenberger2012-11-073-6/+6
|
* Bug 687400 - Composer settings not appliedMatthew Barnes2012-11-035-215/+391
| | | | | | | | | | | EMailConfigWebView is an extension that configures EWebView instances. This used to cover both the email formatter and the email composer, but with the email formatter now using WebKit/GTK+ and the email composer still using GtkHtml, the composer was left unconfigured. Add an EMailConfigWebViewGtkHTML extension that targets EWebViewGtkHTML instances and applies the relevant settings, and remove all the GtkHTML contortions from EMailConfigWebView.
* Bug #687442 - Magic spacebar avoids iTip formatter comment writeMilan Crha2012-11-021-1/+33
|
* Remove unused/forgotten function declarationsMilan Crha2012-11-021-5/+0
|
* EMailShellView: Remove GroupWise-specific cruft.Matthew Barnes2012-10-191-43/+0
| | | | | The GroupWise backend is dead, and this logic never belonged here in the first place.
* Remove "Disable Account" menu item for GOA-based accounts.Matthew Barnes2012-10-191-1/+4
| | | | GOA-based accounts must only be disabled from gnome-control-center.
* Remove mail module's g_module_check_init().Matthew Barnes2012-10-161-12/+0
| | | | Not needed anymore since all modules are resident nowadays.
* Bug 685675 - Fix packing of spell check language optionsMatthew Barnes2012-10-101-11/+1
| | | | | | Word-wrapped GtkLabels and GtkTables just don't seem to get along. The vertical allocation for the GtkLabel was way too big. Replace the GtkTable with a GtkGrid.
* Bug 684691 - EMailConfigFormatHTML: Signal handler never disconnectedMatthew Barnes2012-10-101-33/+59
| | | | | | | | | | | EMailConfigFormatHTML listens for "changed" signals from a GSettings instance, passing itself as the 'user_data' to the signal handler. But the signal handler was left connected after EMailConfigFormatHTML was finalized, resulting in the signal handler receiving a dangling pointer. Not using g_signal_connect_object() here because of the unresolved reference leak issue in GObject. The GSettings instance is likely cached internally and lives well beyond the EMailConfigFormatHTML.
* EMailConfigWebView: Use G_DEFINE_DYNAMIC_TYPE.Matthew Barnes2012-10-093-63/+103
| | | | Follow the usual GObject conventions.
* EMailConfigReader: Use G_DEFINE_DYNAMIC_TYPE.Matthew Barnes2012-10-093-27/+74
| | | | Follow the usual GObject conventions.
* EMailConfigFormatHTML: Use G_DEFINE_DYNAMIC_TYPE.Matthew Barnes2012-10-093-27/+76
| | | | Follow the usual GObject conventions.
* Avoid code duplication for reply on message attachmentMilan Crha2012-09-121-33/+11
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-208-87/+116
|
* Adapt to CamelSession API changes.Matthew Barnes2012-08-123-11/+20
| | | | | | | | | | | | These functions now return new references: camel_session_add_service() camel_session_list_services() These functions have been renamed and also return new references: camel_session_get_service() -> camel_session_ref_service() camel_session_get_service_by_url() -> camel_session_ref_service_by_url()
* Remove the settings capplet.Matthew Barnes2012-08-112-22/+0
| | | | | | | | | | The evolution-settings capplet was originally designed for Anjal, it was used in MeeGo as part of the Express Mode effort, but doesn't really fit in GNOME 3 nowadays (nor did it really fit in GNOME 2, in my opinion). This is pretty clearly dead weight at this point. The MeeGo developers have disappeared, and the remaining Evolution developers are not and do not intend to maintain it. Plus it doesn't even build currently.
* Return of the "mark messages as read" preference.Matthew Barnes2012-08-081-0/+56
| | | | | | | | | | | | This reverses the removal of the "Mark messages as read" preference in commit e7247d6d60336861ed5c0ba05dd64e29f728349c. I apparently misjudged the popularity of this preference, as there's been a surprising amout of backlash and confusion as to its removal on the mailing list, IRC channel, and various distro-support forums. So, "mea culpa" for removing that one. Haven't heard a peep about the other removed preferences, however, so they will stay gone.
* Bug #246530 - Rules editor lacks "Label is (not) 'None'"Milan Crha2012-08-062-3/+150
|
* Bug #678635 - File->Send/Receive lists too many sourcesMilan Crha2012-07-251-70/+138
|
* EMailShellBackend: Fix an EAlertSink runtime warning.Matthew Barnes2012-07-191-5/+14
|
* Bug 679649 - Remove "Recent Messages" from Quick Search BarMatthew Barnes2012-07-104-31/+4
| | | | | | | | | | | | | | | | The story on this is a question [1] was recently posed to the mailing list about what's the different between "Recent Messages" and "Last 5 Days' Messages" as listed in the Show: combo box, and even I could not answer before looking up the query expression for "Recent Messages" in the source code (messages received in the past 24 hours, it turns out). I can't defend why we need both options, and "Last 5 Days' Messages" is less ambiguous and overlaps the results for "Recent Messages", so "Last 5 Days' Messages" seems sufficient to me. There are numerous ways to re-create the "Recent Messages" query if it's still desired: saved search, search folder, or just sort messages by date received. [1] https://mail.gnome.org/archives/evolution-list/2012-July/msg00044.html
* Bug #602425 - Search in "Current Account"/"All Accounts" depends on vfoldersMilan Crha2012-07-091-102/+103
|
* Remove mail_expunge_folder().Matthew Barnes2012-07-091-21/+18
| | | | Use e_mail_folder_expunge() instead.
* Remove mail_refresh_folder().Matthew Barnes2012-07-091-4/+18
| | | | Use e_mail_reader_refresh_folder() instead.
* Add e_mail_reader_unsubscribe_folder_name().Matthew Barnes2012-07-091-63/+16
| | | | Replaces e_mail_session_unsubscribe_folder().
* Add e_mail_reader_delete_folder_name().Matthew Barnes2012-07-091-4/+13
| | | | Fetches the CamelFolder asynchronously, then deletes it asynchronously.
* Avoid em_folder_tree_get_selected_folder() in some places.Matthew Barnes2012-07-091-2/+20
| | | | | | | em_folder_tree_get_selected_folder() currently blocks, and I'm about to remove the function. But there's a couple places where we just need to block for now, else it would require a significant rewrite. So execute the em_folder_tree_get_selected_folder() logic manually in those places.
* Disconnect a CamelService after editing its settings.Matthew Barnes2012-07-071-0/+82
| | | | | | | | | | | | This will force Evolution to reconnect to the service using the current settings. However this is not a complete solution. If the new settings now point to a completely different mail account, we leave behind cached messages and database tables from the previous account such that you end up with some weird hybrid of the previous account and current account. I guess for now the answer is "don't do that", but we should try to handle that more gracefully in the future -- more for architectural correctness than it being a common real world use case.
* Fix few memory leaksMilan Crha2012-06-281-0/+2
|
* Coding style and whitespace cleanup.Matthew Barnes2012-06-251-2/+0
|
* Bug 678397 - Move "mail-to-task" actions to a submenuMatthew Barnes2012-06-211-8/+8
| | | | Shortens the Message menu a little for low screen resolutions.
* Bug 678393 - Disable Properties for built-in mail storesMatthew Barnes2012-06-211-2/+4
|
* Remove the last remaining usage of GConfMilan Crha2012-06-156-86/+52
|
* Remove "enable-local" and "enable-vfolders" GSettings key.Matthew Barnes2012-06-093-21/+10
| | | | | We have built-in ESources for the 'local' and 'vfolder' mail stores, and can now track their enabled state as we would any other mail store.
* Fix displayed message headersDan Vrátil2012-06-081-0/+75
| | | | | | | | | 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.
* Bug 677624 - Disable Properties when Search Folders is selectedMatthew Barnes2012-06-081-4/+4
|
* Mail formatter rewriteDan Vrátil2012-06-065-45/+36
| | | | | | | | 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-047-10/+3
|
* Adapt modules/mail to the new ESource API.Matthew Barnes2012-06-038-409/+308
|
* Revert "Bug #669463 - HTML signature opens in editor as Plain text"Matthew Barnes2012-06-031-12/+7
| | | | | | This reverts commit f25826211b007a615118f9b583a66d7027eddeac. Not an issue on the account-mgmt branch. We can do without this hack.
* Reduce diff noise with 'account-mgmt' branch.Matthew Barnes2012-06-032-8/+12
| | | | One last time.
* Fix an unused-but-set-variable warning.Matthew Barnes2012-06-021-1/+3
|
* Fix memory leaks around gtk_tree_model_get() functionMilan Crha2012-05-311-0/+7
|
* Adapt to vFolder changes from evolution-data-serverMilan Crha2012-05-315-9/+45
|
* Make the settings capplet optional.Matthew Barnes2012-05-293-34/+46
| | | | | | | | | The evolution-settings capplet was originally designed for Anjal, it was used in MeeGo as part of the Express Mode effort, but doesn't really fit in GNOME 3 nowadays (nor did it really fit in GNOME 2, in my opinion). Add a --with-capplet configure switch defaulting to 'no'. The capplet will eventually be removed unless I see someone actively maintaining it.
* Adapt to CamelService API changes.Matthew Barnes2012-05-201-2/+2
| | | | | | em_utils_connect_service_sync() and em_utils_disconnect_service_sync() are no longer needed. CamelService itself now effectively does what these functions were doing.
* Rename Evolution module libraries.Matthew Barnes2012-05-111-5/+5
| | | | | | | Drop the "libevolution" prefix so it's not so verbose and also consistent with upcoming evolution-data-server module libraries. libevolution-module-foo.so --> module-foo.so
* Bug #669463 - HTML signature opens in editor as Plain textMilan Crha2012-05-031-7/+12
|
* Bug #564820 - Search filter persists when changing foldersMilan Crha2012-04-231-1/+6
|
* Bug #674249 - Crash when showing message with large text/plainDan Vrátil2012-04-191-10/+0
|
* Bug #600860 - Opening IMAP message with large attachment blocks UIMilan Crha2012-04-131-0/+5
|
* EMFormat: Add "session" as a constructor property.Matthew Barnes2012-04-012-11/+21
| | | | Pass it in instead of digging it out of EShellSettings.
* WebKit port - port formatter and mail moduleDan Vrátil2012-03-297-157/+142
|
* Add missing linker flags.Matthew Barnes2012-03-041-0/+1
|
* Whitespace cleanups.Matthew Barnes2012-03-031-4/+4
|
* Move vfolders to libemail-engine and rest as mail-vfolder-ui. It all works andSrinivasa Ragavan2012-03-033-5/+7
| | | | | 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-032-2/+2
| | | | libevolution-utils.
* Bug #671211 - 'Mark Citations' preferences not appliedDan Vrátil2012-03-021-0/+5
|
* Account properties shown also on remote foldersMilan Crha2012-02-211-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2012-02-208-63/+120
|
* Use GSettings for EProxyMilan Crha2012-02-172-109/+89
|
* Bug #668482 - Edit account properties from menu on folder storeMilan Crha2012-02-166-107/+177
|
* Bug #669113 - Add "File > New > Mail Account"Milan Crha2012-02-161-0/+57
|
* Bug #655021 - "Character set" vs "Character encoding"Milan Crha2012-02-161-0/+3
|
* Be able to define help target for Preferences pagesMilan Crha2012-02-151-0/+4
| | | | A follow-up for bug #670073
* Bug 418520 - Disable Folder -> Expunge in virtual foldersMatthew Barnes2012-02-071-1/+4
| | | | | | | | | Expunging from a virtual folder actually expunges one or more real folders, which the user may not be aware of and can lead to unintended message removal. I feel it's safest to just disable Folder -> Expunge for any virtual folder, be it Junk, Trash, or a Search Folder. Note that File -> Empty Trash is still always enabled.
* Bug 659395 - Missing plural handling for "%d attached messages"David Morley2012-02-011-2/+6
|
* Introduce libemail-engine and libemail-utils.Matthew Barnes2012-01-1910-108/+134
| | | | | | | 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-0/+24
|
* Move EMailLabelListStore to EMailSession.Matthew Barnes2011-12-256-106/+87
| | | | | Access the EMailLabelListStore through EMailSession instead of EShellSettings, which was a quick hack of mine during kill-bonobo.
* Bug #661087 - Add ability to remove localized "Re:" prefixes in subjectMilan Crha2011-12-221-0/+5
|
* Reduce diff noise with account-mgmt branch.Matthew Barnes2011-12-204-9/+30
|
* Avoid passing EMailBackend as much as possible.Matthew Barnes2011-12-164-45/+96
| | | | | | | | | | | | | | | 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.
* mail-send-recv.c: Avoid using EAccount and CamelURL if possible.Matthew Barnes2011-12-161-10/+18
| | | | | | EAccount is deprecated and mail URLs are being phased out. Use EMailAccountStore and CamelService instead.
* Reorder accounts by drag-and-drop.Matthew Barnes2011-12-117-311/+123
| | | | | | | | | | | | | | | | | | | | | This implements https://bugzilla.gnome.org/show_bug.cgi?id=663527#c3. Account reordering is now done by drag-and-drop instead of up/down buttons. Turned out to be a wee bit more complicated than I initially thought. This scraps EAccountManager and EAccountTreeView and replaces them with new classes centered around EMailAccountStore, which EMailSession owns. EMailAccountStore is the model behind the account list in Preferences. The folder tree model now uses it to sort its own top-level rows using gtk_tree_path_compare(). It also broadcasts account operations through signals so we don't have to rely so heavily on EAccountList signals, since EAccountList is going away soon. Also as part of this work, the e-mail-local.h and e-mail-store.h APIs have been merged into EMailSession and MailFolderCache.
* Move folder URI caching to MailFolderCache.Matthew Barnes2011-12-081-19/+9
|
* Miscellaneous EShellView-related cleanups.Matthew Barnes2011-12-0811-134/+109
|
* Bug #665103 - Blank composer/mail/network preferences windowsMilan Crha2011-11-294-3/+13
|
* Remove some unnecessary GConf crud.Matthew Barnes2011-11-285-13/+2
|
* "citation-colour" -> "citation-color"Matthew Barnes2011-11-281-1/+1
|
* Use e_restore_window() and "org.gnome.evolution.window".Matthew Barnes2011-11-282-2/+0
| | | | Apply it to all windows with persistent size and/or position.
* Fix some GSettings runtime issues.Matthew Barnes2011-11-232-11/+17
|
* More compiler warning fixes.Matthew Barnes2011-11-231-1/+0
|
* Merge branch 'master' into wip/gsettingsMatthew Barnes2011-11-231-63/+51
|\ | | | | | | | | Conflicts: mail/e-mail-paned-view.c
| * EPreviewPane: Implement EAlertSink.Matthew Barnes2011-11-221-15/+0
| | | | | | | | | | | | | | 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-51/+54
| | | | | | | | | | Also give EMailReader::show-search-bar signal a default implementation, since it can now dig up the search bar widget itself.
| * Remove some unnecessary #includes.Matthew Barnes2011-11-181-1/+0
| |
* | Miscellaneous cleanups.Matthew Barnes2011-11-231-11/+11
| |
* | Fix compiler warnings.Matthew Barnes2011-11-231-4/+0
| |
* | Build fixesRodrigo Moya2011-11-181-0/+1
| |
* | Merge branch 'master' into wip/gsettingsRodrigo Moya2011-11-172-0/+11
|\|
| * Bug #662914 - Reply to gnupg signed mails should be signedMilan Crha2011-11-142-0/+11
| |
* | Migrate EShellSettings to GSettingsRodrigo Moya2011-11-151-57/+116
| |
* | Merge branch 'master' into wip/gsettingsRodrigo Moya2011-11-143-7/+4
|\|
| * Bug 663372 - Actions not updated after disabling accountMatthew Barnes2011-11-131-0/+2
| |
| * Bug 663376 - Folder->Properties enabled when no folder selectedMatthew Barnes2011-11-131-1/+1
| |
| * Bug #659945 - "New" button in toolbar for new mail message not workingMilan Crha2011-11-101-6/+1
| |
* | Make it fully buildRodrigo Moya2011-11-093-6/+5
| |
* | Merge branch 'master' into wip/gsettingsRodrigo Moya2011-11-081-1/+1
|\|
| * EMAccountEditor: Start using CamelNetworkSettings.Matthew Barnes2011-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of stuffing host/port/user/etc into CamelURLs. To enforce this in 3rd party extensions, remove EAccounts from EMConfigTargetAccount and rename it EMConfigTargetSettings with the following struct members: const gchar *email_address; const gchar *storage_protocol; CamelSettings *storage_settings; const gchar *transport_protocol; CamelSettings *transport_settings;
* | Migrate SA extension to GSettingsRodrigo Moya2011-11-022-63/+56
| |
* | Mail module has now all basic settings in GSettingsRodrigo Moya2011-10-283-50/+21
| |
* | 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
| |