aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Work around mismatched ctime_r functions. This will be fixed.Christopher James Lahey2000-06-272-1/+8
| | | | | | | | | 2000-06-27 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Work around mismatched ctime_r functions. This will be fixed. svn path=/trunk/; revision=3753
* Let us compile sans threads on non-pthread systems.Peter Williams2000-06-272-0/+10
| | | | svn path=/trunk/; revision=3752
* Put in a gross hack to export the shell reference elsewhere.Michael Zucchi2000-06-272-0/+10
| | | | | | | | | 2000-06-27 Michael Zucchi <zucchi@zedzone.mmc.com.au> * component-factory.c (owner_set_cb): Put in a gross hack to export the shell reference elsewhere. svn path=/trunk/; revision=3748
* Calculate height including if clip_height is set to -1.Christopher James Lahey2000-06-272-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Calculate height including if clip_height is set to -1. From addressbook/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c, addressbook/gui/component/e-cardlist-model.c: Added value_to_string handlers. * demo/addressbook-widget.c, demo/demo.c: Removed usage of "x" and "y" arguments. * addressbook/gui/component/addressbook.c: Activated Click To Add and set the click to add message. * addressbook/gui/component/e-addressbook-model.c: Added value_to_string and append_row handlers. * addressbook/gui/component/e-select-names.c: Added a column. From calendar/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * gui/calendar-model.c: Added an #ifdefed value_to_string handler assignment. From camel/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * providers/mbox/camel-mbox-summary.c: Added debugging information. From composer/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-msg-composer-select-file.h for make distcheck. From e-util/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-canvas-vbox.c and e-canvas-vbox.h. * e-canvas-vbox.c, e-canvas-vbox.h: New canvas object to act like a vbox using the reflow system. From mail/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Added a value_to_string handler. From shell/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * glade/Makefile.am: Added EXTRA_DIST for make distcheck. From widgets/e-table/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-click-to-add.c, e-table-click-to-add.h, e-table-one.c, and e-table-one.h. * e-table-click-to-add.c, e-table-click-to-add.h: A new canvas item that represents a single row that sometimes exists. It's for adding new rows to your table. * e-table-example-1.c, e-table-example-2.c, e-table-size-test.c, test-check.c, test-cols.c, test-table.c: Added value_to_string handlers. * e-table-group-container.c: Use value_to_string to make grouping not crash for non string columns. Made some changes to work properly in an ECanvasVbox. * e-table-group-leaf.c, e-table-item.c: Made some changes to work properly in an ECanvasVbox. * e-table-model.c, e-table-model.h: Added append_row and value_to_string methods. * e-table-one.c, e-table-one.h: Given a source ETableModel, this provides a single row model that uses the initialize_value, duplicate_value, free_value, and value_is_empty methods of the original source to implement set_value and value_at (and proxies most of the other methods.) This is used for ETableClickToAdd. * e-table-simple.c, e-table-simple.h: Added append_row and value_to_string handlers. append_row uses a GtkArg instead of a parameter to e_table_simple_new. * e-table-subset.c: Added append_row and value_to_string handlers. * e-table.c, e-table.h: Use a vbox containing an ETableClickToAdd and an ETableItem instead of an ETableItem directly. Only show the ETableClickToAdd if the top level of the xml SPEC has the attribute click-to-add set to some non-zero integer. (click-to-add="1"). Add a "click_to_add_message" argument. * e-tree-model.c: Add a commented out value_to_string handler. From widgets/meeting-time-sel/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added the include path to top_srcdir. svn path=/trunk/; revision=3744
* Make the broken threads optionalPeter Williams2000-06-275-4/+84
| | | | svn path=/trunk/; revision=3740
* commenting out of some GDK_THREADS_*() junk that was causing a lockJeffrey Stedfast2000-06-274-4/+11
| | | | | | also fixed an assignment problem (var = void) in mail-config.c svn path=/trunk/; revision=3738
* Add some debugging messages to track down thread issues better andEttore Perazzoli2000-06-263-0/+26
| | | | | | | call GDK_THREAD_{LEAVE,ENTER} around the main loop as the GTK+ FAQ says we should do. svn path=/trunk/; revision=3737
* Force thread usage and clean up the configure aspect thereof.Peter Williams2000-06-262-6/+11
| | | | svn path=/trunk/; revision=3734
* folder-browser.c: Improved the code to separate the imap namespace from the ↵Jeffrey Stedfast2000-06-242-3/+9
| | | | | | folder path svn path=/trunk/; revision=3713
* Land most of the stuff to move fetch_mail, send_mail, expunge_folder, ↵Peter Williams2000-06-246-101/+415
| | | | | | init_imap, and init_news to async operation. svn path=/trunk/; revision=3711
* Little prototype fixesPeter Williams2000-06-232-5/+7
| | | | svn path=/trunk/; revision=3708
* Now should correctly get the selected folder from the given URL.Jeffrey Stedfast2000-06-232-2/+8
| | | | | | | | | 2000-06-22 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (folder_browser_load_folder): Now should correctly get the selected folder from the given URL. svn path=/trunk/; revision=3704
* add handling for loading "news:" folders.Chris Toshok2000-06-233-0/+98
| | | | | | | | | | | | | 2000-06-22 Chris Toshok <toshok@helixcode.com> * folder-browser.c (folder_browser_load_folder): add handling for loading "news:" folders. * component-factory.c (create_news_storage): add a root for news source. (owner_set_cb): call create_news_storage. svn path=/trunk/; revision=3703
* Updated to prepend url-> path if it exists for that imap store.Jeffrey Stedfast2000-06-233-11/+29
| | | | | | | | | | | | 2000-06-22 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (folder_browser_load_folder): Updated to prepend url-> path if it exists for that imap store. * component-factory.c (create_imap_storage): Modified to not prepend a hard-coded namespace. svn path=/trunk/; revision=3701
* Revert Peter's change and Chris's fix to it, since it looks like PeterDan Winship2000-06-231-62/+23
| | | | | | probably didn't actually intend to commit it yet... svn path=/trunk/; revision=3699
* new function, passed as arg to mail_operation_try. (fetch_mail): addChris Toshok2000-06-232-1/+13
| | | | | | | | | | 2000-06-22 Chris Toshok <toshok@helixcode.com> * mail-ops.c (fetch_mail_cleanup): new function, passed as arg to mail_operation_try. (fetch_mail): add cleanup func arg. svn path=/trunk/; revision=3698
* Changed ml_value_at to return "" instead of NULL in some cases.Christopher James Lahey2000-06-232-4/+29
| | | | | | | | | 2000-06-22 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Changed ml_value_at to return "" instead of NULL in some cases. svn path=/trunk/; revision=3697
* Add libs so that we link right with gthreadsPeter Williams2000-06-232-0/+4
| | | | svn path=/trunk/; revision=3695
* Make the async dialogs non-modal; add cleanup callbacks in the main thread.Peter Williams2000-06-234-53/+119
| | | | svn path=/trunk/; revision=3694
* Add nice blocking stuff for the error dialog and a new get_password hook in ↵Peter Williams2000-06-234-41/+241
| | | | | | the async toolkit svn path=/trunk/; revision=3692
* Prettify the progress dialog a bit.Peter Williams2000-06-223-48/+120
| | | | svn path=/trunk/; revision=3689
* Removed an erroneous comment.Christopher James Lahey2000-06-222-5/+4
| | | | | | | | 2000-06-21 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Removed an erroneous comment. svn path=/trunk/; revision=3687
* Make this not crash if you don't have a transport configured.Dan Winship2000-06-222-1/+4
| | | | | | | * mail-config.c (create_transport_page): Make this not crash if you don't have a transport configured. svn path=/trunk/; revision=3686
* Update received date to work like sent date.Dan Winship2000-06-223-27/+32
| | | | | | * message-list.c: Update received date to work like sent date. svn path=/trunk/; revision=3678
* Add the async mail API (still not hooked up though)Peter Williams2000-06-226-2/+750
| | | | svn path=/trunk/; revision=3676
* Get evolution-dir the right way in e-setup.hPeter Williams2000-06-222-2/+6
| | | | svn path=/trunk/; revision=3675
* oops, should have checked for a NULL sources in component-factory.cJeffrey Stedfast2000-06-213-3/+9
| | | | | | (create_imap_storage) svn path=/trunk/; revision=3657
* Quick hack to prevent a NULL pointer dereference. Things need to beDan Winship2000-06-212-0/+7
| | | | | | | | * message-list.c (mark_msg_seen): Quick hack to prevent a NULL pointer dereference. Things need to be cleaned up a bit more here though. svn path=/trunk/; revision=3653
* Oops. This should have been removed a long time ago.Dan Winship2000-06-212-771/+5
| | | | | | | * mail-sources.c: Oops. This should have been removed a long time ago. svn path=/trunk/; revision=3650
* Only fetch the summary if the folder summary doesn't already exist. WhenJeffrey Stedfast2000-06-212-2/+8
| | | | | | | | | | | | | | | | | | | | | 2000-06-20 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-folder.c (imap_get_summary): Only fetch the summary if the folder summary doesn't already exist. When the summary *does* exist, start fetching from 1, not 0. (imap_free_summary): Don't do anything here. (imap_finalize): Free the summary here instead of in imap_free_summary(). * camel-url.c (check_equal): No need to check s1 if s2 is NULL (camel_url_equal): Don't check the passwd component of the url. and in mail/component-factory.c (create_imap_storage): removal of debug statements mail/folder-browser.c (folder_browser_load_folder): improved imap service parser svn path=/trunk/; revision=3649
* working on getting IMAP folder selection workingJeffrey Stedfast2000-06-213-16/+29
| | | | svn path=/trunk/; revision=3648
* Add missing declaration of `evolution_dir' to get it to compile.Ettore Perazzoli2000-06-212-0/+6
| | | | svn path=/trunk/; revision=3645
* Add a confirmation dialog box for when the user tries to send aEttore Perazzoli2000-06-202-0/+35
| | | | | | message without a subject. svn path=/trunk/; revision=3644
* basically got IMAP into the tree viewJeffrey Stedfast2000-06-203-15/+85
| | | | svn path=/trunk/; revision=3643
* add an option to prefer text/plain. (reply_body): add an option to preferDan Winship2000-06-202-13/+29
| | | | | | | | | | | * mail-format.c (find_preferred_alternative): add an option to prefer text/plain. (reply_body): add an option to prefer text/plain (mail_generate_reply): Check the mail sending preferences, and generate a text/plain reply if the user prefers to send plain text (and we have a text/plain part to generate a reply from). svn path=/trunk/; revision=3641
* Should now correctly display the Transport page (made it set theJeffrey Stedfast2000-06-192-13/+35
| | | | | | | | | | | | | | 2000-06-19 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.c (providers_config_new): Should now correctly display the Transport page (made it set the optionmenu correctly, before it would only set SMTP). (create_transport_page): Updated to set the page info to sendmail/smtp based on the url. (create_service_page): Had to add some code to set data on some objects so I could grab the objects I needed to modify in the above function. svn path=/trunk/; revision=3629
* started to add code to load an IMAP folder.Jeffrey Stedfast2000-06-193-18/+62
| | | | | | | | | | | | | | | | 2000-06-18 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser.c (folder_browser_load_folder): started to add code to load an IMAP folder. * component-factory.c: Started to add a create_imap_storage method so that we can eventually have our IMAP store displayed in the tree view. (create_vfolder_storage): Renamed from create_test_storage(). (owner_set_cb): Updated. svn path=/trunk/; revision=3627
* Prevent double-freeing action on summary_table and uid_rowmap.Dan Winship2000-06-182-5/+5
| | | | | | | * message-list.c (message_list_set_folder): Prevent double-freeing action on summary_table and uid_rowmap. svn path=/trunk/; revision=3615
* Implement clicking on the envelope icon to set read/unread. Based on aDan Winship2000-06-173-12/+43
| | | | | | | | | | * message-list.c (ml_set_value_at): Implement clicking on the envelope icon to set read/unread. Based on a patch by clahey. (select_msg): keep the timeout id for the "seen" flagging in the message_list structure, so ml_set_value_at can clear it so it doesn't re-mark a message seen after you click it unseen. svn path=/trunk/; revision=3601
* new function to do a uid to row mapping. (mark_msg_seen, select_msg,Dan Winship2000-06-174-60/+150
| | | | | | | | | | | | | | | | | | * message-list.c (get_message_row): new function to do a uid to row mapping. (mark_msg_seen, select_msg, message_changed, message_list_set_folder): Update for Camel flag changes. (on_cursor_change_cmd): Rename "row_to_select" to "selected_row", and keep a "selected_uid" as well. * mail-ops.c (composer_send_cb): Update for Camel flag changes, and fix some memory-handling bugs. (Free the post_send_data when the composer is destroyed, not when the user clicks "send", which could happen never, or more than once.) (delete_msg): Update for Camel flag changes, and fix the "holding down the delete key skips some messages" bug. svn path=/trunk/; revision=3600
* Update for CamelFolder changes.Dan Winship2000-06-164-20/+10
| | | | | | | | | * mail-ops.c (fetch_mail): * component-factory.c (owner_unset_cb): * message-list.c (message_list_set_folder): Update for CamelFolder changes. svn path=/trunk/; revision=3583
* New function to revert back to non-searching mode.Dan Winship2000-06-164-0/+16
| | | | | | | | | * folder-browser.c (folder_browser_clear_search): New function to revert back to non-searching mode. * mail-ops.c (fetch_mail): Use folder_browser_clear_search. svn path=/trunk/; revision=3576
* if the document requests an unknown URL, it's not an error; just ignoreDan Winship2000-06-153-1/+17
| | | | | | | | | * mail-display.c (on_url_requested): if the document requests an unknown URL, it's not an error; just ignore the URL. * mail-ops.c (fetch_mail): If there's no new mail, tell the user. svn path=/trunk/; revision=3574
* call gtkhtmllib_init hereRadek Doulik2000-06-142-0/+5
| | | | | | | | 2000-06-14 Radek Doulik <rodo@helixcode.com> * main.c (main): call gtkhtmllib_init here svn path=/trunk/; revision=3567
* fixed it so that source always pointed to a valueJeffrey Stedfast2000-06-142-0/+7
| | | | svn path=/trunk/; revision=3554
* Build a `libeshell.a' library in `shell/' so that we don't need toEttore Perazzoli2000-06-132-16/+14
| | | | | | | link to the shell's object files directly from the components anymore. (That was really gross.) svn path=/trunk/; revision=3546
* Got rid of sources_max_row and identities_max_row as they are not reallyJeffrey Stedfast2000-06-132-19/+22
| | | | | | | | | | | | | 2000-06-12 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.c: Got rid of sources_max_row and identities_max_row as they are not really needed (just use clist->rows) (on_cmdSourcesEdit_clicked): Modified to make 'source' point to the data being edited. (on_cmdSourcesAdd_clicked): Adds a new clist item and selects it so the editor knows where to stick the data when it's done. svn path=/trunk/; revision=3545
* Removed the ETableModel thaw handler.Federico Mena Quintero2000-06-132-7/+5
| | | | | | | | 2000-06-12 Federico Mena Quintero <federico@helixcode.com> * message-list.c: Removed the ETableModel thaw handler. svn path=/trunk/; revision=3542