aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* warnings go byebyeIain Holmes2001-01-272-3/+11
| | | | svn path=/trunk/; revision=7856
* Try a control before an embeddable instead of an embeddable before aEttore Perazzoli2001-01-272-15/+25
| | | | | | control when embedding something in the mail display. svn path=/trunk/; revision=7845
* Check for a NULL service->url as we obviously can't subscribe to foldersJeffrey Stedfast2001-01-273-21/+46
| | | | | | | | | | | | | 2001-01-26 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c (populate_store_foreach): Check for a NULL service->url as we obviously can't subscribe to folders on a non-existant mail source :-) (subscribe_do_get_store): Check for a NULL url here too, not that we should need it anymore (due to the above fix) but it doesn't hurt. Also, should we wait on the thread? Probably doesn't matter. svn path=/trunk/; revision=7844
* Fix some compile problems and stop the blank mail appearing with the mboxIain Holmes2001-01-274-8/+53
| | | | | | importer svn path=/trunk/; revision=7843
* Fix an uninitialized variable use.Dan Winship2001-01-272-4/+8
| | | | | | | * mail-identify.c (mail_identify_mime_part): Fix an uninitialized variable use. svn path=/trunk/; revision=7838
* (Fixing an old FIXME)Jason Leach2001-01-262-12/+10
| | | | | | | | | | | | 2001-01-26 Jason Leach <jasonleach@usa.net> (Fixing an old FIXME) * component-factory.c (create_vfolder_storage): removing create_vfolder_storage, replacing call to it with vfolder_create_storage. svn path=/trunk/; revision=7837
* Define BROKEN_ETREE again, till we get this stuff fixed better.Not Zed2001-01-263-9/+24
| | | | | | | | | | | | | | | | | | | 2001-01-26 Not Zed <NotZed@Ximian.com> * message-list.c (build_tree): Define BROKEN_ETREE again, till we get this stuff fixed better. 2001-01-25 Not Zed <NotZed@Ximian.com> * folder-browser.c: Moved teh "sender contains" item to the end of the list, so the gui doesn't suddenly change on everyone. Fixed the sender-contains search string to be a valid s-exp (ha, didn't test it even once eh ettore?!) (search_save): Dont have the sender contains as the default case (which well, never gets called anyway), oops i guess i should've reviewed the patch a little more. svn path=/trunk/; revision=7835
* Fix the "sender contain" quicksearch rule by adding a missingEttore Perazzoli2001-01-262-3/+9
| | | | | | | parenthesis; also make it the last item on the OptionMenu instead of the first one. svn path=/trunk/; revision=7834
* Yes, some more screw ups...Iain Holmes2001-01-262-16/+7
| | | | | | This cvs thing, I don't get it, I wrap my hand in plastic to try to look through it. svn path=/trunk/; revision=7833
* Yes, I screwed up.Iain Holmes2001-01-261-2/+1
| | | | svn path=/trunk/; revision=7832
* GNOME_Evolution_Mail.oafinfoIain Holmes2001-01-266-10/+72
| | | | svn path=/trunk/; revision=7831
* ForgotIain Holmes2001-01-261-1/+21
| | | | svn path=/trunk/; revision=7829
* Neater importer stuff.Iain Holmes2001-01-2610-87/+578
| | | | svn path=/trunk/; revision=7828
* The following fixes seem to clear up the problem of new mail not beingJeffrey Stedfast2001-01-262-1/+17
| | | | | | | | | | | | | | | 2001-01-25 Jeffrey Stedfast <fejj@ximian.com> The following fixes seem to clear up the problem of new mail not being shown in the Inbox and/or other folders where mail had been delivered. * mail-send-recv.c (build_dialogue): Freeze the inbox. (receive_get_folder): Freeze folders before dumping them into the hash table. (free_folder_info): Thaw the folder. (free_info_data): Thaw the Inbox. svn path=/trunk/; revision=7824
* (Don't prompt about unsaved changes for replies/forwards that have notJason Leach2001-01-262-3/+16
| | | | | | | | | | | | | | 2001-01-25 Jason Leach <jasonleach@usa.net> (Don't prompt about unsaved changes for replies/forwards that have not actually been modified) * mail-callbacks.c (do_forward_inline): Unset the has_changed for the message composer. (do_forward_attach): Same here. (mail_reply): And here. svn path=/trunk/; revision=7819
* Check if a message part's content is available, and if it's not, queue aDan Winship2001-01-266-70/+167
| | | | | | | | | | | | | | | | | | | | | | | | * mail-format.c (mail_content_loaded): Check if a message part's content is available, and if it's not, queue a thread that will load it and then queue an idle-handler redisplay of the message. (call_handler_function): Call mail_content_loaded() on the part and don't try to display it if it's currently offline. (get_data_wrapper_text): Simplify a bit * mail-display.c (mail_display_queue_redisplay): rename and make non-static. (mail_display_redisplay): Use a "new and improved" way of preserving the GtkHTML scroll location. ("new and improved" is code for "gross and hackish", but there should be a real interface for this eventually.) (on_url_requested): Use mail_content_loaded() and don't write out offline cid: URLs * mail-identify.c (mail_identify_mime_part): Use mail_content_loaded and don't try to identify the data if it's offline. svn path=/trunk/; revision=7813
* Made the message list pay attention to the "cursor_activated" signalChristopher James Lahey2001-01-262-6/+11
| | | | | | | | | 2001-01-25 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Made the message list pay attention to the "cursor_activated" signal instead of the "cursor_change" signal. svn path=/trunk/; revision=7812
* More happy icons for the mailer.Ettore Perazzoli2001-01-252-1/+23
| | | | svn path=/trunk/; revision=7807
* Get the mailer to use the new menu icons.Ettore Perazzoli2001-01-252-8/+19
| | | | svn path=/trunk/; revision=7805
* Fix the subject match expression, which was missing a closing ).Not Zed2001-01-253-7/+23
| | | | | | | | | | | | 2001-01-24 Not Zed <NotZed@Ximian.com> * folder-browser.c (search_string[]): Fix the subject match expression, which was missing a closing ). * mail-send-recv.c (do_show_status): Escape any % signs in the string before setting the format string. svn path=/trunk/; revision=7797
* Added a 3rd page to the account editor to allow users to set their HTMLJeffrey Stedfast2001-01-255-0/+151
| | | | | | | | | | | | | 2001-01-24 Jeffrey Stedfast <fejj@ximian.com> * mail-config.glade: Added a 3rd page to the account editor to allow users to set their HTML sending preference and also allow them to change their message status timeout. * mail-accounts.c (construct): Added handlers for the send-html checkbox and for the mark-message-as timeout spinbutton. svn path=/trunk/; revision=7789
* Save the source and transport changes whether the user can connect to theJeffrey Stedfast2001-01-242-19/+15
| | | | | | | | | 2001-01-23 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (apply_changes): Save the source and transport changes whether the user can connect to the host or not. svn path=/trunk/; revision=7772
* Patch from Tuomas to have a "Sender contains" rule in the quicksearchEttore Perazzoli2001-01-242-0/+25
| | | | | | bar. svn path=/trunk/; revision=7764
* Fix spelling.Dan Winship2001-01-244-3/+8
| | | | | | | * folder-browser-factory.c: * mail-callbacks.c (send_receive_mail): Fix spelling. svn path=/trunk/; revision=7760
* Set the default folder when copying to mbox. This is a quick fix, i mightNot Zed2001-01-242-5/+14
| | | | | | | | | | 2001-01-24 Not Zed <NotZed@Ximian.com> * mail-ops.c (fetch_mail_fetch): Set the default folder when copying to mbox. This is a quick fix, i might need to do a slight redesign to clean it up. svn path=/trunk/; revision=7759
* Make sure the source->url is not NULL (which is perfectly valid).Jeffrey Stedfast2001-01-242-1/+9
| | | | | | | | | | | | | | | 2001-01-23 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (build_dialogue): Make sure the source->url is not NULL (which is perfectly valid). (mail_send_receive): Where oh where should my prototype be? (receive_get_folder): Make sure to ref the folder before you add it to the hash table. * openpgp-utils.c: * mail-crypto.c: A few minor tweaks. svn path=/trunk/; revision=7757
* Make sure the source->url is not NULL (which is perfectly valid).Jeffrey Stedfast2001-01-242-1/+30
| | | | | | | | | 2001-01-23 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (build_dialogue): Make sure the source->url is not NULL (which is perfectly valid). svn path=/trunk/; revision=7756
* A few minor tweaks.Jeffrey Stedfast2001-01-243-14/+24
| | | | | | | | | 2001-01-23 Jeffrey Stedfast <fejj@ximian.com> * openpgp-utils.c: * mail-crypto.c: A few minor tweaks. svn path=/trunk/; revision=7755
* Try turning off the BROKEN_ETREE thing. It seems to work ok (better?) now,Not Zed2001-01-232-3/+9
| | | | | | | | | | 2001-01-23 Not Zed <NotZed@Ximian.com> * message-list.c (build_tree): Try turning off the BROKEN_ETREE thing. It seems to work ok (better?) now, but if its still broken i'll remove it again for the next release. svn path=/trunk/; revision=7740
* Automagically fill in the user's default transport if he/she has setupJeffrey Stedfast2001-01-232-0/+32
| | | | | | | | | 2001-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (set_defaults): Automagically fill in the user's default transport if he/she has setup previous accounts. svn path=/trunk/; revision=7736
* Just wrote a temp way of reporting success/fail of PGP/MIME signatureJeffrey Stedfast2001-01-232-8/+18
| | | | | | | | | | 2001-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_signed): Just wrote a temp way of reporting success/fail of PGP/MIME signature verification status. svn path=/trunk/; revision=7735
* Add the Outlook importer.Iain Holmes2001-01-234-0/+367
| | | | svn path=/trunk/; revision=7731
* make mail_gui_thread non-static.Dan Winship2001-01-234-4/+41
| | | | | | | | | | | * mail-mt.[ch]: make mail_gui_thread non-static. * main.c (main): Set up signal handler for SEGV, BUS, FPE (segv_redirect): if a gnome-segv'ing signal is received in a thread other than mail_gui_thread, re-deliver it to that thread to work around a problem with the gnome segv handler. svn path=/trunk/; revision=7728
* Fixed to display subparts (other than the signature part) and started toJeffrey Stedfast2001-01-232-7/+47
| | | | | | | | | | 2001-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_signed): Fixed to display subparts (other than the signature part) and started to write a pretty way to show if the signature verified or not. svn path=/trunk/; revision=7724
* Fix a double-free problem.Not Zed2001-01-232-19/+16
| | | | | | | | 2001-01-23 Not Zed <NotZed@Ximian.com> * mail-crypto.c (pgp_mime_part_verify): Fix a double-free problem. svn path=/trunk/; revision=7722
* Oops, danw didn't know 'provider' could be NULL :-)Jeffrey Stedfast2001-01-232-2/+7
| | | | | | | | | 2001-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (incoming_type_changed): Oops, danw didn't know 'provider' could be NULL :-) svn path=/trunk/; revision=7721
* Change "Path:" label to "Namespace:" for IMAP. Use $MAILDIR rather thanDan Winship2001-01-232-2/+20
| | | | | | | | * mail-config-druid.c (incoming_type_changed): Change "Path:" label to "Namespace:" for IMAP. Use $MAILDIR rather than $MAIL for Maildir. If $MAIL isn't set, guess. svn path=/trunk/; revision=7714
* Function to add a store/storage mapping. (add_storage): Use it.Dan Winship2001-01-234-4/+32
| | | | | | | | | | | | | | | | | | | * component-factory.c (mail_hash_storage): Function to add a store/storage mapping. (add_storage): Use it. * mail-vfolder.c (vfolder_uri_to_folder): Use the vfolder name rather than the string "mbox" (which wasn't ever used for anything) in the vfolder URL. (Combined with the CamelVeeFolder change, this makes camel_folder_get_name() return a pretty name for vfolders now.) Call mail_hash_storage() to record the CamelVeeStore/vfolder_storage mapping. (Ideally, there'd only be a single CamelVeeStore... this is just a quick hack.) vfolders now display their unread count once you've looked at them once. svn path=/trunk/; revision=7712
* s/filter-driver.h/camel-filter-driver.h/ and update first arg ofDan Winship2001-01-231-0/+20
| | | | | | | | | | | | | | | | | | | | | | * mail-tools.h: s/filter-driver.h/camel-filter-driver.h/ and update first arg of mail_too_filter_get_folder_func * mail-tools.c (mail_tool_filter_get_folder_func): Update first arg to CamelFilterDriver * * mail-send-recv.c (receive_status): * mail-ops.c (send_queue_send): s/FILTER/CAMEL_FILTER/ * mail-callbacks.c: Remove filter-driver.h include * mail-accounts.c: Put the news functions inside #ifdef ENABLE_NNTP to prevent warnings about unused statis functions. * subscribe-dialog.c (subscribe_folders, unsubscribe_folders, subscribe_refresh_list): Update prototype to match BONOBO_UI_VERB. (populate_store_list): add a de-constifying cast svn path=/trunk/; revision=7711
* s/filter-driver.h/camel-filter-driver.h/ and update first arg ofDan Winship2001-01-237-14/+14
| | | | | | | | | | | | | | | | | | | | | | * mail-tools.h: s/filter-driver.h/camel-filter-driver.h/ and update first arg of mail_too_filter_get_folder_func * mail-tools.c (mail_tool_filter_get_folder_func): Update first arg to CamelFilterDriver * * mail-send-recv.c (receive_status): * mail-ops.c (send_queue_send): s/FILTER/CAMEL_FILTER/ * mail-callbacks.c: Remove filter-driver.h include * mail-accounts.c: Put the news functions inside #ifdef ENABLE_NNTP to prevent warnings about unused statis functions. * subscribe-dialog.c (subscribe_folders, unsubscribe_folders, subscribe_refresh_list): Update prototype to match BONOBO_UI_VERB. (populate_store_list): add a de-constifying cast svn path=/trunk/; revision=7708
* Added temp profiling files.Not Zed2001-01-222-1/+7
| | | | | | | | 2001-01-22 Not Zed <NotZed@Ximian.com> * .cvsignore: Added temp profiling files. svn path=/trunk/; revision=7706
* remove a warning with conditional news compilation.Not Zed2001-01-2211-1497/+593
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-22 Not Zed <NotZed@Ximian.com> * component-factory.c (owner_set_cb): remove a warning with conditional news compilation. * mail-ops.h: Cleaned up the header list. * folder-browser-factory.c: Replace the old get_send mail with the new one (button). * mail-ops.c (set_x_mailer): (mail_load_evolution_rule_context): (mail_do_fetch_mail): (mail_do_filter_ondemand): (mail_send_mail_old): (mail_do_send_queue): All removed, (for) now lives in mail-send-recv.c. (load_context): (setup_filter_driver): (filter_get_folder): (mail_filter_folder): (mail_fetch_mail): (mail_update_subfolders): (mail_send_mail): (mail_send_queue): New equivalents of all these fundtions, moved from mail-send-recv.c ... (mail_filter_on_demand): Moved here too. (mail_load_filter_context): Export this. * mail-callbacks.c (apply_filters): Use the new mail_filter_on_demand() call. (send_receieve_mail): Use mail_send_receive to do the work. Add a little error handling here that used to be elsewhere. (send_queued_mail): Removed. (fetch_mail): Removed. (select_first_unread): #ifdef'd this out. Not sure if this still makes sense, but it doesn't get run right now anyway. (composer_postpone_cb): Fix the setting of message flags. You dont need to get them first, ever. * mail-send-recv.c (mail_send_message): Dont use mail_tool_send_via_transport anymore (it does nothing useful). * mail-tools.c (mail_tool_camel_lock_up): Turned into a noop. (mail_tool_camel_lock_down): And here too. (mail_tool_move_folder_contents): Removed from the code (hasn't bene used for ages). (mail_tool_send_via_transport): Removed, it doesn't save anything. svn path=/trunk/; revision=7702
* Helps if I spell stuff correctly so it can pass the tests ;-)Jeffrey Stedfast2001-01-223-4/+10
| | | | | | | | | 2001-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (mail_crypto_is_rfc2015_signed): Helps if I spell stuff correctly so it can pass the tests ;-) svn path=/trunk/; revision=7697
* Initialize OpenPGP.Jeffrey Stedfast2001-01-224-20/+25
| | | | | | | | | | | | 2001-01-21 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (owner_set_cb): Initialize OpenPGP. * openpgp-utils.c (openpgp_init): No longer takes a passphrase callback, we'll just use the mail-session one. Makes life simpler. (pgp_get_passphrase): Use mail_session_request_dialog(). svn path=/trunk/; revision=7694
* Remove the X-Evolution header before we send.Jeffrey Stedfast2001-01-222-3/+9
| | | | | | | | | 2001-01-21 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (do_send_queue): Remove the X-Evolution header before we send. svn path=/trunk/; revision=7689
* Don't forget to unref the filters. (pgp_mime_part_verify): Same.Jeffrey Stedfast2001-01-222-27/+32
| | | | | | | | | | | | | | | 2001-01-21 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (pgp_mime_part_sign): Don't forget to unref the filters. (pgp_mime_part_verify): Same. (pgp_mime_part_encrypt): Same. (pgp_mime_part_decrypt): Take NotZed's advice and use camel_stream_mem_new_with_buffer instead of writing to a new stream_mem. Also use camel_data_wrapper_construct_from_stream instead of creating a parser and using that. svn path=/trunk/; revision=7687
* Updated header comment and fixed some ref/unref count problems in theJeffrey Stedfast2001-01-212-6/+12
| | | | | | | | | | | | | | | | 2001-01-21 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c: Updated header comment and fixed some ref/unref count problems in the various functions. Also fixed some other little things. (pgp_mime_part_encrypt): Do some canonical CRLF action before encrypting. (pgp_mime_part_sign): Make sure we are the owners of the byte array. (pgp_mime_part_verify): Same. (pgp_mime_part_encrypt): Same. (pgp_mime_part_decrypt): Same. svn path=/trunk/; revision=7682
* Updated header comment and fixed some ref/unref count problems in theJeffrey Stedfast2001-01-212-25/+33
| | | | | | | | | | | | 2001-01-21 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c: Updated header comment and fixed some ref/unref count problems in the various functions. Also fixed some other little things. (pgp_mime_part_encrypt): Do some canonical CRLF action before encrypting. svn path=/trunk/; revision=7680
* Added draw-focus="true" and selection-mode="browse" attributes to theChristopher James Lahey2001-01-212-4/+9
| | | | | | | | | | | | 2001-01-21 Christopher James Lahey <clahey@helixcode.com> * message-list.c (message_list_get_layout): Added draw-focus="true" and selection-mode="browse" attributes to the ETableSpecification. (message_list_construct): Removed setting the "draw_focus" argument since it doesn't exist any more. svn path=/trunk/; revision=7674
* Init a cancel field in the message. (mail_msg_free): Free it.Not Zed2001-01-216-113/+722
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-21 Not Zed <NotZed@Ximian.com> * mail-mt.c (mail_msg_new): Init a cancel field in the message. (mail_msg_free): Free it. (mail_msg_cancel): New function to attempt to cancel an operation by id. Impelementation functions can still be uncancellable by not registering for cancellation, etc, or do it themselves as well. * mail-send-recv.c (fetch_mail_filter_folder): set folder_uid's properly, so we can save it later. (filter_folder_filter): Renamed from fetch_mail_filter_folder, since its going to be used for all filtering. (mail_fetch_mail): Changed from mail_filter_mail. (mail_filter_folder): New function, replaces mail_do_filter_ondemand functionality. (mail_filter_on_demand): New function, actually replaces mail_do_filter_ondemand. (receive_get_folder): Added an exception arg. (mail_send_message): New function to just send a message. (send_mail_send): Use mail_send_message. (send_queue_send): New send qeue code, use mail_send_message, and clean up some stuff. (mail_send_receive): Changed from mail_receive. (build_dialogue): Setup the sending data, as well. (mail_update_subfolders): New function to update folder info. (send_mail_send): hook into cancellation if we want. svn path=/trunk/; revision=7672
* Strip leading space from the transport url gotten from the message.Jeffrey Stedfast2001-01-212-2/+10
| | | | | | | | | 2001-01-20 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (do_send_queue): Strip leading space from the transport url gotten from the message. svn path=/trunk/; revision=7670
* If the name is empty string, use the address.Jeffrey Stedfast2001-01-202-1/+7
| | | | | | | | | 2001-01-19 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_generate_reply): If the name is empty string, use the address. svn path=/trunk/; revision=7663
* Update for e_popup_menu_run change.Dan Winship2001-01-203-2/+13
| | | | | | | | | | | * mail-display.c (pixmap_press): Update for e_popup_menu_run change. * folder-browser.c (etable_key): On GDK_Menu (the menu key on 105-key keyboards), pop up the right-click menu. (on_right_click): update for e_popup_menu_run change. svn path=/trunk/; revision=7662
* New function to add a folder and any parents of it that don't yet exist.Dan Winship2001-01-202-6/+34
| | | | | | | | * subscribe-dialog.c (recursive_add_folder): New function to add a folder and any parents of it that don't yet exist. Fixes bugzilla #1028. svn path=/trunk/; revision=7658
* New swanky send/recieve thingy, well it so far only receives (pop/mbox).Not Zed2001-01-194-0/+617
| | | | | | | | | | 2001-01-19 Not Zed <NotZed@Ximian.com> * mail-send-recv.c: New swanky send/recieve thingy, well it so far only receives (pop/mbox). Ignore all the warnings for now, and the ugly 'button' to run it. svn path=/trunk/; revision=7636
* Added the next/previous toolbar buttons.Jeffrey Stedfast2001-01-194-0/+37
| | | | | | | | | | | | | 2001-01-18 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c: Added the next/previous toolbar buttons. * mail-callbacks.c (next_msg): New callback so we can have a next toolbar button. (previous_msg): Same but for previous. svn path=/trunk/; revision=7630
* Use static libcomposer.a here instead of the libtoolized one.Miguel de Icaza2001-01-181-1/+1
| | | | | | | | | 2001-01-12 Miguel de Icaza <miguel@gnu.org> * Makefile.am (evolution_mail_LDADD): Use static libcomposer.a here instead of the libtoolized one. svn path=/trunk/; revision=7613
* oops, don't xexpand, that makes the dialog too wide.Jeffrey Stedfast2001-01-182-104/+104
| | | | svn path=/trunk/; revision=7607
* backed out Anna's dialog, no one likes it!Jeffrey Stedfast2001-01-182-1190/+1263
| | | | svn path=/trunk/; revision=7606
* get rid of some gtk warnings.Jeffrey Stedfast2001-01-181-6/+10
| | | | | | ugh svn path=/trunk/; revision=7602
* Anna's dialog now supports SSL so we can get rid of the ssl-supportJeffrey Stedfast2001-01-185-1283/+1250
| | | | | | | | | | | | | | | | | 2001-01-17 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (construct): Anna's dialog now supports SSL so we can get rid of the ssl-support checks. Also work around the fact that Anna's dialog doesn't have an optionmenu for the transport type, it's a label instead. (transport_type_init): Cast the transport_type widget to a GtkOptionMenu where appropriate as the widget that stores it is now generic. (apply_changes): Modify code to work with anna's dialog...*sigh* (ok_clicked): Alert the user that one or more servers failed to validate and allow him to continue anyway. svn path=/trunk/; revision=7601
* New config function to set the path to the pgp binary.Jeffrey Stedfast2001-01-183-0/+64
| | | | | | | | | | | | | 2001-01-17 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_set_pgp_path): New config function to set the path to the pgp binary. (mail_config_get_pgp_path): Gee I wonder... (mail_config_set_pgp_type): This one sets the type (ie PGP5, PGP2, or GnuPG - see openpgp-utils.h for values) (mail_config_get_pgp_type): Der. svn path=/trunk/; revision=7596
* Handle NULL source and, while we're at it, transport URLs. ApparentlyJeffrey Stedfast2001-01-184-8/+35
| | | | | | | | | | | | 2001-01-17 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (construct): Handle NULL source and, while we're at it, transport URLs. Apparently camel_url_new() and/or camel-url_free() don't handle NULL input well. * mail-accounts.c (load_accounts): Handle NULL source URLs. svn path=/trunk/; revision=7595
* Oops. "url && url->host" doesn't do much without the '?' and ':' ;-)Jeffrey Stedfast2001-01-182-3/+6
| | | | | | | | | 2001-01-17 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (construct): Oops. "url && url->host" doesn't do much without the '?' and ':' ;-) svn path=/trunk/; revision=7586
* Replace `--with-x-mailer' with a more generic `--with-sub-version'.Ettore Perazzoli2001-01-182-6/+30
| | | | | | | | | The value you provide is now also displayed in the shell title bar. And while I was at it, I changed the title bar so that it displays the name of the folder first (instead of "Evolution - Inbox" it says "Inbox - Evolution 0.8 [yaddayadda]"). svn path=/trunk/; revision=7585
* Changed the word entry to enter, which is the correct word to use.Martin Norbäck2001-01-172-2/+7
| | | | | | | | | 2001-01-17 Martin Norbäck <d95mback@dtek.chalmers.se> * openpgp-utils.c (pgp_get_passphrase): Changed the word entry to enter, which is the correct word to use. svn path=/trunk/; revision=7569
* Update to use EMessageBox and to record if the user doesn't want to everJeffrey Stedfast2001-01-174-6/+71
| | | | | | | | | | | | | | 2001-01-17 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (ask_confirm_for_empty_subject): Update to use EMessageBox and to record if the user doesn't want to ever see this dialog again. * mail-config.c (mail_config_get_prompt_empty_subject): New config function. (mail_config_set_prompt_empty_subject): Another new one. svn path=/trunk/; revision=7567
* Modify to be able to handle a NULL source_url. (source_auth_init): AllowJeffrey Stedfast2001-01-174-90/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-16 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (apply_changes): Modify to be able to handle a NULL source_url. (source_auth_init): Allow for a NULL source url. (source_check): Same. * mail-config.c (mail_config_write): Allow for NULL source URLs. And while we're at it, NULL transport URLs as well. Might as well save the use_ssl variable too. (config_read): Same. * mail-config-druid.c (druid_finish): Modify to allow a NULL source url. (incoming_next): Modify to check for a NULL source and jump to the transport page if one is encountered (this means the user decided not to config a source). (incoming_type_changed): Modify to set all widgets insensitive if the user selected the "None" source menu item (aka NULL provider). (incoming_check): Modify to allow the user to go to the next page when he/she has chosen "None" for their source type. (mail_config_druid_get_source_url): Return NULL if the provider is NULL. (mail_config_druid_get_transport_url): Same. svn path=/trunk/; revision=7561
* Don't do thumbnails for offline imagesDan Winship2001-01-172-5/+13
| | | | | | | * mail-display.c (on_object_requested): Don't do thumbnails for offline images svn path=/trunk/; revision=7558
* If the user hits "No", then don't destroy the filesel window.Jeffrey Stedfast2001-01-173-3/+10
| | | | | | | | | | | | 2001-01-16 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (save_msg_ok): If the user hits "No", then don't destroy the filesel window. * mail-ops.c (save_messages_save): Open with mode 0666 as danw suggests. svn path=/trunk/; revision=7553
* only load the news storage if ENABLE_NNTP.Chris Toshok2001-01-173-0/+15
| | | | | | | | | | | | 2001-01-16 Chris Toshok <toshok@helixcode.com> * component-factory.c (owner_set_cb): only load the news storage if ENABLE_NNTP. * mail-accounts.c (construct): if !ENABLE_NNTP, remove the news page from the dialog. svn path=/trunk/; revision=7550
* use e_msg_composer_mark_text_origRadek Doulik2001-01-172-0/+6
| | | | | | | | | 2001-01-16 Radek Doulik <rodo@helixcode.com> * mail-format.c (mail_generate_reply): use e_msg_composer_mark_text_orig svn path=/trunk/; revision=7544
* Update the X-Mailer header to use the string specified by configure.Dan Winship2001-01-172-8/+7
| | | | | | | * mail-ops.c (send_mail_send, do_send_queue): Update the X-Mailer header to use the string specified by configure. svn path=/trunk/; revision=7540
* Moved ESearchBar from filter/ to widgets/misc/, a more appropriate home.Jacob Leach2001-01-173-2/+5
| | | | | | | Moved ESearchBar from filter/ to widgets/misc/, a more appropriate home. Bug #1060. svn path=/trunk/; revision=7536
* Fix a string causing translation problems. Bug #1147.Jason Leach2001-01-162-4/+13
| | | | | | | | | 2001-01-16 Jason Leach <jasonleach@usa.net> * openpgp-utils.c (pgp_get_passphrase): Fix a string causing translation problems. Bug #1147. svn path=/trunk/; revision=7534
* Comment about how sensitive doesn't work for bonobo set propMichael Zucci2001-01-161-0/+1
| | | | svn path=/trunk/; revision=7529
* Setup a cancellation handle. (do_fetch_mail): REgister for cancellationNot Zed2001-01-166-15/+43
| | | | | | | | | | | | | | | | | | | | 2001-01-16 Not Zed <NotZed@Ximian.com> * mail-ops.c (mail_do_fetch_mail): Setup a cancellation handle. (do_fetch_mail): REgister for cancellation here. (cleanup_fetch_mail): And unregister for cancellation here. (mail_get_message): Add a cancel handle. (get_message_get): Register/deregister for cancel. (get_message_free): & clean up. * mail-mt.c (mail_msg_received): Removed debuggng. * mail-callbacks.c (stop_threads): Callback for stopping. * folder-browser-factory.c: Add a stop button verb thingy. (control_activate): Disable the stop button by default. svn path=/trunk/; revision=7527
* Change from using filters for date and size to using e_cell_date andChristopher James Lahey2001-01-163-16/+20
| | | | | | | | | | 2001-01-15 Christopher James Lahey <clahey@ximian.com> * message-list.c, message-list.h: Change from using filters for date and size to using e_cell_date and e_cell_size. Moved a bunch of includes from the message-list.h to the message-list.c. svn path=/trunk/; revision=7524
* changed the signature of the property_bag get/set functionsDietmar Maurer2001-01-151-0/+1
| | | | svn path=/trunk/; revision=7499
* Set the default button to `Yes' here.Miguel de Icaza2001-01-153-1/+12
| | | | | | | | | 2001-01-15 Miguel de Icaza <miguel@ximian.com> * mail-callbacks.c (configure_mail): Set the default button to `Yes' here. svn path=/trunk/; revision=7498
* If the preferred authmech isn't found, default to the first one in theJeffrey Stedfast2001-01-142-63/+76
| | | | | | | | | | | | 2001-01-13 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (source_auth_init): If the preferred authmech isn't found, default to the first one in the list. (transport_construct_authmenu): This function already did the above but I made it simpler. (apply_changes): A number of cleanups. svn path=/trunk/; revision=7479
* Fixed mail_load_storages to make a mini GSList of the account, not theJeffrey Stedfast2001-01-135-7/+35
| | | | | | | | | | | | | | | | | | | | | | | 2001-01-13 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (druid_finish): Fixed mail_load_storages to make a mini GSList of the account, not the account->source. Oops. * mail-accounts.c (news_delete): Updated to use the remove_news() function. * mail-config.c (mail_config_remove_news): New convenience function for removing news accounts. (mail_config_remove_account): Pretty much the same thing. * mail-ops.c (do_send_queue): Get the X-Evolution-Transport URL and use that if it exists, else fall back on the default transport. * mail-callbacks.c (composer_postpone_cb): Set an X-Evolution-Transport header. svn path=/trunk/; revision=7477
* Get the X-Evolution-Transport URL and use that if it exists, else fallJeffrey Stedfast2001-01-133-3/+26
| | | | | | | | | | | | | 2001-01-13 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (do_send_queue): Get the X-Evolution-Transport URL and use that if it exists, else fall back on the default transport. * mail-callbacks.c (composer_postpone_cb): Set an X-Evolution-Transport header. svn path=/trunk/; revision=7474
* don't make the window so wide...Jeffrey Stedfast2001-01-131-23/+23
| | | | svn path=/trunk/; revision=7473
* Removed GPG_* variables.Jeffrey Stedfast2001-01-132-3/+3
| | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Removed GPG_* variables. svn path=/trunk/; revision=7472
* Now takes a 'is_account_data' variable to specify whether the sources is aJeffrey Stedfast2001-01-134-31/+54
| | | | | | | | | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (mail_load_storages): Now takes a 'is_account_data' variable to specify whether the sources is a list of accounts of a list of services. Basically, the only time you should pass in FALSE is when you are setting up NNTP storages. (add_storage): Now takes a 'name' argument that specifies the name to use in the storage. (owner_set_cb): Updated to pass TRUE for accounts and FALSE for news servers into mail_load_storages. svn path=/trunk/; revision=7469
* Changed filter_date and filter_size to match the changes in gal.Christopher James Lahey2001-01-132-8/+14
| | | | | | | | | 2001-01-12 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Changed filter_date and filter_size to match the changes in gal. svn path=/trunk/; revision=7466
* back to the dialogs I madeJeffrey Stedfast2001-01-132-1066/+1264
| | | | svn path=/trunk/; revision=7464
* oops, actually delete mail_config_get_account_by_addressJeffrey Stedfast2001-01-131-19/+0
| | | | svn path=/trunk/; revision=7462
* Anna's dialogs.Jeffrey Stedfast2001-01-138-1284/+1128
| | | | | | | | | | | | | | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@ximian.com> * mail-config.glade: Anna's dialogs. * mail-config.c (mail_config_get_account_by_address): Removed. Danw and I decided on setting a X-Evolution-Transport header on messages going to the Outbox so we can later guess which transport to use when sending it. * mail-account-editor.c (apply_changes): Update to some day be able to support SSL. (construct): Update for Anna's dialogs... * subscribe-dialog.c (populate_store_list): Updated to reflect past changes to the mail-config API. svn path=/trunk/; revision=7461
* Get the account by using the new e_msg_composer_get_preferred_account()Jeffrey Stedfast2001-01-134-5/+50
| | | | | | | | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (composer_send_cb): Get the account by using the new e_msg_composer_get_preferred_account() function. Also check to make sure everything is configured (in case they deleted their accounts while composing mail?). * mail-config.c (mail_config_get_account_by_address): New convenience function. svn path=/trunk/; revision=7459
* Add an ::asyncCopyFolder method to the ShellComponent interface. MoveEttore Perazzoli2001-01-133-36/+15
| | | | | | all the message hiding options to the View menu. svn path=/trunk/; revision=7456
* Add strings for localizationMiguel de Icaza2001-01-123-0/+17
| | | | | | | | 2001-01-12 Miguel de Icaza <miguel@ximian.com> * message-list.c: Add strings for localization svn path=/trunk/; revision=7447
* Rename "Save" to "Store search as vFolder".Miguel de Icaza2001-01-122-7/+11
| | | | | | | | 2001-01-12 Miguel de Icaza <miguel@ximian.com> * folder-browser.c: Rename "Save" to "Store search as vFolder". svn path=/trunk/; revision=7439
* Unref the property bag when we are done with it.Miguel de Icaza2001-01-122-49/+74
| | | | | | | | | | | 2001-01-11 Miguel de Icaza <miguel@gnu.org> * mail-display.c (on_object_requested): Unref the property bag when we are done with it. (get_embedded_for_component): Moved the code to request the embeddable/control to a separate function. svn path=/trunk/; revision=7436
* New convenience function that I will need later when I redo the composerJeffrey Stedfast2001-01-123-0/+25
| | | | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_get_account_by_name): New convenience function that I will need later when I redo the composer From field. svn path=/trunk/; revision=7435
* Update to reflect past changes to the mail-config API.Jeffrey Stedfast2001-01-122-1/+4
| | | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (on_object_requested): Update to reflect past changes to the mail-config API. svn path=/trunk/; revision=7434
* strdup() the key.Jeffrey Stedfast2001-01-122-1/+3
| | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_set_password): strdup() the key. svn path=/trunk/; revision=7433
* We don't want to be able to set the reply-to in the config druid.Jeffrey Stedfast2001-01-122-6/+5
| | | | | | | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (construct): We don't want to be able to set the reply-to in the config druid. (druid_finish): Don't set a reply-to anymore. (mail_config_druid_finalise): Don't unref the providers. * mail-config.glade: Took out the Reply-To field in the druid. svn path=/trunk/; revision=7432
* We don't want to be able to set the reply-to in the config druid.Jeffrey Stedfast2001-01-124-79/+16
| | | | | | | | | | | | | 2001-01-12 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (construct): We don't want to be able to set the reply-to in the config druid. (druid_finish): Don't set a reply-to anymore. (mail_config_druid_finalise): Don't unref the providers. * mail-config.glade: Took out the Reply-To field in the druid. svn path=/trunk/; revision=7431
* Guess the default MAIL value for MBOX and Maildir files.Miguel de Icaza2001-01-122-0/+11
| | | | | | | | | 2001-01-11 Miguel de Icaza <miguel@gnu.org> * mail-config-druid.c (incoming_type_changed): Guess the default MAIL value for MBOX and Maildir files. svn path=/trunk/; revision=7430
* Force finalization of the function before returning fixing the FIXME thatMiguel de Icaza2001-01-122-10/+28
| | | | | | | | | 2001-01-11 Miguel de Icaza <miguel@gnu.org> * mail-callbacks.c (configure_mail): Force finalization of the function before returning fixing the FIXME that was there. svn path=/trunk/; revision=7429
* If the service_check fails, pop-up a warning dialog letting the user knowJeffrey Stedfast2001-01-122-5/+40
| | | | | | | | | | | | 2001-01-11 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c (transport_next): If the service_check fails, pop-up a warning dialog letting the user know he or she may have problems and then let them continue on with their lives. (incoming_next): Same (+ jump them over the auth page to the transport page). svn path=/trunk/; revision=7428
* Eek! Don't destroy the account if the connection fails, duh. This is whatJeffrey Stedfast2001-01-122-12/+12
| | | | | | | | | | 2001-01-11 Jeffrey Stedfast <fejj@helixcode.com> * mail-account-editor.c (apply_changes): Eek! Don't destroy the account if the connection fails, duh. This is what is causing the segfaults. svn path=/trunk/; revision=7421
* Connect to folder_changed as well as message_changed for updating unreadDan Winship2001-01-122-0/+7
| | | | | | | * folder-browser.c (got_folder): Connect to folder_changed as well as message_changed for updating unread count svn path=/trunk/; revision=7420
* Add Bonobo/ItemContainer as the set of supported interfaces inMiguel de Icaza2001-01-123-0/+8
| | | | | | | | | | 2001-01-10 Miguel de Icaza <miguel@helixcode.com> * GNOME_Evolution_Mail.oafinfo: Add Bonobo/ItemContainer as the set of supported interfaces in GNOME_Evolution_Mail_Composer component. svn path=/trunk/; revision=7413
* add missing e-unicode.h includeDan Winship2001-01-121-0/+1
| | | | svn path=/trunk/; revision=7408
* Translate the header name to UTF8.Dan Winship2001-01-122-11/+13
| | | | | | | * mail-format.c (write_field_to_stream): Translate the header name to UTF8. svn path=/trunk/; revision=7403
* added a 4-pixel padding between entry boxesJeffrey Stedfast2001-01-111-90/+90
| | | | svn path=/trunk/; revision=7381
* New function that explains to the user why he can't do the action heJeffrey Stedfast2001-01-113-40/+38
| | | | | | | | | | | | | | | | | | | | | | 2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (configure_mail): New function that explains to the user why he can't do the action he requested and then procedes to ask if he'd like to configure his accounts now. (check_send_configuration): If the user doesn't have configured accounts, don't let him continue and call configure_mail(). (fetch_mail): Same. (send_queued_mail): Same. (send_receieve_mail): Same. * mail-config.c (mail_config_write): Don't save a "is_configured" variable. Instead we'll just check to see if we have accounts - if yes, then configured == TRUE. (mail_config_is_configured): return accounts != NULL. (mail_config_get_default_account): Mark the first account as the default if none are marked. svn path=/trunk/; revision=7377
* Set the sensitivity of the Password label too.Jeffrey Stedfast2001-01-112-0/+6
| | | | | | | | | 2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-account-editor.c (source_auth_type_changed): Set the sensitivity of the Password label too. svn path=/trunk/; revision=7376
* New callback to handle when the user hits the "back" button when on theJeffrey Stedfast2001-01-113-1/+34
| | | | | | | | | | | | | | 2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c (transport_back): New callback to handle when the user hits the "back" button when on the transport page. This is needed to handle the case where we don't want to show the user the auth page (due to there being no auth choices). (incoming_next): If we are going to skip over the auth page, set the 'have_auth_page' variable to FALSE. (construct): Initialize the have_auth_page to TRUE. svn path=/trunk/; revision=7375
* Grab the focus of the first widget that is sensitive.Jeffrey Stedfast2001-01-112-1/+19
| | | | | | | | | | | | | 2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c (incoming_type_changed): Grab the focus of the first widget that is sensitive. (transport_type_changed): Same. (identity_prepare): Grab the focus of the name entry. * mail-callbacks.c (send_queued_mail): Prevent Federico's segfault. svn path=/trunk/; revision=7374
* Prevent Federico's segfault.Jeffrey Stedfast2001-01-112-1/+5
| | | | | | | | 2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (send_queued_mail): Prevent Federico's segfault. svn path=/trunk/; revision=7372
* Clear the password entry if it's not allowed. (transport_type_changed):Jeffrey Stedfast2001-01-113-5/+35
| | | | | | | | | | | | | | | | | | | 2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c (auth_type_changed): Clear the password entry if it's not allowed. (transport_type_changed): Clear the hostname if it is not allowed by the provider type. * mail-account-editor.c (transport_type_changed): If the hostname is allowed, clear it. * mail-config-druid.c (incoming_type_changed): Clear the contents of the entry boxes that are not to be used. (mail_config_druid_get_source_url): If the text in the entry is emptry string, don't set it' contents in the url. svn path=/trunk/; revision=7369
* Remove a debug printf (that crashes Solaris because it usually triesDan Winship2001-01-111-1/+0
| | | | | | to printf NULL) svn path=/trunk/; revision=7364
* Fix proto. (print_preview_msg): Fix proto.Miguel de Icaza2001-01-102-6/+13
| | | | | | | | | | | 2001-01-10 Miguel de Icaza <miguel@helixcode.com> * mail-callbacks.c (print_msg): Fix proto. (print_preview_msg): Fix proto. * subscribe-dialog.c: Remove more UNSAFE macros. svn path=/trunk/; revision=7360
* Bugfix for #1077: scrollwheel doesn't work while hovering over anJason Leach2001-01-102-7/+15
| | | | | | | | | 2001-01-09 Jason Leach <jasonleach@usa.net> * mail-display.c (pixmap_press): Bugfix for #1077: scrollwheel doesn't work while hovering over an attachment icon. svn path=/trunk/; revision=7354
* removed old mail-config-gui.* files that are no longer used or needed.Jeffrey Stedfast2001-01-102-2440/+0
| | | | svn path=/trunk/; revision=7353
* removed mail-config-druid.glade filesJeffrey Stedfast2001-01-102-3106/+0
| | | | svn path=/trunk/; revision=7352
* Moved to mail-config.gladeJeffrey Stedfast2001-01-108-355/+2952
| | | | | | | | | | | | | | | | | | 2001-01-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.glade: Moved to mail-config.glade * mail-accounts.c (construct): Updated to use mail-config.glade. * mail-account-editor.c (construct): Updated to use mail-config.glade. * mail-config-druid.c (construct): Updated to use mail-config.glade. * mail.h: Added the new mail config headers. svn path=/trunk/; revision=7351
* Change mail_op_forward_event to mail_proxy_event.Dan Winship2001-01-102-2/+7
| | | | | | | * mail-local.c (local_folder_changed_proxy): Change mail_op_forward_event to mail_proxy_event. svn path=/trunk/; revision=7344
* Let the system umask determine the permissions of this file.Jeffrey Stedfast2001-01-102-1/+4
| | | | | | | | | 2001-01-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (save_messages_save): Let the system umask determine the permissions of this file. svn path=/trunk/; revision=7341
* Gray out the appropriate labels too. (auth_type_changed): And here.Jeffrey Stedfast2001-01-106-39/+200
| | | | | | | | | | | | | | | 2001-01-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c (incoming_type_changed): Gray out the appropriate labels too. (auth_type_changed): And here. (transport_type_changed): Here too... * mail-account-editor.c (source_check): Gray out the appropriate labels too. (transport_type_changed): And here too. svn path=/trunk/; revision=7340
* For all optionmenu's, set the appropriate 'history'. (keep_mail_check):Jeffrey Stedfast2001-01-104-11/+88
| | | | | | | | | | | | | | | | | | | 2001-01-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-account-editor.c: For all optionmenu's, set the appropriate 'history'. (keep_mail_check): Set the keep-on-server checkbutton sensitivity based on whether or not the store is a storage or not. (construct): Call keep_mail_check(). * mail-config-druid.c (incoming_type_changed): Set the keep-on-server checkbutton sensitivity based on whether or not the store is a storage or not. * mail-accounts.c (construct): Make sure the dialog isn't a scrunched little thingy. svn path=/trunk/; revision=7328
* Add -export-dynamic, so libglade can resolve evolution-mail symbols.Dan Winship2001-01-102-0/+8
| | | | | | | * Makefile.am (evolution_mail_LDFLAGS): Add -export-dynamic, so libglade can resolve evolution-mail symbols. svn path=/trunk/; revision=7322
* Updated. (decode_pgp): Get rid of #ifdef PGP_PROGRAM's and handleJeffrey Stedfast2001-01-107-1030/+1249
| | | | | | | | | | | | | | | | | | | | | | 2001-01-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c: Updated. (decode_pgp): Get rid of #ifdef PGP_PROGRAM's and handle appropriately. (handle_multipart_signed): Same. (handle_multipart_encrypted): Same. * Makefile.am: Added openpgp-utils.[c,h] to the build. * openpgp-utils.c: New source file containing all of the pgp interface code. * mail-crypto.c: Removed all of the openpgp funtions as they are being moved to a new file. (mail_crypto_is_rfc2015_signed): Renamed. (mail_crypto_is_rfc2015_encrypted): Renamed. svn path=/trunk/; revision=7320
* New function to set the password for a given url.Jeffrey Stedfast2001-01-106-21/+75
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-09 Jeffrey Stedfast <fejj@helixcode.com> * session.c (mail_session_set_password): New function to set the password for a given url. * mail-config-druid.c (druid_finish): Don't save the password in the source url, instead insert it into the save-password hash. (mail_config_druid_get_source_url): Check to make sure the authmech isn't "", if it is then don't set the authmech. * mail-account-editor.c (apply_changes): Don't save the password in the source url, instead insert it into the save-password hash. Also check to make sure we don't set an empty string as the authmech for the source or transport. * mail-accounts.c (mail_default): After reloading the accounts, reselect the previously selected account. (mail_delete): Same. * mail-config-druid.c (druid_cancel): Fixed segfault bug. svn path=/trunk/; revision=7319
* remove </center><p> (handle_text_plain): add <fontRadek Doulik2001-01-092-2/+5
| | | | | | | | | | | 2001-01-09 Radek Doulik <rodo@helixcode.com> * mail-format.c (write_headers): remove </center><p> (handle_text_plain): add <font size=\"-3\">&nbsp</font><br> before msg text (handle_text_plain_flowed): ditto svn path=/trunk/; revision=7316
* remove </center><p>Radek Doulik2001-01-092-1/+5
| | | | | | | | 2001-01-09 Radek Doulik <rodo@helixcode.com> * mail-format.c (write_headers): remove </center><p> svn path=/trunk/; revision=7315
* Write the config data and reload the accounts list so the "default" tag isJeffrey Stedfast2001-01-092-2/+14
| | | | | | | | | | 2001-01-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-accounts.c (mail_default): Write the config data and reload the accounts list so the "default" tag is relocated. (mail_delete): Write the config data here too. svn path=/trunk/; revision=7314
* Brand spankin' new config druid, editor, and manager.Jeffrey Stedfast2001-01-0915-538/+808
| | | | | | | | | | | | | | | | | | | | | 2001-01-08 Jeffrey Stedfast <fejj@helixcode.com> * Makefile.am: * component-factory.c: * folder-browser-factory.c: * folder-browser.c: * mail-accounts.[c,h]: * mail-account-editor.[c,h]: * mail-callbacks.c: * mail-config.[c,h]: * mail-config-druid.[c,h]: * mail-config-druid.glade: * mail-display.c: * mail-format.c: * mail-tools.c: Brand spankin' new config druid, editor, and manager. svn path=/trunk/; revision=7313
* Add an #include <errno.h>Dan Winship2001-01-092-0/+5
| | | | | | * mail-ops.c: Add an #include <errno.h> svn path=/trunk/; revision=7308
* Reverted mail-config changes temporarily until I get it working correctly.Jeffrey Stedfast2001-01-0911-507/+350
| | | | | | | | | | | | | | | | | 2001-01-08 Jeffrey Stedfast <fejj@helixcode.com> * Makefile.am: * component-factory.c: * folder-browser-factory.c: * folder-browser.c: * mail-callbacks.c: * mail-config.[c,h]: * mail-display.c: * mail-format.c: * mail-tools.c: Reverted mail-config changes temporarily until I get it working correctly. svn path=/trunk/; revision=7305
* More lovely fixes...Jeffrey Stedfast2001-01-093-6/+14
| | | | | | | | | | | 2001-01-08 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c: More lovely fixes... * mail-callbacks.c: Don't segfault if a default account doesn't exist. svn path=/trunk/; revision=7302
* A bunch of fixes.Jeffrey Stedfast2001-01-096-23/+130
| | | | | | | | | | | | | 2001-01-08 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c: A bunch of fixes. * mail-accounts.c: More fixes... * mail-account-editor.c (construct): Reparent the notebook to the editor->vbox and set the resize policy. svn path=/trunk/; revision=7301
* Updated to reflect changes to the mail-config API.Jeffrey Stedfast2001-01-0810-63/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-tools.c (mail_tool_quote_message): Updated to reflect changes to the mail-config API. * mail-display.c (redisplay): Updated to reflect changes to the mail-config API. * mail-callbacks.c (providers_config): Use the new account dialog. * mail-config-druid.c (druid_finish): Load the new storage into the shell. (mail_config_druid_new): Take a shell argument. * mail-format.c (mail_generate_reply): Updated to reflect changes to the mail-config API. * mail-config-druid.c: Fixed this to build. * mail-callbacks.c (check_send_configuration): Updated to reflect changes to the mail-config API. (create_msg_composer): Same. (forward_get_composer): Same. (send_queued_mail): Same. (composer_send_cb): Same. * mail-account-editor.c: Updated to build cleanly. * mail-config-druid.c: Same. * mail-accounts.c: Same. * folder-browser-factory.c (control_activate): Updated for API changes in mail-config. * folder-browser.c (done_message_selected): Updated for API changed in mail-config. (folder_browser_gui_init): Same. (got_folder): Same. * component-factory.c (owner_set_cb): After using the sources list, free it as it is no longer a const GSList as with the older mail-config code. * mail-config.c: Totally rewritten. svn path=/trunk/; revision=7298
* Updated to reflect changes to the mail-config API. (create_msg_composer):Jeffrey Stedfast2001-01-0812-369/+560
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (check_send_configuration): Updated to reflect changes to the mail-config API. (create_msg_composer): Same. (forward_get_composer): Same. (send_queued_mail): Same. (composer_send_cb): Same. * mail-account-editor.c: Updated to build cleanly. * mail-config-druid.c: Same. * mail-accounts.c: Same. * folder-browser-factory.c (control_activate): Updated for API changes in mail-config. * folder-browser.c (done_message_selected): Updated for API changed in mail-config. (folder_browser_gui_init): Same. (got_folder): Same. * component-factory.c (owner_set_cb): After using the sources list, free it as it is no longer a const GSList as with the older mail-config code. * mail-config.c: Totally rewritten. svn path=/trunk/; revision=7294
* Implemented.Jeffrey Stedfast2001-01-072-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | 2001-01-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-accounts.c (mail_edit): Implemented. * mail-account-editor.c (apply_clicked): Implemented. (ok_clicked): Implemented. (cancel_clicked): Implemented. (source_auth_type_changed): Implemented. (source_auth_init): Implemented. (transport_construct_authmenu): Implemented. (transport_type_changed): Updated to change regenerate the auth option menu. (construct): Attached callbacks to OK, Apply and Cancel buttons. * mail-account-editor.c (source_auth_init): Use the new mail_config_check_service(). * mail-config-druid.c: Remove check_service() as it will be moved into mail-config. svn path=/trunk/; revision=7290
* Implemented. (ok_clicked): Implemented. (cancel_clicked): Implemented.Jeffrey Stedfast2001-01-074-84/+203
| | | | | | | | | | | | | | | | | | | | | | 2001-01-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-account-editor.c (apply_clicked): Implemented. (ok_clicked): Implemented. (cancel_clicked): Implemented. (source_auth_type_changed): Implemented. (source_auth_init): Implemented. (transport_construct_authmenu): Implemented. (transport_type_changed): Updated to change regenerate the auth option menu. (construct): Attached callbacks to OK, Apply and Cancel buttons. * mail-account-editor.c (source_auth_init): Use the new mail_config_check_service(). * mail-config-druid.c: Remove check_service() as it will be moved into mail-config. svn path=/trunk/; revision=7289
* Made it so that going to the next or previous message in the list will atChristopher James Lahey2001-01-072-0/+11
| | | | | | | | | | | | 2001-01-06 Christopher James Lahey <clahey@helixcode.com> * message-list.c (message_list_select): Made it so that going to the next or previous message in the list will at least move one message, even if the current message matches the query. This makes 'n' go to the next unread message, even if the current message is unread. svn path=/trunk/; revision=7288
* Coded a bunch of the methods.Jeffrey Stedfast2001-01-076-106/+316
| | | | | | | | 2001-01-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-account-editor.c: Coded a bunch of the methods. svn path=/trunk/; revision=7287
* Fix some race conditions when dealing with vfolders.Iain Holmes2001-01-072-18/+48
| | | | svn path=/trunk/; revision=7286
* New source files to provide an account editor widget.Jeffrey Stedfast2001-01-066-15/+144
| | | | | | | | | | | | 2001-01-05 Jeffrey Stedfast <fejj@helixcode.com> * mail-account-editor.[c,h]: New source files to provide an account editor widget. * mail-config-druid.c (auth_type_changed): Set the authproto on the druid so we can look it up later. svn path=/trunk/; revision=7280
* Since the druid now handles adding the new account to the config, we'llJeffrey Stedfast2001-01-065-3/+512
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-05 Jeffrey Stedfast <fejj@helixcode.com> * mail-accounts.c (mail_add): Since the druid now handles adding the new account to the config, we'll just connect to the destroy event and show the druid. (mail_add_finished): Just reload the account list here. * mail-config-druid.c (druid_finish): New callback to handle the "finish" signal. On second thought, it seems it would be best for the finish callback to be here rather than in mail-accounts.c. * mail-accounts.[c,h]: Added. Contains source for the Account manager window. And just like mail-config-druid.c, it's not yet complete. * mail-config-druid.c (mail_config_druid_get_incoming_keep_mail): Renamed from _delete_mail (mail_config_druid_get_transport_url): New convenience function that replaces the get_hostname, get_protocol, etc. (mail_config_druid_get_source_url): Same. * mail-config-druid.glade: Changed "Delete mail from server" to "Keep mail on server" as this has a more positive ring to it. Both I and Aaron agree this is the better phrase. svn path=/trunk/; revision=7275
* Renamed from _delete_mail (mail_config_druid_get_transport_url): NewJeffrey Stedfast2001-01-065-99/+84
| | | | | | | | | | | | | | | | 2001-01-05 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c (mail_config_druid_get_incoming_keep_mail): Renamed from _delete_mail (mail_config_druid_get_transport_url): New convenience function that replaces the get_hostname, get_protocol, etc. (mail_config_druid_get_source_url): Same. * mail-config-druid.glade: Changed "Delete mail from server" to "Keep mail on server" as this has a more positive ring to it. Both I and Aaron agree this is the better phrase. svn path=/trunk/; revision=7272
* Renamed from _delete_mailJeffrey Stedfast2001-01-065-382/+415
| | | | | | | | | | | | | 2001-01-05 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c (mail_config_druid_get_incoming_keep_mail): Renamed from _delete_mail * mail-config-druid.glade: Changed "Delete mail from server" to "Keep mail on server" as this has a more positive ring to it. Both I and Aaron agree this is the better phrase. svn path=/trunk/; revision=7269
* Fixed a few 'Oops'es.Jeffrey Stedfast2001-01-055-22/+1423
| | | | | | | | | | | 2001-01-04 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c: Fixed a few 'Oops'es. * mail-config-druid.glade: Added a "Default" button for marking an account as the default. svn path=/trunk/; revision=7266
* rebuilt this, glade crashed...so uh, maybe this is ok now? I dunnoJeffrey Stedfast2001-01-051-46/+15
| | | | svn path=/trunk/; revision=7255
* Updated. What else can I say?Jeffrey Stedfast2001-01-054-48/+1654
| | | | | | | | 2001-01-04 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.glade: Updated. What else can I say? svn path=/trunk/; revision=7254
* Fix leaks, set unread count on folder creation as well as on changesDan Winship2001-01-051-2/+6
| | | | svn path=/trunk/; revision=7250
* Connect to "message_changed" on the folder if it's on a remote storage.Dan Winship2001-01-053-1/+46
| | | | | | | | | * folder-browser.c (got_folder): Connect to "message_changed" on the folder if it's on a remote storage. (update_unread_count): Update the folder unread count / highlight in the shell when the unread message count changes svn path=/trunk/; revision=7249
* Removed old implementation.Not Zed2001-01-049-824/+705
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-04 Not Zed <NotZed@HelixCode.com> * mail-ops.c (mail_do_send_mail): Removed old implementation. * folder-browser.c (do_message_selected): If we haven't got a real uid, then clear the display instead. * message-list.c (message_list_drag_data_get): Use new save message function, and also wait for it to finish before continuing. (folder_changed): (message_changed): Use mail_proxy_event instead of mail_do_forward. (mail_regen_list): New iplementation to replace the old. : remove <gnome.h> from headers. Dont define timeit by default. (main_folder_changed): (message_list_set_folder): (message_list_set_threaded): (message_list_set_search): (message_list_hide_add): (message_list_hide_uids): (message_list_hide_clear): Use mail_regen_list instead of mail_do_regenerate_messagelist. (mail_do_regenerate_messagelist): Removed the old stuff. No functionality changed yet, just using different thread stuff. * mail-callbacks.c (save_msg_ok): Use new save message function. * component-factory.c (create_view): (add_storage): Use mail_scan_subfolders to build the folder info. (create_folder): Use new implementation with our own callback. (owner_set_cb): Changed b ack to use mail_get_folder, but now wait for it to finish. This will let any gui still run, but also gives us the required synchronous operation. (got_folder): Callback for when the folder has been opened. * mail-ops.c (mail_get_folderinfo): New function to just get the folder info in another thread. (mail_scan_subfolders): New scan subfolder implementation that uses mail_get_folderinfo. (mail_do_scan_subfolders): Removed old implementation. (mail_create_folder): Nerw implementation to create a folder, only. (mail_do_create_folder): Removed old implementation. (mail_save_messages): New implementation, fixes a couple of minor problems, and now provides a return so it can be waited on. Also check that the writes worked, etc. (mail_do_save_messages): Remove previous implementation. (mail_do_flag_messages): Removed, nothing uses it. (mail_do_flag_messages): Removed, nothing uses it anymore. (mail_get_folder): REturn the operation id, so callers can wait for it. (sync_folder_desc): (expunge_folder_desc): Add describe functions so we know what its doing. (mail_send_mail): More generic implementation of sending mail. * mail-mt.c (mail_msg_new): Lock around seq increment. And insert each new message into a hash table of active messages. (mail_msg_init): Init the active message table. (mail_msg_free): Remove the message from the active message table. (mail_msg_wait): New function, waits for a message to be processed, by id. (mail_msg_check_error): Dont display the error if it is a user-cancelled operation. (mail_proxy_event): new implementation of mail_op_forward_event. Only real difference is it uses the new thread stuff, and you can wait for it to finish if you want. (mail_proxy_event): If we're already in the main thread, just call the function. svn path=/trunk/; revision=7246
* Updated to have a GtkWindow as a parentJeffrey Stedfast2001-01-042-17/+88
| | | | svn path=/trunk/; revision=7239
* New source file that implements mail-config-druid. Note: this is not yetJeffrey Stedfast2001-01-043-0/+998
| | | | | | | | | 2001-01-03 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c: New source file that implements mail-config-druid. Note: this is not yet complete. svn path=/trunk/; revision=7238
* Call mail-callbacks.c:forward_messages(), so the behaviour is the same asNot Zed2001-01-037-371/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-03 Not Zed <NotZed@HelixCode.com> * mail-view.c (view_forward_msg): Call mail-callbacks.c:forward_messages(), so the behaviour is the same as from the folder browser. * mail-callbacks.c (forward_messages): New function to forward messages, attached or not. (forward_inlined): Changed to use new forward-messages implementation. (forward_attached): Likewise. (do_forward_attach): Callback for forwarding as attachment, once we have built it. (do_forward_inline): Likewise, for inline, once we have retrieved the message. (forward_message): Removed. * mail-ops.c (mail_build_attachment): New function to build an attachment of messages. (mail_do_attach_message): Removed, functionality superceeded by above. (mail_do_forward_message): Removed. Likewise. (mail_create_folder): Started work on an alternative implementation of create_folder, but not sure about it yet. * mail-tools.c (mail_tool_generate_forward_subject): Remove locking. (mail_tool_make_message_attachment): Free the description when done. svn path=/trunk/; revision=7232
* add font color setting for table, changed border behaviorRadek Doulik2001-01-033-5/+13
| | | | | | | | | | | 2001-01-03 Radek Doulik <rodo@helixcode.com> * mail-format.c (write_headers): add font color setting for table, changed border behavior * mail-display.c (redisplay): don't set body bg and text color svn path=/trunk/; revision=7231
* Fix for mail_get_message change, use queue thread.Not Zed2001-01-0315-639/+1254
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-02 Not Zed <NotZed@HelixCode.com> * mail-callbacks.c (view_msg): Fix for mail_get_message change, use queue thread. * folder-browser.c (done_message_selected): Fix mail_Get_message calls, use new thread. (do_message_selected): " * mail-ops.c (mail_get_message): Add a thread argument so callers can specify which queue it executes on. * mail-mt.c (mail_msg_free): Fix a free order problem. (mail_msg_destroy): Call mail_msg_free to do the work. (mail_msgport_replied): " (mail_msgport_replied): Check/display errors if we get them. (mail_msgport_received): If we have a describe function, say what we're doing, also set busy/unbusy. (mail_msgport_replied): Clear busy when we get a reply. (mail_get_password): Unset busy. (mail_msg_received): Set busy as we go. (mail_msg_destroy): Unset busy when done. (mail_status): Blah blah, new status interface, the other wans't workable with the way the shell api works. 2000-12-29 Not Zed <NotZed@HelixCode.com> * folder-browser.c (do_message_selected): If we are reconfiguring, just keep polling till we are done (yeah kinda shitty, but easy). (folder_browser_set_uri): Clear reconfigure flag here. ick. (got_folder): And here too. (on_right_click): Remove locking. (hide_sender): and here too. (hide_subject): And here. (on_right_click): If we are in reconfigure, then the whole menu is disabled. * mail-mt.c (status_busy_timeout): Clear the status_busy_timeout_id. * mail-local.c (local_storage_new_folder_cb): Made getting folders completely synchronous. The shell expects it, and it was only synchronous before by a sideeffect. (do_reconfigure_folder): Remove locking stuff. (do_reconfigure_folder): Use our own much simpler copying routine than that stupid move_folder_contents thing. (update_progress): Use mail_status_message() instead. (do_reconfigure_folder): Set the reconfigure flag during reconfigure & set busy flag. (cleanup_reconfigure_folder): clear busy flag. * mail-tools.c (mail_tool_uri_to_folder): Remove the tool_lock stuff. (mail_tool_uri_to_folder_noex): Clear exception on exit. (mail_tool_move_folder_contents): Get rid of this really stupid function that is only used in one place. * component-factory.c (owner_set_cb): Use direct calls to get the folders, as this code must run synchronous. Remove the event wait stuff. * mail-callbacks.c (edit_msg): Call mail_get_messages, and create the composers ourself. (do_edit_messages): get_messages callback, create the composers and connect to signals we need. (view_msg): Dont call do_view_messages, just call mail_get_messge for each to get them in parallel. (do_view_message): view a single message. * mail-ops.c (mail_edit_messages): Just use mail_get_messages for this operation. Removed the other async operation stuff. Changed my mind, just removed entirely. (mail_do_view_messages): Removed. (mail_do_setup_folder): Removed. (mail_do_scan_subfolders): Make this run synchronously, as every caller expects it to (even if they didn't realise). 2000-12-28 Not Zed <NotZed@HelixCode.com> * mail-callbacks.c (send_queued_mail): Dont expunge the folder here, but in send_queue, otherwise it might execute out of order. (expunge_folder): Remove the talbe prechange stuff, and infact references to the message_list folder, as we have our own folder. Also, dont allow expunge if we're already expunging. (expunged_folder): Clkear the expunging flag if we're finished. * folder-browser-factory.c (control_deactivate): Likewise here. Hrm, i thought this function required a callback, silly me. * mail-tools.c (mail_tool_make_message_attachment): Remov e locking. * folder-browser.c (on_message_selected): Use a timeout handler so we dont select immediately. (folder_browser_set_uri): Changed to use mail_get_folder. (got_folder): New callback called when get_folder is finished. (folder_browser_destroy): Use new sync interface. * mail-ops.c (mail_get_message): New function to asynchrounously get a message. : #define out mail_tool_camel_lock stuff entirely. (mail_get_folder): New function to asynchrounously get a folder. (mail_do_load_folder): Removed, replaced by more generic function above. (mail_do_display_message): Removed, replaced by the more generic funciton get_message. (mail_get_messages): New function to get a list of messages asynchronously. (mail_sync_folder): New interface to sync a folder async. (mail_expunge_folder): New interface for expunging folder, with callback. (do_send_queue): Remove lock stuff, and expunge if (and only if) successful, also sync the sent folder while we're at it. * session.c (mail_session_request_dialog): Changed to use new mail_get_password call. * mail-mt.[ch]: New threading/interthread messaging framework. * main.c (main): Init the message/thread system. svn path=/trunk/; revision=7223
* Use header_content_type_simple, not header_content_type_format.Dan Winship2001-01-033-3/+10
| | | | | | | | | * mail-format.c (mail_part_is_inline): (find_preferred_alternative): * mail-display.c (launch_cb): Use header_content_type_simple, not header_content_type_format. svn path=/trunk/; revision=7214
* fixed unresolved symbol (d)Jeffrey Stedfast2001-01-021-0/+2
| | | | svn path=/trunk/; revision=7207
* fixed changelogJeffrey Stedfast2001-01-021-1/+0
| | | | svn path=/trunk/; revision=7206
* Implemented.Jeffrey Stedfast2001-01-024-35/+250
| | | | | | | | | | | | | | | | | | | | 2000-12-26 Jeffrey Stedfast <fejj@helixcode.com> * mail-crypto.c (mail_crypto_openpgp_verify): Implemented. 2000-12-23 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (mail_do_setup_trash): New function similar to mail_do_setup_folder() except that this creates the Trash VFolder (special-case). 2000-12-21 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_send_mail): Don't free info inside the last if-statement, if sent_folder doesn't exist we'll have a memory leak. Instead free it afterward. svn path=/trunk/; revision=7205
* fix previous fixDan Winship2000-12-301-1/+1
| | | | svn path=/trunk/; revision=7195
* Update this for CamelContentType too.Dan Winship2000-12-302-17/+21
| | | | svn path=/trunk/; revision=7193
* Use CamelContentType, and use header_content_type_is instead of doing itDan Winship2000-12-293-31/+45
| | | | | | | | | | | | | | | | | | * mail-format.c (mail_part_is_inline, mail_get_message_body): Use CamelContentType, and use header_content_type_is instead of doing it by hand. (handle_text_plain): (handle_multipart_related): (find_preferred_alternative): (handle_message_external_body): Use CamelContentType and header_content_type_* functions instead of GMimeContentField. * mail-display.c (write_data_to_file, launch_cb): Use CamelContentType and header_content_type_* functions instead of GMimeContentField. svn path=/trunk/; revision=7189
* Return of the thumbnail cache.Iain Holmes2000-12-283-9/+93
| | | | | | | | Still does the same swap thumbnails around problem it had last time. As the code is totally different, I'm guessing it's a bug in GtkHTML. But its probably not. svn path=/trunk/; revision=7183
* ({setup,do,cleanup}_subscribe_folder): Update previous fix: JeffDan Winship2000-12-282-2/+9
| | | | | | | | had changed it to use ->full_name instead of ->name because that's what camel_store_subscribe_folder needed. So we need to have *both* names available, one for Camel, one for the shell. svn path=/trunk/; revision=7181
* Use info->name, not input->full_name. Fixes #1029 inDan Winship2000-12-272-1/+6
| | | | | | | * subscribe-dialog.c (setup_subscribe_folder): Use info->name, not input->full_name. Fixes #1029 in bugzilla.helixcode.com. svn path=/trunk/; revision=7180
* New BonoboPropertyEventless stuffIain Holmes2000-12-271-2/+6
| | | | | | pt 1 svn path=/trunk/; revision=7177
* Changed this to format times in 12 hour time instead of 24 hour time.Christopher James Lahey2000-12-252-4/+9
| | | | | | | | | 2000-12-24 Christopher James Lahey <clahey@helixcode.com> * message-list.c (filter_date): Changed this to format times in 12 hour time instead of 24 hour time. svn path=/trunk/; revision=7160
* Changed this to do different formatting of dates within the last week.Christopher James Lahey2000-12-252-9/+33
| | | | | | | | | 2000-12-24 Christopher James Lahey <clahey@helixcode.com> * message-list.c (filter_date): Changed this to do different formatting of dates within the last week. svn path=/trunk/; revision=7157
* Merge from camel-mt-branch.Not Zed2000-12-248-145/+315
| | | | | | | | 2000-12-24 Not Zed <NotZed@HelixCode.com> * Merge from camel-mt-branch. svn path=/trunk/; revision=7153
* Changed this to do different formatting of dates based on the currentChristopher James Lahey2000-12-232-5/+32
| | | | | | | | | 2000-12-23 Christopher James Lahey <clahey@helixcode.com> * message-list.c (filter_date): Changed this to do different formatting of dates based on the current time. svn path=/trunk/; revision=7140
* Added titles to the pixbuf columns.Christopher James Lahey2000-12-232-4/+9
| | | | | | | | | 2000-12-23 Christopher James Lahey <clahey@helixcode.com> * message-list.c (message_list_get_layout): Added titles to the pixbuf columns. svn path=/trunk/; revision=7139
* Detect created and deleted vfolders.Iain Holmes2000-12-224-10/+97
| | | | svn path=/trunk/; revision=7126
* Deal with the possibility that we have an icon-filename listed for a MIMEDan Winship2000-12-222-6/+25
| | | | | | | | | * mail-display.c (pixbuf_for_mime_type): Deal with the possibility that we have an icon-filename listed for a MIME type, but the icon file doesn't actually exist. Also, if gnome-unknown.png can't be found, fall back. Might fix a crash people have been reporting... svn path=/trunk/; revision=7118
* for now #ifdef PGP_PROGRAM falling back to handle_multipart_mixed.Chris Toshok2000-12-192-0/+14
| | | | | | | | | | 2000-12-18 Chris Toshok <toshok@helixcode.com> * mail-format.c (handle_multipart_encrypted): for now #ifdef PGP_PROGRAM falling back to handle_multipart_mixed. (handle_multipart_signed): same. svn path=/trunk/; revision=7074
* Unlock camel when done to prevent a hang later.Dan Winship2000-12-192-0/+6
| | | | | | | * message-list.c (hide_save_state): Unlock camel when done to prevent a hang later. svn path=/trunk/; revision=7072
* Only update display every 2 seconds.Miguel de Icaza2000-12-184-7/+35
| | | | | | | | | | | 2000-12-18 Miguel de Icaza <miguel@helixcode.com> * mail-tools.c (mail_tool_move_folder_contents): Only update display every 2 seconds. * mail-ops.c (do_view_messages): Only update display every 2 seconds. svn path=/trunk/; revision=7066
* Always use the slow (full-update) version of the tree update code, to getNot Zed2000-12-166-27/+553
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-16 Not Zed <NotZed@HelixCode.com> * message-list.c (build_tree): Always use the slow (full-update) version of the tree update code, to get around a bug(?) in etree. (build_flat): Likewise. 2000-12-15 Not Zed <NotZed@HelixCode.com> * mail-display.c (write_data_to_file): Dont blindly convert all parts to utf8, e.g. image/jpg. We only convert text/* parts, and only then if required. 2000-12-14 Not Zed <NotZed@HelixCode.com> * component-factory.c (create_view): cast over a warning. * folder-browser-factory.c: Add verbs for hide functions. * message-list.c (message_list_hide_clear): (message_list_hide_uids): (message_list_hide_add): Some api renaming. (message_list_hide_add): Allow ML_HIDE_SAME to be passed to mean not to change the upper/lower range at all. (hide_save_state): Save the state of the hide list to stable storage. (hide_load_state): Load the state of hte hide list. (message_list_set_folder): Load/save the state of the folder if it is changed/set. (message_list_destroy): Save the state of the folder hide list when done. (save_tree_state): If we wrote out an empty state file, simply remove it instead. * folder-browser.c (on_right_click): Add some hide menus. (hide_read): Hide read messages. (hide_deleted): Hide deleted messages. (hide_selected): Hide selected/current message. (hide_none): Show all hidden messages. (on_right_click): Lock around accesses to the message (inside mlist_detect_magic). (on_right_click): Free the mailing list name. 2000-12-13 Not Zed <NotZed@HelixCode.com> * folder-browser.c (on_right_click): Add camel locking since we call it directly. Whoever heard of a lock you 'down' to unlock? * message-list.c (mail_do_regenerate_messagelist): Added hide expression, messages to hide. Fixed all callers. (do_regenerate_messagelist): IF we have a hide expression, search and remove those from the uid list. If we have a hide range, apply that afterwards. (cleanup_regenerate_messagelist): Handle freeing the hide uid temporary data, if required. (message_list_destroy): Free hide data, also lock around all camel object stuff. (message_list_length): New function to get the number of messages avaialble to be hidden by range. (message_list_set_hide): Set the hide expression and range. Issue: Should hiding be remembered? (message_list_unhide_all): Turn off all hiding. (message_list_hide_uids): Hide a list of uid's. svn path=/trunk/; revision=7061
* Update this for the new signal handler prototype. Fixes the crash onDan Winship2000-12-162-6/+7
| | | | | | | * subscribe-dialog.c (folder_toggle_cb): Update this for the new signal handler prototype. Fixes the crash on double-click. svn path=/trunk/; revision=7059
* New callback to handle multipart/signed parts. (decode_pgp): Update toJeffrey Stedfast2000-12-164-93/+766
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-15 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (handle_multipart_signed): New callback to handle multipart/signed parts. (decode_pgp): Update to account for the cipherlen argument needed for openpgp_decrypt. (is_rfc2015): Removed as we now have a better version in mail-crypto. (handle_multipart_encrypted): Updated to use the PGP/MIME utility functions. * mail-crypto.c (mail_crypto_openpgp_decrypt): Don't check (!*plaintext) as it could be a binary stream. Now also takes a cipherlen argument. (mail_crypto_openpgp_sign): New function. (pgp_mime_part_sign): New function to replace a mime part with the pgp signed equivalent. (pgp_mime_part_encrypt): New function to replace a mime part with the pgp encrypted equivalent. (pgp_mime_part_decrypt): New function to decrypt a pgp encrypted mime part (like from pgp_mime_part_encrypt) and replace it. (is_rfc2015_signed): New function to determine if a mime part is an rfc2015 signed part. (is_rfc2015_encrypted): New function to determine if a mime part is an rfc2015 encrypted part. (mail_crypto_openpgp_verify): New openpgp function to verify a signature. svn path=/trunk/; revision=7056
* Dont blindly convert all parts to utf8, e.g. image/jpg. We only convertNot Zed2000-12-151-26/+31
| | | | | | | | | | 2000-12-15 Not Zed <NotZed@HelixCode.com> * mail-display.c (write_data_to_file): Dont blindly convert all parts to utf8, e.g. image/jpg. We only convert text/* parts, and only then if required. svn path=/trunk/; revision=7035
* Unref the iterator when we're done with it.Christopher James Lahey2000-12-152-0/+6
| | | | | | | | | 2000-12-14 Christopher James Lahey <clahey@helixcode.com> * mail-threads.c (update_active_views): Unref the iterator when we're done with it. svn path=/trunk/; revision=7029
* call gtk_html_set_default_content_type to make gkthtml default to utf-8Larry Ewing2000-12-152-0/+9
| | | | | | | | | | 2000-12-14 Larry Ewing <lewing@helixcode.com> * mail-display.c (mail_display_new): call gtk_html_set_default_content_type to make gkthtml default to utf-8 when parsing. This requires gtkhtml >= the released 0.8. svn path=/trunk/; revision=7022
* Fix a slight race condition that could cause the busy indicator not toEttore Perazzoli2000-12-152-7/+14
| | | | | | go off after switching folder views. svn path=/trunk/; revision=7021
* Made the vertical scrollbar always be there.Christopher James Lahey2000-12-143-2/+14
| | | | | | | | | | | | 2000-12-13 Christopher James Lahey <clahey@helixcode.com> * folder-browser.c (my_folder_browser_init): Made the vertical scrollbar always be there. * message-list.c (message_list_get_layout): Changed the minimum width of some of the pixmap column headers. svn path=/trunk/; revision=6983
* Small ChangeLog mistake.Chris Lahey2000-12-131-2/+2
| | | | svn path=/trunk/; revision=6957
* Added a cast.Christopher James Lahey2000-12-134-7/+24
| | | | | | | | | | | | | | | | | 2000-12-12 Christopher James Lahey <clahey@helixcode.com> * component-factory.c (create_view): Added a cast. * mail-summary.c: Added #include "mail-summary.h". Commented out folder_free, summary_free, and view_destroy_cb since they're not used. (do_changed): Added a cast. (create_summary_view): Changed some types so that casting would be easier. * session.c (mail_session_remember_password): Added a cast. svn path=/trunk/; revision=6956
* Fix to use the right .h instead of the deprecated one.Dan Winship2000-12-132-1/+6
| | | | | | | * mail-summary.h: Fix to use the right .h instead of the deprecated one. svn path=/trunk/; revision=6952
* Attach a signature when forwarding, fixes bug #826.Jeffrey Stedfast2000-12-132-1/+15
| | | | | | | | | 2000-12-12 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (forward_message): Attach a signature when forwarding, fixes bug #826. svn path=/trunk/; revision=6944
* New function to tell the code that it's ok (or not) to interact with theDan Winship2000-12-124-1/+28
| | | | | | | | | | | | | | | * session.c (mail_session_enable_interaction): New function to tell the code that it's ok (or not) to interact with the user when trying to authenticate to a service. Starts out turned off. (mail_session_request_dialog): If interaction is disabled, fail if the password isn't in the cache. * component-factory.c (owner_set_cb): Call mail_session_enable_interaction() after everything else. (This means that the IMAP password dialog will no longer pop up [under the splash screen] at startup.) svn path=/trunk/; revision=6924
* Deal with "mailstorage" type views (top-level mail storages) by trying toDan Winship2000-12-123-6/+44
| | | | | | | | | | | | | * component-factory.c (create_view): Deal with "mailstorage" type views (top-level mail storages) by trying to fill the storage's folder tree again if we failed before. (add_storage): Create new storages with a URI and type "mailstorage". * mail-ops.c (cleanup_scan_subfolders): On success, mark the storage as having been loaded, so create_view won't try again. svn path=/trunk/; revision=6923
* Updated to reflect arguments to the openpgp functions - now also takes anJeffrey Stedfast2000-12-124-89/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-11 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (decode_pgp): Updated to reflect arguments to the openpgp functions - now also takes an outlen argument. (try_inline_pgp): Updated. (handle_multipart_encrypted): Updated here too. * mail-crypto.c (crypto_exec_with_passwd): Updated to handle binary streams and such. (mail_crypto_openpgp_encrypt): Always initialize the passwd_fds even if we don't plan on signing. Added an 'inlen' to specify the length of the input data (as it could be binary). Also added a 'userid' argument for cases when we want to sign as well as encrypt. (mail_crypto_openpgp_decrypt): Updated to take an outlen argument in case the ciphertext is encrypted binary data. (mail_crypto_openpgp_clearsign): Added a 'hash' and 'detach' arguments. 'hash' allows the program to specify the preferred hash function (which will come in handy when generating PGP/MIME). 'detach' allows the program to specify whether it wants a detached signature or the entire signed text. svn path=/trunk/; revision=6921
* Ignore double-clicks on "active" columns (the ones where clicking doesDan Winship2000-12-123-1/+12
| | | | | | | | * folder-browser.c (on_double_click): Ignore double-clicks on "active" columns (the ones where clicking does something beyond "select"), fixing bug #811 svn path=/trunk/; revision=6910
* Remove the never-once-used BonoboObject stuff and make MessageList be aDan Winship2000-12-127-199/+129
| | | | | | | | | | | | | | | | | | | | | | | | | * message-list.c: Remove the never-once-used BonoboObject stuff and make MessageList be a GtkWidget instead. Also, keep track of the ETable directly rather than repeatedly calling e_table_scrolled_get_table. * folder-browser.c (folder_browser_destroy): Use gtk methods rather than bonobo methods to destroy the message list. (on_right_click, on_double_click): These are being attached to the ETable directly now, so fix the first argument (which isn't being used anyway, but...) (folder_browser_gui_init): simplify now that MessageList itself is a widget. Also use message_list->table rather than e_table_scrolled_get_table. * mail-local.c (mail_local_reconfigure_folder): Add "mail_" to the beginning of this function name to match its prototype and the other vague namespace conventions in the mailer. * mail-callbacks.c (select_all, invert_selection): Use ml->table. (configure_folder): s/local_reconfigure_folder/mail_&/ svn path=/trunk/; revision=6908
* Remove an unused variable.Dan Winship2000-12-121-1/+0
| | | | | | | * mail-tools.c (mail_tool_quote_message): Remove an unused variable. svn path=/trunk/; revision=6907
* clean up the cleanup a bitDan Winship2000-12-121-6/+3
| | | | | | * mail-ops.c (do_flag_messages): clean up the cleanup a bit svn path=/trunk/; revision=6906
* Just added a little todo comment about some design issues.Michael Zucci2000-12-111-0/+8
| | | | svn path=/trunk/; revision=6901
* oops again, another insignificatn debug printf removed.Michael Zucci2000-12-111-1/+0
| | | | svn path=/trunk/; revision=6900
* Left debug on, turned off.Michael Zucci2000-12-112-1/+2
| | | | svn path=/trunk/; revision=6899
* reordered the options and added maildir, mbox, maildir, mh, in that order.Not Zed2000-12-113-49/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-11 Not Zed <NotZed@HelixCode.com> * local-config.glade: reordered the options and added maildir, mbox, maildir, mh, in that order. * mail-local.c (reconfigure_clicked): Added maildir, re-ordered to match the changed xml file too. (do_reconfigure_folder): WHoever 'threaded' this code forgot to check that folder_browser functions shouldn't be called here. (cleanup_reconfigure_folder): Call it here instead. (lookup_folder): Blah blah, we have to lookup the folder and verify its still the same format, joy. Becaause someone thought it would be wise to make the code 5x more complicated for no reason, and totally break 'mail reconfigure' in the process. i'm really happy about that one. (cleanup_register_folder): Uh, yeah, so like, the local_store->folders hashtable is supposed to point to like, LocalFolders, not CamelFolders. (free_local_folder): Free the localfolder struct properly. (free_folder): Call above to free data properly. (get_folder): Fix for fixing folders hashtable. (local_storage_removed_folder_cb): Same here. (local_storage_new_folder_cb): Ref the local_store when putting it in the local_folder. (cleanup_register_folder): Properly free the local_folder if the op failed. (free_local_folder): Unhook events also. svn path=/trunk/; revision=6898
* Change the "drawfocus" argument on e_table_scrolled_get_table(etable)Christopher James Lahey2000-12-102-1/+7
| | | | | | | | | | 2000-12-09 Christopher James Lahey <clahey@helixcode.com> * message-list.c (message_list_init): Change the "drawfocus" argument on e_table_scrolled_get_table(etable) instead of on etable (etable is an ETableScrolled.) svn path=/trunk/; revision=6893
* Check to see if the file already exists, if it does prompt the user to forJeffrey Stedfast2000-12-093-24/+121
| | | | | | | | | | | | | | | | | | | 2000-12-08 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (save_msg_ok): Check to see if the file already exists, if it does prompt the user to for permission to overwrite the file. (forward_message): g_strdup the cursor_uid if there is only a single message to be forwarded or we'll segfault later. * mail-ops.c (do_save_messages): Rewrote yet again. I'm back to almost an identical implementation as the first time I wrote this except now we write the From line which I had forgotten last time. This means that we no longer have to unlink the .ev-summary file created and we also use fewer resources (no need to create a CamelMboxFolder object). svn path=/trunk/; revision=6882
* the e-table double-click signal now has extra paramsJP Rosevear2000-12-092-1/+6
| | | | | | | | | 2000-12-08 JP Rosevear <jpr@helixcode.com> * folder-browser.c (on_double_click): the e-table double-click signal now has extra params svn path=/trunk/; revision=6880
* Complete the code to associate a URI and a folder type to the toplevelEttore Perazzoli2000-12-093-2/+9
| | | | | | | node in a storage. It sucks a bit and needs a little more refactoring. svn path=/trunk/; revision=6878
* a slight mixup in order causes "1.33 M" to be displayed as the subject...uh ↵Jeffrey Stedfast2000-12-091-4/+4
| | | | | | huh, yea... svn path=/trunk/; revision=6877
* Set the "Size" field to sort using integer comparison instead of string.Jeffrey Stedfast2000-12-092-21/+54
| | | | | | | | | | | | | | | | | | 2000-12-08 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (message_list_get_layout): Set the "Size" field to sort using integer comparison instead of string. (filter_size): New function to transform a integer size into a more readable form. (ml_value_to_string): Use filter_size. (ml_value_is_empty): COL_SIZE is no longer a string, so handle this as an integer. (ml_initialize_value): Here too. (ml_free_value): And here. (ml_duplicate_value): And here too. (message_list_create_extras): Setup the size etable cell. svn path=/trunk/; revision=6876
* Connect to signals on the ETable instead of the ETableScrolled.Christopher James Lahey2000-12-093-7/+15
| | | | | | | | | | | | 2000-12-08 Christopher James Lahey <clahey@helixcode.com> * folder-browser.c: Connect to signals on the ETable instead of the ETableScrolled. * subscribe-dialog.c: Used the e_table_scrolled_get_table function instead of accessing the variable directly. svn path=/trunk/; revision=6873
* Connect to signals on the ETable instead of the ETableScrolled.Christopher James Lahey2000-12-092-4/+9
| | | | | | | | | 2000-12-08 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Connect to signals on the ETable instead of the ETableScrolled. svn path=/trunk/; revision=6871
* Got rid of code referencing the ETableScrolled proxy functions. ChangedChristopher James Lahey2000-12-082-9/+15
| | | | | | | | | | 2000-12-07 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Got rid of code referencing the ETableScrolled proxy functions. Changed the call to e_table_set_cursor_row to send a model row instead of a view row. svn path=/trunk/; revision=6852
* Only do a message_list_foreach if we plan on attaching messages, otherwiseJeffrey Stedfast2000-12-083-8/+47
| | | | | | | | | | | | | | 2000-12-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (forward_message): Only do a message_list_foreach if we plan on attaching messages, otherwise just use ml->cursor_uid. * mail-ops.c (cleanup_forward_messages): If attaching multiple forwarded message, wrap them in a multipart/digest otherwise just attach the single message as a message/rfc822. svn path=/trunk/; revision=6851
* Make the iTip hack spew a g_warning and not crash if you have no identityDan Winship2000-12-082-3/+7
| | | | | | | | * mail-display.c (on_object_requested): Make the iTip hack spew a g_warning and not crash if you have no identity configured. To be revisited. svn path=/trunk/; revision=6845
* Add some g_return_if_fail()s to protect from crashes until the code toDan Winship2000-12-085-8/+22
| | | | | | | | | | | | * mail-callbacks.c: (various) * folder-browser.c (filter_mlist): * mail-autofilter.c (filter_gui_add_from_message): * mail-vfolder.c (vfolder_gui_add_from_message): Add some g_return_if_fail()s to protect from crashes until the code to enable/disable commands based on how many messages are selected is done. svn path=/trunk/; revision=6840
* Make the vfolder editor resize correctly. Fixes bug #835.Jeffrey Stedfast2000-12-072-1/+6
| | | | | | | | | 2000-12-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-vfolder.c (vfolder_gui_add_rule): Make the vfolder editor resize correctly. Fixes bug #835. svn path=/trunk/; revision=6835
* Fix up shutdown so that things that should be destroyed getDan Winship2000-12-075-89/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | destroyed. Among other things, this fixes the bug where IMAP stores weren't disconnected at shutdown. * mail-threads.c (update_active_views): Update for folder_browser_factory_get_control_list change to EList. * folder-browser-factory.c: Turn control_list into an EList so that we can safely remove items from it while it's being iterated (which will happen as FolderBrowsers are destroyed at shutdown while the thread code is trying to update the status bars). (control_destroy_cb): Just destroy the folder_browser. (browser_destroy_cb): New callback for FolderBrowser destroy. Remove the control from control_list here instead of control_destroy_cb, because the controls don't seem to get destroyed reliably... * component-factory.c: Clean up stuff. (factory_destroy): Get rid of this. (owner_unset_cb): Schedule an idle handler to quit. (idle_quit): Wait for all of the FolderBrowsers to be destroyed and then destroy the storages and quit. svn path=/trunk/; revision=6830
* Fix prototypeDan Winship2000-12-071-3/+2
| | | | | | * mail-summary.h (create_summary_view): Fix prototype svn path=/trunk/; revision=6829
* Use e_filename_make_safe (which used to be e_str_make_safe).Jeffrey Stedfast2000-12-074-5/+12
| | | | | | | | | | | | | 2000-12-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.c (mail_config_folder_to_cachename): Use e_filename_make_safe (which used to be e_str_make_safe). * mail-display.c (make_safe_filename): And here. * message-list.c (message_list_drag_data_get): Here too. svn path=/trunk/; revision=6827
* Run the folder_changed code on message_changed as well, so the unreadDan Winship2000-12-072-4/+10
| | | | | | | | * mail-local.c (cleanup_register_folder): Run the folder_changed code on message_changed as well, so the unread message counts update as messages are read. svn path=/trunk/; revision=6813
* Remove bits of filter-on-demand and toolbar bug workaround cruft thatDan Winship2000-12-074-29/+9
| | | | | | | | | | * folder-browser.c: Remove bits of filter-on-demand and toolbar bug workaround cruft that don't do anything useful any more. * mail-ops.c (cleanup_load_folder): unref the ref we added in setup_load_folder. svn path=/trunk/; revision=6812
* Use a charset filter to make sure the data is written out in the charsetJeffrey Stedfast2000-12-062-8/+40
| | | | | | | | | | | | | | 2000-12-05 Jeffrey Stedfast <fejj@helixcode.com> * mail-display.c (write_data_to_file): Use a charset filter to make sure the data is written out in the charset it was meant to be in instead of UTF-8. * mail-format.c (mail_format_raw_message): Don't use the raw message body as the format argument, use "%s" instead. If the raw message contains %'s then it will segfault otherwise. svn path=/trunk/; revision=6803
* Don't use the raw message body as the format argument, use "%s" instead.Jeffrey Stedfast2000-12-062-2/+7
| | | | | | | | | | 2000-12-05 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (mail_format_raw_message): Don't use the raw message body as the format argument, use "%s" instead. If the raw message contains %'s then it will segfault otherwise. svn path=/trunk/; revision=6798
* Fix a typo so that toggling the "remember password" checkbox will activateDan Winship2000-12-062-1/+7
| | | | | | | | * mail-config-gui.c (service_page_item_new): Fix a typo so that toggling the "remember password" checkbox will activate the "OK" button if it was inactive. svn path=/trunk/; revision=6796
* Update the calls to `evolution_storage_new()' according to the newEttore Perazzoli2000-12-053-2/+10
| | | | | | | | API in `libeshell'. Sorry for breaking the build. :-( svn path=/trunk/; revision=6788
* Use info->full_name rather than info->name so that we get the namespaceJeffrey Stedfast2000-12-052-1/+7
| | | | | | | | | | 2000-12-04 Jeffrey Stedfast <fejj@helixcode.com> * subscribe-dialog.c (setup_subscribe_folder): Use info->full_name rather than info->name so that we get the namespace part of the folder path as well. svn path=/trunk/; revision=6783
* return NULL if we can't create a view.Michael Meeks2000-12-056-133/+28
| | | | | | | | | | | | | | 2000-12-04 Michael Meeks <michael@helixcode.com> * e-shell-view.c (get_control_for_uri): return NULL if we can't create a view. (setup_evolution_shell_view_interface): add precondition. + lots of cleans. svn path=/trunk/; revision=6778
* Make inline forwarding not be the default anymore.Ettore Perazzoli2000-12-045-8/+21
| | | | svn path=/trunk/; revision=6771
* Writes out passwords (to .gnome_private) in our patented proprietary "BestDan Winship2000-12-026-8/+136
| | | | | | | | | | | | | | | | | | | | * session.c (mail_session_remember_password): Writes out passwords (to .gnome_private) in our patented proprietary "Best Awesome Super Encryption 64" ("BASE64") format which could not possibly ever be cracked by even the most cryptographically knowledgeable five-year-olds. (mail_session_init): Load remembered passwords at startup. (mail_session_forget_passwords): Erase them from disk as well as memory. * mail-config.c: Add "remember_password" field to MailConfigService. (mail_config_write_on_exit): Call mail_session_remember_password for services with "remember_password" set. * mail-config-gui.c: Add "remember password" checkbox to the dialogs, and make it appear and disappear as appropriate. svn path=/trunk/; revision=6760
* Unref the store regardless of whether or not we're using it, so we don'tDan Winship2000-12-021-1/+2
| | | | | | | | * component-factory.c (mail_load_storages): Unref the store regardless of whether or not we're using it, so we don't leak references to non-storage stores. svn path=/trunk/; revision=6759
* Perform better error-handling.Jeffrey Stedfast2000-12-022-2/+10
| | | | | | | | | 2000-12-01 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (e_mail_address_new): Perform better error-handling. svn path=/trunk/; revision=6758
* use mail_op_set_message_plainRadek Doulik2000-12-014-5/+41
| | | | | | | | | | | | | | 2000-12-01 Radek Doulik <rodo@helixcode.com> * mail-ops.c (mail_op_report_status): use mail_op_set_message_plain * mail-threads.c (mail_op_set_message_plain): plain version of mail_op_set_message, doesn't use printf, passes message untouched, use set_message (mail_op_set_message): set_message (set_message): helper function svn path=/trunk/; revision=6753
* Don't display a dialog, instead inform the user that there was no new mailJeffrey Stedfast2000-12-015-28/+47
| | | | | | | | | | | | | | | | | 2000-11-30 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (cleanup_fetch_mail): Don't display a dialog, instead inform the user that there was no new mail by setting a status message. * message-list.c (message_list_drag_data_get): Use the new e_str_make_safe function. * mail-display.c (make_safe_filename): And here. * mail-config.c (mail_config_folder_to_cachename): Here too. svn path=/trunk/; revision=6745
* Set threaded view before setting the folder (cleanup some flash onsNot Zed2000-11-304-101/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-30 Not Zed <NotZed@HelixCode.com> * mail-ops.c (cleanup_load_folder): Set threaded view before setting the folder (cleanup some flash ons tartup). * message-list.c (message_list_init): Initialise a mempool for uid string storage. (new_id_from_uid): Added messagelist arg, allocate strings from uid_pool. (new_id_from_subject): Same. Fixed all callers. (remove_node_diff): Dont free uid here. (build_flat_diff): Nor here. (clear_tree): Flush the mempool, rather than freeing the id's directly. (free_tree_ids): Removed, no longer required. (free_tree_ids): Likewise. (message_list_init): Dont connect to the table destroy signal anymore to free the uid table. (message_list_destroy): Free the uid pool here. (*): Use accessors for messageid stuff. (content_is_attachment): Removed, no longer required. (ml_tree_value_at): Get the attachment flag directly from the summary. (ml_tree_value_at): For 'fake' nodes, try and do something better than "?" for from, to, and size. (subtree_size): New function, add up the total size of a subtree. (subtree_earliest): Get the earliest date from a subtree. (ml_tree_value_at): Return earliest date sent/received for fake nodes. (ml_tree_value_at): Return something to mark a fake subject line as a fake subject, although i dont know, i guess this buggers up sorting ... (subtree_size): Check the info node is still there. (subtree_earliest): Same here. (subtree_unread): And here. The info node might vanish if the folder has changed/is changing and we try and redraw stuff while its doing it. (message_list_drag_data_get): Use accessors. svn path=/trunk/; revision=6732
* Implement. (message_list_init): Connect the d&d signal.Jeffrey Stedfast2000-11-302-22/+14
| | | | | | | | | | | | | 2000-11-29 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (message_list_drag_data_get): Implement. (message_list_init): Connect the d&d signal. * mail-ops.c (do_save_messages): Use camel a bit more to help us out. Don't create the file ourselves, treat it as a CamelFolder so we don't have to worry about formatting. svn path=/trunk/; revision=6728
* removed #ifdef ENABLE_NLS/#endif on Miguel's request.Gediminas Paulauskas2000-11-301-2/+0
| | | | | | | | 2000-11-30 Gediminas Paulauskas <menesis@delfi.lt> removed #ifdef ENABLE_NLS/#endif on Miguel's request. svn path=/trunk/; revision=6727
* Use camel a bit more to help us out. Don't create the file ourselves,Jeffrey Stedfast2000-11-302-15/+40
| | | | | | | | | | 2000-11-29 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (do_save_messages): Use camel a bit more to help us out. Don't create the file ourselves, treat it as a CamelFolder so we don't have to worry about formatting. svn path=/trunk/; revision=6724
* Remove no-longer-needed e_unicode_init.Dan Winship2000-11-302-2/+2
| | | | | | * main.c (main): Remove no-longer-needed e_unicode_init. svn path=/trunk/; revision=6723
* Fix the allocation here (again) and put a comment explaining it. (Fixes aDan Winship2000-11-302-1/+14
| | | | | | | | * mail-tools.c (mail_tool_quote_message): Fix the allocation here (again) and put a comment explaining it. (Fixes a crash when replying.) svn path=/trunk/; revision=6717
* Wait until after setting up the local storage to find theDan Winship2000-11-293-11/+16
| | | | | | | | | | * component-factory.c (owner_set_cb): Wait until after setting up the local storage to find the Drafts/Outbox/Sent folders. * mail-ops.c (do_setup_folder): Use the file: store rather than mbox:. svn path=/trunk/; revision=6704
* Added the SaveAs bonobo menu verb thingy.Jeffrey Stedfast2000-11-296-38/+94
| | | | | | | | | | | | | | | | | 2000-11-28 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Added the SaveAs bonobo menu verb thingy. * mail-callbacks.c (save_msg): New callback for saving messages. (save_msg_ok): * folder-browser.c (on_right_click): Add a Save Ass menu item. * mail-ops.c (cleanup_save_messages): Save all emails to the path given. svn path=/trunk/; revision=6699
* Fix the initial unread counts after the last patch.Dan Winship2000-11-292-1/+9
| | | | | | | * mail-local.c (cleanup_register_folder): Fix the initial unread counts after the last patch. svn path=/trunk/; revision=6697
* This needs to run from the main thread, not the camel thread, so add aDan Winship2000-11-282-5/+22
| | | | | | | | * mail-local.c (local_folder_changed): This needs to run from the main thread, not the camel thread, so add a proxy signal handler to call mail_op_forward_event. Fixes hangs (eg bugzilla #909). svn path=/trunk/; revision=6687
* Removed some unecessary debugging printf'sJeffrey Stedfast2000-11-282-2/+4
| | | | | | | | 2000-11-27 Jeffrey Stedfast <fejj@helixcode.com> * mail-display.c: Removed some unecessary debugging printf's svn path=/trunk/; revision=6682
* Revert the new druid for now, until the corresponding code is done, soDan Winship2000-11-283-2842/+53
| | | | | | | * mail-config-druid.glade: Revert the new druid for now, until the corresponding code is done, so that the druid will work again. svn path=/trunk/; revision=6679
* Big patch. Evolution-services rewrite, services updated for new system,Iain Holmes2000-11-228-34/+103
| | | | | | | | Big patch. Evolution-services rewrite, services updated for new system, Fixes to Executive Summary and other things. See some changelogs svn path=/trunk/; revision=6644
* add GPGME_CFLAGS and GPGME_LIBSDan Winship2000-11-222-3/+9
| | | | | | * Makefile.am: add GPGME_CFLAGS and GPGME_LIBS svn path=/trunk/; revision=6642
* New function to return if user wants to view message source.Jeffrey Stedfast2000-11-2213-163/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-21 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.c (mail_config_view_source): New function to return if user wants to view message source. (mail_config_set_view_source): New function to set whether the view wants to view source. * mail-ops.c (mail_do_view_message_sources): Removed. We're not gonna view-source this way anymore. * folder-browser-factory.c: Removed the ViewSource bonobo verb from the Message menu. (control_activate): Added ViewSource. * folder-browser.c (on_right_click): Removed Message menu item to view message source. (folder_browser_toggle_view_source): New callback to set whether or not the MailDisplay shows the raw message or the pretty-ified message. * mail-callbacks.c: Removed view_source. * mail-display.c (redisplay): If toggle_raw is set then display the raw message else display the pretty formatted message. (mail_display_redisplay): New function to force the redisplay of a message. * mail-format.c (mail_format_raw_message): New function to write the raw message data. svn path=/trunk/; revision=6639
* IF we dont find a source, clear the exception and ignore it silently. forNot Zed2000-11-213-14/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-21 Not Zed <NotZed@HelixCode.com> * mail-vfolder.c (vfolder_uri_to_folder): IF we dont find a source, clear the exception and ignore it silently. for e.g. if the user reconfigured their mailboxes and one of them no longer exists. * message-list.c: (message_list_set_folder): If we get set a new folder, unhook any events before unrefing the folder too (the folder is never reset currently, but this would cause problems). (subtree_unread): Check for uid null, wont crash, but its a bug. (ml_tree_value_at): If the uid is null, then fake an obviously bad line. (build_subtree): Yeah well, we can't like freeze/thaw here, because this is called recursive, and freeze/thaw isn't recursive, like pre model and post model change was. (build_tree): Maybe we can try it here, although i dont think it'll help much. (build_flat): And this is also a tree. yes a tree. (build_tree): Added changes arg. If set, then try the 'diff' approach, unless the tree is already empty. (message_list_set_threaded): Dont clear the tree here. (message_list_set_search): Or here. svn path=/trunk/; revision=6629
* #include <gtkhtml/gtkhtml-embedded.h>Radek Doulik2000-11-212-0/+5
| | | | | | | | 2000-11-21 Radek Doulik <rodo@helixcode.com> * mail-display.c: #include <gtkhtml/gtkhtml-embedded.h> svn path=/trunk/; revision=6627
* Removed. No longer serves a purpose.Not Zed2000-11-215-794/+25
| | | | | | | | | | | | | | | | | 2000-11-21 Not Zed <NotZed@HelixCode.com> * message-thread.[ch]: Removed. No longer serves a purpose. * Makefile.am (evolution_mail_SOURCES): Removed message-thread.[ch]. * message-list.c (build_subtree): (node_equal): (add_node_diff): (build_subtree_diff): (do_regenerate_messagelist): (cleanup_regenerate_messagelist): Changed to use camel-folder-thread. svn path=/trunk/; revision=6625