aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-session.c
Commit message (Collapse)AuthorAgeFilesLines
* Use new CamelService:display-name property.Matthew Barnes2011-08-181-4/+6
| | | | Simplify, simplify...
* EMailSession: Configure settings when adding services.Matthew Barnes2011-08-151-0/+29
| | | | | | | | | Override CamelSession.add_service(). First chain up, then, if initialization was successful, call camel_settings_load_from_url() on the CamelSettings object in the new CamelService instance. Note that eventually we'll load CamelSettings values from a key file instead of from URL parameters. This is just a temporary measure.
* Convert junk filtering EPlugins to EExtensions.Matthew Barnes2011-07-141-42/+231
| | | | | | | | | | | | | | | | | We now have a proper junk mail filtering API. All junk filtering extensions must subclass EMailJunkFilter for user preferences and availability testing, and implement the CamelJunkFilter interface for the actual junk filtering and learning operations. The bogofilter module should be feature-equivalent to its former EPlugin. The spamassassin module is far more complex. It's nearly feature-equivalent to its former EPlugin, but I ditched the spamd respawning code since it seemed unnecessary for a mail client to have to deal with. If there's a huge outcry from users about it I'll reluctantly put it back, but I don't expect one. This gets us a step closer to killing off EConfig, and eventually the EPlugin framework itself.
* Adapt to CamelSession and e-passwords changes.Matthew Barnes2011-07-041-10/+4
|
* Bug #650671 - Service connect/disconnect not cancelled properlyMilan Crha2011-07-021-2/+2
|
* Fix few memory leaksMilan Crha2011-06-151-0/+3
|
* Coding style and whitespace cleanups.Matthew Barnes2011-06-091-4/+8
|
* Including <glib.h> directly is rarely needed.Matthew Barnes2011-05-281-1/+0
|
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-0/+2
|
* EMFolderTree: Store an EMailBackend instead of an EMailSession.Matthew Barnes2011-05-241-1/+8
| | | | | | | | All this so EMFolderTree can submit EActivity instances for async ops. You can obtain an EMailSession from an EMailBackend, but not vice versa. Creates lots of pretty ripples in the mail code, but ultimately reduces complexity. So it's a code cleanup of sorts.
* e_mail_session_uri_to_folder_sync(): Remove redundant status message.Matthew Barnes2011-05-121-5/+0
| | | | camel_store_get_folder() pushes an "Opening folder" message itself.
* Coding style cleanups.Matthew Barnes2011-05-091-1/+1
|
* Whitespace and coding style cleanups.Matthew Barnes2011-05-081-5/+12
|
* Random little coding style cleanups.Matthew Barnes2011-05-061-1/+0
|
* Simplify e_mail_session_uri_to_folder_sync().Matthew Barnes2011-05-061-67/+13
| | | | | | This relies on e_mail_folder_uri_parse() to handle 'email://' URIs. See the previous commit.
* EMailSession: Fix popb4smtp authentication.Matthew Barnes2011-05-031-6/+1
| | | | | Forgot I had already made CamelSaslPOPB4SMTP expect a CamelSource UID from camel_session_get_password().
* Simplify mail_session_get_password().Matthew Barnes2011-05-031-16/+13
| | | | | Utilizes the new capability in e_get_account_by_uid() to handle both CamelStore and CamelTransport UIDs.
* Adapt to extra arg in camel_session_get_service_by_url().Matthew Barnes2011-04-291-1/+1
|
* Adapt to new CamelSession background job API.Matthew Barnes2011-04-241-61/+6
|
* Bug 648308 - Do not display full folder URI in "Opening folder" activityDan Vrátil2011-04-221-2/+7
|
* Adapt to CamelService changes.Matthew Barnes2011-04-211-46/+46
|
* Adapt to sealed up CamelService.Matthew Barnes2011-04-181-5/+9
|
* Save account list when changing account after password promptMilan Crha2011-03-171-1/+3
| | | | | It was necessary to propagate the change into evolution-exchange, as found within bug #644644
* Coding style and whitespace cleanup.Matthew Barnes2011-03-061-1/+2
|
* Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-02-251-6/+2
|
* Bug 641756 - Fix warnings from GCC 4.6Kjartan Maraas2011-02-091-3/+0
| | | | GCC learned how to find dead assignments.
* Coding style and whitespace cleanup.Matthew Barnes2011-01-301-23/+47
|
* Bug #640704 - Replace GtkWindow::allow_shrink/grow with resizableMilan Crha2011-01-281-3/+1
|
* Adapt to Camel API changes.Matthew Barnes2011-01-241-1/+1
|
* Bug #634385 - Crash in smtp_connectMilan Crha2010-12-151-0/+6
|
* Kill mail_append_mail().Matthew Barnes2010-10-311-10/+14
| | | | Use e_mail_folder_append_message() instead.
* Simplify EActivity.Matthew Barnes2010-10-231-8/+22
| | | | | | | | | | | | | | | | | | | | | | With unintrusive error dialogs gone, we can cut some unnecessary bits out of EActivity. I'm also adding a new enum property called "state", which is one of: E_ACTIVITY_RUNNING E_ACTIVITY_WAITING E_ACTIVITY_CANCELLED E_ACTIVITY_COMPLETED The state of an activity must be explicitly changed. In particular, when the user cancels an activity the state should be set only after confirming the operation has been cancelled and not when cancellation is requested (e.g. after receiving a G_IO_ERROR_CANCELLED, not when the GCancellable emits "cancelled"). EActivityBar and EActivityProxy widgets have been updated to make this distinction clearer in the UI. E_ACTIVITY_WAITING will be used when activities have to be queued and dispatched in sequence, which I haven't written yet.
* Collect mail enum types in e-mail-enums.h.Matthew Barnes2010-10-191-1/+1
| | | | | | | | | And generate GTypes for each of them in e-mail-enumtypes.[ch]. Also, the glib-gen.mak script forced me to add a <mail/e-mail.h> top-level header, which really isn't a bad idea anyway. TODO: We should do this for calendar and addressbook too.
* Move more account utilities to e-account-utils.c.Matthew Barnes2010-10-191-3/+4
|
* Kill mail_config_service_set_save_passwd().Matthew Barnes2010-10-191-1/+1
|
* Kill mail_config_get_gconf_client().Matthew Barnes2010-10-191-12/+27
|
* Send errors to an EAlertSink instead of the task bar.Matthew Barnes2010-10-191-27/+76
| | | | | | This marks the end of unintrusive error dialogs, which were too unintrusive. We now show errors directly in the main window using the EAlert / EAlertSink framework.
* Give MailSession a permanent home.Matthew Barnes2010-10-131-0/+1376
Global variables in shared libraries are a bad idea. EMailBackend now owns the MailSession instance, which is actually now EMailSession. Move the blocking utility functions in mail-tools.c to e-mail-session.c and add asynchronous variants. Same approach as Camel. Replace EMailReader.get_shell_backend() with EMailReader.get_backend(), which returns an EMailBackend. Easier access to the EMailSession.