aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* New async function to filter messages on demand. (do_fetch_mail): UpdatedJeffrey Stedfast2000-09-076-186/+273
| | | | | | | | | | | | | | | | | | | | 2000-09-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (mail_do_filter_ondemand): New async function to filter messages on demand. (do_fetch_mail): Updated to filter 1 message at a time using the new filter-driver code * mail-callbacks.c (composer_postpone_cb): Send NULL as the message info. (run_filter_ondemand): Use mail_do_filter_ondemand instead of filter_driver_run * mail-tools.c: Removed mail_tool_filter_contents_into and mail_tool_fetch_mail_into_searchable as they have now been deprecated. svn path=/trunk/; revision=5225
* set the data to NULL for the tree root, so nuke_uids won't try to freeDan Winship2000-09-072-1/+6
| | | | | | | * message-list.c (clear_tree): set the data to NULL for the tree root, so nuke_uids won't try to free anything. svn path=/trunk/; revision=5222
* Fix memory handling for the shell's CORBA object reference within theEttore Perazzoli2000-09-065-17/+51
| | | | | | folder browser. svn path=/trunk/; revision=5221
* camel_mime_part_get_filename now deals with both Content-Disposition andDan Winship2000-09-064-23/+10
| | | | | | | | | | * mail-display.c (make_safe_filename): * mail-format.c (handle_mystery): * mail-identify.c (mail_identify_mime_part): camel_mime_part_get_filename now deals with both Content-Disposition and Content-Type. svn path=/trunk/; revision=5215
* kill a warningDan Winship2000-09-061-1/+1
| | | | svn path=/trunk/; revision=5214
* Add a use-default-port option to the source editor ; bugfixesPeter Williams2000-09-064-47/+204
| | | | svn path=/trunk/; revision=5208
* Re-rename "Sent".Dan Winship2000-09-062-1/+3
| | | | | | * component-factory.c (owner_set_cb): Re-rename "Sent". svn path=/trunk/; revision=5207
* Remove the "+ 90" here since it seems to break things for me, and it's notDan Winship2000-09-062-1/+7
| | | | | | | | * folder-browser.c (fb_resize_cb): Remove the "+ 90" here since it seems to break things for me, and it's not commented anyway and there's no excuse for adding 90 to a number with no explanation. svn path=/trunk/; revision=5205
* Cleanup of lots of exception handling ; bugfixesPeter Williams2000-09-062-3/+9
| | | | svn path=/trunk/; revision=5202
* only call camel_folder_get_message_info if the folder hasDan Winship2000-09-062-52/+48
| | | | | | | | | * mail-tools.c (mail_tool_move_folder_contents): only call camel_folder_get_message_info if the folder has summary_capability. Don't hack up a fake CamelMessageInfo: append_message will take NULL. svn path=/trunk/; revision=5201
* Replace mail_do_setup_draftbox, mail_do_setup_outbox, andDan Winship2000-09-064-148/+66
| | | | | | | | | | | | | | * mail-ops.c: Replace mail_do_setup_draftbox, mail_do_setup_outbox, and mail_do_setup_sentbox with mail_do_setup_folder. (do_send_mail, do_send_queue): s/sentbox_folder/sent_folder/ * component-factory.c (owner_set_cb): Use mail_do_setup_folder, rename sentbox_folder to sent_folder, and call mail_operation_wait_for_finish after the setup_folder calls in case anything needs to use the _folder variables. svn path=/trunk/; revision=5200
* Applied Jesse's patch that will append a signature to the replied messageJeffrey Stedfast2000-09-043-22/+36
| | | | | | | | | | | | | 2000-09-04 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (mail_generate_reply): Applied Jesse's patch that will append a signature to the replied message text * folder-browser-factory.c: Changed "Send & Receieve" back to "Get Mail" temporarily so that the toolbar buttons don't all get stretched to some weird proportion svn path=/trunk/; revision=5191
* Copy the passed in item before adding (mail_config_add_source): dittoJP Rosevear2000-09-033-20/+45
| | | | | | | | | | | | | | | | | | | | 2000-09-03 JP Rosevear <jpr@helixcode.com> * mail-config.c (mail_config_add_news): Copy the passed in item before adding (mail_config_add_source): ditto (mail_config_add_identity): ditto * mail-config-gui.c (mail_config): We don't actually need a notebook pointer. (identities_edit_clicked): Don't explicitly destroy, we are using gtk_clist_set_data_full now (sources_edit_clicked): ditto (news_edit_clicked): ditto (mail_config): Use gtk_clist_set_row_data_full to kill leaks svn path=/trunk/; revision=5185
* Change the "Get Mail" toolbar button to become "Send & Receieve"Jeffrey Stedfast2000-09-037-41/+263
| | | | | | | | | | | | | | | | | | | | 2000-09-03 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Change the "Get Mail" toolbar button to become "Send & Receieve" * mail-callbacks.c (send_queued_mail): New callback function for sending queued mail (send_receieve_mail): New callback for Send & Receieve that basically just calls send_queued_mail and then fetch_mail * mail-ops.c (cleanup_send_mail): Mod to be able to handle a NULL composer window (setup_send_mail): Modified to handle a NULL composer widget (mail_do_send_queue): New convenience async function to send all messages in a folder (aka all messages in a queue) svn path=/trunk/; revision=5184
* Since POP3 doesn't implement get_message_info, we need to check for infoJeffrey Stedfast2000-09-032-40/+61
| | | | | | | | | | | | | 2000-09-02 Jeffrey Stedfast <fejj@helixcode.com> * mail-tools.c (mail_tool_move_folder_contents): Since POP3 doesn't implement get_message_info, we need to check for info to be NULL. In this case, we need to make our own info structure to pass to append_message and then remember to free it afterward. Should we even bother with get_message_info? And if so, should we then implement get_message_info for POP3? svn path=/trunk/; revision=5182
* Make the `Home' and `End' keys do the Right Thing. Remove circularEttore Perazzoli2000-09-035-24/+101
| | | | | | reference to the shell. Bind "Open in New Window" to `Ctrl-O'. svn path=/trunk/; revision=5181
* A bit more e_utf8 wrappers here and thereLauris Kaplinski2000-09-023-12/+22
| | | | svn path=/trunk/; revision=5180
* Added calendar/conduits/Makefile, calendar/conduits/calendar/Makefile andChristopher James Lahey2000-09-022-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-02 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added calendar/conduits/Makefile, calendar/conduits/calendar/Makefile and calendar/conduits/todo/Makefile to the list of makefiles to output. From calendar/ChangeLog: 2000-09-02 Christopher James Lahey <clahey@helixcode.com> * conduits/calendar/calendar-conduit.c, conduits/todo/todo-conduit.c, gui/e-week-view.c, gui/gnome-cal.c: Fixed some warnings. From mail/ChangeLog: 2000-09-01 Christopher James Lahey <clahey@helixcode.com> * folder-browser.c: Removed a warning. svn path=/trunk/; revision=5179
* Attach a callback to the postpone signal (send_to_url): Same (mail_reply):Jeffrey Stedfast2000-09-025-26/+197
| | | | | | | | | | | | | | | | | | | | | | | | 2000-09-01 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (compose_msg): Attach a callback to the postpone signal (send_to_url): Same (mail_reply): Same (forward_msg): Same (composer_postpone_cb): Callback function for the postpone signal * mail-ops.c (mail_do_setup_outbox): New convenience function to load the Outbox folder (mail_do_setup_sentbox): Same, but for Sentbox. (do_send_mail): Now saves messages in Sentbox if sent successfully (mail_do_append_mail): New convenience async function for appending messages to a folder * component-factory.c: Added outbox_folder and sent_folder (owner_set_cb): Call our new convenience functions to load Outbox and Sentbox svn path=/trunk/; revision=5178
* New convenience function to load the Outbox folderJeffrey Stedfast2000-09-024-14/+153
| | | | | | | | | | | | | | | 2000-09-01 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (mail_do_setup_outbox): New convenience function to load the Outbox folder (mail_do_setup_sentbox): Same, but for Sentbox. (do_send_mail): Now saves messages in Sentbox if sent successfully * component-factory.c: Added outbox_folder and sent_folder (owner_set_cb): Call our new convenience functions to load Outbox and Sentbox svn path=/trunk/; revision=5172
* Changed `Evolution::Storage' so that the displayed name for a folderEttore Perazzoli2000-09-013-2/+13
| | | | | | | is decoupled from its path, and updated all the components accordingly. svn path=/trunk/; revision=5159
* Make the HTML widget grab the focus in the mail view window so thatEttore Perazzoli2000-08-312-0/+6
| | | | | | you can scroll with the keyboard without clicking on the widget first. svn path=/trunk/; revision=5130
* Make CamelServices connect only when told to (old behavior). Make ↵Peter Williams2000-08-313-78/+26
| | | | | | CamelRemoteStore do its stuff in service::connect, not ::post_connect. svn path=/trunk/; revision=5116
* Fixing a spurious unref, or creating a circular reference? You decide.Peter Williams2000-08-302-0/+12
| | | | svn path=/trunk/; revision=5104
* Update this and related functions to no longer take a From address. (TheDan Winship2000-08-304-41/+26
| | | | | | | | | | | | | | | | | * mail-ops.c (mail_do_send_mail): Update this and related functions to no longer take a From address. (The composer deals with it itself now.) (do_send_mail): Add the Evolution version back to the X-Mailer header (this change got lost in the thread migration). * mail-callbacks.c (composer_send_cb): Don't re-fetch the From address. It's set by the composer now. Don't free the post_send_data from here. (mail_reply): Attach to the composer's destroy signal to free the psd. (The current code would free it more than once if an error occurred while trying to send the first time.) svn path=/trunk/; revision=5102
* Add new news stores as well as mail sourcesPeter Williams2000-08-292-0/+11
| | | | svn path=/trunk/; revision=5088
* Free the from address when we're done with it. Also,Jeffrey Stedfast2000-08-292-12/+16
| | | | | | | | | | 2000-08-28 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (composer_send_cb): Free the from address when we're done with it. Also, e_msg_composer_hdrs_get_from returns alloc'd memory so don't strdup it. svn path=/trunk/; revision=5083
* Add more user-friendly progress messages from the friendly folks at Helix ↵Peter Williams2000-08-283-3/+27
| | | | | | Code (TM) svn path=/trunk/; revision=5076
* Display the number of messages downloaded starting from one instead ofEttore Perazzoli2000-08-283-16/+49
| | | | | | | | | | | | zero. Improve the behavior of the mail view in a separate window by reusing the same size as the last resize (we could have a better policy, but this should be enough for now). Also, create the toolbar the right way so that we respect the global GNOME settings without doing it manually. svn path=/trunk/; revision=5075
* Goodbye, GDK_THREADS!Peter Williams2000-08-2811-102/+31
| | | | svn path=/trunk/; revision=5074
* Fix to prevent possible buffer overflows and a logic fix.Jeffrey Stedfast2000-08-282-5/+5
| | | | | | | | | 2000-08-28 Jeffrey Stedfast <fejj@helixcode.com> * mail-crypto.c (mail_crypto_openpgp_encrypt): Fix to prevent possible buffer overflows and a logic fix. svn path=/trunk/; revision=5071
* Fix to prevent possible buffer overflowsJeffrey Stedfast2000-08-282-34/+42
| | | | | | | | | 2000-08-28 Jeffrey Stedfast <fejj@helixcode.com> * mail-crypto.c (mail_crypto_openpgp_encrypt): Fix to prevent possible buffer overflows svn path=/trunk/; revision=5070
* New crypto function to clearsign plaintextJeffrey Stedfast2000-08-283-8/+140
| | | | | | | | | 2000-08-27 Jeffrey Stedfast <fejj@helixcode.com> * mail-crypto.c (mail_crypto_openpgp_clearsign): New crypto function to clearsign plaintext svn path=/trunk/; revision=5068
* Added bonobo menu handler for mark_all_deleted function.Ariel Rios2000-08-284-0/+28
| | | | | | | | | | | | 2000-08-27 Ariel Rios <ariel@arcavia.com> * folder-browser-factory.c (control_activate): Added bonobo menu handler for mark_all_deleted function. * mail.h: (mark_all_deleted): Added prototype. * mail-callbacks.c (mark_all_deleted): Added callback for marking all displayed messages in a folder as$ svn path=/trunk/; revision=5067
* Change the way the message view window's size is set up so that theEttore Perazzoli2000-08-272-1/+8
| | | | | | user can make it smaller than the default if she likes. svn path=/trunk/; revision=5062
* Fixed an uninitialized variable.Christopher James Lahey2000-08-262-1/+5
| | | | | | | | 2000-08-25 Christopher James Lahey <clahey@helixcode.com> * mail-crypto.c: Fixed an uninitialized variable. svn path=/trunk/; revision=5057
* KillJP Rosevear2000-08-263-33/+8
| | | | | | | | | | 2000-08-26 JP Rosevear <jpr@helixcode.com> * evolution-mail.gnorba: Kill * Makefile.am: Remove gnorba related stuff svn path=/trunk/; revision=5049
* Add support for specifying on which port to connect to a server; fix a ↵Peter Williams2000-08-262-0/+42
| | | | | | potential infinite loop in unicode. svn path=/trunk/; revision=5041
* Implemented PGP 2.x encryption. We only need to get the passphrase if weJeffrey Stedfast2000-08-262-17/+65
| | | | | | | | | | | 2000-08-25 Jeffrey Stedfast <fejj@helixcode.com> * mail-crypto.c (mail_crypto_openpgp_encrypt): Implemented PGP 2.x encryption. We only need to get the passphrase if we plan to sign the text, otherwise we don't need to worry about getting the passphrase. svn path=/trunk/; revision=5035
* More UTF-8 handlingLauris Kaplinski2000-08-253-29/+42
| | | | svn path=/trunk/; revision=5032
* Sync the right-click menu with the main menu for modifying messagesPeter Williams2000-08-254-6/+55
| | | | svn path=/trunk/; revision=5018
* Start adding progress info; make flag_all_messages camel-safe; make the no ↵Peter Williams2000-08-255-8/+70
| | | | | | new mail dialog more descriptive. svn path=/trunk/; revision=5016
* Fixed some warnings in the uihandler code.Christopher James Lahey2000-08-252-7/+12
| | | | | | | | | 2000-08-24 Christopher James Lahey <clahey@helixcode.com> * folder-browser-factory.c: Fixed some warnings in the uihandler code. svn path=/trunk/; revision=5008
* Fix GDK_THREADS_entering and leaving, hopefully once and for all. Genericify ↵Peter Williams2000-08-2517-227/+512
| | | | | | the recursive-store-loading. Load stores when they're added to the config page. svn path=/trunk/; revision=5005
* Reformat a bit, make "Folder" appear before "Message", fill in the MessageDan Winship2000-08-242-102/+132
| | | | | | | | * folder-browser-factory.c (control_activate): Reformat a bit, make "Folder" appear before "Message", fill in the Message menu more. svn path=/trunk/; revision=4989
* Fix a deadlock upon checking mail due to new camel_service semantics.Peter Williams2000-08-242-5/+11
| | | | svn path=/trunk/; revision=4984
* ChangeLog updates.Peter Williams2000-08-231-0/+12
| | | | svn path=/trunk/; revision=4966
* Automatically connect services when given a valid URL (should hopefully ↵Peter Williams2000-08-235-44/+48
| | | | | | disconnect, too); remove the old movemail folder correctly. svn path=/trunk/; revision=4965
* Fix an infinite loop in the message threading with empty containers.Peter Williams2000-08-222-1/+26
| | | | svn path=/trunk/; revision=4964
* Added fb_resize_cb to folder-browser.cJeremy Wise2000-08-212-1/+15
| | | | svn path=/trunk/; revision=4897
* many fixes to make it compile with strange prefixes...Mathieu Lacage2000-08-211-1/+0
| | | | | | | neither mail nor the calendar components work though... evil stuff. svn path=/trunk/; revision=4892
* Fix menu itemsPeter Williams2000-08-182-11/+16
| | | | svn path=/trunk/; revision=4870
* Move menu items around, fix some GUI bits.Ettore Perazzoli2000-08-186-42/+98
| | | | svn path=/trunk/; revision=4867
* Filtering on demand! booyeah!Peter Williams2000-08-1811-12/+197
| | | | svn path=/trunk/; revision=4864
* Whole buncha leak fixes thanks to PurifyMatthew Loper2000-08-178-8/+36
| | | | svn path=/trunk/; revision=4862
* Use a configurable timeout.Richard Hult2000-08-177-3/+127
| | | | | | | | | | | | | | | | | | | | | 2000-08-16 Richard Hult <rhult@hem.passagen.se> * mail-ops.c (cleanup_display_message): Use a configurable timeout. * mail-config.c (mail_config_set_mark_as_seen_timeout): New function for the settable mark-as-seen timeout. (mail_config_mark_as_seen_timeout): Likewise. (mail_config_write): Write the timeout setting. (config_read): Read timeout setting. * mail-config-gui.c (mail_config): Add option for the settable mark-as-seen timeout. (mail_config_apply_clicked): Likewise. (timeout_changed): New function for the timeout setting. svn path=/trunk/; revision=4859
* Plug mem leaks.Peter Williams2000-08-173-30/+179
| | | | svn path=/trunk/; revision=4854
* Updates to the memory debugging stuff.Peter Williams2000-08-162-14/+57
| | | | svn path=/trunk/; revision=4853
* Updated russian translation. Fixed typo in mail-ops.c.Valek Frob2000-08-161-1/+1
| | | | svn path=/trunk/; revision=4852
* Add support for debugging the message thread memory leaks.Peter Williams2000-08-162-5/+65
| | | | svn path=/trunk/; revision=4850
* Address bugzilla bug #496Peter Williams2000-08-162-1/+10
| | | | svn path=/trunk/; revision=4849
* Close the pipes when finished; add i18nPeter Williams2000-08-164-62/+90
| | | | svn path=/trunk/; revision=4846
* Add support for copying messagesPeter Williams2000-08-167-51/+112
| | | | svn path=/trunk/; revision=4845
* Don't deadlock on PGP key requestPeter Williams2000-08-162-1/+9
| | | | svn path=/trunk/; revision=4841
* Fix the error dialogs.Peter Williams2000-08-152-3/+11
| | | | svn path=/trunk/; revision=4837
* Compile fix for RH7.0beta from Kenny Graunke <kwg@teleport.com>; unprototype ↵Peter Williams2000-08-143-1/+8
| | | | | | the disabled mail functions svn path=/trunk/; revision=4836
* Added support for encrypting via PGP 5.0Jeffrey Stedfast2000-08-142-5/+26
| | | | | | | | | 2000-08-13 Jeffrey Stedfast <fejj@helixcode.com> * mail-crypto.c (mail_crypto_openpgp_encrypt): Added support for encrypting via PGP 5.0 svn path=/trunk/; revision=4831
* Use CORBA_Object_release() instead of CORBA_free() as appropriate, youEttore Perazzoli2000-08-142-1/+6
| | | | | | doofus. svn path=/trunk/; revision=4830
* Use the default handlers for SIGBUS and SIGSEGV as gnome_segv_handlerEttore Perazzoli2000-08-142-0/+13
| | | | | | doesn't enjoy threads much. svn path=/trunk/; revision=4826
* Set config->configured to TRUEJeffrey Stedfast2000-08-142-1/+7
| | | | | | | | | 2000-08-13 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.c (mail_config_write): Set config->configured to TRUE svn path=/trunk/; revision=4825
* Remove a bogus `GDK_THREADS_ENTER()'/`GDK_THREADS_LEAVE()' pair.Ettore Perazzoli2000-08-142-2/+7
| | | | svn path=/trunk/; revision=4823
* Fix the ugly hack to get rid of a CORBA race condition. Yes, it'sEttore Perazzoli2000-08-144-15/+26
| | | | | | even uglier now. svn path=/trunk/; revision=4814
* add mail-local.hDan Winship2000-08-142-1/+6
| | | | | | * Makefile.am (evolution_mail_SOURCES): add mail-local.h svn path=/trunk/; revision=4813
* Disable error dialogs for now, as they hang.Ettore Perazzoli2000-08-142-1/+6
| | | | svn path=/trunk/; revision=4810
* Fix some freed-memory referencesDan Winship2000-08-142-12/+14
| | | | | | * mail-format.c (add_url): Fix some freed-memory references svn path=/trunk/; revision=4806
* Don't free the prompt. It doesn't belong to you.Dan Winship2000-08-142-1/+5
| | | | | | | * mail-threads.c (get_password): Don't free the prompt. It doesn't belong to you. svn path=/trunk/; revision=4805
* Fix bug in the folder creation code: CORBA_Object_duplicate() theEttore Perazzoli2000-08-142-6/+15
| | | | | | CORBA listener before storing it. svn path=/trunk/; revision=4804
* Don't wrap the gnome_dialog_run in GDK_THREADS_ENTER/LEAVEJeffrey Stedfast2000-08-142-2/+7
| | | | | | | | | 2000-08-13 Jeffrey Stedfast <fejj@helixcode.com> * mail-threads.c (get_password): Don't wrap the gnome_dialog_run in GDK_THREADS_ENTER/LEAVE svn path=/trunk/; revision=4803
* Get the mail component to use the new Evolution::ShellView interface.Ettore Perazzoli2000-08-139-544/+380
| | | | | | | This implementation is so ugly and evil and needs to be replaced. Don't look at it. Go away. svn path=/trunk/; revision=4797
* Updated to reflect changes to mail_do_scan_subfoldersJeffrey Stedfast2000-08-135-200/+187
| | | | | | | | | | | | | 2000-08-13 Jeffrey Stedfast <fejj@helixcode.com> * component-factory.c (create_news_storage): Updated to reflect changes to mail_do_scan_subfolders (create_imap_storage): Same. * mail-ops.c (mail_do_scan_subfolders): No longer takes an add_INBOX argument svn path=/trunk/; revision=4795
* Lose a reference to the store on purpose. To be fixed later.Dan Winship2000-08-132-0/+11
| | | | | | | * mail-ops.c (do_scan_subfolders): Lose a reference to the store on purpose. To be fixed later. svn path=/trunk/; revision=4794
* Take the source as a command-line argument rather than fetching it fromDan Winship2000-08-132-17/+22
| | | | | | | | | * component-factory.c (create_imap_storage): Take the source as a command-line argument rather than fetching it from mail-config. (owner_set_cb): Call create_imap_storage on each configured IMAP store. svn path=/trunk/; revision=4793
* Redo this so that the lock icon remains active after a failed decryptionDan Winship2000-08-132-17/+31
| | | | | | | | | | * mail-format.c (decode_pgp): Redo this so that the lock icon remains active after a failed decryption so you can click on it and try again. (try_inline_pgp, handle_multipart_encrypted): Put a border around the decrypted data. svn path=/trunk/; revision=4790
* Don't clear the tree here. If two "folder_changed"s arrive in closeDan Winship2000-08-134-22/+53
| | | | | | | | | | | | | | | | | | | | | * message-list.c (cleanup_regenerate_messagelist): Don't clear the tree here. If two "folder_changed"s arrive in close succession, then one possible ordering of events is cleanup_regenerate_messagelist, cleanup_regenerate_messagelist, cleanup_thread_messages, cleanup_thread_messages. Which would result in the message list being filled in twice without being cleared in between. So don't clear it until the rebuilding function itself is called. (clear_tree): New function to empty out the ETreeModel in the message list. (build_tree): Change to simpler interface. Call clear_tree. (build_subtree): Does most of the work of the old build_tree (build_flat): Remove unused arg. Call clear_tree. * message-thread.c (cleanup_thread_messages): Update for build_tree interface change. svn path=/trunk/; revision=4787
* Don't leak the transport.Dan Winship2000-08-132-0/+3
| | | | | | * mail-ops.c (do_send_mail): Don't leak the transport. svn path=/trunk/; revision=4784
* Don't ref the store returned from camel_session_get_store. It's alreadyDan Winship2000-08-132-14/+8
| | | | | | | | | | * mail-tools.c (mail_tool_get_folder_from_urlname): Don't ref the store returned from camel_session_get_store. It's already reffed. (mail_tool_get_root_of_store): Ditto. (mail_tool_send_via_transport): Remove some commented-out code and fix it to not leave the transport connected if sending fails. svn path=/trunk/; revision=4783
* Toggling a flag is an "instantaneous" operation, so if we're only doingDan Winship2000-08-122-2/+21
| | | | | | | | | | * mail-callbacks.c (delete_msg): Toggling a flag is an "instantaneous" operation, so if we're only doing one, just do it and return, rather than queueing it for the other thread. This makes the "Delete" key work correctly (move to the next message) again. svn path=/trunk/; revision=4778
* Remove workaround for gnome-vfs 0.2 bug.Dan Winship2000-08-123-29/+8
| | | | | | | | | | * mail-identify.c: Remove workaround for gnome-vfs 0.2 bug. * mail-format.c (lookup_handler): Remove workaround for function introduced between gnome-vfs 0.2 and 0.3, since we depend on 0.3 now. svn path=/trunk/; revision=4777
* kill using_oaf assertion.Michael Meeks2000-08-122-1/+4
| | | | | | | | | | | | 2000-08-12 Michael Meeks <michael@helixcode.com> * main.c (main): kill using_oaf assertion. 2000-08-12 Michael Meeks <michael@helixcode.com> * e-msg-composer.c (get_text): get_text not get_txt. svn path=/trunk/; revision=4770
* Fix compilation of that vital necessity test-mailPeter Williams2000-08-122-3/+7
| | | | svn path=/trunk/; revision=4765
* Move menu items that affect a single message together, ditto with onesJP Rosevear2000-08-122-8/+16
| | | | | | | | | | 2000-08-11 JP Rosevear <jpr@helixcode.com> * folder-browser-factory.c (control_activate): Move menu items that affect a single message together, ditto with ones that affect multiple messages, put a separator in. svn path=/trunk/; revision=4764
* Fixed a warning.Christopher James Lahey2000-08-124-1/+8
| | | | | | | | 2000-08-11 Christopher James Lahey <clahey@helixcode.com> * mail-format.c, mail-tools.h, message-list.c: Fixed a warning. svn path=/trunk/; revision=4760
* Redo this again. Get rid of struct mail_format_data and move most of thatDan Winship2000-08-125-296/+323
| | | | | | | | | | | | | | * mail-display.c, mail-format.c: Redo this again. Get rid of struct mail_format_data and move most of that info into MailDisplay itself, and pass the MailDisplay around. Add a GData** to MailDisplay, and put the urls hash table into that. Also add the ability to redisplay the currently-displayed message (with the same GData**), and add a "show_pgp" datum to it that controls whether or not to decrypt PGP messages, and redo the PGP stuff (again) to take that into account. Now you don't get the annoying PGP password dialog box without any warning. svn path=/trunk/; revision=4757
* ChangeLog update to go with my previous commitPeter Williams2000-08-121-0/+14
| | | | svn path=/trunk/; revision=4756
* use config->news instead of config->sources.Chris Toshok2000-08-122-2/+7
| | | | | | | | | 2000-08-11 Chris Toshok <toshok@helixcode.com> * mail-config.c (mail_config_get_default_news): use config->news instead of config->sources. svn path=/trunk/; revision=4753
* Fix 'Test settings' in the prefs dialog. Update the async readme.Peter Williams2000-08-125-67/+152
| | | | svn path=/trunk/; revision=4752
* Update this for CamelObject (try_inline_pgp): Deal with decrypting hereDan Winship2000-08-125-118/+123
| | | | | | | | | | | | | | | | | | | * mail-format.c (destroy_part): Update this for CamelObject (try_inline_pgp): Deal with decrypting here rather than trying to pawn the data off to handle_multipart_encrypted, since it most likely won't be correct (won't have the proper MIME headers inside the encrypted part). (handle_multipart_encrypted): Add code from Nathan Thompson-Amato to re-MIME-parse the decrypted data after decrypting. * mail-crypto.c (mail_crypto_openpgp_{de,en}crypt): Get the password here rather than having it passed in. Remove some dead code. * session.c (mail_request_dialog): Allow this to work in either a sync or an async context. svn path=/trunk/; revision=4751
* Put the dont-try-to-get-mail-from-imap-sources check into a better spotPeter Williams2000-08-123-5/+14
| | | | svn path=/trunk/; revision=4750
* Work around gtk option menu bug. (service_page_item_auth_fill): dittoJP Rosevear2000-08-122-4/+10
| | | | | | | | | | 2000-08-11 JP Rosevear <jpr@helixcode.com> * mail-config-gui.c (service_page_new): Work around gtk option menu bug. (service_page_item_auth_fill): ditto svn path=/trunk/; revision=4749
* Fix two mistakes in the FORWARD_MESSAGE handlerPeter Williams2000-08-122-1/+5
| | | | svn path=/trunk/; revision=4748
* Fix some warnings. Make 'configure folder' a modal dialog.Peter Williams2000-08-123-6/+13
| | | | svn path=/trunk/; revision=4747
* Fix the camel-folder's thaw handler. Implement event forwarding into the ↵Peter Williams2000-08-126-17/+100
| | | | | | main thread. svn path=/trunk/; revision=4744
* If the caller passes "-1" for the model row, translate that to view row 0.Dan Winship2000-08-123-8/+17
| | | | | | | | | | | * message-list.c (message_list_select): If the caller passes "-1" for the model row, translate that to view row 0. * message-list.c (idle_select_row): * mail-callbacks.c (select_first_unread): Use new message_list_select kludge^H^H^H^H^H^Hfeature svn path=/trunk/; revision=4743
* Allow the window to be growableJP Rosevear2000-08-123-6/+14
| | | | | | | | | | | 2000-08-11 JP Rosevear <jpr@helixcode.com> * mail-config-gui.c (source_dialog): Allow the window to be growable * mail-config.c: use void in empty declarations svn path=/trunk/; revision=4742
* Fix some ()'s instead of voidsPeter Williams2000-08-123-16/+25
| | | | svn path=/trunk/; revision=4741
* sdialog, not iddialogJP Rosevear2000-08-122-1/+4
| | | | | | | | 2000-08-11 JP Rosevear <jpr@helixcode.com> * mail-config-gui.c (identity_dialog): sdialog, not iddialog svn path=/trunk/; revision=4740
* Freeze/thaw around multi-message folder operations (flag, move)Peter Williams2000-08-122-0/+16
| | | | svn path=/trunk/; revision=4739
* Check nrow, not srow.JP Rosevear2000-08-127-119/+230
| | | | | | | | 2000-08-11 JP Rosevear <jpr@helixcode.com> * mail-config-gui.c (news_edit_clicked): Check nrow, not srow. svn path=/trunk/; revision=4738
* Use camel_service_get_name rather than showing the URL to the user.Dan Winship2000-08-112-4/+16
| | | | | | | * mail-ops.c (describe_fetch_mail): Use camel_service_get_name rather than showing the URL to the user. svn path=/trunk/; revision=4737
* Crash fix on user-doesn't-press-escape.Peter Williams2000-08-112-0/+10
| | | | svn path=/trunk/; revision=4734
* Add a function to return a useful name for a folder (not just "mbox" orDan Winship2000-08-114-14/+45
| | | | | | | | | | | * mail-tools.c (mail_tool_get_folder_name): Add a function to return a useful name for a folder (not just "mbox" or "mh" for any local folder.) * mail-ops.c: Use mail_tool_get_folder_name rather than folder->full_name when printing folder names. svn path=/trunk/; revision=4733
* Added a prototype (remove warning)Michael Zucci2000-08-111-1/+2
| | | | svn path=/trunk/; revision=4727
* Properly handle different local file formats. The folder isn't alwaysNot Zed2000-08-114-6/+64
| | | | | | | | | | | | | | | | 2000-08-11 Not Zed <NotZed@HelixCode.com> * mail-tools.c (mail_tool_get_local_inbox_url): Properly handle different local file formats. The folder isn't always mbox. (mail_tool_do_movemail): Movemail always uses an mbox format however. (mail_tool_get_local_movemail_url): What is the mbox url, it is always the same type, mbox. (mail_tool_fetch_mail_into_searchable): Same here. * mail-local.c (mail_local_map_uri): Map a local uri to the real uri. svn path=/trunk/; revision=4724
* Fixed some warnings.Christopher James Lahey2000-08-115-8/+8
| | | | | | | | | 2000-08-10 Christopher James Lahey <clahey@helixcode.com> * folder-browser-factory.c, message-list.c, message-thread.c, session.c: Fixed some warnings. svn path=/trunk/; revision=4722
* Don't call e_setup_base_dir. It was wrong and it doesn't exist any more.Dan Winship2000-08-1112-18/+24
| | | | | | | | | | | | | | | | | | | * session.c (session_init): Don't call e_setup_base_dir. It was wrong and it doesn't exist any more. * component-factory.c (owner_set_cb): Update for changed prototype, and record the evolution_homedir. Move call to mail_config_init here from session.c so it happens after evolution_dir is initialized. * mail.h: define "extern char *evolution_dir;" (formerly in e-util/e-setup.h) * component-factory.c, mail-callbacks.c, mail-config-gui.c, mail-config.c, mail-display.c, mail-format.c, mail-ops.c, mail-tools.c, session.c: Remove "e-util/e-setup.h" include. svn path=/trunk/; revision=4712
* Make escape equivalent to cancel in the error and query dialogsPeter Williams2000-08-113-3/+23
| | | | svn path=/trunk/; revision=4708
* Add a "gboolean create" argument to pass to camel_store_get_folder.Dan Winship2000-08-116-11/+23
| | | | | | | | | | | | * mail-tools.c (mail_tool_get_folder_from_urlname): Add a "gboolean create" argument to pass to camel_store_get_folder. * mail-ops.c (do_create_folder, do_setup_draftbox): * mail-local.c (mail_tool_local_uri_to_folder): * mail-vfolder.c (vfolder_uri_to_folder): Add create flag to mail_tool_get_folder_from_urlname calls. svn path=/trunk/; revision=4702
* Show 'no new mail' correctly.Peter Williams2000-08-112-9/+46
| | | | svn path=/trunk/; revision=4699
* Fix compile warning by casting the object to a CamelObjectJeffrey Stedfast2000-08-112-10/+15
| | | | | | | | | 2000-08-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (composer_send_cb): Fix compile warning by casting the object to a CamelObject svn path=/trunk/; revision=4697
* Fix the infinite movemailPeter Williams2000-08-115-8/+44
| | | | svn path=/trunk/; revision=4696
* Fix a bug in the async changes. (This was identical to reply_to_sender.)Dan Winship2000-08-112-1/+6
| | | | | | | * mail-callbacks.c (reply_to_all): Fix a bug in the async changes. (This was identical to reply_to_sender.) svn path=/trunk/; revision=4694
* bluuuuuuurrrrrghPeter Williams2000-08-111-0/+357
| | | | svn path=/trunk/; revision=4692
* triple oopsPeter Williams2000-08-111-0/+69
| | | | svn path=/trunk/; revision=4691
* oopsPeter Williams2000-08-113-0/+1312
| | | | svn path=/trunk/; revision=4688
* Merge with camel-async.Peter Williams2000-08-1128-1910/+3607
| | | | svn path=/trunk/; revision=4687
* Update for append_message api change.Not Zed2000-08-114-10/+26
| | | | | | | | | | | | | | | 2000-08-10 Not Zed <NotZed@HelixCode.com> * mail-local.c (do_local_reconfigure_folder): Update for append_message api change. * message-list.c (message_list_regenerate): Change for search api change. (ml_tree_value_at): Add a colour column, based on the colour assigned in the summary. (message_list_init_renderers): Init colour column. svn path=/trunk/; revision=4685
* Made the toolbars conform to the user's gnomecc settings for detachableCody Russell2000-08-103-3/+23
| | | | | | toolbars. svn path=/trunk/; revision=4677
* Get the from address set in the composer, if that fails ONLY THEN get theJeffrey Stedfast2000-08-104-26/+51
| | | | | | | | | | | | 2000-08-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (composer_send_cb): Get the from address set in the composer, if that fails ONLY THEN get the default from mail config * mail-config.c (mail_config_get_identities): New convenience function for getting a list of the configured identities svn path=/trunk/; revision=4672
* eek! okay, we can't just point to a mail_display apparently...Jeffrey Stedfast2000-08-101-3/+3
| | | | | | so we're back to creating a new one for the purpose of displaying it svn path=/trunk/; revision=4664
* Support controls as well as embeddables.Dan Winship2000-08-102-0/+7
| | | | | | | * mail-display.c (on_object_requested): Support controls as well as embeddables. svn path=/trunk/; revision=4663
* Changed to only take a FolderBrowser argumentJeffrey Stedfast2000-08-104-5/+11
| | | | | | | | | | | | | | | | | | | | | 2000-08-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-view.c (mail_view_create): Changed to only take a FolderBrowser argument * mail-ops.c (real_view_msg): Create a new FolderBrowser for each message being opened in a new window. Also set the message_list->cursor_uid and mail_display->current_message to the appropriate values. (real_view_msg): Updated to reflect changes in the mail_view_create * message-list.c (on_right_click): Nicify a little, add in a menu separator between VFolder and Filter stuff. * mail-ops.c (real_view_msg): Set the UID of the message that is being displayed svn path=/trunk/; revision=4662
* Create a new FolderBrowser for each message being opened in a new window.Jeffrey Stedfast2000-08-102-8/+16
| | | | | | | | | | | 2000-08-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (real_view_msg): Create a new FolderBrowser for each message being opened in a new window. Also set the message_list->cursor_uid and mail_display->current_message to the appropriate values. svn path=/trunk/; revision=4660
* Nicify a little, add in a menu separator between VFolder and Filter stuff.Jeffrey Stedfast2000-08-103-20/+25
| | | | | | | | | 2000-08-09 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (on_right_click): Nicify a little, add in a menu separator between VFolder and Filter stuff. svn path=/trunk/; revision=4657
* Set the UID of the message that is being displayedJeffrey Stedfast2000-08-103-6/+12
| | | | | | | | | 2000-08-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (real_view_msg): Set the UID of the message that is being displayed svn path=/trunk/; revision=4655
* Use menu stock icons instead of normal stock icons for the menu items.Ettore Perazzoli2000-08-102-8/+10
| | | | svn path=/trunk/; revision=4653
* (rule_match_subject): was cutting ] off mailing list names.Michael Zucci2000-08-092-3/+4
| | | | svn path=/trunk/; revision=4649
* (rule_match_recipients): Dont set real name if its empty for the filter name.Michael Zucci2000-08-092-1/+2
| | | | svn path=/trunk/; revision=4647
* Helper function to add with confirm.Not Zed2000-08-097-84/+137
| | | | | | | | | | 2000-08-09 Not Zed <NotZed@HelixCode.com> * mail-autofilter.c (filter_gui_add_from_message): Helper function to add with confirm. * message-list.c (on_right_click): Added menu to install vfolders/filters from message. svn path=/trunk/; revision=4646
* Remove conflict marks.Ettore Perazzoli2000-08-091-5/+0
| | | | svn path=/trunk/; revision=4640
* New file to hold auto filter/vfolder stuff.Not Zed2000-08-093-0/+321
| | | | | | | | 2000-08-09 Not Zed <NotZed@HelixCode.com> * mail-autofilter.c: New file to hold auto filter/vfolder stuff. svn path=/trunk/; revision=4635
* Fixed some warnings.Christopher James Lahey2000-08-095-4/+13
| | | | | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * mail-display.c, mail-format.c, mail-ops.c: Fixed some warnings. * message-list.c: Fix the call to e_popup_menu_run to match the new signature. svn path=/trunk/; revision=4634
* Use the placeholder for the "Print message..." menu item.Ettore Perazzoli2000-08-092-0/+17
| | | | svn path=/trunk/; revision=4633
* Attached a double_click signal handler (on_double_click): Our lovely newJeffrey Stedfast2000-08-092-14/+33
| | | | | | | | | | | 2000-08-09 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (message_list_init): Attached a double_click signal handler (on_double_click): Our lovely new double_click callback. Will display the current selected message in a new window svn path=/trunk/; revision=4624
* Basic framework for saving the size of the vpaned in the main message viewJeremy Wise2000-08-094-3/+36
| | | | svn path=/trunk/; revision=4623
* Added void as an argument to functions not needing any parameters to avoidJeffrey Stedfast2000-08-092-3/+10
| | | | | | | | | 2000-08-08 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.h: Added void as an argument to functions not needing any parameters to avoid compile warnings. svn path=/trunk/; revision=4622
* Value for threaded list view is now saved via gnome-config. This means that ↵Jeremy Wise2000-08-096-7/+47
| | | | | | you can FINALLY shut off the threaded view once and for all :) svn path=/trunk/; revision=4621
* Attach a signal handler to call the "changed" function when the userDan Winship2000-08-092-1/+10
| | | | | | | | * mail-config-gui.c (service_page_item_new): Attach a signal handler to call the "changed" function when the user clicks the "keep on server" checkbox. svn path=/trunk/; revision=4620
* New convenience function with params of a normal Gtk callback function. WeJeffrey Stedfast2000-08-097-39/+99
| | | | | | | | | | | | | | | | | | | | 2000-08-08 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (view_msg): New convenience function with params of a normal Gtk callback function. We also now create a new FolderBrowser object so that the message-view window isn't tied to the display in the main window (view_message): Now calls view_msg (this function is a bonobo callback and can't be used with gtk widgets) (edit_msg): Same idea as view_msg() (edit_message): Again, same as view_message() * message-list.c (on_right_click): Callback for creating an e-popup-menu (message_list_init): Added a right_click event to trigger a pop-up menu to be displayed svn path=/trunk/; revision=4619
* Add "Don't delete messages from server" button to remote SOURCEs thatDan Winship2000-08-095-48/+130
| | | | | | | | | | | | | | | * mail-config-gui.c: Add "Don't delete messages from server" button to remote SOURCEs that aren't STORAGEs (ie, POP). (provider_list): Only list SOURCEs. (ie, not mh) * mail-config.c: Save/load "keep_on_server" flag. * mail-ops.c (fetch_remote_mail): New function, split out of real_fetch_mail. Deals with copying mail from a remote server into a temporary mbox, possibly using a CamelUIDCache to leave the messages on the server. svn path=/trunk/; revision=4617
* Fix some compiler warnings.Dan Winship2000-08-094-6/+9
| | | | | | | * mail-crypto.c, mail-format.c, message-thread.c: Fix some compiler warnings. svn path=/trunk/; revision=4615
* Fix up format of addresses. (write_headers): Use CamelAddress functions toDan Winship2000-08-092-51/+38
| | | | | | | * mail-format.c (mail_generate_reply): Fix up format of addresses. (write_headers): Use CamelAddress functions to simplify this. svn path=/trunk/; revision=4606
* Lets get rid of the last separator in the toolbar until we add n/pJeffrey Stedfast2000-08-092-2/+9
| | | | | | | | | 2000-08-08 Jeffrey Stedfast <fejj@helixcode.com> * mail-view.c: Lets get rid of the last separator in the toolbar until we add n/p svn path=/trunk/; revision=4601
* Move mail_config_init after session_init, since it depends onDan Winship2000-08-092-2/+6
| | | | | | | * main.c (main): Move mail_config_init after session_init, since it depends on evolution_dir being set. svn path=/trunk/; revision=4595
* Fix build by allowing includes for e-table dirJP Rosevear2000-08-089-2100/+2270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-08 JP Rosevear <jpr@helixcode.com> * Makefile.am: Fix build by allowing includes for e-table dir 2000-08-08 JP Rosevear <jpr@helixcode.com> * mail-ops.c (check_configured): Use config accessors (fetch_mail): ditto (composer_send_cb): ditto (create_msg_composer): ditto * mail-config-gui.h: Update API * mail-config.h: Update API * mail-config.c: Add accessor functions (mail_config_is_configured): accessor function (mail_config_get_default_identity): ditto (mail_config_get_default_source): ditto (mail_config_get_transport): ditto (mail_config_send_html): ditto (identity_copy): Make public (identity_destroy): ditto (identity_destroy_each): ditto (service_copy): ditto (service_destroy): ditto (service_destroy_each): ditto (mail_config_init): Rename from init_config and make public (mail_config_clear): Rename from clear_config and make public (mail_config_read): Rename from read_config and make public (mail_config_write): Reanme from write_config and make public * main.c (main): Call mail_config_init. * mail.h: Include mail-config-gui.h * mail-config-gui.c: Move config gui stuff here. (source_dialog): Kill memory leak from debug leftovers. Make sure returned source is NULL by default svn path=/trunk/; revision=4592
* Redone to show a dialogue first, and show progress of whats happening asNot Zed2000-08-089-9/+712
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-07 Not Zed <NotZed@HelixCode.com> * mail-local.c (local_reconfigure_folder): Redone to show a dialogue first, and show progress of whats happening as its done. * Makefile.am (glade_DATA): Added local-config.glade, for mailbox reconfig dialogue. 2000-08-04 Not Zed <NotZed@HelixCode.com> * folder-browser.c (mail_uri_to_folder): Use local_uri_to_folder() for local uri's (file://). * mail-local.c (local_uri_to_folder): Handle looking up folder storage type before opening the store/folder. (local_reconfigure_folder): Function to reconfigure the format of a local mailbox into another storage format. * Makefile.am (evolution_mail_SOURCES): Added mail-local.c and missing mail-vfolder.h. svn path=/trunk/; revision=4591
* Added mail-view.cJeffrey Stedfast2000-08-086-0/+199
| | | | | | | | | | | | | | | | | 2000-08-07 Jeffrey Stedfast <fejj@helixcode.com> * Makefile.am: Added mail-view.c * folder-browser-factory.c (control_activate): Adda menu item for viewing the message * mail-view.c: New file containing methods for viewing messages in separate windows * mail-ops.c (view_message): New callback for viewing messages in a new window. svn path=/trunk/; revision=4588
* New function to replace real_create_imap_storage andJeffrey Stedfast2000-08-082-102/+34
| | | | | | | | | | | 2000-08-07 Jeffrey Stedfast <fejj@helixcode.com> * component-factory.c (real_create_generic_storage): New function to replace real_create_imap_storage and real_create_news_storage (create_imap_storage): Updated. (create_news_storage): Updated. svn path=/trunk/; revision=4584
* s/strncasecmp/g_strncasecmpJeffrey Stedfast2000-08-083-7/+10
| | | | | | | | | | | | | | | | | | 2000-08-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-display.c: * component-factory.c: s/strncasecmp/g_strncasecmp * mail-format.c (write_headers): Get rid of kludge around subject beginning with spaces. (mail_generate_reply): Get rid of kludge around subject beginning with spaces and also use g_strncasecmp instead of strncasecmp for portability * mail-ops.c (forward_msg): Get rid of kludges around subject beginning with spaces. svn path=/trunk/; revision=4575
* Get rid of kludge around subject beginning with spaces.Jeffrey Stedfast2000-08-083-9/+15
| | | | | | | | | | | | | | | 2000-08-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (write_headers): Get rid of kludge around subject beginning with spaces. (mail_generate_reply): Get rid of kludge around subject beginning with spaces and also use g_strncasecmp instead of strncasecmp for portability * mail-ops.c (forward_msg): Get rid of kludges around subject beginning with spaces. svn path=/trunk/; revision=4572
* Clarify that the input row is a model row, and swap it to a view row whenDan Winship2000-08-083-11/+32
| | | | | | | | | | | | * message-list.c (message_list_select): Clarify that the input row is a model row, and swap it to a view row when finding the next/previous row. (idle_select_row): Select view row 0, not model row 0. * mail-ops.c (select_first_unread): Start from view row 0, not model row 0. svn path=/trunk/; revision=4570
* Renamed from reply_body() so other functions can use itJeffrey Stedfast2000-08-074-13/+34
| | | | | | | | | | | | 2000-08-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (mail_get_message_body): Renamed from reply_body() so other functions can use it (mail_generate_reply): Updated to reflect function name changes * mail-ops.c (real_edit_msg): Attach a callback to the send signal svn path=/trunk/; revision=4564
* New menu item under Actions to allow editing of messages.Jeffrey Stedfast2000-08-074-4/+48
| | | | | | | | | | | 2000-08-07 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c (control_activate): New menu item under Actions to allow editing of messages. * mail-ops.c (edit_message): New function for editing messages. svn path=/trunk/; revision=4563
* Create a global reference to the Drafts mbox folder for the Composer toJeffrey Stedfast2000-08-072-3/+26
| | | | | | | | | 2000-08-07 Jeffrey Stedfast <fejj@helixcode.com> * component-factory.c (owner_set_cb): Create a global reference to the Drafts mbox folder for the Composer to use svn path=/trunk/; revision=4561
* Desensitize ok button (sdialog_page_undone): ditto (iddialog_page_undone):JP Rosevear2000-08-072-52/+172
| | | | | | | | | | | | | | | | | | | | | | | | 2000-08-06 JP Rosevear <jpr@helixcode.com> * mail-config.c (ndialog_page_undone): Desensitize ok button (sdialog_page_undone): ditto (iddialog_page_undone): ditto (news_page_new): Typo - news, not mail (transport_page_new): Typo - transport, not source (identity_dialog): Set undone callback (source_dialog): ditto (news_dialog): ditto (mail_druid_identity_undone): Desensitize next button and mark done flag as false (mail_druid_source_undone): ditto (mail_druid_transport_undone): ditto (mail_druid_identity_done): Mark done flag as true (mail_druid_source_done): ditto (mail_druid_transport_done): ditto (mail_druid_prepare): Use done flag to set next button sensitivity, fixes #467 svn path=/trunk/; revision=4559
* Added support for encrypting with GnuPG. Support for PGP5 and PGP2 areJeffrey Stedfast2000-08-063-1/+120
| | | | | | | | | | 2000-08-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-crypto.c (mail_crypto_openpgp_encrypt): Added support for encrypting with GnuPG. Support for PGP5 and PGP2 are still in progress. svn path=/trunk/; revision=4557
* Update the README and the text of the Bonobo configure check to matchDan Winship2000-08-062-5/+7
| | | | | | | | | | | * configure.in, README: Update the README and the text of the Bonobo configure check to match reality. Remove the 0.15 vs 0.15-and-a-half check since we require post-0.16 now. * folder-browser-factory.c (control_activate): Remove bonobo 0.15 vs 0.15-and-a-half ifdef, since we require post-0.16 now. svn path=/trunk/; revision=4552
* Actually commit this - I though it went in already.JP Rosevear2000-08-042-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-03 JP Rosevear <jpr@helixcode.com> * configure.in: Remove gconf check 2000-08-03 JP Rosevear <jpr@helixcode.com> * mail-config.glade: Increase window size slightly, rename "Transport" to "Mail Transport" * mail-config.c (init_config): Remove gconf references (clear_config): ditto (read_config): ditto (write_config): ditto (mail_config): Null provider lists before filling them (mail_config_druid): ditto (identity_page_new): Increase spacing of vbox (service_page_new): ditto * Makefile.am: Remove gconf references. 2000-08-03 JP Rosevear <jpr@helixcode.com> * e-shell.h: Remove gconf references * e-shell-view.h: Remove gconf references * main.c (idle_cb): Remove gconf references * Makefile.am: Remove gconf cflags and libs * e-shell-view.c (e_shell_view_load_settings): Change to use gnome-config (e_shell_view_save_settings): ditto * e-shell.c (e_shell_restore_from_settings): Change to use gnome_config (save_settings_for_views): ditto svn path=/trunk/; revision=4530
* I pity da foo that committed this bug!Peter Williams2000-08-042-1/+5
| | | | svn path=/trunk/; revision=4528
* Fix a possible crash when using the quicksearch by freeing the UIDEttore Perazzoli2000-08-042-3/+12
| | | | | | array correctly. svn path=/trunk/; revision=4525
* Everywhere unref the remote_uih having done a set_container.Michael Meeks2000-08-042-1/+7
| | | | svn path=/trunk/; revision=4524
* only whack the sig in if the file exists.Michael Meeks2000-08-045-5/+38
| | | | | | | | | | | | | | 2000-08-03 Michael Meeks <michael@helixcode.com> * mail-config.c (identity_page_new): only whack the sig in if the file exists. * component-factory.c (factory_fn): count running instances, attach destroy signal (factory_destroy): add. * main.c (main): pass orb around. svn path=/trunk/; revision=4523
* Yay, no more compiler warningsJeffrey Stedfast2000-08-042-9/+10
| | | | | | | | 2000-08-03 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (composer_send_cb): Yay, no more compiler warnings svn path=/trunk/; revision=4521
* set config = NULL (provider_list) Eek! Initialize news to NULL! Also, useJeffrey Stedfast2000-08-042-29/+53
| | | | | | | | | | | | | | 2000-08-03 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.c: set config = NULL (provider_list) Eek! Initialize news to NULL! Also, use g_slist_prepend() for "performance" gains ;-) (init_config): Set the config member data to NULL just to be on the safe side (clear_config): Don't bother freeing slist data if the slist is NULL svn path=/trunk/; revision=4517
* Work with GtkHTML if it uses gconfPeter Williams2000-08-042-5/+7
| | | | svn path=/trunk/; revision=4507
* Check for identity before sending ; remove gconf_init callPeter Williams2000-08-033-2/+20
| | | | svn path=/trunk/; revision=4505
* Increase window size slightly, rename "Transport" to "Mail Transport"JP Rosevear2000-08-036-185/+142
| | | | | | | | | | | | | | | | | | | | 2000-08-03 JP Rosevear <jpr@helixcode.com> * mail-config.glade: Increase window size slightly, rename "Transport" to "Mail Transport" * mail-config.c (init_config): Remove gconf references (clear_config): ditto (read_config): ditto (write_config): ditto (mail_config): Null provider lists before filling them (mail_config_druid): ditto (identity_page_new): Increase spacing of vbox (service_page_new): ditto * Makefile.am: Remove gconf references. svn path=/trunk/; revision=4504
* Make the "test settings" button FILL rather than SHRINK so it doesn't endDan Winship2000-08-033-6/+14
| | | | | | | | | | * mail-config.c (service_page_item_new): Make the "test settings" button FILL rather than SHRINK so it doesn't end up oddly-placed. * mail-config-druid.glade: Make the icon background dark blue like the surrounding area. svn path=/trunk/; revision=4491
* Emit "model_pre_change" where appropriate.Christopher James Lahey2000-08-033-0/+9
| | | | | | | | | 2000-08-02 Christopher James Lahey <clahey@helixcode.com> * mail-ops.c, message-list.c: Emit "model_pre_change" where appropriate. svn path=/trunk/; revision=4475
* Protect mail-config.h against multiple inclusion.Peter Williams2000-08-032-0/+9
| | | | svn path=/trunk/; revision=4474
* add GTKHTML_CFLAGS where needed.Mathieu Lacage2000-08-021-1/+2
| | | | svn path=/trunk/; revision=4467
* New code to spawn off GPG/PGP to do stuff. Currently only deals withDan Winship2000-08-028-93/+879
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mail-crypto.c: New code to spawn off GPG/PGP to do stuff. Currently only deals with decryption. From Nathan Thompson-Amato <ndt@jps.net>, with bunches of changes from me. * session.c (mail_request_dialog): Expose the password dialog to the rest of the app (for use by the GPG/PGP code). * mail-format.c (handle_text_plain): Handle special inline data types. (Currently uuencoding, BinHex, and PGP encryption.) This is not the best way to deal with it, but it works for now. (try_inline_pgp): Convert an inline PGP-encrypted message into a multipart/encrypted part. (try_inline_binhex): Convert an inline BinHex attachment into an application/mac-binhex40 part (which we currently don't deal with...) (try_uudecoding): Convert a uuencoded attachment to an application/octet-stream part. (handle_multipart_encrypted): Deal with RFC2015 MIME-encoded PGP encrypted messages. (From ndt.) * mail-display.c (mail_text_write, mail_error_write): New utility functions. * Makefile.am (evolution_mail_SOURCES): add mail-crypto.c svn path=/trunk/; revision=4466
* Fixed some warnings.Christopher James Lahey2000-08-014-2/+16
| | | | | | | | | | 2000-07-31 Christopher James Lahey <clahey@helixcode.com> * component-factory.c, folder-browser.c: Fixed some warnings. * message-list.c: Made the icon column non sortable. svn path=/trunk/; revision=4440
* typo fixPeter Williams2000-08-011-1/+1
| | | | svn path=/trunk/; revision=4430
* Fix a NULL-pointer strcmp noticed by peterw.Dan Winship2000-08-012-1/+7
| | | | | | | * mail-config.c (service_page_set_url): Fix a NULL-pointer strcmp noticed by peterw. svn path=/trunk/; revision=4429
* Configurable vfolder sources, and a button to save a searchNot Zed2000-07-315-42/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | as a new vfolder. 2000-07-31 Not Zed <NotZed@HelixCode.com> * mail-vfolder.h: Header for vfolder functions. * folder-browser.c (mail_uri_to_folder): Use new scheme to open vfolders. (search_save): New button/function to save a search as a vfolder. * mail-vfolder.c (vfolder_edit): Made asynchronous. (vfolder_uri_to_folder): New function for loading vfolders and setting up their source folders. (vfolder_refresh): Change shell vfolder uri's to indirect references rather than the real vfolder uri. (vfolder_gui_add_rule): Add a rule with user confirmation. (vfolder_create_part): Get a new part by name, for creating rules in code. * message-thread.c (thread_messages): Check for uid lookup failure, which indicates an error in the folder or calling code. svn path=/trunk/; revision=4422
* Remove hack to pass the storage around.Not Zed2000-07-307-189/+272
| | | | | | | | | | | | | | | | | | | | | | 2000-07-29 Not Zed <NotZed@HelixCode.com> * component-factory.c (create_view): Remove hack to pass the storage around. * folder-browser-factory.c (control_activate): Changed to call renamed vfolder editor. * mail-ops.c (vfolder_edit_vfolders): renamed from vfolder_edit, call new edit function. (vfolder_editor_clicked): Removed. (filter_druid_clicked): (filter_edit): Updated for api change. (real_fetch_mail): Fixed up for api change and fucked up indent. (filter_get_folder): callback for filter driver. * mail-vfolder.c: New file to manage virtual folders. svn path=/trunk/; revision=4417
* Fix changelog email address.JP Rosevear2000-07-291-1/+1
| | | | svn path=/trunk/; revision=4415
* New function to create composer with sig file set.JP Rosevear2000-07-2913-2138/+2411
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-28 JP Rosevear <jpr@arcavia.com> * e-msg-composer.c (e_msg_composer_new_with_sig_file): New function to create composer with sig file set. (e_msg_composer_get_sig_file): New function to get sig file (e_msg_composer_set_sig_file): New function to set sig file 2000-07-29 JP Rosevear <jpr@arcavia.com> * mail-format.c (mail_generate_reply): Use new mail config stuff * component-factory.c (create_imap_storage): Use new mail config stuff (create_news_storage): ditto * evolution-mail.schemas: Gconf schema for evolution mail * mail-config-druid.glade: Gladification of config druid * mail-config.h: New header with config structs. * mail-config.c: Rewrite of GUI configuration tools to use new config structs. Stores multiple identities and sources now. Still only uses the first one found. (mail_config_fetch): Returns MailConfig struct to caller for configuration queries. (mail_config): Renamed function to show mail config dialog. (mail_config_druid): Renamed function to show mail config druid. * mail-ops.c (create_msg_composer): Use e_msg_composer_new_with_sig_file and new config stuff (check_configured): Use new config stuff (fetch_mail): ditto (composer_send_cb): ditto svn path=/trunk/; revision=4413
* Added mark_all_seen(), to mark every message in the list withCody Russell2000-07-294-0/+32
| | | | | | | | | | 2000-07-28 Cody Russell <bratsche@gnome.org> * mail-ops.c, mail.h: Added mark_all_seen(), to mark every message in the list with CAMEL_MESSAGE_SEEN. * folder-browser-factory.c: Added "Actions/Mark all seen". svn path=/trunk/; revision=4412
* Lets fix Dan's kludge the Right Way (tm) (set_service_url): Only strip offJeffrey Stedfast2000-07-282-6/+15
| | | | | | | | | | | | 2000-07-27 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.c: Lets fix Dan's kludge the Right Way (tm) (set_service_url): Only strip off the leading "/" from the url->path if url->host is NULL (get_service_url): Only prepend a leading "/" to the path if the host is NULL svn path=/trunk/; revision=4402
* toss in a kludge to deal with the IMAP vs mbox path problem for now.Dan Winship2000-07-282-1/+9
| | | | | | | * mail-config.c (get_service_url): toss in a kludge to deal with the IMAP vs mbox path problem for now. svn path=/trunk/; revision=4399
* Removed counting of selected messages.Christopher James Lahey2000-07-273-20/+6
| | | | | | | | | 2000-07-26 Christopher James Lahey <clahey@helixcode.com> * message-list.c, message-list.h: Removed counting of selected messages. svn path=/trunk/; revision=4362
* Don't create the tmp_mbox before calling movemail, because the externalDan Winship2000-07-272-18/+20
| | | | | | | | | | | * mail-ops.c (real_fetch_mail): Don't create the tmp_mbox before calling movemail, because the external movemail requires it to not exist. Contrariwise, delete it in the cleanup code if it's empty. Update for camel_movemail interface change. Do the "No new messages" dialog in the mbox case as well as the remote mail issue. svn path=/trunk/; revision=4356
* s/struct refile_data/struct move_data (real_move_msg): Renamed fromJeffrey Stedfast2000-07-274-9/+17
| | | | | | | | | | | | 2000-07-26 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c: s/struct refile_data/struct move_data (real_move_msg): Renamed from real_refile_msg() (move_msg): Renamed from refile_msg() * folder-browser-factory.c: Changed Refile to Move. svn path=/trunk/; revision=4347
* Update for OAF and for external apps as well as components.Dan Winship2000-07-263-104/+206
| | | | | | | | | | | | | | | | * mail-format.c (lookup_handler): Update for OAF and for external apps as well as components. (handle_via_external): Handler to set up for data that can be displayed by an external application. * mail-display.c (on_link_clicked, etc): Refactor the save_data() code and add launch_external() as a handler for x-evolution-external URLs. (embeddable_destroy_cb): Remove this, since it seems like it's all wrong. (on_object_requested): Update for OAF, and fix some bugs. svn path=/trunk/; revision=4343
* Always prepend a leading "/" to the url->path. (set_service_url): AddedJeffrey Stedfast2000-07-262-11/+14
| | | | | | | | | | | | | 2000-07-25 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.c (get_service_url): Always prepend a leading "/" to the url->path. (set_service_url): Added more error checking and also strip the leading '/' from the url->path (create_identity_page): Set the signature file to the one specified in the identity record, else set the default path to ~/.sugnature svn path=/trunk/; revision=4333
* Always prepend a leading "/" to the url->path. (set_service_url): AddedJeffrey Stedfast2000-07-262-6/+16
| | | | | | | | | | | 2000-07-25 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.c (get_service_url): Always prepend a leading "/" to the url->path. (set_service_url): Added more error checking and also strip the leading '/' from the url->path svn path=/trunk/; revision=4332
* add textual exception printout. (set_editor_text): close pre tags & checkMichael Meeks2000-07-262-1/+14
| | | | | | | | | | | | | | | | | | | | 2000-07-25 Michael Meeks <michael@helixcode.com> * e-msg-composer.c (get_text): add textual exception printout. (set_editor_text): close pre tags & check for pre-existing sig separator. 2000-07-25 Michael Meeks <michael@helixcode.com> * mail-config.c (create_identity_page): set default signature to ~/.signature 2000-07-25 Michael Meeks <michael@helixcode.com> * backend/ebook/load-pine-addressbook.c (book_open_cb): check we opened ok. svn path=/trunk/; revision=4330
* Fix crash on NULL current_message when replying.Peter Williams2000-07-262-1/+8
| | | | svn path=/trunk/; revision=4319
* Don't group together messages with the same non-Re: subject and noDan Winship2000-07-262-38/+49
| | | | | | | | | | | * message-thread.c (group_root_set): Don't group together messages with the same non-Re: subject and no References/In-Reply-To. More often than not, they're unrelated. (eg, "[No subject]".) (thread_messages): Handle messages with no Message-Id. "This shouldn't happen", but it does sometimes, and it's not much code to make it just work. svn path=/trunk/; revision=4317
* Fix GtkOptionMenu usage so that the mail source selector looks right.Ettore Perazzoli2000-07-252-1/+12
| | | | svn path=/trunk/; revision=4314
* Update for CamelFolder API changes. (Certain functions no longer take aDan Winship2000-07-254-17/+25
| | | | | | | | | | | | | | * message-list.c (mark_msg_seen, ml_tree_set_value_at, message_list_regenerate): Update for CamelFolder API changes. (Certain functions no longer take a CamelException.) * mail-ops.c (real_fetch_mail, real_send_mail, real_delete_msg): ditto * component-factory.c (real_create_imap_storage, real_create_news_storage): ditto svn path=/trunk/; revision=4305
* Remove GOAD support.Dan Winship2000-07-255-90/+26
| | | | | | | | | | | * component-factory.c, folder-browser-factory.c, test-mail.c: Remove GOAD support. * main.c: Remove GOAD support. (main): More "guess the build mistake" fun, this time for the failure to initialize Bonobo case. svn path=/trunk/; revision=4301
* Add a "Send HTML mail" toggle in the message composer.Ettore Perazzoli2000-07-232-3/+39
| | | | svn path=/trunk/; revision=4284
* Use `_()' instead of `N_()' for strings that need to be translated onEttore Perazzoli2000-07-232-6/+11
| | | | | | the fly. svn path=/trunk/; revision=4283
* Update the components to match the changes in the libeshell API.Ettore Perazzoli2000-07-212-0/+6
| | | | svn path=/trunk/; revision=4242
* What if message info is NULL?Jeffrey Stedfast2000-07-202-2/+6
| | | | | | | | 2000-07-19 Jeffrey Stedfast <fejj@helixcode.com> * message-thread.c (thread_messages): What if message info is NULL? svn path=/trunk/; revision=4222
* Initial code to support IMAP folders that don't use "/" as a directoryJeffrey Stedfast2000-07-173-21/+46
| | | | | | | | | 2000-07-16 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c, component-factory.c: Initial code to support IMAP folders that don't use "/" as a directory separator. svn path=/trunk/; revision=4185
* Put the version number in the `X-Mailer:' header instead of justEttore Perazzoli2000-07-163-2/+26
| | | | | | "Developer Preview". svn path=/trunk/; revision=4179
* put a <p> at the end of the header table. (I think there used to beDan Winship2000-07-152-4/+17
| | | | | | | | | | | | * mail-format.c (write_headers): put a <p> at the end of the header table. (I think there used to be whitespace after it, but then some gtkhtml change got rid of it...) (handle_text_plain): Don't do this <PRE>. Instead, CONVERT_NL and CONVERT_SPACES and wrap it in <TT>. Now if the sender didn't include any newlines, it will be wrapped to the width of the window instead of extending off into infinity. svn path=/trunk/; revision=4168
* Only unref the folder if it's been set.Dan Winship2000-07-143-5/+15
| | | | | | | | | | * message-list.c (message_list_destroy): Only unref the folder if it's been set. * folder-browser.c (folder_browser_destroy): Only sync the folder if it's been set. svn path=/trunk/; revision=4162
* s/CAMEL_SERVICE_NEED_HOST/CAMEL_SERVICE_URL_NEED_HOST.Jonathan Blandford2000-07-142-1/+5
| | | | | | | | | | 2000-07-13 Jonathan Blandford <jrb@redhat.com> * mail-config.c (create_transport): s/CAMEL_SERVICE_NEED_HOST/CAMEL_SERVICE_URL_NEED_HOST. Fix obvious typo in code. svn path=/trunk/; revision=4149
* Add a "gboolean required" argument, and set its value on the entry.Dan Winship2000-07-142-16/+48
| | | | | | | | | | | | | | * mail-config.c (add_row): Add a "gboolean required" argument, and set its value on the entry. (create_source, create_transport): Create rows for URL elements if the URL ALLOWs them. Mark them required if it NEEDs them. (service_note_doneness): Only require the required fields to be filled in. Now the IMAP config page allows the user to enter a path, but doesn't require it. svn path=/trunk/; revision=4148
* Back to the old way to avoid g_warnings, yay. Also fix append to send aJeffrey Stedfast2000-07-132-2/+3
| | | | | | | | | 2000-07-13 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (real_fetch_mail): Back to the old way to avoid g_warnings, yay. Also fix append to send a flags argument (0) svn path=/trunk/; revision=4139
* Back to the old way to avoid g_warnings, yayJeffrey Stedfast2000-07-132-2/+23
| | | | | | | | | 2000-07-13 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (real_fetch_mail): Back to the old way to avoid g_warnings, yay svn path=/trunk/; revision=4138
* fix some cut & paste bung.Chris Toshok2000-07-132-6/+10
| | | | | | | | 2000-07-12 Chris Toshok <toshok@helixcode.com> * mail-config.c (providers_config_new): fix some cut & paste bung. svn path=/trunk/; revision=4126
* add "message/news" to the mime_function_table using the same handler asChris Toshok2000-07-132-0/+7
| | | | | | | | | 2000-07-12 Chris Toshok <toshok@helixcode.com> * mail-format.c (setup_function_table): add "message/news" to the mime_function_table using the same handler as message/rfc822. svn path=/trunk/; revision=4122
* add news server tab to dialog.Chris Toshok2000-07-134-11/+433
| | | | | | | | | | | | | | | | | | | 2000-07-12 Chris Toshok <toshok@helixcode.com> * mail-config.glade*: add news server tab to dialog. * mail-config.c (on_NewsServerConfigDialogButton_clicked): new function. (on_clistNewsServers_select_row): new function. (on_cmdNewsServersAdd_clicked): new function. (on_cmdNewsServersEdit_clicked): new function. (on_cmdNewsServersDelete_clicked): new function. (providers_config_new): mirror the source tab's code to fill in the news server tab. (write_config): save out the news server. (create_news_server_config_dialog): new function. (create_news_server_page): new function. svn path=/trunk/; revision=4115
* Fix bug #390: default attachment save dir should be ~Peter Williams2000-07-122-3/+8
| | | | svn path=/trunk/; revision=4108
* Changed to use camel_folder_move_message_to () rather than get_message ()Jeffrey Stedfast2000-07-122-17/+7
| | | | | | | | | | | | | | | | | 2000-07-11 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (real_fetch_mail): Changed to use camel_folder_move_message_to () rather than get_message () and then append_message (). This also makes it so we don't have to worry about fetching message flags to pass to the new append_message () method. * folder-browser.c (folder_browser_load_folder): Disable Search capability menu/entry if folder doesn't support it. * message-list.c (message_list_regenerate): Don't perform a search if the folder doesn't support it. svn path=/trunk/; revision=4098
* Disable Search capability menu/entry if folder doesn't support it.Jeffrey Stedfast2000-07-123-6/+16
| | | | | | | | | | | | 2000-07-11 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (folder_browser_load_folder): Disable Search capability menu/entry if folder doesn't support it. * message-list.c (message_list_regenerate): Don't perform a search if the folder doesn't support it. svn path=/trunk/; revision=4097
* Set the post_send_data flag rather than toggling it. (Maybe we'll needDan Winship2000-07-122-5/+9
| | | | | | | | | * mail-ops.c (real_send_mail): Set the post_send_data flag rather than toggling it. (Maybe we'll need more control over it later, but for now, the only flag we set is "replied", and we want that set, not toggled.) svn path=/trunk/; revision=4096
* Work with both current and 0.15 bonoboDan Winship2000-07-112-2/+8
| | | | | | | * folder-browser-factory.c (control_activate): Work with both current and 0.15 bonobo svn path=/trunk/; revision=4054
* Increase shareholder value.Dan Winship2000-07-111-1/+1
| | | | svn path=/trunk/; revision=4052
* kill more debugging messagesDan Winship2000-07-114-21/+2
| | | | | | * kill more debugging messages svn path=/trunk/; revision=4050
* Don't multiply free dest_url.Dan Winship2000-07-112-2/+2
| | | | | | * mail-ops.c (real_fetch_mail): Don't multiply free dest_url. svn path=/trunk/; revision=4049
* Update message_list_select_next to do either next or previous.Dan Winship2000-07-111-1/+8
| | | | | | | * message-list.c (message_list_select): Update message_list_select_next to do either next or previous. svn path=/trunk/; revision=4047
* Update message_list_select_next to do either next or previous.Dan Winship2000-07-114-35/+58
| | | | | | | | | | | | | * message-list.c (message_list_select): Update message_list_select_next to do either next or previous. * folder-browser.c (etable_key): Make 'n' and 'p' do next and previous unread message. * mail-ops.c (select_first_unread): Update. (real_fetch_mail): clean up a bit. svn path=/trunk/; revision=4046
* Fix an unitialized variable error.Ettore Perazzoli2000-07-112-0/+8
| | | | svn path=/trunk/; revision=4045
* Fixed broken POP fetchingJeffrey Stedfast2000-07-112-0/+14
| | | | | | | | 2000-07-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (real_fetch_mail): Fixed broken POP fetching svn path=/trunk/; revision=4042
* Fix syncing of the mailbox on exit so that it's done on destruction ofEttore Perazzoli2000-07-113-16/+14
| | | | | | | | | the corresponding FolderBrowser instead of using the "owner_unset" signel (the latter was broken, because the FolderBrowser is destroyed before "owner_unset" is emitted, so we have no chance to sync at that point). svn path=/trunk/; revision=4038
* Switched from ETable to ETableScrolled.Christopher James Lahey2000-07-103-13/+18
| | | | | | | | | 2000-07-10 Christopher James Lahey <clahey@helixcode.com> * message-list.c, message-list.h: Switched from ETable to ETableScrolled. svn path=/trunk/; revision=4034
* Fixed movemail so that it too would deliver to Inbox.Jeffrey Stedfast2000-07-102-38/+31
| | | | | | | | | 2000-07-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (real_fetch_mail): Fixed movemail so that it too would deliver to Inbox. svn path=/trunk/; revision=4029
* Fix a bug in previous commit that could cause infinite loopsDan Winship2000-07-101-3/+1
| | | | svn path=/trunk/; revision=4023
* Don't g_warn if the user selects a fake tree parent.Dan Winship2000-07-103-78/+85
| | | | | | | | | | | | | | | | * message-list.c (get_message_info): Don't g_warn if the user selects a fake tree parent. (message_list_select_next): Ignore fake rows (build_tree): Store the "root_subject" for fake rows (ml_tree_value_at): Display the correct subject for fake rows. (on_cursor_change_cmd): Update for the other changes and set cursor_uid to NULL when the cursor is on a fake row. * mail-ops.c (reply): Don't try to reply when no (real) message is selected. (forward_msg): Ditto. svn path=/trunk/; revision=4021
* Remove setting of dnd_code since that's handled internally to ETable.Christopher James Lahey2000-07-092-3/+5
| | | | | | | | | 2000-07-09 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Remove setting of dnd_code since that's handled internally to ETable. svn path=/trunk/; revision=4014
* Fix up the pageup/pagedown increment a bit.Dan Winship2000-07-092-4/+10
| | | | | | | * folder-browser.c (etable_key): Fix up the pageup/pagedown increment a bit. svn path=/trunk/; revision=4001
* Add a "Threaded Message List" item to the "View" menu.Dan Winship2000-07-094-25/+69
| | | | | | | | | | | | | * folder-browser-factory.c (control_activate): Add a "Threaded Message List" item to the "View" menu. * message-list.c (message_list_toggle_threads): Handler for that. (build_flat): New function to build a "flat" message list using the tree model. (message_list_regenerate): Build tree or flat message list depending on the global setting. svn path=/trunk/; revision=3999
* fix a "Re:" parsing bugDan Winship2000-07-092-1/+5
| | | | | | * message-thread.c (get_root_subject): fix a "Re:" parsing bug svn path=/trunk/; revision=3998
* Always dump incoming messages to Inbox (assuming not filtered to anotherJeffrey Stedfast2000-07-092-25/+63
| | | | | | | | | 2000-07-08 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (real_fetch_mail): Always dump incoming messages to Inbox (assuming not filtered to another location). svn path=/trunk/; revision=3996
* Move the "Expunge" command to the "Actions" menu.Ettore Perazzoli2000-07-092-2/+8
| | | | svn path=/trunk/; revision=3987
* Deal with having multiple selected messages.Dan Winship2000-07-094-51/+63
| | | | | | | | | | * mail-ops.c (forward_msg): Deal with having multiple selected messages. * mail-format.c (mail_generate_forward): Removed. (Integrated into forward_msg) svn path=/trunk/; revision=3982
* Small fix to stop uid data from being set on a message-list tree node whenJeffrey Stedfast2000-07-092-1/+8
| | | | | | | | | | 2000-07-08 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (build_tree): Small fix to stop uid data from being set on a message-list tree node when it didn't correspond to an actual message. svn path=/trunk/; revision=3978
* Fix Jeff's FIXME: This does get called with out-of-range data sometimes,Dan Winship2000-07-092-14/+7
| | | | | | | | * message-list.c (get_message_info): Fix Jeff's FIXME: This does get called with out-of-range data sometimes, so we do need the check. Use e_table_model_row_count to get the actual right answer. svn path=/trunk/; revision=3976
* This wasn't quite right, it will now work but still isn't perfect. SeeJeffrey Stedfast2000-07-082-1/+19
| | | | | | | | | 2000-07-07 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (get_message_info): This wasn't quite right, it will now work but still isn't perfect. See FIXME comment. svn path=/trunk/; revision=3965
* (sort_node): sort the tree by the original order of the messagesDan Winship2000-07-083-2/+7
| | | | | | in the folder rather than by date. svn path=/trunk/; revision=3963
* Add another argument "clast" pointing to the container before the currentDan Winship2000-07-082-5/+18
| | | | | | | | | | | | * message-thread.c (remove_node): Add another argument "clast" pointing to the container before the current one in the list, which it can update if that turns out to be the one that it removed. (group_root_set): Update for remove_node change, and remove both nodes in the "subjects are common" case. Fixes a bug that would cause the message list to be truncated if this rule was invoked. svn path=/trunk/; revision=3961
* Lots of changes. Store uids as node data on the tree nodes and use thoseDan Winship2000-07-086-438/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * message-list.c: Lots of changes. Store uids as node data on the tree nodes and use those rather than rows where possible. (The concept of "row" is just getting too complicated.) Get rid of the summary_table, because given a uid we can call camel_folder_get_message_info, which makes more sense than keeping a separate uid->row hash table ourselves. (get_message_info): update (get_message_row): removed (ml_col_cound, ml_row_count, ml_value_at, ml_set_value_at, ml_cell_is_editable, ml_duplicate_value, ml_free_value, ml_initialize_value, ml_value_is_empty, ml_value_to_string): Removed. We always use the tree model now. (message_list_init): Remove the non-tree code. (build_tree): store uids in the tree rather than row numbers, and build the message_list->uid_rowmap to map from uids to rows when needed. (message_list_regenerate): Renamed from _set_search, since it's used to redraw in non-search cases too. (message_changed): Use the uid_rowmap to get a model row number. * message-thread.c (thread_messages): Change the interface on this to work with the new MessageList. * folder-browser.c (search_set, folder_browser_clear_search): s/message_list_set_search/message_list_regenerate/ svn path=/trunk/; revision=3960
* Handle a row number of -1 properly.Christopher James Lahey2000-07-082-0/+8
| | | | | | | | | 2000-07-07 Christopher James Lahey <clahey@helixcode.com> * message-list.c (get_message_info): Handle a row number of -1 properly. svn path=/trunk/; revision=3947
* Map tree model row numbers to summary row numbers. (ml_tree_value_at,Dan Winship2000-07-072-7/+18
| | | | | | | | | * message-list.c (get_message_info): Map tree model row numbers to summary row numbers. (ml_tree_value_at, ml_tree_set_value_at, ml_tree_is_cell_editable): So don't do that here. svn path=/trunk/; revision=3938