aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine/mail-folder-cache.h
Commit message (Collapse)AuthorAgeFilesLines
* Bug 721545 - License text contains obsolete FSF postal addressMatthew Barnes2014-01-081-10/+9
|
* Convert libemail-engine to a single-include model.Matthew Barnes2013-11-121-0/+4
| | | | Use: #include <libemail-engine/libemail-engine.h>
* Reimplement mail_folder_cache_note_store().Matthew Barnes2013-07-191-13/+7
| | | | | | | * 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.
* mail_folder_cache_get_folder_info_flags: Change parameters.Matthew Barnes2013-07-181-1/+2
| | | | | | | | 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-181-4/+3
| | | | | | | | 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-181-0/+4
| | | | | | | | | 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-181-0/+2
| | | | | | New functions: mail_folder_cache_ref_main_context()
* MailFolderCache: Remove the "session" property.Matthew Barnes2013-07-181-6/+1
| | | | | | | | | | | | | | | | | | 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()
* Remove unused mail_folder_cache_get_folder_has_children().Matthew Barnes2013-07-181-4/+0
|
* Bug 677995 - Asks password for disabled mail accountMatthew Barnes2012-06-131-2/+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.
* Coding style and whitespace cleanup.Matthew Barnes2012-01-191-8/+7
|
* Introduce libemail-engine and libemail-utils.Matthew Barnes2012-01-191-0/+156
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.