aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* Add "headers-collapsed" setting.Matthew Barnes2013-03-171-7/+11
| | | | | | 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.
* Bug #415371 - Create Incoming filter for messages with Received headerMilan Crha2013-03-141-3/+7
|
* Bug 695693 - Handle <authentication> tags during auto-configurationMatthew Barnes2013-03-121-3/+41
|
* Bug 695570 - Don't use gtk_container_add() to pack a GtkBoxMatthew Barnes2013-03-111-1/+1
|
* EMSubscriptionEditor: Use GtkGrid instead of GtkTable.Matthew Barnes2013-03-111-15/+9
| | | | | Long as I'm hacking on this widget for a different issue, may as well get this out of the way. We'll have to do it eventually anyway.
* e_mail_config_notebook_commit: Skip non-writable sources.Matthew Barnes2013-03-091-4/+4
| | | | | | In some cases the collection source is non-writable but its child sources _are_ writable. In that case, the one non-writable source causes the whole operation to fail. Commit only writable sources.
* Bug #690092 - Crash under format_full_headers()Milan Crha2013-03-071-4/+4
|
* Bug #693254 - Mail reply uses wrong "From:" accountMilan Crha2013-03-051-4/+78
|
* Fix a regression from the previous commit for bug #645476Milan Crha2013-03-051-10/+24
| | | | | | | Evolution could crash when changing message view, like when toggling Show Deleted messages. This effectively reverts the previous commit and propagates the same changes further in the code.
* Bug #645476 - Avoid scroll to cursor on folder change in message list (take 3)Milan Crha2013-03-051-0/+8
|
* EMailTagEditor: Remove calendar configuration properties.Matthew Barnes2013-03-043-137/+1
| | | | | | | Remove EMailTagEditor's "use-24-hour-format" and "week-start-day" properties, which were being used to manually configure its internal EDateEdit instance. This is unnecessary since all EDateEdit instances are automatically configured by the ESettingsDateEdit extension.
* e_mail_config_service_backend_get_settings: Another corner case.Matthew Barnes2013-03-011-4/+9
| | | | | | ESourceCollection's default backend name is "none". Unfortunately so is CamelNullStore's provider name. Make sure these two misfits don't get paired up!
* Remove emu_free_mail_cache().Matthew Barnes2013-02-271-13/+1
| | | | No longer needed, since the resources it frees are no longer used.
* EHTTPRequest: Use e_mail_ui_session_check_known_address_sync().Matthew Barnes2013-02-271-6/+25
| | | | | Use e_mail_ui_session_check_known_address_sync() to help determine whether to automatically display images in a text/html MIME part.
* Move CamelSession.lookup_addressbook() handler to EMailUISession.Matthew Barnes2013-02-271-0/+39
| | | | | Have the new handler call e_mail_ui_session_check_known_address_sync() instead of em_utils_in_addressbook().
* Add e_mail_ui_session_check_known_address_sync().Matthew Barnes2013-02-272-0/+126
| | | | | | | | | | | Replaces em_utils_in_addressbook(). Foregos any address caching since any such cache would likely not be updated properly as contacts are added and removed and would lead to incorrect results. An asynchronous variation of this function can be easily added at some future date should a need arise.
* 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().
* EMailFormatter: Remove "only-local-photos" property.Matthew Barnes2013-02-271-2/+0
| | | | EPhotoCache already handles this setting.
* EMailRequest: Use EPhotoCache to obtain contact photos.Matthew Barnes2013-02-271-67/+40
|
* EMailUISession: Add a read-only "photo-cache" property.Matthew Barnes2013-02-272-1/+40
| | | | | | New functions: e_mail_ui_session_get_photo_cache()
* EMailRequest cleanups.Matthew Barnes2013-02-271-30/+44
|
* Coding style and whitespace cleanup.Matthew Barnes2013-02-242-3/+4
|
* Fix a memory leak in EMailDisplay::do_reload_displayMilan Crha2013-02-211-2/+2
|
* Replace deprecated static mutexesVadim Rutkovsky2013-02-142-10/+10
|
* Use camel_service_ref_session().Matthew Barnes2013-02-114-9/+25
|
* G_PRIORITY_HIGH_IDLE is sufficient to beat GTK+ redraws.Matthew Barnes2013-02-093-8/+11
| | | | | | GTK+ uses (G_PRIORITY_HIGH_IDLE + 20) for redrawing operations, which is actually a slightly lower priority than G_PRIORITY_HIGH_IDLE. Therefore for our purpose, G_PRIORITY_HIGH_IDLE is sufficient.
* Add comments around g_idle_add() changesMilan Crha2013-02-093-0/+3
|
* Bug #683867 - Schedule actions with higher idle priorityMichel Dänzer2013-02-093-3/+3
|
* Revert "Bug #683867 - Schedule actions with higher idle priority"Matthew Barnes2013-02-083-3/+3
| | | | | | | | | This reverts commit 2b507716b257e6ef98dae8463180dbe718eb7b64. The commit contains not a single comment as to why these custom priority values are being used. The rationale needs to be documented in the code, either at each call point or preferrably at a centralized priority value definition.
* Bug #683867 - Schedule actions with higher idle priorityMichel Dänzer2013-02-083-3/+3
|
* EMailAccountStore: Use an appropriate icon for online accounts.Matthew Barnes2013-02-013-10/+22
| | | | | | Use "goa-panel" for GOA, "credentials-preferences" for UOA. Also move the icon before the account name. Looks better.
* Incorporate ESourceUOA.Matthew Barnes2013-02-013-6/+28
| | | | | Where we make exceptions for GNOME Online Accounts, so too shall we for Ubuntu Online Accounts.
* Use e_book_client_connect().Matthew Barnes2013-01-301-7/+4
| | | | Instead of e_client_utils_open_new() and e_book_client_new().
* Bug #692781 - [pine-importer] Abort on book failure during contact importMilan Crha2013-01-301-1/+1
|
* Bug #692777 - Crash on folder renameMilan Crha2013-01-291-3/+3
|
* Bug #692009 - text/css always formatted as attachmentMilan Crha2013-01-242-10/+2
| | | | | | | Might be the final change for this bug, the two previous commits were not using the right approach, causing regression in rendering of text/* parts which were not named in the list of excluded content types for a 'raw' formatting.
* Exclude also text/calendar in a fix for bug #692009Milan Crha2013-01-221-1/+2
|
* EMailBrowser: Fix packing of preview pane.Matthew Barnes2013-01-211-1/+4
| | | | | | | | | | Using gtk_box_new() instead of gtk_vbox_new() changes the way child widgets are packed by default via gtk_container_add(). gtk_vbox_new() expands them by default, gtk_box_new() does not, and the preview pane was being packed with gtk_container_add(). Packing widgets into a GtkBox with gtk_container_add() is usually the wrong way. Use gtk_box_pack_start() instead, with expand=TRUE.
* Bug 692143 - Auto-configured MSN account should use POP, not IMAPMatthew Barnes2013-01-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | In e_mail_config_service_page_auto_configre(), we do detect that only POP3 is available for MSN accounts and switch to the appropriate service backend. The problem was with the hack I added awhile back to momentarily skip to the Receiving page just before skipping to the Summary page, so clicking "Go Back" from the Summary page would return to the Receiving page. That momentary skip triggered mail_config_assistant_prepare() on the Receiving page, which then triggered e_mail_config_page_setup_defaults() since the Receiving page was not yet in the visited pages hash table. The Receiving page's setup_defaults() method reset the service backend to IMAPX, which is the correct thing to do when not auto-configured. The solution is add the Receiving page to the visited pages hash table after a successful auto-configuration, but just BEFORE we momentarily skip to it. This tricks mail_config_assistant_prepare() into thinking the page was already visited, and it skips setting up defaults for it. Also added the Sending page to visited pages, just for consistency.
* Bug #692009 - text/css always formatted as attachmentMilan Crha2013-01-211-3/+28
|
* Bump GDK_VERSION_MIN_REQUIRED to GDK_VERSION_3_2.Matthew Barnes2013-01-2014-18/+18
| | | | | Clean up resulting deprecation warnings, which were all related to GtkOrientable consolidation (e.g. gtk_hbox_new() -> gtk_box_new()).
* Bug #692005 - Changing character encoding doesn't workMilan Crha2013-01-198-10/+92
|
* Adapt to CamelSession API changes.Matthew Barnes2013-01-132-16/+13
|
* Use g_hash_table_add() when using a hash table as a set.Matthew Barnes2013-01-123-19/+21
| | | | | | | g_hash_table_add(table, key) uses less memory than g_hash_table_insert(table, key, GINT_TO_POINTER (1)). Also use g_hash_table_contains() when testing for membership.
* Reduce diff noise with webkit-composer branch.Matthew Barnes2013-01-112-6/+12
|
* Coding style and whitespace cleanup.Matthew Barnes2013-01-115-12/+13
|
* e-config: Remove unused functions.Matthew Barnes2012-12-173-7/+4
| | | | | | | | | | | | 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.
* Fix compiler warnings.Matthew Barnes2012-12-151-1/+0
|
* Revert part of the previous commit, EMailUISession::alert_user()Milan Crha2012-12-141-3/+237
| | | | | | | Keep the EMailUISession define its own implementation of CamelSession::alert_user(). It's good for couple reasons: a) dialog is shown above Evolution itself (has parent) b) info dialogs are shown in an alert bar
* Implement and use CamelSession::trust_prompt()Milan Crha2012-12-143-237/+26
|
* e_mail_migrate(): Remove directory creation code.Matthew Barnes2012-12-141-11/+0
| | | | | | | e_shell_backend_get_data_dir() already creates the user's data directory for mail, so there's no need to try and create the directory again. This eliminates the only usage of the E_SHELL_MIGRATE_ERROR domain.
* Move the contact map widgets to addressbook/gui/widgets.Matthew Barnes2012-12-132-4/+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-1366-317/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-087-57/+95
| | | | | | 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.
* EMailFormatterContext: Keep a reference to EMailPartList.Matthew Barnes2012-12-081-5/+5
| | | | | Replace the individual components of an EMailPartList with a reference on the EMailPartList itself in EMailFormatContext. Easier to manage.
* Do not empty trash/delete junk in disabled accounts on exitMilan Crha2012-12-051-2/+31
|
* Bug #315317 - Add option to expunge messages on folder leaveMilan Crha2012-12-053-6/+6
|
* e_mail_reader_parse_message() cleanups.Matthew Barnes2012-12-052-54/+57
| | | | Use the existing AsyncContext struct instead of defining a new struct.
* Bug 689639 - File -> Print Preview in composer brings up Print dialogMatthew Barnes2012-12-051-2/+1
|
* Bug #687503 - Improve error message »Failed to refresh folders«Milan Crha2012-12-041-7/+22
|
* Bug #502516 - Avoid "source" string in user visible dialogsMilan Crha2012-12-041-6/+6
|
* Bug #529743 - Add "Any header" filter and search folder conditionMilan Crha2012-12-033-0/+159
|
* Bug #678606 - Crash under mail_backend_folder_deleted_cb()Milan Crha2012-12-031-0/+3
|
* Address couple issues found by a Coverity scanMilan Crha2012-11-304-5/+7
|
* Avoid gdk_window_get_pointer().Matthew Barnes2012-11-291-1/+7
| | | | Use gdk_window_get_device_position() instead.
* Avoid gtk_tree_view_get_vadjustment().Matthew Barnes2012-11-291-1/+3
| | | | Use gtk_scrollable_get_vadjustment() instead.
* Bug #672200 - Skip Reply-To-List check for list administrative messagesMilan Crha2012-11-291-4/+22
|
* Bug #671200 - Inherit source message crypto options when reply on selectionMilan Crha2012-11-271-2/+55
|
* EMailDisplay lefts opened file handles to downloaded imagesMilan Crha2012-11-231-22/+26
| | | | | | | This fixes three things: a) mail_display_resource_requested() was leaking file handles on downloaded images b) it's not necessary to open files, it's enough to test whether file exists c) mail_display_button_press_event() used incorrect key for "http" cache
* Bug #687670 - Signing with both pgp and S/MIME shows only one signatureMilan Crha2012-11-221-2/+10
|
* Bug #677378 - Alert about self-signed certificates when checking auth typesMilan Crha2012-11-213-8/+16
|
* Bug #688199 - Replying via a template doesn't mark mail as read/repliedMilan Crha2012-11-132-7/+12
|
* Relative URI can crash Evolution in http_request_send_async()Milan Crha2012-11-132-3/+8
|
* Coding style and whitespace cleanup.Matthew Barnes2012-11-1113-41/+52
|
* Document why I decided not to implement RFC 6186.Matthew Barnes2012-11-091-0/+46
|
* EMailAutoconfig: Restructure XML parsing.Matthew Barnes2012-11-093-169/+224
| | | | | | | | | | If we get a hit from the online database, parse the XML immediately and store the results in generic internal structs. Then when we're given an ESource to populate we can feed it the stored results instead of parsing the XML on demand (and repeatedly). What this is really doing is making room for other auto-configuration methods besides the online database lookup.
* Bug #683877 - No more contextual menus for linksMilan Crha2012-11-091-9/+3
|
* EMailAutoconfig: Use GResolver for DNS lookups.Matthew Barnes2012-11-081-244/+17
| | | | | | Use g_resolver_lookup_records() instead of parsing binary DNS records ourselves (yuck!). Also, realized what we really want are NS records not MX records. We just want the name server for a given domain.
* EMailAutoconfig: Comment no longer applies.Matthew Barnes2012-11-081-3/+0
|
* EMailConfigAssistant: Make revising auto-configuration easier.Matthew Barnes2012-11-081-0/+5
| | | | | | | | | | | | | | | | | | | After providing a name and email address on the Identity page, the user clicks Forward and auto-configuration runs. If successful, it jumps to the Account Summary page showing a table of auto-configured settings. If the user wants to go back and revise auto-configured settings, he would click Go Back to return to the Identity Page, then click Forward again to go to Receiving Email (since auto-coniguration only runs once). But this is confusing. It's not clear that clicking Forward from the Identity Page will behave differently after auto-configuration has run. Instead, clicking Go Back from the Summary Page after auto-configuration should return to the Receiving Email page where IMAP/POP settings can be modified. This behavior combined with the GtkAssistant navigation sidebar should hopefully make it less confusing.
* Make auto-configuration cancellable.Matthew Barnes2012-11-081-13/+69
| | | | Based on my initial patch in https://bugzilla.gnome.org/678615.
* EMailAutoconfig: Use libsoup instead of gvfs.Matthew Barnes2012-11-081-12/+41
| | | | | | | The GVFS HTTP backend seems to just hang forever when an I/O operation is cancelled. Use libsoup instead. See also: https://bugzilla.gnome.org/678615
* Revert "Bug #686620 - Add an option to skip New Account autodiscovery"Matthew Barnes2012-11-083-106/+1
| | | | | | This reverts commit 039c29c112179ad92233f0a85b7332ad2f2dd373. Auto-configuration should instead be cancellable from the progress page.
* Bug #686620 - Add an option to skip New Account autodiscoveryMilan Crha2012-11-073-1/+106
|
* Bug #656143 - Stop using deprecated Gtk[HV]Box(Class)Dominique Leuenberger2012-11-071-2/+2
|
* Replace deprecated soup_message_headers_get() with ↵Milan Crha2012-11-061-1/+1
| | | | soup_message_headers_get_list()
* Replace deprecated GLib symbols (as of GLib 2.34.x)Milan Crha2012-11-067-41/+43
|
* Fixed squished labels on Identity page of Account Assistant.Matthew Barnes2012-11-021-1/+0
| | | | | GtkSizeGroup::ignore-hidden is broken, or so I'm told in the discussion on https://bugzilla.gnome.org/show_bug.cgi?id=677609. Leave it FALSE.
* Bug 687060 - Identity page shows read-only GOA properties as editableMatthew Barnes2012-10-291-0/+8
| | | | | Hide the account name and email address fields when editing an Evolution account linked to a GNOME Online Account.
* EMailConfigIdentityPage: Add a "show-email-address" property.Matthew Barnes2012-10-292-4/+71
| | | | Allows the Email Address field to be hidden.
* EMailConfigIdentityPage cleanups.Matthew Barnes2012-10-291-3/+3
|
* Prefer e_source_registry_check_enabled().Matthew Barnes2012-10-262-6/+9
| | | | | Prefer e_source_registry_check_enabled() over e_source_get_enabled() for most instances where we want to exclude disabled data sources.
* Bug #268618 - Add: Save replies in the folder of the message being replied toMilan Crha2012-10-221-6/+49
| | | | | | Follow-up fixes: a) don't copy to origin folder for forwarded messages b) use a real folder when reply/forward from a vFolder
* Remove "Disable Account" menu item for GOA-based accounts.Matthew Barnes2012-10-192-1/+28
| | | | GOA-based accounts must only be disabled from gnome-control-center.
* Bug #268618 - Add: Save replies in the folder of the message being replied toMilan Crha2012-10-191-3/+23
|
* Revert "Decode EMailRequest::priv::uri_base URI-escaped letters"Matthew Barnes2012-10-181-2/+1
| | | | | | This reverts commit 7050a12868252cf6254620cd27dcb6832851040d. Incomplete solution, renders Bugzilla mails unreadable.
* Decode EMailRequest::priv::uri_base URI-escaped lettersMilan Crha2012-10-181-1/+2
| | | | | | | | It's for cases when message UID contains letters which are supposed to be encoded, like "<>" in NNTP message UIDs. Without the decode the message preview is left empty and only console shows a runtime critical warning: handle_mail_request: assertion `part_list != NULL' failed
* Bug #683849 - Add account name to »Checking for new mail«Milan Crha2012-10-161-1/+2
|
* Bug #344579 - Vertical view: Drafts column header states "Sent Messages"Milan Crha2012-10-161-1/+1
|
* Bug 685786 - EWebView: Signal handlers never disconnectedMatthew Barnes2012-10-141-1/+8
| | | | | | | | | | | | Both EWebView and EMailDisplay listen for "changed" signals from a GSettings instance, passing itself as the 'user_data' to the signal handler e_web_view_update_fonts(). But in both cases the signal handler was left connected after EWebView and EMailDisplay were 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 EWebView and EMailDisplay.
* EMailDisplay cleanups.Matthew Barnes2012-10-141-430/+467
|
* Bug 685675 - Fix packing of spell check language optionsMatthew Barnes2012-10-101-36/+38
| | | | | | 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 #682295 - Fix deadlock in EHttpRequestDan Vrátil2012-09-141-77/+89
| | | | | | | | | | Fix deadlock in EHttpRequest by running each libsoup operation in it's own GMainContext. The patch also replaces use of features from libsoup>=2.39, because we can't change dependency. The code is based on code from CalDAV, which uses synchronous libsoup API as well and works with libsoup<2.39
* Bug #683866 - Leaks of EMailFormatter objectMilan Crha2012-09-132-7/+5
|
* Fix a memory leak when replying to a messageMilan Crha2012-09-122-1/+10
|
* Bug #681279 - Reply on selection doesn't work (re-fix)Milan Crha2012-09-121-13/+59
|
* Bug #683676 - Message source does not work when 'All Message Headers' enabledMilan Crha2012-09-121-5/+14
|
* Revert commit c9d0ac7 (bug #681279)Milan Crha2012-09-111-13/+0
|
* Bug #678835 - Disconnect signal handlers from WebKit plugin widgets on disposeMilan Crha2012-09-111-1/+24
|
* Fix typo in 'activity' word (macro/function/variable names)Milan Crha2012-09-101-9/+9
|
* Bug #681279 - Reply on selection doesn't workMilan Crha2012-09-071-0/+13
| | | | | This time because Prefer-plain could hide text/html part, which resulted in no text shown in the reply.
* Honor CAMEL_PROVIDER_DISABLE_SENT_FOLDER in account preferencesMilan Crha2012-09-061-4/+19
|
* Bug #682425 - Can do network operations on disabled accountsMilan Crha2012-09-054-64/+92
|
* Bug #679780 - Offline mode doesn't work in mailerMilan Crha2012-09-052-5/+8
|
* em_folder_tree_model_get_folder_name: Don't return NULL.Matthew Barnes2012-09-041-2/+2
| | | | | | | | | | If a folder's display name is not available in the folder tree model for some reason, return the raw folder path rather than NULL. This silences a runtime warning in the mail-notification plugin. This feels like a Band-Aid for a deeper issue -- perhaps we're racing the folder tree model? Might be better to just fetch the CamelFolder asynchronously and get the folder's display name directly.
* Bug #683130 - Folder hangs when reading mail with an attachmentDan Vrátil2012-09-041-5/+13
|
* Coding style and whitespace cleanup.Matthew Barnes2012-09-011-2/+12
|
* Bug #681431 - Expanded attachment bar hides headersDan Vrátil2012-08-291-5/+3
|
* Bug 682811 - Can edit properties of local/vfolder storesMatthew Barnes2012-08-281-2/+16
|
* Fix all 'may be used uninitialized' compiler warningsDan Vrátil2012-08-203-2/+3
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-2034-428/+536
|
* Bug #680702 - Freeze/crash when loading remote imagesDan Vrátil2012-08-181-183/+106
| | | | | | | | Simplify the EHttpRequest by using synchronous libsoup API instead of spawning another async operation within already asynchronous handler. This avoids nested event loop, complex locking and makes to code much simpler.
* Include folder uri in "Failed to refresh folder" runtime warningMilan Crha2012-08-171-1/+1
|
* Bug #681783 - Critical warning and freeze with libsoup-2.39 and webkitgtk-1.9.2Dan Vrátil2012-08-171-0/+1
|
* Add e_mail_session_append_to_local_folder().Matthew Barnes2012-08-151-13/+7
| | | | | | Asynchronous + synchronous convenience functions. Uses the EMailLocalFolder enumeration to specify a well-known folder.
* Adapt to CamelService API changes.Matthew Barnes2012-08-131-6/+13
| | | | | | camel_service_get_settings() is now camel_service_ref_settings() and it returns a new CamelSettings reference which the caller must release with g_object_unref().
* Adapt to CamelSession API changes.Matthew Barnes2012-08-129-49/+86
| | | | | | | | | | | | 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()
* express: Remove clutter-based email tabs.Matthew Barnes2012-08-118-4234/+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.
* Run mbox-to-Maildir conversion before loading modules.Matthew Barnes2012-08-101-325/+0
| | | | | | | | | | | | | | Invoke the mbox-to-Maildir conversion directly from main(), just before the call to e_shell_load_modules(). The reason the code is here and not in the mail module is because we inform the user at startup of the impending mail conversion by displaying a popup dialog and waiting for confirmation. This has to be done before we load modules because some of the EShellBackends immediately add GMainContext sources that would otherwise get dispatched during gtk_dialog_run(), and we don't want then dispatched until after the conversion is complete.
* Bug #681432 - Runtime warnings from e_mail_display_reload()Dan Vrátil2012-08-101-24/+18
|
* Remove some unused code from EMailReaderDan Vrátil2012-08-093-41/+18
| | | | | | 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.
* migrate_mbox_to_maildir(): Fix a reference counting error.Matthew Barnes2012-08-091-2/+3
| | | | | | The ESourceCamel extension owns the CamelSettings instance and the ESource instance owns the ESourceCamel extension. Unreference the ESource AFTER we're done with the CamelSettings.
* em_migrate_session_new(): Provide a user cache directory.Matthew Barnes2012-08-091-1/+8
|
* Remove all references to JavaScriptCore and use of JavaScriptDan Vrátil2012-08-093-23/+66
| | | | | | | | | | JavaScript is disabled in EWebView, so any attempt to evaluate a JavaScript code will fail. We are using DOM bindings instead to interact with the document. This commit removes some helper functions created in the early days of WebKit port which are not used anymore and also fixes mail-to-task plugin, which was relying on some JavaScript.
* Return of the "mark messages as read" preference.Matthew Barnes2012-08-081-4/+58
| | | | | | | | | | | | 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 #680724 - Attachment bar regressionDan Vrátil2012-08-081-6/+0
|
* Bug #677695 - Crash on quit under emu_free_mail_cache()Milan Crha2012-08-081-1/+1
| | | | | | | This is reverting previous patch for this bug and fixes it with a different approach. The previous patch had regression, instead of freezing evolution on quit it crashed it when there was pending addressbook lookups.
* Missing "<click here to select a folder>" text in message filter editorMilan Crha2012-08-081-0/+2
|
* Bug #681318 - Filter by Source account doesn't show accountsMilan Crha2012-08-081-35/+95
|
* Bug #680947 - Multiselect doesn't clear message preview panelDan Vrátil2012-08-071-5/+11
|
* Bug #246530 - Rules editor lacks "Label is (not) 'None'"Milan Crha2012-08-063-20/+8
|
* mail.error.xml: Remove GroupWise-specific errors.Matthew Barnes2012-08-031-5/+0
|
* Remove "modal" attribute from error.xml files.Matthew Barnes2012-08-031-3/+3
| | | | | The "modal" attribute is ignored nowadays anyway, but these should have never been modal to begin with.
* Bug #680666 - Contacts/Tasks/Memos preview pane does not follow theme colorsDan Vrátil2012-08-021-5/+15
|
* Bug #680643 - First message Print preview without CSSDan Vrátil2012-07-311-5/+20
|
* Bug #679404 - Read colors for message preview from Gtk themeDan Vrátil2012-07-271-14/+15
|
* Bug #680682 - Segfault after label attempted deletionMilan Crha2012-07-271-10/+6
|
* Bug #680577 - [text-highlight] - Failed to load partDan Vrátil2012-07-271-1/+1
|
* mail.error.xml: Remove "mail:session-message-*" errors.Matthew Barnes2012-07-264-17/+5
| | | | Use "system:simple-info/warning/error" errors instead.
* Highlighting of text parts and source codesDan Vrátil2012-07-252-12/+18
| | | | | | | | | | This adds 'Format as' submenu to the preview pane context menu. The submenu is available only for text/plain parts or parts with a source code (we support about 40 various types). Using the 'highlight' utility, the formatter processes the part and highlights the source code it contains. (discussion in bug #680026)
* Bug 677635 - Vanished message list with filled preview panelDan Vrátil2012-07-244-4/+15
|
* Fix few more memory leaksMilan Crha2012-07-212-2/+17
|
* Shorten user names with '@' in Send & Receive window.Matthew Barnes2012-07-201-2/+11
|
* Bug #680164 - Print Preview action should open preview immediatellyDan Vrátil2012-07-195-16/+20
|
* mail-send-recv: Improve presentation.Matthew Barnes2012-07-191-60/+73
| | | | | | | Put status messages in the progress bar and put the progress bar beneath the account description so the description has more room to stretch out. Various other subtle tweaks.
* EMailConfigPage: Add submit() asynchronous method.Matthew Barnes2012-07-193-44/+239
| | | | | | | | | | | | | This method is meant for pages that show server-side settings instead of client-side settings stored in key files. It's called after all scratch sources have been successfully submitted to the D-Bus service. The driving use case for this is evolution-ews's "Out of Office" page, which is only shown by EMailConfigNotebook and so that's currently the only place where submit() is invoked for all pages. Should a need arise for EMailConfigAssistant to also invoke submit() for all pages, then EMailConfigNotebook can be used as a reference.
* Bug #679843 - Double free when printingDan Vrátil2012-07-182-29/+31
|
* Rework handling of GOA mail.Matthew Barnes2012-07-163-1/+37
| | | | | | | | | | | | | | | | | | | | Disabling the mail part of an online account through the Control Center panel will now remove the CamelService from the EMailSession in addition to disabling the account/identity/transport ESources, causing it to be delisted from the account list in Preferences. Furthermore, hide the Enabled check box for accounts linked to GOA in Preferences. The collection ESource for these accounts can no longer be disabled through Evolution; all such account manipulation must be done through the Control Center panel. Lastly, display an icon next to accounts linked to GOA in Preferences. * Might be nice to show the actual provider icon instead of the generic Online Accounts icon from the Control Center, but need to think about how best to do that. Don't want a GOA dependency in core Evolution. Maybe ESourceCollection should grow a GIcon property for the online- accounts module in the registry service to set?
* EMailAccountStore: Check permissions before writing/removing sources.Matthew Barnes2012-07-161-5/+5
|
* Bug 679726 - Can't unfold long recipient list in message windowDan Vrátil2012-07-131-8/+5
|
* Fix a slight memory leak.Matthew Barnes2012-07-121-2/+7
|
* Bug 332115 - Remove Camel module names from Send/Receive windowMatthew Barnes2012-07-121-27/+14
|
* Bug #349875 - Dragging an email from a vFolder should link to source folderMilan Crha2012-07-121-26/+90
|
* Bug #223309 - Add "Include Subfolders" to "Search Folder Sources"Milan Crha2012-07-112-10/+79
|
* Preset timeout on SoupSession-s to 90 secondsMilan Crha2012-07-111-1/+3
|
* EMailConfigProviderPage: Inherit from EMailConfigActivityPage.Matthew Barnes2012-07-112-118/+7
| | | | | | Removes e_mail_config_provider_page_new_activity(). Use e_mail_config_activity_page_new_activity() instead.
* EMailConfigServicePage: Inherit from EMailConfigActivityPage.Matthew Barnes2012-07-113-120/+10
| | | | | | Removes e_mail_config_service_page_new_activity(). Use e_mail_config_activity_page_new_activity() instead.
* Add EMailConfigActivityPage.Matthew Barnes2012-07-113-0/+252
| | | | | | | This is a convenient base class for EMailConfigPages that might need to run an asynchronous method and display an error message. It adds activity and alert bars to the bottom of the page, it implements the EAlertSink interface, and can create new EActivity instances.
* Bug #548778 - Use original location when replying in Search FolderMilan Crha2012-07-111-2/+2
|
* Add "auto-update" option to Search Folder EditorMilan Crha2012-07-101-3/+22
|
* Avoid crash on folder renameMilan Crha2012-07-101-1/+1
|
* Do not show cancelled errors from refresh_folders_exec()Milan Crha2012-07-101-1/+2
|
* Always notify about finished updated_folders() callMilan Crha2012-07-101-6/+7
|
* Remove em_folder_tree_get_selected_folder().Matthew Barnes2012-07-092-24/+0
| | | | | The function blocks, lacks a "sync" suffix and GCancellable and GError arguments. Not fit for use. Kill it.
* Add e_mail_reader_expunge_folder_name().Matthew Barnes2012-07-092-0/+71
| | | | Fetches the CamelFolder asynchronously, then expunges it asynchronously.
* Add e_mail_reader_expunge_folder().Matthew Barnes2012-07-093-0/+77
| | | | | Wraps e_mail_folder_expunge() with EActivity/EAlert stuff and also prompt for confirmation.
* Use folder display name in status messages when possible.Matthew Barnes2012-07-091-1/+1
|
* Remove mail_refresh_folder().Matthew Barnes2012-07-091-1/+1
| | | | Use e_mail_reader_refresh_folder() instead.
* Add e_mail_reader_refresh_folder_name().Matthew Barnes2012-07-092-0/+71
| | | | Fetches the CamelFolder asynchronously, then refreshes it asynchronously.
* Add e_mail_reader_refresh_folder().Matthew Barnes2012-07-093-0/+64
| | | | To replace mail_refresh_folder().
* Add e_mail_reader_unsubscribe_folder_name().Matthew Barnes2012-07-093-2/+70
| | | | Replaces e_mail_session_unsubscribe_folder().
* Add e_mail_reader_delete_folder_name().Matthew Barnes2012-07-092-0/+76
| | | | Fetches the CamelFolder asynchronously, then deletes it asynchronously.
* Avoid em_folder_tree_get_selected_folder() in some places.Matthew Barnes2012-07-091-6/+30
| | | | | | | 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.
* Bug #524737 - Replace radio buttons in Search folder editorMilan Crha2012-07-092-288/+108
|
* Bug 677885 - Deleting account is chatty on consoleMatthew Barnes2012-07-071-1/+7
|
* Bug 678606 - Crash under mail_backend_folder_deleted_cb()Matthew Barnes2012-07-071-0/+3
|
* Adapt to CamelStore API change.Matthew Barnes2012-07-071-6/+6
| | | | compare_folder_name() -> equal_folder_name()
* Fix an unused variable warning.Matthew Barnes2012-07-071-1/+0
|
* Disconnect a CamelService after editing its settings.Matthew Barnes2012-07-071-0/+5
| | | | | | | | | | | | 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.
* EMailConfigWindow: Add a "changes-committed" signal.Matthew Barnes2012-07-072-0/+20
| | | | | | | Emitted after all changes are successfully committed over D-Bus. Can connect to this signal to perform followup actions, such as disconnecting the corresponding CamelService.
* Remove mail_ui_session_source_changed_cb().Matthew Barnes2012-07-071-69/+0
| | | | | | | | | | This function removed a CamelStore from EMFolderTreeModel and then added it again in response to the corresponding ESource emitting a "changed" signal (presumably from editing a mail account and saving changes). In the past this was the only way for changes to the account URI string to take effect without restarting Evolution. But we have CamelSettings now and don't need this hack anymore. Time for it to die.
* Bug #677604 - Critical warnings on evolution startMilan Crha2012-07-031-1/+4
|
* Bug #246231 - Add Filter Rule dialog - UI suggestionsMilan Crha2012-07-031-16/+16
|
* Bug #661886 - Avoid vertical scrolling in the filtering rules editorMilan Crha2012-07-022-18/+89
|
* Fix few memory leaksMilan Crha2012-06-281-6/+7
|
* Bug #257283 - Can't select multiple folders at once in vFolder sourcesMilan Crha2012-06-282-60/+112
|
* Cancel scheduled EMailDisplay reload in _dispose()Dan Vrátil2012-06-281-5/+11
|
* Don't load images in preview pane when openning Preferences DialogDan Vrátil2012-06-281-38/+41
| | | | | | | | | | | | | | Openning the Preferences dialog for the first time causes many property bindings to be created. GLib emits a lot of ::notify signals during this, one of them being about image-loading-policy. We now correctly check, whether the change was to allow loading images, or not (and we don't display them in that case). Finaly, e_mail_display_reload() will always schedule the action via g_idle_add() so that we can merge plenty of _reload() calls caused by the afformentioned ::notify emitions into single call when all the noise is over.
* Bug #678834 - [prefer-plain] Setting change works only after restartDan Vrátil2012-06-271-2/+1
|
* Bug #515004 - Allow toggling between text and HTML view of mailDan Vrátil2012-06-264-23/+176
|
* Coding style and whitespace cleanup.Matthew Barnes2012-06-255-15/+16
|
* Reduce usage of g_type_class_peek_parent().Matthew Barnes2012-06-254-22/+14
| | | | G_DEFINE_TYPE macros define a static "parent_class" variable.
* Bug 678609 - No suggested name for new mail accountMatthew Barnes2012-06-231-0/+3
|
* EMailConfigSummaryPage: Remove "account-name" property.Matthew Barnes2012-06-233-81/+2
| | | | It's redundant. Just set the display name on one of the ESources.
* Keep display names synchronized during account creation.Matthew Barnes2012-06-232-8/+12
| | | | | Reworked part of commit cc55cf3e686ad873cb14129f48d06f83ecc97e68, which caused a bunch of runtime warnings.
* Bug 678608 - Please enter password for mail account "Unnamed"Matthew Barnes2012-06-231-0/+20
|
* Keep display names synchronized during account creation.Matthew Barnes2012-06-233-5/+23
|
* Bug 678613 - Keep display name synchronized across all mail sourcesMatthew Barnes2012-06-221-0/+21
|
* EMailConfigNotebook: Minor code cleanup.Matthew Barnes2012-06-221-3/+9
|
* Update default Inbox to fit the terms in UIAndre Klapper2012-06-211-8/+6
|
* 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.
* Bug 678393 - Disable Properties for built-in mail storesMatthew Barnes2012-06-212-1/+4
|
* Bug #678292 - Due Date does not display in follow-up flag dialogue boxMilan Crha2012-06-201-0/+13
|
* Adapt to CamelDataCache API change.Matthew Barnes2012-06-191-1/+1
| | | | camel_data_cache_get_filename() dropped its unused GError parameter.
* Avoid crash for providers without configuration backendMilan Crha2012-06-191-5/+5
|
* Disable a leftover debug messageDan Vrátil2012-06-191-2/+0
|
* Bug #678293 - Already downloaded images are not shownDan Vrátil2012-06-191-2/+10
|
* Reduce amount or EMailDisplay reloads when displaying Preferences dialogDan Vrátil2012-06-191-14/+38
|
* Bug #431497 - Offline mode should disable loading of images from the internetDan Vrátil2012-06-181-0/+8
|
* Do not call g_object_notify() when property didn't changeMilan Crha2012-06-1820-11/+107
|
* Bug #677608 - Fails to open message which is not yet downloadedDan Vrátil2012-06-185-160/+146
|
* Bug #764467 - URL popup shows all Copy optionsDan Vrátil2012-06-181-39/+32
|
* Fix some memory leaksDan Vrátil2012-06-183-11/+18
|
* Remove the last remaining usage of GConfMilan Crha2012-06-159-2163/+21
|
* Make em_utils_in_addressbook() cancellableDan Vrátil2012-06-141-1/+1
|
* Bug #674887 - Hang on sender's photo lookupDan Vrátil2012-06-142-6/+130
|
* Bug 677995 - Asks password for disabled mail accountMatthew Barnes2012-06-131-7/+1
| | | | | | | | | | | | Remove mail_folder_cache_service_added() and rely instead on mail_folder_cache_service_enabled()/disabled(). Despite the function names the folder cache doesn't actually care about enabled status, it simply maintains a set of CamelStores to monitor. We should refactor the folder cache API to better reflect that. EMailAccountStore always immediately follows a "service-added" signal emission with either a "service-enabled" or "service-disabled" emission, which will add or remove the service from the folder cache.
* Bug 677882 - Cannot create account with SendmailMatthew Barnes2012-06-131-26/+21
|
* Bug #677597 - Crash on vFolder source folder removalMilan Crha2012-06-131-3/+4
|
* Bug 677679 - Folder tree unread counts don't decreaseMatthew Barnes2012-06-121-4/+22
| | | | | EMailAccountStore was not keeping MailFolderCache informed about added, removed, enabled, or disabled CamelServices.
* Fix possible use of uninitialized variableMilan Crha2012-06-121-1/+1
|
* Bug 677686 - Account editor missing refresh interval settingMatthew Barnes2012-06-091-2/+77
|
* Remove "enable-local" and "enable-vfolders" GSettings key.Matthew Barnes2012-06-092-55/+23
| | | | | 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.
* Synchronize identities when enabling/disabling accounts.Matthew Barnes2012-06-081-0/+64
|
* Fix displayed message headersDan Vrátil2012-06-084-111/+2
| | | | | | | | | 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 #300677 - vFolder rules shouldn't refer to the Unmatched folderMilan Crha2012-06-081-1/+19
|
* Bug 677624 - Disable Properties when Search Folders is selectedMatthew Barnes2012-06-081-0/+6
|
* EMailAccountStore: Fix a typo.Matthew Barnes2012-06-081-1/+1
|
* EMailAccountStore: Check for a collection when adding a service.Matthew Barnes2012-06-082-1/+28
| | | | | | | | If the mail account is part of a collection of sources, we want to read the enabled state from the top-level "collection" source instead of the mail account source. Addendum: Same deal in mail_ui_session_source_changed_cb().
* Bug #676563 - Cannot create folders directly under store nodeMilan Crha2012-06-071-1/+6
|
* EMailAccountStore: Handle collections when enabling/disablingMatthew Barnes2012-06-071-0/+28
| | | | | | If the mail account is part of a collection of sources, we want to enable or disable the top-level "collection" source instead of the mail account source.
* Mail formatter rewriteDan Vrátil2012-06-0630-7109/+1143
| | | | | | | | 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.
* Remove local mail autoconfiguration data.Matthew Barnes2012-06-04191-6671/+1
| | | | | | We're using version 1.1 of Mozilla's ClientConfig format now. These files are all version 1.0. But even aside from that, offline autoconfig is not compelling enough to warrant maintaining two copies of this data.
* Remove mail-guess-servers.[ch].Matthew Barnes2012-06-043-508/+0
| | | | Obsoleted by EMailAutoconfig.
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-0441-135/+21
|
* Adapt mail to the new ESource API.Matthew Barnes2012-06-0367-10595/+13915
|
* Adapt mail/importers to the new ESource API.Matthew Barnes2012-06-031-25/+19
|
* Revert "Bug #668481 - Account order is not remembered"Matthew Barnes2012-06-034-178/+87
| | | | This reverts commit 61a15e4d9dd303c23b6e44af9d084e3f3c609192.
* Reduce diff noise with 'account-mgmt' branch.Matthew Barnes2012-06-033-13/+14
| | | | One last time.
* Whitespace cleanups.Matthew Barnes2012-06-025-13/+13
|