aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine
Commit message (Collapse)AuthorAgeFilesLines
* 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.