aboutsummaryrefslogtreecommitdiffstats
path: root/mail/session.c
Commit message (Collapse)AuthorAgeFilesLines
* Whole buncha leak fixes thanks to PurifyMatthew Loper2000-08-171-4/+4
| | | | svn path=/trunk/; revision=4862
* Don't deadlock on PGP key requestPeter Williams2000-08-161-1/+6
| | | | svn path=/trunk/; revision=4841
* Update this for CamelObject (try_inline_pgp): Deal with decrypting hereDan Winship2000-08-121-26/+15
| | | | | | | | | | | | | | | | | | | * mail-format.c (destroy_part): Update this for CamelObject (try_inline_pgp): Deal with decrypting here rather than trying to pawn the data off to handle_multipart_encrypted, since it most likely won't be correct (won't have the proper MIME headers inside the encrypted part). (handle_multipart_encrypted): Add code from Nathan Thompson-Amato to re-MIME-parse the decrypted data after decrypting. * mail-crypto.c (mail_crypto_openpgp_{de,en}crypt): Get the password here rather than having it passed in. Remove some dead code. * session.c (mail_request_dialog): Allow this to work in either a sync or an async context. svn path=/trunk/; revision=4751
* Fixed some warnings.Christopher James Lahey2000-08-111-1/+1
| | | | | | | | | 2000-08-10 Christopher James Lahey <clahey@helixcode.com> * folder-browser-factory.c, message-list.c, message-thread.c, session.c: Fixed some warnings. svn path=/trunk/; revision=4722
* Don't call e_setup_base_dir. It was wrong and it doesn't exist any more.Dan Winship2000-08-111-3/+0
| | | | | | | | | | | | | | | | | | | * session.c (session_init): Don't call e_setup_base_dir. It was wrong and it doesn't exist any more. * component-factory.c (owner_set_cb): Update for changed prototype, and record the evolution_homedir. Move call to mail_config_init here from session.c so it happens after evolution_dir is initialized. * mail.h: define "extern char *evolution_dir;" (formerly in e-util/e-setup.h) * component-factory.c, mail-callbacks.c, mail-config-gui.c, mail-config.c, mail-display.c, mail-format.c, mail-ops.c, mail-tools.c, session.c: Remove "e-util/e-setup.h" include. svn path=/trunk/; revision=4712
* Merge with camel-async.Peter Williams2000-08-111-4/+88
| | | | svn path=/trunk/; revision=4687
* New code to spawn off GPG/PGP to do stuff. Currently only deals withDan Winship2000-08-021-33/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mail-crypto.c: New code to spawn off GPG/PGP to do stuff. Currently only deals with decryption. From Nathan Thompson-Amato <ndt@jps.net>, with bunches of changes from me. * session.c (mail_request_dialog): Expose the password dialog to the rest of the app (for use by the GPG/PGP code). * mail-format.c (handle_text_plain): Handle special inline data types. (Currently uuencoding, BinHex, and PGP encryption.) This is not the best way to deal with it, but it works for now. (try_inline_pgp): Convert an inline PGP-encrypted message into a multipart/encrypted part. (try_inline_binhex): Convert an inline BinHex attachment into an application/mac-binhex40 part (which we currently don't deal with...) (try_uudecoding): Convert a uuencoded attachment to an application/octet-stream part. (handle_multipart_encrypted): Deal with RFC2015 MIME-encoded PGP encrypted messages. (From ndt.) * mail-display.c (mail_text_write, mail_error_write): New utility functions. * Makefile.am (evolution_mail_SOURCES): add mail-crypto.c svn path=/trunk/; revision=4466
* Fix boobooPeter Williams2000-06-271-0/+2
| | | | svn path=/trunk/; revision=3755
* Land most of the stuff to move fetch_mail, send_mail, expunge_folder, ↵Peter Williams2000-06-241-0/+21
| | | | | | init_imap, and init_news to async operation. svn path=/trunk/; revision=3711
* Update for CamelAuthCallback changes. (Uncache passwords when asked to.)Dan Winship2000-06-101-19/+35
| | | | | | | * session.c (evolution_auth_callback): Update for CamelAuthCallback changes. (Uncache passwords when asked to.) svn path=/trunk/; revision=3497
* Remember passwords between calls. (forget_passwords): Callback for "ForgetDan Winship2000-06-061-2/+36
| | | | | | | | | | | * session.c (evolution_auth_callback): Remember passwords between calls. (forget_passwords): Callback for "Forget Passwords" menu item. * folder-browser-factory.c (control_activate): (control_deactivate): Add "Forget Passwords" menu item. svn path=/trunk/; revision=3434
* Revert removal of e_setup_base_dir.Christopher James Lahey2000-06-021-0/+1
| | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * session.c: Revert removal of e_setup_base_dir. svn path=/trunk/; revision=3379
* Don't call e_setup_base_dir.Christopher James Lahey2000-06-021-1/+0
| | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * session.c: Don't call e_setup_base_dir. svn path=/trunk/; revision=3361
* Don't hardcode "inbox" here.Dan Winship2000-05-071-42/+2
| | | | | | | | | | | | | | | | | | | * folder-browser-factory.c (folder_browser_factory): Don't hardcode "inbox" here. * folder-browser.c (folder_browser_set_uri): Don't hardcode "inbox" here either. (folder_browser_load_folder): Create a new store according to the folder browser's URI, and load the mbox file from that store. Parts of this are temporary. * session.c, mail.h: There is no longer a global store, just a global session. * mail-config.c, mail-ops.c: Update for default_session -> session change. fetch_mail is currently broken. svn path=/trunk/; revision=2853
* consolidate mail-format.h, mail-identify.h, mail-ops.h, main.h andDan Winship2000-05-071-2/+1
| | | | | | | | * mail.h: consolidate mail-format.h, mail-identify.h, mail-ops.h, main.h and session.h into this new file. There's no reason to have a .h for every .c. svn path=/trunk/; revision=2830
* This is no longer necessary.Dan Winship2000-04-301-7/+0
| | | | | | | | | * session.c (session_providers_init): This is no longer necessary. * mail-ops.c (fetch_mail): Remove kludge to load remote provider, as camel can do it by itself now. svn path=/trunk/; revision=2692
* More changes than a man can remember.Bertrand Guiheneuf2000-03-061-4/+4
| | | | | | The UI works now. svn path=/trunk/; revision=2074
* Add "authenticator" to CamelSession and update things to use it.Dan Winship2000-02-221-1/+41
| | | | svn path=/trunk/; revision=1890
* update for CamelSession changesDan Winship2000-02-221-1/+4
| | | | svn path=/trunk/; revision=1889
* Add session.cArturo Espinosa2000-02-171-0/+67
svn path=/trunk/; revision=1800