aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagGNOMEDB_0_1_0nobody2000-08-2254-21622/+0
| | | | | | 'GNOMEDB_0_1_0'. svn path=/tags/GNOMEDB_0_1_0/; revision=4935
* 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
* Glade files for the configuration dialog.JP Rosevear2000-07-075-247/+468
| | | | | | | | | | | 2000-07-06 JP Rosevear <jpr@arcavia.com> * mail-config.glade*: Glade files for the configuration dialog. * mail-config.c (providers_config_new): Build the dialog with glade. svn path=/trunk/; revision=3933
* include GCONF_CFLAGS for gconf_initDan Winship2000-07-071-0/+1
| | | | svn path=/trunk/; revision=3932
* fix warnings.Dan Winship2000-07-075-10/+8
| | | | | | | * folder-browser-factory.c, folder-browser.c, mail-ops.c, message-list.c: fix warnings. svn path=/trunk/; revision=3931
* gtkhtmllib_init is no more. Call gconf_init directly instead.Dan Winship2000-07-072-1/+5
| | | | | | | * main.c (main): gtkhtmllib_init is no more. Call gconf_init directly instead. svn path=/trunk/; revision=3930
* New function to select the first message on or after the given row thatDan Winship2000-07-075-7/+69
| | | | | | | | | | | | | | | | | * message-list.c (message_list_select_next): New function to select the first message on or after the given row that meets certain flag criteria. * folder-browser.c (etable_key): call message_list_select_next to select next non-deleted message after Delete. * mail-ops.c (real_fetch_mail): call message_list_select_next to select first unread message in current folder if it changes. (real_delete_msg): Remove the code to move the etable cursor. It only makes sense really if you deleted the message with the keyboard, so do it from there. svn path=/trunk/; revision=3927
* Add a workaround for a small gnome-vfs 0.2 bug so we don't need to requireDan Winship2000-07-072-0/+31
| | | | | | | * mail-identify.c: Add a workaround for a small gnome-vfs 0.2 bug so we don't need to require CVS gnome-vfs. svn path=/trunk/; revision=3924
* Well, delete, expunge, appear broken, it sorts (initially) at least now.Michael Zucci2000-07-064-17/+101
| | | | | | | | | | | | * message-thread.c (sort_thread): sort messages based on date for the initial sort order. (thread_messages_free): Implement. (message_list_init): set the root node invisible afterall. (message_list_set_search): Clear the old tree before putting in a new one. svn path=/trunk/; revision=3922
* Setup the subject renderer to a tree in tree mode. (on_cursor_change_cmd):Not Zed2000-07-064-22/+168
| | | | | | | | | | | | | | | | | | | | | | 2000-07-06 Not Zed <NotZed@HelixCode.com> * message-list.c (message_list_init_header): Setup the subject renderer to a tree in tree mode. (on_cursor_change_cmd): For a tree model, map the view row to the data row. (build_tree): Builds the tree data structure of all messages. (message_list_set_search): For a tree model, build the tree here. (ml_tree_icon_at): Icon callback, returns nothing. (ml_tree_value_at): (ml_tree_set_value_at): (ml_tree_is_cell_editable): Maps tree node to data row, and calls the equivalent table callback (message_list_init_renderers): Setup the tree renderer if needed. * message-list.h: Add a tree renderer to render list, and tree_view indicator. svn path=/trunk/; revision=3921
* Code for message threading.Not Zed2000-07-064-0/+532
| | | | | | | | 2000-07-06 Not Zed <NotZed@HelixCode.com> * message-thread.[ch]: Code for message threading. svn path=/trunk/; revision=3916
* Oops. My gnome-vfs was out-of-date. Update for changed function name.Dan Winship2000-07-062-2/+9
| | | | | | | * mail-identify.c (mail_identify_mime_part): Oops. My gnome-vfs was out-of-date. Update for changed function name. svn path=/trunk/; revision=3898
* Use the gnomevfs sniff buffer interface to try to identify the MIME typeDan Winship2000-07-065-12/+48
| | | | | | | | | | | | | | * mail-identify.c (mail_identify_mime_part): Use the gnomevfs sniff buffer interface to try to identify the MIME type when everything else fails. * mail-display.c (on_object_requested): * mail-format.c (lookup_handler, handle_undisplayable, handle_audio): s/gnome_mime/gnome_vfs_mime/ * Makefile.am: Add gnomevfs stuff svn path=/trunk/; revision=3893
* Get rid of a compiler warning.Ettore Perazzoli2000-07-042-1/+11
| | | | svn path=/trunk/; revision=3881
* call mail_display_set_message with NULL if the message we tried to selectDan Winship2000-07-043-21/+30
| | | | | | | | | | | | * message-list.c (select_msg): call mail_display_set_message with NULL if the message we tried to select doesn't exist (probably meaning we tried to selecte the first message and the folder is empty.) * mail-display.c (mail_display_set_message): deal with NULL as an input (meaning "undisplay previous message and display nothing"). svn path=/trunk/; revision=3879
* Remove hack to redisplay the inbox, since folder_changed signals will nowDan Winship2000-07-032-5/+4
| | | | | | | | * mail-ops.c (real_fetch_mail): Remove hack to redisplay the inbox, since folder_changed signals will now be emitted appropriately. svn path=/trunk/; revision=3866
* Fix filter_driver_new invocation.Dan Winship2000-07-032-1/+4
| | | | | | | * component-factory.c (create_vfolder_storage): Fix filter_driver_new invocation. svn path=/trunk/; revision=3862
* test-mail and test-thread should be noinst.Dan Winship2000-07-032-1/+6
| | | | | | | * Makefile.am (bin_PROGRAMS): test-mail and test-thread should be noinst. svn path=/trunk/; revision=3861
* Pass mail_uri_to_folder and rules to filter_driver_new.Dan Winship2000-07-033-7/+10
| | | | | | | | | * mail-ops.c (real_fetch_mail): (vfolder_editor_clicked): * component-factory.c (create_vfolder_storage): Pass mail_uri_to_folder and rules to filter_driver_new. svn path=/trunk/; revision=3860
* Fix double freeing of the camel exception; this prevents a crash when aEttore Perazzoli2000-07-032-1/+5
| | | | | | folder cannot be opened. svn path=/trunk/; revision=3858
* Added an extra @allowed_types parameter to the shell's folderEttore Perazzoli2000-07-022-1/+7
| | | | | | selection dialog, and update the code that uses it accordingly. svn path=/trunk/; revision=3854
* Removed. These aren't being used any more. (The real pixmaps are inDan Winship2000-07-0211-326/+6
| | | | | | | * pixmaps.h, pixmaps/*.xpm: Removed. These aren't being used any more. (The real pixmaps are in ../art.) svn path=/trunk/; revision=3848
* Updated to reflect camel-folder changes.Jeffrey Stedfast2000-07-013-6/+13
| | | | | | | | | | | | 2000-07-01 Jeffrey Stedfast <fejj@helixcode.com> * message-list.c (get_message_info): (select_msg): Updated to reflect camel-folder changes. * mail-ops.c (real_fetch_mail): Modified to reflect camel-folder changes. svn path=/trunk/; revision=3844
* Use gnome-print to do a print preview.Dan Winship2000-07-014-1/+27
| | | | | | | | * mail-ops.c (print_msg): Use gnome-print to do a print preview. * folder-browser-factory.c: Hook up "Print" button. svn path=/trunk/; revision=3835
* s/mbox/file/ to make this work againDan Winship2000-07-011-1/+1
| | | | svn path=/trunk/; revision=3834
* New function, a wrapper around e_table_selected_row_foreach, which callsDan Winship2000-07-017-52/+178
| | | | | | | | | | | | | | | | | | | | | * message-list.c (message_list_foreach): New function, a wrapper around e_table_selected_row_foreach, which calls the callback function with UIDs rather than row numbers. * folder-browser-factory.c: Remove never-used "Find" button from the toolbar and replace it with "Refile". (We need a better icon for this...). Hook up "Refile" to "refile_msg". * mail-ops.c (refile_msg): Call the shell's user_select_folder routine, and then use message_list_foreach and real_refile_msg to do the work. (delete_msg): Update to use message_list_foreach. * folder-browser.c (mail_uri_to_folder): new function, extracted from folder_browser_load_folder, to turn a URI into a folder. (folder_browser_load_folder): Use it. svn path=/trunk/; revision=3833
* Fix to work with new EvolutionShellClientPeter Williams2000-07-012-6/+15
| | | | svn path=/trunk/; revision=3830
* use the ETable row_selection signal to track how many rows are selected.Dan Winship2000-07-014-12/+41
| | | | | | | | | | | | | | | * message-list.c (on_row_selection): use the ETable row_selection signal to track how many rows are selected. Eventually we will use this info to disable toolbar buttons when you have too few/too many messages selected, but the current toolbar widget doesn't allow that. * message-list.h, message-list.c, mail-ops.c: Change selected_row and selected_uid fields of MessageList to cursor_row and cursor_uid to be more correct according to the new ETable interfaces. svn path=/trunk/; revision=3829
* Fix stupid typos and add a missing prototype.Ettore Perazzoli2000-06-302-2/+7
| | | | svn path=/trunk/; revision=3823
* EvolutionShellClient.Ettore Perazzoli2000-06-302-5/+14
| | | | svn path=/trunk/; revision=3820
* oops, corrected the gtk/gnome castsJeffrey Stedfast2000-06-301-4/+4
| | | | svn path=/trunk/; revision=3813
* Clean up compile warnings (real_fetch_mail): Fetching from IMAP should doJeffrey Stedfast2000-06-302-113/+116
| | | | | | | | | 2000-06-29 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (delete_msg): Clean up compile warnings (real_fetch_mail): Fetching from IMAP should do nothing svn path=/trunk/; revision=3811
* Handle multiple deletes (change by Peter Williams.)Christopher James Lahey2000-06-302-17/+31
| | | | | | | | 2000-06-29 Christopher James Lahey <clahey@helixcode.com> * mail-ops.c: Handle multiple deletes (change by Peter Williams.) svn path=/trunk/; revision=3809
* Changed "Send" to "Compose" to avoid user confusion. Compose is a littleJeffrey Stedfast2000-06-302-1/+2
| | | | | | | | | | 2000-06-29 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Changed "Send" to "Compose" to avoid user confusion. Compose is a little more intuitive. Also changed the pixmap to MAIL_NEW instead of MAIL_SND svn path=/trunk/; revision=3807
* Changed "Send" to "Compose" to avoid user confusion. Compose is a littleJeffrey Stedfast2000-06-304-3/+10
| | | | | | | | | | | 2000-06-29 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Changed "Send" to "Compose" to avoid user confusion. Compose is a little more intuitive. * mail-ops.c (compose_msg): Renamed to avoid confusion svn path=/trunk/; revision=3805
* remove some code incorrectly copied and pasted from create_vfolder_storageDan Winship2000-06-302-6/+7
| | | | | | | | | * component-factory.c (create_imap_storage, create_news_storage): remove some code incorrectly copied and pasted from create_vfolder_storage which caused vfolder creation to stop working. svn path=/trunk/; revision=3804
* From mail:Christopher James Lahey2000-06-303-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-29 Christopher James Lahey <clahey@helixcode.com> * message-list.c, mail-ops.c: Changed the name of e_table_select_row to e_table_set_cursor_row. From widgets/e-table: 2000-06-29 Christopher James Lahey <clahey@helixcode.com> * e-table-click-to-add.c: Made this appear a bit better. * e-table-defines.h: Cleaned this up a bit, added ETableForeachFunc. * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h, e-table.c, e-table.h: Changed e_table_select_row to e_table_set_cursor_row. Changed e_table_get_selected_view_row to e_table_get_cursor_row. Added e_table_selected_row_foreach. * e-table-header-item.c: Fixed some warnings. * e-table-sorted-variable.c: Removed some unneeded debugging print statments. * e-tree-example-1.c: Changed e_table_get_selected_view_row to e_table_get_cursor_row. svn path=/trunk/; revision=3799
* Fixes brought to us by PurifyMatthew Loper2000-06-293-1/+13
| | | | svn path=/trunk/; revision=3792
* add default subjectsDan Winship2000-06-292-1/+18
| | | | | | * mail-format.c (mail_generate_forward): add default subjects svn path=/trunk/; revision=3784
* Refuse to create folders not of type "mail", and correctly create an emptyDan Winship2000-06-292-5/+31
| | | | | | | | * component-factory.c (create_folder): Refuse to create folders not of type "mail", and correctly create an empty "mbox" folder for new folders in /local. svn path=/trunk/; revision=3781
* make this compile.Dan Winship2000-06-291-1/+1
| | | | svn path=/trunk/; revision=3780
* Add debugging messagesDan Winship2000-06-291-2/+6
| | | | svn path=/trunk/; revision=3779
* Call od_assert_using_oaf() or od_assert_using_goad() as appropriate toDan Winship2000-06-292-5/+13
| | | | | | | | * main.c (init_corba): Call od_assert_using_oaf() or od_assert_using_goad() as appropriate to make sure people didn't someone trick the build system. svn path=/trunk/; revision=3776
* message-list.c: added prototype for filter_date()Jeffrey Stedfast2000-06-283-7/+9
| | | | svn path=/trunk/; revision=3772
* Made dates display grouping information properly.Christopher James Lahey2000-06-282-1/+7
| | | | | | | | | 2000-06-27 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Made dates display grouping information properly. svn path=/trunk/; revision=3765
* Little teeny fixesPeter Williams2000-06-282-1/+4
| | | | svn path=/trunk/; revision=3764
* Hey, nothreads might work now\!Peter Williams2000-06-282-1/+9
| | | | svn path=/trunk/; revision=3762
* Fix the test-threads when no threadingPeter Williams2000-06-272-0/+14
| | | | svn path=/trunk/; revision=3756
* Fix boobooPeter Williams2000-06-272-0/+4
| | | | svn path=/trunk/; revision=3755
* Solaris compatibility config check + implementation (ctime_r arguments)Peter Williams2000-06-272-3/+11
| | | | svn path=/trunk/; revision=3754