aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine
Commit message (Collapse)AuthorAgeFilesLines
* Add an --enable-code-coverage configure option to enable gcov supportMilan Crha2014-03-251-1/+2
| | | | | When enabled, this will compile all libraries/binaries with the necessary gcc and ld flags to enable code coverage support using gcov.
* Replace 'interface' with 'iface' in the codeTarnyko2014-02-261-3/+3
| | | | | | Win32 headers have a #define for 'interface', which breaks the build when this word is used in the code, thus replace it to 'iface', the same way as GLib or GTK+ code use to have it. (See bug #722068.)
* mail_session_dispose: First free folders, only then storesMilan Crha2014-02-241-18/+18
| | | | | | CamelFolder holds a weak reference to its parent CamelStore, thus if the store is freed before the folder, then the folder cannot access it, which can lead to crashes.
* libemail-engine.pc: Add missing gtk+-3.0 requirement.Matthew Barnes2014-02-241-1/+1
|
* mail_xfer_folder: Not provided anymore (forgotten prototype definition)Milan Crha2014-02-211-6/+0
|
* Bug #711443 - IMAPX account unread count goes only up, not downMilan Crha2014-02-201-3/+51
|
* Bug #655806 - Folder deletion is very slowFabiano Fidêncio2014-02-111-45/+51
|
* Bug #722041 - NNTP Messages are silently dropped from OutboxMilan Crha2014-02-111-12/+8
|
* Remove unused mail_folder_cache_list_stores().Matthew Barnes2014-02-041-18/+0
|
* Replace usage of __FUNCTION__ with G_STRFUNCMilan Crha2014-01-231-1/+1
|
* MailFolderCache: Remove 'ping' operation.Matthew Barnes2014-01-181-101/+0
| | | | | Was only used for IMAP, and CamelIMAPXServer can do this itself now. Consequently camel_store_noop_sync() has been removed.
* Bug 721545 - License text contains obsolete FSF postal addressMatthew Barnes2014-01-0838-380/+342
|
* MailFolderCache: Remove some nuisance runtime warnings.Matthew Barnes2013-12-111-2/+2
| | | | | When renaming a folder, don't warn if the GalView files for the folder don't exist (errno == ENOENT). It may be the folder was never viewed.
* Coding style and whitespace cleanup.Matthew Barnes2013-12-071-4/+6
|
* sync_store_desc: Display the store's display name.Matthew Barnes2013-11-301-9/+10
| | | | That's what it's for.
* em_utils_is_local_delivery_mbox_file(): Take a CamelService.Matthew Barnes2013-11-303-15/+52
| | | | | | More convenient than constructing a CamelURL just for this function. Also, document it.
* Avoid camel_service_get_session().Matthew Barnes2013-11-301-1/+3
| | | | Use camel_service_ref_session() instead.
* Remove unused arguments in mail_fetch_mail().Matthew Barnes2013-11-302-23/+4
| | | | The 'fetch_type' and 'fetch_count' arguments are not used.
* Remove mail_cancel_all().Matthew Barnes2013-11-282-18/+0
| | | | | | Turns out this function was a no-op, because nothing registered itself to be cancelled this way. This was part of the legacy async framework, which we've mostly moved away from now.
* Remove unused mail_cancel_hook_remove().Matthew Barnes2013-11-282-12/+0
|
* Remove unused mail_cancel_hook_add().Matthew Barnes2013-11-282-23/+0
|
* Adapt to new CamelSession "user-alert" signal.Matthew Barnes2013-11-271-143/+0
| | | | Replaces the old interactive (but not really) alert_user() method.
* mail-mt.h: Remove dangling mail_get_password() declaration.Matthew Barnes2013-11-271-4/+0
|
* EMailSession: Remove leftover EProxy instance.Matthew Barnes2013-11-271-5/+0
|
* EMailSession: Remove "junk-filter-name" property.Matthew Barnes2013-11-261-98/+0
| | | | No longer needed. Following up on a pre-GSettings "FIXME" item.
* ESettingsMailSession: Bind to "junk-default-plugin".Matthew Barnes2013-11-261-10/+2
| | | | | Use mapping functions to convert between the filter name string and the corresponding EMailJunkFilter extension.
* Add e_mail_session_get_junk_filter_by_name().Matthew Barnes2013-11-262-1/+25
| | | | | Looks up an EMailJunkFilter extension by its filter name, as specified in its class structure.
* Add ESettingsMailSession.Matthew Barnes2013-11-251-17/+0
| | | | Handles junk mail settings.
* Fix/mute issues found by Coverity scanMilan Crha2013-11-154-9/+12
| | | | | | | | | | | | This makes the code free of Coverity scan issues. It is sometimes quite pedantic and expects/suggests some coding habits, thus certain changes may look weird, but for a good thing, I hope. The code is also tagged with Coverity scan suppressions, to keep the code as is and hide the warning too. Also note that Coverity treats g_return_if_fail(), g_assert() and similar macros as unreliable, and it's true these can be disabled during the compile time, thus it brings in other set of 'weird' changes.
* "Disco is dead!", says Camel.Matthew Barnes2013-11-142-41/+4
| | | | All offline-capable Camel providers use CamelOfflineStore now.
* Convert libemail-engine to a single-include model.Matthew Barnes2013-11-1221-0/+126
| | | | Use: #include <libemail-engine/libemail-engine.h>
* Move EMailImageLoadingPolicy to e-mail-formatter-enums.h.Matthew Barnes2013-11-111-6/+0
| | | | libemail-engine doesn't need to know about this enum.
* Generate enum GTypes for libevolution-mail.Matthew Barnes2013-11-111-21/+0
| | | | Steals some enum types that libemail-engine doesn't need to know about.
* Remove unused EMailDisplayStyle enum.Matthew Barnes2013-11-111-6/+0
|
* Fix misspelled enum type.Matthew Barnes2013-11-112-5/+6
|
* Rename e-mail-enums.h to e-mail-engine-enums.h.Matthew Barnes2013-11-113-15/+15
|
* Generate documentation for libemail-engine.Matthew Barnes2013-11-114-18/+15
|
* Bug 710797 - Name all the timeouts added with g_timeout_add()Bastien Nocera2013-10-301-3/+6
|
* Fix error handling glitch in mail_session_send_to_thread().Matthew Barnes2013-10-291-4/+4
| | | | | | | | | | If sending a message fails but the user was already connected to the MTA, the error is missed and not handled until further into the logic, where it's treated as though sending succeeded and only post-processing failed. This results in the user seeing a copy of the message in Sent, but the message was never actually sent. Fallout from the investigation of bug 710807.
* Adapt to Camel's proxy resolver API changes.Matthew Barnes2013-10-261-57/+120
|
* EMailSession: Implement ref_proxy_resolver() method.Matthew Barnes2013-09-281-23/+43
| | | | | Eventually I'd like to add an ESourceExtension for proxy settings, but for now we'll live with the old and somewhat broken EProxy API.
* Adapt to CamelSession trust_prompt() changes.Matthew Barnes2013-09-271-22/+27
|
* Adapt to Camel API changes.Matthew Barnes2013-09-248-22/+19
|
* Miscellaneous cleanups.Matthew Barnes2013-09-084-24/+45
|
* MailFolderCache: Avoid g_signal_handlers_disconnect_matched().Matthew Barnes2013-08-171-4/+0
| | | | store_info_unref() already disconnects the signal handlers one by one.
* Bug #705446 - Old POP3 mails can be removed before getting themMilan Crha2013-08-081-4/+28
|
* Bug 704682 - Runtime warning in MailFolderCacheMatthew Barnes2013-07-281-5/+10
|
* Reimplement mail_folder_cache_note_store().Matthew Barnes2013-07-192-200/+237
| | | | | | | * Use GIO-style async parameters. * Add mail_folder_cache_note_store_finish(). * Do the bulk of the work in a thread so the logic is more readable. * Queue multiple calls for the same CamelStore and share the results.
* Add e_mail_store_go_offline_sync().Matthew Barnes2013-07-192-20/+35
| | | | Mostly for symmetry with e_mail_store_go_online_sync().
* Add e_mail_store_go_online_sync().Matthew Barnes2013-07-192-17/+35
| | | | Need for new mail_folder_cache_note_store() implementation.
* e-mail-store-utils.c cleanups.Matthew Barnes2013-07-191-57/+61
|
* MailFolderCache: Fix a crash when renaming folders.Matthew Barnes2013-07-191-1/+1
|
* MailFolderCache: Make UpdateClosure less cryptic.Matthew Barnes2013-07-181-44/+62
| | | | | Directly indicate the signal ID to be emitted from the update callback instead of playing silly games with boolean flags.
* MailFolderCache: Thread-safety improvements and other cleanups.Matthew Barnes2013-07-181-404/+803
| | | | | | | | | | * Stop using recursive mutexes. * Give StoreInfo a reference count. * Give FolderInfo a reference count. * Track CamelFolders with GWeakRef instead of weak pointers. * Submit updates directly to the GMainContext, like we do in EDS, instead of dequeuing them all from a single idle callback that we then have to track.
* MailFolderCache: Remove unnecessary "stores" checks.Matthew Barnes2013-07-181-16/+2
| | | | | The "stores" hash table is created on instance init and destroyed with the cache itself. It is never NULL during MailFolderCache's lifetime.
* mail_folder_cache_get_folder_info_flags: Change parameters.Matthew Barnes2013-07-182-49/+34
| | | | | | | | Take a CamelStore and folder name instead of a CamelFolder. CamelStore and folder name can easily be obtained from either a folder URI or a CamelFolder instance, and the function is more efficient with separate parameters.
* Add mail_folder_cache_ref_folder().Matthew Barnes2013-07-182-24/+33
| | | | | | | | Replaces mail_folder_cache_get_folder_from_uri(). Returns the CamelFolder for the CamelStore and folder name if available, or else NULL if a CamelFolder instance is not yet cached. This function does not block.
* Add mail_folder_cache_has_folder_info().Matthew Barnes2013-07-183-10/+73
| | | | | | | | | Returns whether MailFolderCache has information about the folder described by the CamelStore and folder name. This does not necessarily mean it has the CamelFolder instance, but it at least has some meta-data about it. You can use this function as a folder existence test.
* MailFolderCache: Add a read-only "main-context" property.Matthew Barnes2013-07-182-0/+62
| | | | | | New functions: mail_folder_cache_ref_main_context()
* MailFolderCache: Remove the "session" property.Matthew Barnes2013-07-183-135/+42
| | | | | | | | | | | | | | | | | | I considered replacing the "session" property with a "registry" property, but that just complicates application startup even more. Fact is, if we have a CamelStore then we can get the CamelSession and even the ESourceRegistry from it. Kinda dirty, but works. It goes a little something like this... camel_service = CAMEL_SERVICE (camel_store); camel_session = camel_service_get_session (camel_service); mail_session = E_MAIL_SESSION (camel_session); registry = e_mail_session_get_registry (mail_session); Removed functions: mail_folder_cache_get_session()
* MailFolderCache: Remove unused "unsub" field.Matthew Barnes2013-07-181-6/+3
|
* Remove unused mail_folder_cache_get_folder_has_children().Matthew Barnes2013-07-182-40/+0
|
* Miscellaneous cleanups.Matthew Barnes2013-07-071-1/+1
|
* Bug 703181 - Asked for password which is never usedDavid Woodhouse2013-06-281-9/+27
| | | | | | | When the SASL mechanism reports that it can try an "empty password", give it the opportunity to do so before we demand that the user provide one. (Patch mostly by mbarnes; thanks)
* Remove em_utils_uids_free().Matthew Barnes2013-06-152-18/+0
| | | | No longer used. We actually had this defined in two places.
* message_list_get_selected: Give the returned array a free func.Matthew Barnes2013-06-151-4/+4
| | | | | | The returned UID array now has a built-in "free" function for its elements and should be released by callers with g_ptr_array_unref() rather than em_utils_uids_free() or some equivalent.
* Remove global "shell_builtin_backend" variable.Matthew Barnes2013-06-142-12/+0
| | | | No longer used. Always nice to remove a dirty hack on a dirty hack.
* Bug #250046 - Empty group address as recipient prevents message sendMilan Crha2013-06-044-0/+49
| | | | | | | Empty group addresses were left as-is when sending an email directly, not through Outbox, which could cause a send error through SMTP. Expanding group addresses, or removing empty groups, from a list or recipients before sending the message fixes the issue.
* e_mail_session_send_to(): Don't silently ignore if we can't send.Matthew Barnes2013-05-301-7/+2
| | | | | | | If sending fails for any reason, return a suitable GError. Don't just return silently. Also check for a wider range of errors indicating the service is unavailable in composer_send_completed(). This will trigger the "save-to-outbox" info alert.
* 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.
* Utilize the new EMailSession functions when sending.Matthew Barnes2013-05-252-291/+148
|
* EMailSession: Add helper functions for sending messages.Matthew Barnes2013-05-252-13/+687
| | | | | | | | | | | New functions: e_mail_session_get_fcc_for_message_sync() e_mail_session_get_fcc_for_message() e_mail_session_get_fcc_for_message_finish() e_mail_session_ref_transport() e_mail_session_ref_default_transport() e_mail_session_ref_transport_for_message()
* Coding style and whitespace cleanup.Matthew Barnes2013-05-081-10/+10
|
* build: Fix srcdir != builddir from gitMatthew Barnes2013-04-181-4/+4
| | | | | | | | | Mimicing Colin's commit fb9b02e for E-D-S. We can't do (cd $(srcdir); ...) and inside reference $(top_srcdir) because that variable uses a *relative* path. Thus we copy the approach from gnome-shell of explicitly using addprefix to append the source directory.
* Bug #681837 - Make enum type registration thread safeMilan Crha2013-04-123-74/+9
|
* Bug #271262 - Allow Send/Receive of local stores in offlineMilan Crha2013-04-092-4/+20
|
* e_mail_folder_uri_parse: Handle local mbox folder URIs.Matthew Barnes2013-04-081-2/+24
| | | | | | | | | In Evolution 2.x, the local mail store used mbox format. Camel will not recognize the old-style "mbox:///.../local" folder URIs, since the local mail store is now Maildir format. Test for this and work around it. This should re-fix bug 638307 which was a nuisance error about failing to append to a "mbox:///.../local#Sent" folder after sending a message.
* Bug #687412 - Crash under mail_folder_cache_service_removed()Milan Crha2013-03-251-2/+8
|
* Use e_source_registry_list_enabled() where appropriate.Matthew Barnes2013-03-172-6/+4
|
* Do not leak each sent messageMilan Crha2013-03-151-1/+0
| | | | Caused by double-reffing the message object.
* Bug #693254 - Mail reply uses wrong "From:" accountMilan Crha2013-03-052-10/+51
|
* Remove em_utils_in_addressbook().Matthew Barnes2013-02-272-318/+0
| | | | No longer used.
* Remove emu_free_mail_cache().Matthew Barnes2013-02-272-106/+0
| | | | No longer needed, since the resources it frees are no longer used.
* Remove emu_remove_from_mail_cache().Matthew Barnes2013-02-272-48/+0
| | | | No longer used.
* Remove emu_remove_from_mail_cache_1().Matthew Barnes2013-02-272-15/+0
| | | | No longer used.
* Remove em_utils_contact_photo().Matthew Barnes2013-02-272-103/+0
| | | | No longer used.
* EMailSession: Remove get_filter_driver() implementation.Matthew Barnes2013-02-271-61/+0
| | | | | This gets overshadowed by EMailUISession's implementation, which also sets up the filter log file plus much more.
* Move CamelSession.lookup_addressbook() handler to EMailUISession.Matthew Barnes2013-02-271-23/+0
| | | | | Have the new handler call e_mail_ui_session_check_known_address_sync() instead of em_utils_in_addressbook().
* EMailSession: Use camel_session_ref_main_context().Matthew Barnes2013-02-221-1/+3
|
* Use camel_service_ref_session().Matthew Barnes2013-02-116-53/+105
|
* G_PRIORITY_HIGH_IDLE is sufficient to beat GTK+ redraws.Matthew Barnes2013-02-093-11/+18
| | | | | | 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/+5
|
* Bug #683867 - Schedule actions with higher idle priorityMichel Dänzer2013-02-093-8/+8
|
* Revert "Bug #683867 - Schedule actions with higher idle priority"Matthew Barnes2013-02-083-8/+8
| | | | | | | | | 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-8/+8
|
* Incorporate ESourceUOA.Matthew Barnes2013-02-011-8/+51
| | | | | 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-76/+6
| | | | Instead of e_client_utils_open_new() and e_book_client_new().
* Adapt to CamelSession API changes.Matthew Barnes2013-01-131-12/+9
|
* Use g_hash_table_add() when using a hash table as a set.Matthew Barnes2013-01-122-12/+19
| | | | | | | 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.
* Coding style and whitespace cleanup.Matthew Barnes2013-01-113-16/+19
|
* Move CamelSaslXOAuth2 to libemail-engine.Matthew Barnes2012-12-314-0/+202
| | | | | | | | | | | This now uses e_source_get_oauth2_access_token_sync() instead of talking directly to GNOME Online Accounts and therefore no longer has to live in the "online-accounts" module. The "online-accounts" module will be removed in Evolution 3.9.1, when we can require GNOME Online Accounts 3.8. Evolution 3.8 will still support older versions of GNOME Online Accounts, which use OAuth 1.0a tokens for Google authentication.
* e-passwords: Remove unused function parameters.Matthew Barnes2012-12-171-4/+4
|
* Use cancellable mutex for photo and address book lookups in mailerMilan Crha2012-12-151-40/+51
|
* Implement and use CamelSession::trust_prompt()Milan Crha2012-12-141-26/+104
|
* 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-1318-26/+1897
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Bug #579315 - Identify filter names in filtering errorsMilan Crha2012-12-101-3/+12
|
* Bug #315317 - Add option to expunge messages on folder leaveMilan Crha2012-12-052-2/+58
|
* Bug #525932 - Unhelpful "Error while Filtering Selected Messages."Milan Crha2012-12-031-4/+16
|
* Address couple issues found by a Coverity scanMilan Crha2012-11-301-1/+1
|
* Bug #688819 - It's possible to make Evolution stop sending emailsMilan Crha2012-11-231-1/+7
|
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-9/+8
|
* Replace deprecated GLib symbols (as of GLib 2.34.x)Milan Crha2012-11-062-53/+53
|
* e_flaw_wait_until() expects gint64, not gintMilan Crha2012-11-061-1/+1
|
* Replace e_flag_timed_wait() with e_flag_wait_until()Milan Crha2012-11-061-4/+4
|
* mail_session_refresh_cb(): Skip disabled sources.Matthew Barnes2012-11-011-2/+10
|
* Prefer e_source_registry_check_enabled().Matthew Barnes2012-10-263-41/+3
| | | | | Prefer e_source_registry_check_enabled() over e_source_get_enabled() for most instances where we want to exclude disabled data sources.
* Bug #680497 - POP3 re-adds messages to local InboxMilan Crha2012-10-251-36/+55
|
* Bug #268618 - Add: Save replies in the folder of the message being replied toMilan Crha2012-10-222-8/+14
| | | | | | Follow-up fixes: a) don't copy to origin folder for forwarded messages b) use a real folder when reply/forward from a vFolder
* Bug #268618 - Add: Save replies in the folder of the message being replied toMilan Crha2012-10-192-2/+28
|
* MailFolderCache: Silently ignore cancellation errors.Matthew Barnes2012-10-181-1/+5
|
* Bug #683849 - Add account name to »Checking for new mail«Milan Crha2012-10-161-1/+2
|
* Remove e_mail_junk_filter_available().Matthew Barnes2012-10-013-39/+3
| | | | | | | | Because we now check for junk filtering software in configure, junk filtering modules can now safely assume the required junk filtering software is installed. No more having the module installed but not the required software. If this invariant is broken, an error will be shown for each new message received.
* Bug #678806 - Flush Outbox doesn't remove sent messagesMilan Crha2012-09-111-2/+4
|
* Bug #683349 - Crash when sending a mail from the Outbox folderMilan Crha2012-09-101-1/+1
|
* Bug #682425 - Can do network operations on disabled accountsMilan Crha2012-09-053-4/+44
|
* MailFolderCache: Remove dead code.Matthew Barnes2012-08-281-6/+0
| | | | No comment as to why it's disabled => has no value.
* MailFolderCache: Remove some unnecessary #includes.Matthew Barnes2012-08-281-3/+0
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-207-77/+84
|
* Add e_mail_session_append_to_local_folder().Matthew Barnes2012-08-152-0/+142
| | | | | | Asynchronous + synchronous convenience functions. Uses the EMailLocalFolder enumeration to specify a well-known folder.
* Adapt to CamelService API changes.Matthew Barnes2012-08-134-8/+22
| | | | | | 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-125-46/+102
| | | | | | | | | | | | 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()
* Adapt to CamelSession forward_to() changes.Matthew Barnes2012-08-121-164/+188
|
* Avoid using uninitialized variable in e_mail_folder_expunge_sync()Milan Crha2012-08-101-0/+1
|
* EMailSession: Minor code rearrangement.Matthew Barnes2012-08-091-23/+23
|
* Bug #677695 - Crash on quit under emu_free_mail_cache()Milan Crha2012-08-082-99/+115
| | | | | | | 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.
* Remove unused mail_disconnect_store().Matthew Barnes2012-07-262-61/+0
|
* Use template files to generate GEnumClass types.Matthew Barnes2012-07-183-5/+77
|
* Rework handling of GOA mail.Matthew Barnes2012-07-161-0/+84
| | | | | | | | | | | | | | | | | | | | 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?
* mail_session_add_service(): Make display-name binding one-way.Matthew Barnes2012-07-161-1/+0
| | | | | | | | | | | | | | | | We're leaking CamelService references when we remove a CamelService from a CamelSession. I don't yet know where or how. If we remove a CamelService without finalizing the corresponding ESource, and then add a new CamelService with the same UID, the ESource will have a bidirectional "display-name" binding to multiple CamelService instances. This creates an endless cascade of "notify" signals as soon as any of the bound "display-name" properties change. Until I can fix the leaking CamelService references, make the binding one-way: ESource -> CamelService. This means the ESource's display name is authoritative, and camel_service_set_display_name() MUST NOT be called explicitly or else it will become out-of-sync with the ESource.
* mail_session_add_from_source(): Warn if backend name is unset.Matthew Barnes2012-07-151-4/+1
| | | | Even send-only accounts should have a backend name of "none".
* Bug #223309 - Add "Include Subfolders" to "Search Folder Sources"Milan Crha2012-07-111-78/+167
|
* Bug #548778 - Use original location when replying in Search FolderMilan Crha2012-07-113-16/+37
|
* Bug #677695 - Freeze on quit in emu_free_mail_cache()Milan Crha2012-07-111-18/+91
|
* Add "auto-update" option to Search Folder EditorMilan Crha2012-07-101-18/+16
|
* Always notify about finished updated_folders() callMilan Crha2012-07-101-8/+5
|
* Remove mail_expunge_folder().Matthew Barnes2012-07-092-282/+5
| | | | Use e_mail_folder_expunge() instead.
* Add e_mail_folder_expunge().Matthew Barnes2012-07-092-0/+297
| | | | To replace mail_expunge_folder().
* Use folder display name in status messages when possible.Matthew Barnes2012-07-091-4/+6
|
* Remove mail_refresh_folder().Matthew Barnes2012-07-092-48/+0
| | | | Use e_mail_reader_refresh_folder() instead.
* Add e_mail_reader_unsubscribe_folder_name().Matthew Barnes2012-07-092-123/+0
| | | | Replaces e_mail_session_unsubscribe_folder().
* Adapt to CamelStore API change.Matthew Barnes2012-07-071-2/+2
| | | | compare_folder_name() -> equal_folder_name()
* Bug #677604 - Critical warnings on evolution startMilan Crha2012-07-031-1/+4
|
* Coding style and whitespace cleanup.Matthew Barnes2012-06-252-4/+4
|
* Make em_utils_in_addressbook() cancellableDan Vrátil2012-06-143-4/+6
|
* Bug #674887 - Hang on sender's photo lookupDan Vrátil2012-06-142-39/+8
|
* Bug 677995 - Asks password for disabled mail accountMatthew Barnes2012-06-132-13/+0
| | | | | | | | | | | | 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.
* Remove "enable-local" and "enable-vfolders" GSettings key.Matthew Barnes2012-06-091-7/+1
| | | | | 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.
* CamelNullStoreClass: Override settings_type.Matthew Barnes2012-06-081-0/+5
| | | | | | CamelStoreClass bumps the settings_type to CAMEL_TYPE_STORE_SETTINGS, which has a filter-inbox property. But we don't want ANY settings in a CamelNullStore, so revert the settings_type to CAMEL_TYPE_SETTINGS.
* EMailSession: Use e_source_camel_generate_subtype().Matthew Barnes2012-06-061-1/+1
| | | | | | | | | Use e_source_camel_generate_subtype() to register an ESourceCamelNone class based on the newly-registered "none" CamelProvider. e_source_camel_register_types() won't pick up the new provider if it was already called prior to the provider being registered. That might be a bug... I'm not sure yet. The Camel/ESource integration is kinda messy.
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-0410-37/+11
|
* Adapt mail to the new ESource API.Matthew Barnes2012-06-0313-782/+1711
|
* Bug #673946 - Cannot delete search foldersMilan Crha2012-05-311-3/+4
|
* Adapt to vFolder changes from evolution-data-serverMilan Crha2012-05-311-7/+15
|
* Adapt to CamelService API changes.Matthew Barnes2012-05-206-87/+18
| | | | | | 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.
* Use g_simple_async_result_set_check_cancellable().Matthew Barnes2012-05-134-0/+36
| | | | Always call it immediately after g_simple_async_result_new().
* Whitespace cleanups.Matthew Barnes2012-05-131-1/+1
|
* Bug #674381 - Show contact photo from address book doesn't workDan Vrátil2012-04-281-21/+22
|
* Adapt to libedataserver[ui] changes.Matthew Barnes2012-04-221-2/+2
|
* Bug #465076 - INBOX confusion with outboxMilan Crha2012-04-192-47/+69
|
* Remove forgotten debug printsMilan Crha2012-04-181-2/+0
|
* Bug #667046 - Outgoing filter cannot override used Sent folderMilan Crha2012-04-171-1/+22
|
* Bug #672916 - Spam is not detected automaticallyMilan Crha2012-04-021-16/+12
|
* Whitespace cleanup.Matthew Barnes2012-04-023-15/+16
| | | | | Replace 8-space indentation with tab characters, and various other automated cleanups.
* Add ability to specify INBOX for non-storage type accounts. Email daemonSrinivasa Ragavan2012-03-292-7/+63
| | | | allows to store mails in individual INBOX rather than a common one.
* Fix more compiler warnings.Matthew Barnes2012-03-041-1/+1
|
* Add missing linker flags.Matthew Barnes2012-03-041-0/+2
|
* Whitespace cleanups.Matthew Barnes2012-03-032-8/+8
|
* Fix some "unused-but-set-variable" warnings.Matthew Barnes2012-03-031-2/+1
|
* Move vfolders to libemail-engine and rest as mail-vfolder-ui. It all works andSrinivasa Ragavan2012-03-035-3/+1257
| | | | | the daemon can now start the vfolder storage without bothering much with the UI.
* Coding style and whitespace cleanup.Matthew Barnes2012-02-206-37/+80
|
* Bug #659394 - Missing plural handling for "Failed to send %d of %d messages"Milan Crha2012-02-161-1/+4
|
* Bug #670014 - Remove-duplicates reads all messages into memoryMilan Crha2012-02-161-43/+94
|
* Bug #591436 - Add -avoid-version to LDFLAGSH. Habighorst2012-02-151-1/+1
|
* Fix libemail-engine.so install path.Matthew Barnes2012-02-072-2/+3
| | | | | Keep this in Evolution's private library directory until the APIs are fully documented and we begin using libtool versioning on the library.
* Bug 667576 - Junk between messages after saving an mbox fileJames Bottomley2012-02-021-9/+19
|
* e-mail-store-utils.c: Use the service's display name in status messages.Matthew Barnes2012-01-311-12/+18
| | | | | The display name is a user-provided name for the service. We should be using that in all status messages the refer to the service by name.
* Bug 668479: Missing transport-only accounts in PreferencesMatthew Barnes2012-01-254-31/+171
| | | | | | | | | | | Evolution kinda sorta supports multiple identities by allowing users to set up so-called "transport-only" accounts by choosing "None" for the account type. Add a CamelStore subclass for those types of accounts so they get added to EMailAccountStore. It's just a stupid hack to keep another stupid hack working, but this should sustain us until we can support multiple identities FOR REAL.
* Coding style and whitespace cleanup.Matthew Barnes2012-01-193-19/+12
|
* Introduce libemail-engine and libemail-utils.Matthew Barnes2012-01-1923-0/+11269
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.