aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Return the result of folder_browser_load_folder. (get_prop, set_prop,Dan Winship2000-06-137-117/+31
| | | | | | | | | | | | | | | | | | | | | * folder-browser.c (folder_browser_set_uri): Return the result of folder_browser_load_folder. (get_prop, set_prop, folder_browser_properties_init): Remove. No longer needed. * folder-browser-factory.c (folder_browser_factory_new_control): Add a "uri" argument, return NULL if setting it fails. (folder_browser_factory_new_control): Remove property bag stuff. (folder_browser_factory_init, folder_browser_factory): Remove this, since we're using the component factory now. * component-factory.c (create_view): Update for folder_browser_factory_new_control change and return NOTFOUND as appropriate. * main.c (main): Don't call folder_browser_factory_init. svn path=/trunk/; revision=3532
* Fix the subject generation so we don't get "Re: Re:". This is workingDan Winship2000-06-132-4/+15
| | | | | | | | * mail-format.c (mail_generate_reply): Fix the subject generation so we don't get "Re: Re:". This is working around something that may later be declared a misfeature in Camel. svn path=/trunk/; revision=3531
* Implemented folder creation dialog (File -> New -> Folder). To makeEttore Perazzoli2000-06-112-1/+32
| | | | | | | | it really work though, the components should implement creation functionality by passing an appropriate function pointer in `e_shell_component_new()' for @create_folder_fn. svn path=/trunk/; revision=3504
* Add a serial number to FolderBrowser.Dan Winship2000-06-104-9/+30
| | | | | | | | | | | | * folder-browser.c (folder_browser_new): Add a serial number to FolderBrowser. * folder-browser-factory.c (control_activate, control_deactivate): Include fb serial number in the name of the Bonobo toolbar to prevent problems with disappearing toolbars. This is a kludge and should go away. svn path=/trunk/; revision=3501
* display error from camel_folder_expunge if there is one.Dan Winship2000-06-102-3/+3
| | | | | | | * mail-ops.c (expunge_folder): display error from camel_folder_expunge if there is one. svn path=/trunk/; revision=3500
* install an idle function to select the row rather than doing it directly.Dan Winship2000-06-102-8/+17
| | | | | | | | * message-list.c (select_row): install an idle function to select the row rather than doing it directly. Ugh. What a kludge, but at least it works now. svn path=/trunk/; revision=3498
* Update for CamelAuthCallback changes. (Uncache passwords when asked to.)Dan Winship2000-06-102-19/+38
| | | | | | | * session.c (evolution_auth_callback): Update for CamelAuthCallback changes. (Uncache passwords when asked to.) svn path=/trunk/; revision=3497
* close and expunge the source folder after copying it to a local folder.Dan Winship2000-06-102-0/+8
| | | | | | | * mail-ops.c (fetch_mail): close and expunge the source folder after copying it to a local folder. svn path=/trunk/; revision=3493
* Initial support for creating/removing folders. This implies some newEttore Perazzoli2000-06-102-3/+18
| | | | | | | | IDL methods and new functions to implement on the component side. I have also added a simple folder creation dialog in the shell. It's quite unfinished and untested. svn path=/trunk/; revision=3491
* Redo things a bit so that whitespace-only text parts aren't displayed. (InDan Winship2000-06-102-112/+143
| | | | | | | | | * mail-format.c: Redo things a bit so that whitespace-only text parts aren't displayed. (In particular, so that whitespace-only subparts of multipart/mixed aren't displayed as separate (empty) parts.) svn path=/trunk/; revision=3488
* Update for folder creation/existence changes.Dan Winship2000-06-074-51/+17
| | | | | | | | | | | | * mail-ops.c (fetch_mail): * folder-browser.c (folder_browser_load_folder): Update for folder creation/existence changes. * message-list.c (message_list_set_folder): Remove the code to create the folder if it doesn't exist, since we don't want to do that. svn path=/trunk/; revision=3455
* Leave the composer window around if the message doesn't get sent.Dan Winship2000-06-062-6/+14
| | | | | | | * mail-ops.c (composer_send_cb): Leave the composer window around if the message doesn't get sent. svn path=/trunk/; revision=3436
* Allow "GDK_KP_Delete", a keypad delete key, to delete a message.Matthew Loper2000-06-062-1/+7
| | | | | | | * folder-browser.c (etable_key): Allow "GDK_KP_Delete", a keypad delete key, to delete a message. svn path=/trunk/; revision=3435
* Remember passwords between calls. (forget_passwords): Callback for "ForgetDan Winship2000-06-064-2/+51
| | | | | | | | | | | * session.c (evolution_auth_callback): Remember passwords between calls. (forget_passwords): Callback for "Forget Passwords" menu item. * folder-browser-factory.c (control_activate): (control_deactivate): Add "Forget Passwords" menu item. svn path=/trunk/; revision=3434
* fix some function prototypesDan Winship2000-06-063-8/+14
| | | | | | * mail.h, mail-ops.c: fix some function prototypes svn path=/trunk/; revision=3433
* Add "Delete" = delete message.Dan Winship2000-06-062-0/+5
| | | | | | * folder-browser.c (etable_key): Add "Delete" = delete message. svn path=/trunk/; revision=3432
* Update for new composer attachment interface.Dan Winship2000-06-062-35/+15
| | | | | | | * mail-format.c (mail_generate_forward): Update for new composer attachment interface. svn path=/trunk/; revision=3431
* added new notebook page to the prividers config dialog for slecting ↵Jeffrey Stedfast2000-06-032-0/+71
| | | | | | text/plain or multipart/alternative svn path=/trunk/; revision=3403
* If the date in the summary is 0, output "?".Dan Winship2000-06-032-0/+6
| | | | | | | * message-list.c (filter_date): If the date in the summary is 0, output "?". svn path=/trunk/; revision=3400
* keep a GList of folder browsers created (owner_unset_cb): Go through theDan Winship2000-06-032-0/+22
| | | | | | | | | * component-factory.c (create_view): keep a GList of folder browsers created (owner_unset_cb): Go through the list and close each folder before exiting so they sync their summary state, etc to disk. svn path=/trunk/; revision=3393
* Use camel_service_connect, not connect_with_url, since we already passedDan Winship2000-06-032-2/+7
| | | | | | | | * mail-ops.c (fetch_mail): Use camel_service_connect, not connect_with_url, since we already passed the URL into camel_session_get_store. svn path=/trunk/; revision=3392
* Use camel_folder_free_summary instead of g_ptr_array_free. Unref theChristopher James Lahey2000-06-032-4/+11
| | | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Use camel_folder_free_summary instead of g_ptr_array_free. Unref the folder when we're done with it. svn path=/trunk/; revision=3389
* Revert removal of e_setup_base_dir.Christopher James Lahey2000-06-022-0/+5
| | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * session.c: Revert removal of e_setup_base_dir. svn path=/trunk/; revision=3379
* Connect to ETable's key_press signal. (etable_key): scroll mail onDan Winship2000-06-022-3/+43
| | | | | | | | * folder-browser.c (my_folder_browser_init): Connect to ETable's key_press signal. (etable_key): scroll mail on space/backspace. svn path=/trunk/; revision=3375
* spelling changes in commenst!Jeffrey Stedfast2000-06-021-1/+1
| | | | | | er, comments...I did it again!!! svn path=/trunk/; revision=3374
* Made sent column as wide as from column.Christopher James Lahey2000-06-022-1/+5
| | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Made sent column as wide as from column. svn path=/trunk/; revision=3373
* source editor now fills in fieldsJeffrey Stedfast2000-06-022-0/+13
| | | | svn path=/trunk/; revision=3372
* was using the wrong clist row variable in the callbacks for the sources clistJeffrey Stedfast2000-06-022-2/+9
| | | | svn path=/trunk/; revision=3371
* Add a date column. (COL_SENT_WIDTH_MIN): Make this wider. (ml_value_at):Dan Winship2000-06-023-16/+53
| | | | | | | | | | | | | | * message-list.c: Add a date column. (COL_SENT_WIDTH_MIN): Make this wider. (ml_value_at): return the sent date (as a time_t) for COL_SENT. (Fix COL_TO too while I'm here.) (ml_duplicate_value, ml_free_value, ml_initialize_value, ml_value_is_empty): COL_SENT is numeric now. (message_list_init_renderers): Create a date renderer (using text_filter to translate the time_t into a string). (message_list_init_header): Use render_date for COL_SENT. svn path=/trunk/; revision=3365
* Don't call e_setup_base_dir.Christopher James Lahey2000-06-022-1/+4
| | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * session.c: Don't call e_setup_base_dir. svn path=/trunk/; revision=3361
* Fix forwarding to work for people other than me. :) [Although apparentlyDan Winship2000-06-022-1/+5
| | | | | | | | * mail-format.c (mail_generate_forward): Fix forwarding to work for people other than me. :) [Although apparently it doesn't really.] svn path=/trunk/; revision=3357
* Add a quick hack to move the selection down a row when you delete aDan Winship2000-06-022-1/+13
| | | | | | | * mail-ops.c (delete_msg): Add a quick hack to move the selection down a row when you delete a message. svn path=/trunk/; revision=3355
* use <blockquote> rather than <center><table border=1 width=95%> to frameDan Winship2000-06-022-3/+11
| | | | | | | | | | | * mail-format.c (handle_message_rfc822): use <blockquote> rather than <center><table border=1 width=95%> to frame the embedded message. If <pre> text in the subtable won't fit in the 95% width, GtkHTML will write past the border of the table (and <blockquote><table border=1> causes creeping updates so it's not usable for now). svn path=/trunk/; revision=3352
* Turn off the grid in our ETable.Christopher James Lahey2000-06-022-0/+6
| | | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * message-list.c (message_list_init): Turn off the grid in our ETable. svn path=/trunk/; revision=3349
* identity and source clists are now filled in as well as the transport ↵Jeffrey Stedfast2000-06-022-10/+87
| | | | | | notebook page in the providers_config dialog when created svn path=/trunk/; revision=3346
* Oops. This needs to take a message argument because we might be writingDan Winship2000-06-022-9/+16
| | | | | | | | * mail-format.c (write_headers): Oops. This needs to take a message argument because we might be writing headers for an embedded message/rfc822 subpart rather than the root document. svn path=/trunk/; revision=3343
* fixed a segfault in service_acceptable()Jeffrey Stedfast2000-06-022-7/+12
| | | | | | in mail-config.c svn path=/trunk/; revision=3341
* Finished the configuration dialogs and renamed some Tools/ menu itemsJeffrey Stedfast2000-06-023-9/+18
| | | | | | this should also fix the bug where the VFolders menu item isn't removed when using the Calendar/etc svn path=/trunk/; revision=3336
* Make the mail folder browser use EScrollFrame for a nicer look.Ettore Perazzoli2000-06-014-12/+27
| | | | svn path=/trunk/; revision=3328
* Quit when the shell exits. This is a kludge, but a pretty necessary oneDan Winship2000-06-012-1/+16
| | | | | | | | * component-factory.c (owner_unset_cb): Quit when the shell exits. This is a kludge, but a pretty necessary one until the refcounting bugs that keep the component from exiting properly are fixed. svn path=/trunk/; revision=3323
* Closer to having a working configuration dialog working, source ↵Jeffrey Stedfast2000-06-012-11/+188
| | | | | | configuration partially works (in that it displays the dialogs) but the popup still segfaults fairly nastily svn path=/trunk/; revision=3322
* Fix up memory management of x-evolution-data URLs so the URLs and/or theirDan Winship2000-06-013-32/+39
| | | | | | | | | | | | | * mail-format.c (free_url, handle_text_enriched, get_url_for_icon): Fix up memory management of x-evolution-data URLs so the URLs and/or their data don't get freed while there are still references to them. * message-list.c (message_list_init_header): redo the (unused) online status column to no longer refer to pixmaps that no longer exist. svn path=/trunk/; revision=3320
* Make the toolbar look like a standard GNOME toolbar my putting it intoEttore Perazzoli2000-06-012-3/+17
| | | | | | | | a GtkFrame. Also, make sure it cannot be dragged to the left or right of the dock, because with the current non-BonoboUIHandler system we use it causes bad bad things to happen. svn path=/trunk/; revision=3319
* config dialog will now allow identities to be added, edited and deletedJeffrey Stedfast2000-06-012-47/+282
| | | | | | | settings are now saved when the config dialog is exited via the OK button (only 1 identity is saved due to the fact that that is all the config file will allow) svn path=/trunk/; revision=3316
* Initialize the "urls" hash table stored on the message and store cid andDan Winship2000-06-013-125/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | * mail-format.c (mail_format_mime_message): Initialize the "urls" hash table stored on the message and store cid and other URLs there rather than as object data on the message. (get_cid): rewrite this a bunch (handle_text_enriched): move the code from write_iframe_string() into here, since it's the only place that actually needs it. (handle_text_html): simplify this a lot. We can use a cid: URL here rather than x-evolution-data. (get_url_for_icon): New routine to return URLs for icons, and cache the results, so we don't have to keep re-reading the icon files (and so we can't be spoofed into reading non-icon files). (handle_mystery, handle_audio): use get_url_for_icon. * mail-display.c (save_data): move the CamelMimePart filename extracting code from get_cid to here. (on_link_clicked, on_object_requested): Update for cid: changes. (on_url_requested): Kill off the kludgy, exploitable x-gnome-icon URL schema, update cid and x-evolution-data to match mail-format.c. It should now be easier to implement RFC 2557 (Content-Location, etc), but that RFC still pretty much sucks. svn path=/trunk/; revision=3314
* Redo this back to the old way: a single GtkHTML with various things inlineDan Winship2000-05-315-384/+354
| | | | | | | | | | | | | | | | | | | | * mail-format.c: Redo this back to the old way: a single GtkHTML with various things inline in it. (Gets rid of flicker, simplifies some scrolling, selecting, and printing issues.) (handle_text_enriched, handle_text_html): Use <iframe>s for these, to protect the rest of the document from their possibily invalid HTML. (handle_via_bonobo): Use (new-and-improved) <object> tags for this, moving most of the work back into mail-display.c * mail-display.c (on_object_requested): Move the Bonobo embedding code back here again (reorganized a bit). (on_url_requested): add x-evolution-data handler, for iframe bodies. (mail_html_new, mail_html_end): removed (mail_display_set_message, mail_display_new): Update for NWO. svn path=/trunk/; revision=3312
* Removed merge cruft.Michael Zucci2000-05-311-1/+0
| | | | svn path=/trunk/; revision=3302
* Properly encode the search string.Not Zed2000-05-312-2/+7
| | | | | | | | 2000-05-30 Not Zed <NotZed@HelixCode.com> * folder-browser.c (search_set): Properly encode the search string. svn path=/trunk/; revision=3301
* Implemented the Transport section of the configuration dialog windowJeffrey Stedfast2000-05-313-44/+143
| | | | | | and fixed several memory leaks inside of mail-config.c svn path=/trunk/; revision=3299
* oops. use the seen and unseen icons to represent the right things. :)Dan Winship2000-05-311-2/+2
| | | | svn path=/trunk/; revision=3296
* use the "new" tigert pixmaps rather than the older ones. Includes aDan Winship2000-05-312-27/+27
| | | | | | | | | * message-list.c: use the "new" tigert pixmaps rather than the older ones. Includes a "replied to" icon (which is used now), but no "deleted" icon (although we have the strikeout renderer for that now). svn path=/trunk/; revision=3295
* call e_table_model_row_changed, not e_table_model_changed so we do lessDan Winship2000-05-312-3/+40
| | | | | | | | | | | | | * message-list.c (message_changed): call e_table_model_row_changed, not e_table_model_changed so we do less work, and don't lose the current selection. (select_msg): Set up a timer to mark the displayed message as "seen" if it's selected for longer than 1.5 seconds (a number pulled out of Matt's butt). (ml_value_at): Use the MESSAGE_STATUS column for read/unread as well as deleted. svn path=/trunk/; revision=3293
* Added bold for unread messages.Christopher James Lahey2000-05-313-7/+23
| | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * message-list.c, message-list.h: Added bold for unread messages. svn path=/trunk/; revision=3292
* commit'd changelog :)Jeffrey Stedfast2000-05-311-0/+17
| | | | | | explains my last commit in much finer detail svn path=/trunk/; revision=3288
* started to add a camel provider configuration toolJeffrey Stedfast2000-05-314-6/+419
| | | | svn path=/trunk/; revision=3287
* Switched to using "cursor_change" signal instead of "row_selection" forChristopher James Lahey2000-05-302-17/+45
| | | | | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Switched to using "cursor_change" signal instead of "row_selection" for switching messages. Select the first row (still doesn't work because of ETable.) Adapt to some small ETable changes. Set drawfocus to FALSE. svn path=/trunk/; revision=3278
* Hardcode the vfolder source to just the inbox (so at least it returnsNot Zed2000-05-304-4/+38
| | | | | | | | | | | | | | | 2000-05-29 Not Zed <NotZed@HelixCode.com> * folder-browser.c (folder_browser_load_folder): Hardcode the vfolder source to just the inbox (so at least it returns something). * component-factory.c (create_test_storage): Create a vfolder dir first, and put the folders in that. (create_test_storage): Create the storage as VFolders, not "storage_name" :) svn path=/trunk/; revision=3269
* helper function since we need to set "modal" on the dialogs returned byDan Winship2000-05-292-14/+95
| | | | | | | | | | | | | | | * mail-config.c (error_dialog): helper function since we need to set "modal" on the dialogs returned by gnome_error_dialog to make them work when popped up from the modal Druid. (service_acceptable): New function to check if the info entered on a store/transport page actually checks out. (mail_config_druid): Connect to the "next" signal on the store and transport pages and don't let the user continue if the data is bad and "check this before continuing" is checked. Also, only display sources/transports in the "mail" domain. (Ie, not "vfolder".) svn path=/trunk/; revision=3255
* Use `foo@bar' rather than `<foo@bar>' for recipient with no name.Dan Winship2000-05-292-6/+15
| | | | | | | * mail-format.c (write_recipients_to_stream): Use `foo@bar' rather than `<foo@bar>' for recipient with no name. svn path=/trunk/; revision=3247
* don't put up an error message if the user cancels the password dialog.Dan Winship2000-05-292-1/+7
| | | | | | | * mail-ops.c (fetch_mail): don't put up an error message if the user cancels the password dialog. svn path=/trunk/; revision=3245
* vfolder gui! So you can define them,k they show up in the list (well,Not Zed2000-05-287-14/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | after a restart), but they always come up empty - doesn't search any folders yet. 2000-05-27 Not Zed <NotZed@HelixCode.com> * Makefile.am (SHELL_OBJS): Include mail storage so we can initialise folders. * component-factory.c (create_test_storage): Parses vfolder defintions and adds them to the storage. Definetly needs more work. * folder-browser-factory.c (control_activate): Add the VFolder druid menu item. (control_deactivate): And remove it. * mail-ops.c (vfolder_editor_clicked): For editing vfolder definitions (rather like filters, oddly enough :). Tries to update the shell but it doesn't seem to work properly - requires a mail component restart to take effect. * folder-browser.c (folder_browser_load_folder): Handle vfolder: urls' appropriately and map to camel. Still needs a way to tell the vfolder what folders to search! (all vfolders come up empty!). svn path=/trunk/; revision=3241
* Added a COL_DELETED and made it the strikeout column for both textChristopher James Lahey2000-05-283-4/+24
| | | | | | | | | 2000-05-28 Christopher James Lahey <clahey@helixcode.com> * message-list.c, message-list.h: Added a COL_DELETED and made it the strikeout column for both text renderers. svn path=/trunk/; revision=3237
* Various improvements:Dan Winship2000-05-282-74/+290
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mail-format.c: Various improvements: (call_handler_function, etc): Add a "mime_type" argument to the handlers, so that if a part is tagged as "application/octet-stream", and we figure out that it's really something else, the handler we call can know what that something else is. (handle_text_enriched): Small fixes to make this not do text/enriched-specific syntax in text/richtext or vice versa. (handle_mystery): Allow for mystery data that can't even be saved to disk. (ie, unrecognized external-body). Let the caller specify the URL to use. (handle_message_external_body): New function to deal with message/external-body parts. Generates URLs for anon-ftp, local-file, and URL access-types, and a more-useful-than-before descriptive message for other types. (handle_audio, handle_undisplayable): Use gnome_mime_get_value to try to get a description of the MIME type to display to the user rather than the raw form. (This will only work if the user has recent gnome-vfs installed. [If they don't, it works just like it used to.]) svn path=/trunk/; revision=3234
* Fix a bug (security/stability) in its usage of mail_html_write.Dan Winship2000-05-272-1/+4
| | | | | | | * mail-format.c (handle_text_html): Fix a bug (security/stability) in its usage of mail_html_write. svn path=/trunk/; revision=3227
* set CAMEL_MESSAGE_ANSWERED on a message after a successful reply.Dan Winship2000-05-273-10/+35
| | | | | | | | | | * mail-ops.c (composer_send_cb, reply): set CAMEL_MESSAGE_ANSWERED on a message after a successful reply. * message-list.c (folder_changed): free the summary with camel_folder_free_summary rather than g_ptr_array_free. svn path=/trunk/; revision=3221
* Update for PersistStream changesDan Winship2000-05-262-2/+10
| | | | | | | * mail-format.c (handle_via_bonobo): Update for PersistStream changes svn path=/trunk/; revision=3216
* Reorganized the shell to allow dynamic registration of storages andEttore Perazzoli2000-05-2511-16/+283
| | | | | | | folder types, and changed all the components to work with the new setup. svn path=/trunk/; revision=3199
* connect to and disconnect from the transport.Dan Winship2000-05-252-3/+13
| | | | | | | * mail-ops.c (composer_send_cb): connect to and disconnect from the transport. svn path=/trunk/; revision=3197
* Added widgets/e-paned/Makefile.Christopher James Lahey2000-05-253-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added widgets/e-paned/Makefile. * tests/ui-tests/message-browser.c: Switched from GtkPaned to EPaned. * widgets/Makefile.am: Added e-paned directory. * widgets/e-paned/, widgets/e-paned/.cvsignore, widgets/e-paned/Makefile.am, widgets/e-paned/e-hpaned.c, widgets/e-paned/e-hpaned.h, widgets/e-paned/e-paned.c, widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c, widgets/e-paned/e-vpaned.h: New widget based completely on GtkPaned from 1.4. This will be more advanced soon. From calendar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added libepaned.a. * gui/gnome-cal.c: Switched from GtkPaned to EPaned. From mail/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * folder-browser.c: Switched from GtkPaned to EPaned. From shell/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * e-shell-view.c: Switched from GtkPaned to EPaned. From widgets/shortcut-bar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * test-shortcut-bar.c: Switched from GtkPaned to EPaned. svn path=/trunk/; revision=3191
* Get rid of the old `evolution-service-repository' cruft and startEttore Perazzoli2000-05-233-52/+8
| | | | | | implementing new CORBA storage interfaces for the shell. svn path=/trunk/; revision=3178
* Updated for the GtkHTML API changes. Also fixed some compilerEttore Perazzoli2000-05-217-22/+42
| | | | | | warnings here and there. svn path=/trunk/; revision=3145
* Fixes for stream stuff.NotZed2000-05-203-18/+16
| | | | | | | | | | 2000-05-19 NotZed <NotZed@HelixCode.com> * mail-format.c: Fixes for stream stuff. * mail-display.c (save_data_cb): Remove exception stuff on streams. svn path=/trunk/; revision=3143
* Added initialize_value and value_is_empty callbacks.Christopher James Lahey2000-05-202-1/+53
| | | | | | | | | 2000-05-19 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Added initialize_value and value_is_empty callbacks. svn path=/trunk/; revision=3140
* move the development_warning from mail to shell so you don't get theDan Winship2000-05-192-69/+4
| | | | | | | nasty partially drawn shortcut bar at startup, and so you only have to see it once, regardless of how many mail folders you have svn path=/trunk/; revision=3129
* Update for camel_folder_get_uids (folder_changed,Dan Winship2000-05-193-31/+37
| | | | | | | | | | * message-list.c (select_msg): Update for camel_folder_get_uids (folder_changed, message_list_set_folder): Update for camel_folder_get_summary * mail-ops.c (fetch_mail): Update for camel_folder_get_uids svn path=/trunk/; revision=3128
* This seems to be cruft. Nuke it.Dan Winship2000-05-182-50/+2
| | | | | | * mail-component.c: This seems to be cruft. Nuke it. svn path=/trunk/; revision=3115
* Use camel_data_wrapper_write_to_stream rather thanDan Winship2000-05-183-71/+41
| | | | | | | | | * mail-display.c (save_data_cb, save_data, on_url_requested): * mail-format.c (handle_text_plain_flowed, handle_text_html): Use camel_data_wrapper_write_to_stream rather than camel_data_wrapper_get_output_stream. svn path=/trunk/; revision=3113
* Ok, so all incoming mail comes through filters, yay!NotZed2000-05-172-64/+95
| | | | | | | | | | | | | | | | | | The default is just to copy to the inbox. I wouldn't trust this code as far as i could piss up a wall, just yet. 2000-05-16 NotZed <NotZed@HelixCode.com> * mail-ops.c (fetch_mail): Apply filters to incoming mail ... *hold breath* If we are coming from a non-indexed/searchable/etc source, then copy it to an mbox first. When copying mail from an mbox source, dont remove it aftewards, open it for append, so partially filtered mail isn't lost. svn path=/trunk/; revision=3102
* New menu to bring up the filter editor, and edit filters. They dontNotZed2000-05-175-1/+59
| | | | | | | | | | | | | | | get invoked yet though. 2000-05-16 NotZed <NotZed@HelixCode.com> * mail-ops.c (filter_edit): Function to bring up the filter editor. (filter_druid_clicked): Save/close dialogue. * Makefile.am (evolution_mail_LDADD): Added libfilter. (INCLUDES): Add EVOLUTION_DATADIR, and fix matt's brokeneditor(tm) for putting spaces instead of tabs in. svn path=/trunk/; revision=3099
* Removed usage of bonobo_object_destroy.Christopher James Lahey2000-05-172-3/+6
| | | | | | | | 2000-05-16 Christopher James Lahey <clahey@helixcode.com> * mail-format.c: Removed usage of bonobo_object_destroy. svn path=/trunk/; revision=3094
* From widgets/e-table/ChangeLogChristopher James Lahey2000-05-142-25/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * Implemented the feature where the ETable columns automatically fill the given space. * e-cell-text.c, e-cell-text.h: Moved #include e-text-event-processor.h from the .h to the .c. * e-table-col.c, e-table-col.h: Added an expansion variable, and made it so that width isn't set by the programmer but instead by the e-table-header. * e-table-example-1.c, e-table-example-2.c, e-table-size-test.c, test-check.c, test-cols.c, test-table.c: Fixed to handle new ETable column resizing. * e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h: Fixed these to do a proper canvas reflow/update loop. Changed them to take a minimum width and return a width and a height. * e-table-header-item.c, e-table-header-item.h: Made this so that it depends on e-table-header.c for deciding the actual size of columns during resize (it was making incorrect decisions on its own.) * e-table-header.c, e-table-header.h: Changed this to make sure that the sum of the widths of the columns was always as close as possible to the width of the window. This is done by taking a full width and having each of the columns have an "expansion" field. This field is what makes each column have approximately the same portion of its part of the screen that it used to. * e-table.c: Changed this to set the width on the ETableHeader as well as set the proper minimum width on the ETableGroup and get the width and height it reports. From addressbook/ChangeLog 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added libeutil for e-card's support for categories. * backend/ebook/e-card-list.c, backend/ebook/e-card-list.h: Added a function to get the length. * backend/ebook/e-card.c, backend/ebook/e-card.h: Added categories support (accessible either as "categories" or "category_list".) * contact-editor/Makefile.am: Added e-table and all of the categories files. * contact-editor/categories.glade, contact-editor/categories-strings.h, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h: * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Rearranged this dialog. * contact-editor/e-contact-editor.c: Rearranged dialog a bit. Added opening of categories dialog. * gui/component/Makefile.am: Rearranged libraries so that libetable would be available for the contact editor categories dialog. * gui/component/addressbook.c: Fix for new ETable resizing. Make contact editor dialog resizable. * gui/minicard/Makefile.am: Added libetable contact editor categories dialog. * gui/minicard/e-minicard.c: Make contact editor dialog resizable. From mail/ChangeLog 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Updated to work with new ETable resizing. svn path=/trunk/; revision=3027
* Use 6 X's to mkstemp, as required by the man page, just a temp fix, thisNotZed2000-05-132-1/+7
| | | | | | | | | | 2000-05-12 NotZed <NotZed@HelixCode.com> * mail-ops.c (fetch_mail): Use 6 X's to mkstemp, as required by the man page, just a temp fix, this should probably change to a known filename. svn path=/trunk/; revision=3007
* Call a kludge a kludge. (And an insecure kludge at that.)Dan Winship2000-05-121-0/+5
| | | | svn path=/trunk/; revision=3000
* make the toolbars detachable now that we require a new enough versionDan Winship2000-05-122-1/+5
| | | | | | of gnome-libs to avoid the bonobo-toolbar-detaching bug svn path=/trunk/; revision=2997
* Left-justify the message.Federico Mena Quintero2000-05-122-0/+6
| | | | | | | | | 2000-05-11 Federico Mena Quintero <federico@helixcode.com> * folder-browser-factory.c (development_warning): Left-justify the message. svn path=/trunk/; revision=2990
* Fix compilation error.Chris Lahey2000-05-111-1/+1
| | | | svn path=/trunk/; revision=2984
* Made this dialog have fewer buttons.Christopher James Lahey2000-05-112-2/+6
| | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * folder-browser-factory.c (development_warning): Made this dialog have fewer buttons. svn path=/trunk/; revision=2983
* New development warning text from Nat.Christopher James Lahey2000-05-112-9/+40
| | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * folder-browser-factory.c (development_warning): New development warning text from Nat. svn path=/trunk/; revision=2982
* only set the default background color if style is not NULL.Larry Ewing2000-05-112-3/+10
| | | | | | | | | 2000-05-10 Larry Ewing <lewing@helixcode.com> * mail-config.c (html_new): only set the default background color if style is not NULL. svn path=/trunk/; revision=2980
* Removed dist-hook section.Christopher James Lahey2000-05-102-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed dist-hook section. * configure.in: Set the version number. Added a check for gnome window icons. Removed a bunch of unused Makefiles. * tools/Makefile.am: Created a proper EXTRA_DIST section. * widgets/e-text/Makefile.am: Added e-text-event-processor-types.h. From addressbook/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added e-book-types.h, e-card-pairs.h, e-card-types.h. * backend/pas/Makefile.am: Added pas-backend-ldap.h. * contact-editor/Makefile.am: Added a proper EXTRA_DIST section. Removed some old defines. * ename/Makefile.am: Added e-name-western-tables.h. * gui/component/Makefile.am: Added e-ldap-server-dialog.h. Added a proper EXTRA_DIST section. * gui/minicard/e-reflow.c: Added a missed cast. * printing/Makefile.am: Added a proper EXTRA_DIST section. From calendar/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added main.h. Combined the two EXTRA_DIST sections. From camel/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added camel-types.h, camel-folder-pt-proxy.h, and camel-thread-proxy.h. From default_user/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am, local/Calendar/Makefile.am, local/Contacts/Makefile.am, local/Directories/Makefile.am, local/Directories/subfolders/Bigfoot/Makefile.am, local/Directories/subfolders/Netcenter/Makefile.am, local/Drafts/Makefile.am, local/Inbox/Makefile.am, local/Outbox/Makefile.am, local/Trash/Makefile.am: Created a proper EXTRA_DIST section. From filter/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * filter-arg.h: Changed tree.h to gnome-xml/tree.h. * Makefile.am: Added filter-arg-types.h, filter-arg.h, filter-xml.h, filter-format.h, filter-druid.h, filter-editor.h. From libical/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * configure.in: Reorder Makefiles so that it will build. From mail/ChangeLog: 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed folder-browser-factory.h since it doesn't exist. Added mail-display.h, mail-types.h, pixmaps.h. From widgets/e-table/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-col-dnd.h and table-test.h. From wombat/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added an include for the pcs directory. svn path=/trunk/; revision=2966
* + * calendar/pcs/cal-backend.c (cal_backend_add_cal): Return nothingMatthew Loper2000-05-102-6/+5
| | | | | | | | | | + for a 'void' function. + * folder-browser-factory.c (control_activate): Remove "File->mail" + menuitem. + * e-shell-view-menu.c (command_run_bugbuddy): New function; allows + users to submit a bug. svn path=/trunk/; revision=2948
* Fill in "blah blah blah".Matthew Loper2000-05-092-6/+17
| | | | | | * mail-config.c (mail_config_druid): Fill in "blah blah blah". svn path=/trunk/; revision=2945
* make this a little less kludgy. Use gnome_error_dialog rather than printfDan Winship2000-05-094-44/+50
| | | | | | | | | | | | | | | * folder-browser.c (folder_browser_load_folder): make this a little less kludgy. Use gnome_error_dialog rather than printf on errors. * mail-ops.c (fetch_mail): Fix to work with the new shell stuff... sorta. Will need more fixing later when the new shell framework is more done. * mail-config.c (finish): Call gnome_config_sync so the data actually gets written. svn path=/trunk/; revision=2931
* Update for CamelStream CamelException changes.Dan Winship2000-05-093-15/+37
| | | | | | | | | | | | * mail-display.c (save_data_cb): (on_url_requested): Update for CamelStream CamelException changes. * mail-format.c: Pass NULL for a CamelException in a bunch of places... the user will see that the data is not being displayed, and there's not a lot we can do, and none of these things should be failing anyway. Maybe fix this later. svn path=/trunk/; revision=2925
* Size moved to message info, rather than content info structure.NotZed2000-05-082-5/+6
| | | | | | | | | 2000-05-07 NotZed <NotZed@HelixCode.com> * message-list.c (ml_value_at): Size moved to message info, rather than content info structure. svn path=/trunk/; revision=2905
* unref the message after displaying it.Dan Winship2000-05-083-4/+15
| | | | | | | | | | | * message-list.c (select_msg): unref the message after displaying it. * mail-format.c (get_data_wrapper_text): (handle_text_plain_flowed): (handle_via_bonobo): Replace camel_stream_close calls. svn path=/trunk/; revision=2883
* Changed a toolbar button from saying "New mail" (which suggests you mightMatthew Loper2000-05-082-1/+7
| | | | | | | | * folder-browser-factory.c: Changed a toolbar button from saying "New mail" (which suggests you might be composing new mail) to "Get mail". svn path=/trunk/; revision=2880
* Don't hardcode "inbox" here.Dan Winship2000-05-077-84/+58
| | | | | | | | | | | | | | | | | | | * folder-browser-factory.c (folder_browser_factory): Don't hardcode "inbox" here. * folder-browser.c (folder_browser_set_uri): Don't hardcode "inbox" here either. (folder_browser_load_folder): Create a new store according to the folder browser's URI, and load the mbox file from that store. Parts of this are temporary. * session.c, mail.h: There is no longer a global store, just a global session. * mail-config.c, mail-ops.c: Update for default_session -> session change. fetch_mail is currently broken. svn path=/trunk/; revision=2853
* New code to configure identity, mail source, and mail transport.Dan Winship2000-05-076-42/+1149
| | | | | | | | | | | | | | | | | | | * mail-config.c: New code to configure identity, mail source, and mail transport. (mail_config_druid): A druid using the config widgets. (Only allows configuration of a single identity, source, and transport.) * mail-ops.c (check_configured): New function to make sure the user has configured stuff, and call the druid if not. (fetch_mail, send_msg, send_to_url, reply, forward_msg): Call check_configured (composer_send_cb): Make this pass the message to a CamelTransport rather than just printing it to stdout. * folder-browser-factory.c (development_warning): Add a warning about sending mail, since you can do that now. svn path=/trunk/; revision=2842
* ignore evolution-mail.pureChris Toshok2000-05-073-0/+18
| | | | | | | | * .cvsignore: ignore evolution-mail.pure * Makefile.am: add support for building evolution-mail.pure svn path=/trunk/; revision=2832
* consolidate mail-format.h, mail-identify.h, mail-ops.h, main.h andDan Winship2000-05-0715-78/+43
| | | | | | | | * mail.h: consolidate mail-format.h, mail-identify.h, mail-ops.h, main.h and session.h into this new file. There's no reason to have a .h for every .c. svn path=/trunk/; revision=2830
* Use the OAFIID when using an OAF-enabled build of bonobo.Anders Carlsson2000-05-062-1/+16
| | | | | | | | | 2000-05-05 Anders Carlsson <andersca@gnu.org> * test-mail.c (create_container): Use the OAFIID when using an OAF-enabled build of bonobo. svn path=/trunk/; revision=2818
* ignore the .pure directoryChris Toshok2000-05-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | * addressbook/backend/ebook/.cvsignore, addressbook/contact-editor/.cvsignore, addressbook/gui/component/.cvsignore, addressbook/gui/minicard/.cvsignore, addressbook/printing/.cvsignore, calendar/cal-client/.cvsignore, calendar/gui/.cvsignore, calendar/pcs/.cvsignore, filter/.cvsignore, mail/.cvsignore, shell/.cvsignore, tests/.cvsignore, widgets/e-table/.cvsignore, widgets/e-text/.cvsignore, widgets/meeting-time-sel/.cvsignore, widgets/shortcut-bar/.cvsignore, wombat/.cvsignore: ignore the .pure directory svn path=/trunk/; revision=2812
* Requires a camel-patch, about to come through ...NotZed2000-05-053-24/+60
| | | | | | | | | | | | | | | | | | | | | | | | 2000-05-04 NotZed <NotZed@HelixCode.com> * message-list.c (message_list_set_folder): Get the whole message summary right away. (folder_changed): And if we change too. (ml_row_count): Use the match count or summary table length as the row count. (get_message_info): Use array references to lookup message summary info. For the search result list, use the summary_search_cache to cache the info lookup. (message_list_init): Allocate the summary search cache. (message_list_destroy): Free the summary search cache and the summary table, if there is one to free. (message_list_set_search): Save the match count, and clear the summary search cache for reuse. (folder_changed): Re-retrieve the summary list if the folder has changed. (message_list_set_folder): Retrieve the summary list when opening the folder. svn path=/trunk/; revision=2807
* Some small build fixes:Jacob Leach2000-05-042-1/+6
| | | | | | | | | | | * camel/Makefile.am (INCLUDES): add $(UNICODE_CFLAGS) to the INCLUDES, people who installed libunicde in non-standard include paths need this. * mail/Makefile.am (evolution_mail_LDADD): s/-lunicode/$(UNICODE_LIBS)/ svn path=/trunk/; revision=2785
* Make the "Cc:" field optional again. (Before, we could check ifDan Winship2000-05-042-7/+16
| | | | | | | | | * mail-format.c (write_recipients_to_stream, write_headers): Make the "Cc:" field optional again. (Before, we could check if camel_mime_message_get_recipients returned NULL, but now we need to actually look into the returned CamelInternetAddress object.) svn path=/trunk/; revision=2783
* s/strcasecmp/g_strcasecamp/ everywhere except intl/, per michael'sJacob Leach2000-05-031-7/+7
| | | | | | request. svn path=/trunk/; revision=2776
* comment out the changed signal for now.Larry Ewing2000-05-032-1/+6
| | | | | | | | | 2000-05-03 Larry Ewing <lewing@helixcode.com> * folder-browser.c (folder_browser_gui_init): comment out the changed signal for now. svn path=/trunk/; revision=2775
* Set G_LOG_DOMAIN in following files.Matthew Loper2000-05-032-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | addressbook/demo/Makefile.am addressbook/printing/Makefile.am camel/Makefile.am camel/providers/MH/Makefile.am camel/providers/maildir/Makefile.am camel/providers/mbox/Makefile.am camel/providers/nntp/Makefile.am camel/providers/pop3/Makefile.am camel/providers/sendmail/Makefile.am camel/providers/smtp/Makefile.am composer/Makefile.am e-util/Makefile.am filter/Makefile.am libibex/Makefile.am mail/Makefile.am shell/Makefile.am tests/Makefile.am tests/ui-tests/Makefile.am widgets/e-table/Makefile.am widgets/e-text/Makefile.am widgets/meeting-time-sel/Makefile.am widgets/shortcut-bar/Makefile.am svn path=/trunk/; revision=2756
* only free search if it is not NULL.Larry Ewing2000-05-032-1/+11
| | | | | | | | | 2000-05-02 Larry Ewing <lewing@helixcode.com> * message-list.c (message_list_set_search): only free search if it is not NULL. svn path=/trunk/; revision=2754
* > 2000-05-02 NotZed <NotZed@HelixCode.com>Michael Zucci2000-05-034-3/+14
| | | | | | | | | | | | | > > * folder-browser.c (folder_browser_gui_init): Connect the changed > signal to search, so it searched immediately? > 40a46,48 > (message_list_set_search): Save the search string. > (folder_changed): If the folder changes, re-run the search, > otherwise we may end up with invalid entries in the display. svn path=/trunk/; revision=2749
* Added a deleted message icon whcih shows when messages areMichael Zucci2000-05-025-6/+96
| | | | | | | | | | | | | | | | | | | | | deleted (takes a while to update the gui for some reason). Updates the gui when expunged, via a signal. * pixmaps.h: Added envelope-deleted state. (message_list_init_renderers): Added a 3rd state to message_status = deleted. (ml_value_at): Show the message state as deleted, if it is marked for deletion. (folder_changed): When the folder changes, update the display. (message_list_set_folder): Connect to the folder_changed event here. (message_changed): Callback to update the display when the message changes. (select_msg): And connect to the message_changed signal so we know when it cahgnes. svn path=/trunk/; revision=2746
* Ok, you can now delete and expunge messages ... not really prettyMichael Zucci2000-05-024-2/+60
| | | | | | | | | | | | | | (gui wise), but it works, after a fashion. > * folder-browser-factory.c: Setup callback for actual delete op. > (control_activate): Setup a tool menu item to expnge deleted > messages. > > * mail-ops.c (delete_msg): Toggle the delete flag on a message. > (expunge_folder): New function to expunge deleted messages from > the current folder. svn path=/trunk/; revision=2744
* > (folder_browser_gui_init): Add an option meny to the search line.Michael Zucci2000-05-024-14/+108
| | | | | | | | | > (create_option_menu): Build the option menu from a table. > (search_set): Build a search from another string whent he option > menu or text item is changed. 5 search options are defined so > far. svn path=/trunk/; revision=2742
* A hackish little quick-search entry. (search_activate): Perform aNotZed2000-05-025-25/+116
| | | | | | | | | | | | | | | | | | | | | 2000-05-01 NotZed <NotZed@HelixCode.com> * folder-browser.c (folder_browser_gui_init): A hackish little quick-search entry. (search_activate): Perform a quick-search on the folder subject only. * message-list.c (get_message_info): If there is an active search, then get the data from that ... use this instead of _get_message_info(). (ml_row_count): If we have an active search, get the info from its result. (select_msg): Changed to use get_message_info, so searches work. (ml_value_at): And same here. * mail-display.c: Include missing errno.h. svn path=/trunk/; revision=2724
* This is no longer necessary.Dan Winship2000-04-303-20/+8
| | | | | | | | | * session.c (session_providers_init): This is no longer necessary. * mail-ops.c (fetch_mail): Remove kludge to load remote provider, as camel can do it by itself now. svn path=/trunk/; revision=2692
* Handle clicks on "cid" URLs by popping up a "Save Attachment" dialog.Dan Winship2000-04-303-1/+127
| | | | | | | | | | | | | * mail-display.c (on_link_clicked): Handle clicks on "cid" URLs by popping up a "Save Attachment" dialog. * mail-format.c (get_cid): if the part has a Content-Disposition with a filename specified, record (a sanitized version of) that on the wrapper when creating the cid reference, so the "save attachment" code can use it later. (handle_mystery): fix a bug in the cid generation here. svn path=/trunk/; revision=2685
* Improve the builtin vs bonobo selection code. (handle_mystery): IncludeDan Winship2000-04-306-133/+231
| | | | | | | | | | | | | | | | | | | | | | * mail-format.c (lookup_handler, etc): Improve the builtin vs bonobo selection code. (handle_mystery): Include name and Content-Description in the "mystery data" info, when available (handle_unknown_type): Call mail_identify_mime_part before giving up. (handle_undisplayable): Split out of handle_unknown_type now that handle_unknown_type can try alternate viewers. (handle_via_bonobo): Fall back to handle_undisplayable if the bonobo control fails. * mail-identify.c (mail_identify_mime_part): New function to attempt to identify a MIME part that we can't identify based on Content-Type alone. * mail-display.c (on_url_requested): redo the mystery data icon display stuff less kludgily. svn path=/trunk/; revision=2684
* update for Camel recipient changes. (Just to make it build, not to takeDan Winship2000-04-292-17/+38
| | | | | | advantage of new features, or do things cleanly.) svn path=/trunk/; revision=2677
* Fix broken OAF patch for the GNORBA case.Ettore Perazzoli2000-04-292-8/+14
| | | | svn path=/trunk/; revision=2676
* Makefile fixMiguel de Icaza2000-04-281-1/+2
| | | | svn path=/trunk/; revision=2674
* Made Evolution OAF-compatible.Ettore Perazzoli2000-04-288-29/+187
| | | | svn path=/trunk/; revision=2673
* Oops. Remove the part of the previous patch that wasn't supposed toDan Winship2000-04-281-24/+8
| | | | | | escape into the real world. :) svn path=/trunk/; revision=2665
* Move text_to_html to e-util.Dan Winship2000-04-285-217/+70
| | | | | | | | | | | | | * mail-format.c: Move text_to_html to e-util. * mail-ops.c (send_to_url): New routine. Thin wrapper for e_msg_composer_new_from_url. * mail-display.c (on_link_clicked): print a warning for news or nntp URLs (which we'll deal with some day), and call send_to_url for mailto URLs. svn path=/trunk/; revision=2664
* Improve URL converstion code. Recognize https, recognize "www\..*" withoutDan Winship2000-04-282-14/+55
| | | | | | | | | * mail-format.c (text_to_html): Improve URL converstion code. Recognize https, recognize "www\..*" without a prefixed "http://". Properly escape &, <, >, etc in URL strings. Don't be fooled by "mailto:", "http://", etc with no following data. svn path=/trunk/; revision=2660
* Reorganize a bit and add a new flag, TEXT_TO_HTML_CONVERT_URLS toDan Winship2000-04-273-95/+145
| | | | | | | | | | | | | * mail-format.c (text_to_html): Reorganize a bit and add a new flag, TEXT_TO_HTML_CONVERT_URLS to recognize and wrap URLs in text. * mail-display.c (mail_html_new): Add link_clicked signal handler. (on_link_clicked): Use gnome_url_show to launch a browser. The Dingus has landed. svn path=/trunk/; revision=2653
* Remove. We weren't using the fields that made this different fromDan Winship2000-04-272-14/+11
| | | | | | | | | | | | | * camel-mime-body-part.[ch]: Remove. We weren't using the fields that made this different from camel-mime-part, so it basically just forced us to do lots of gratuitous typecasting. * camel-multipart.[ch]: Use CamelMimePart. Remove the multipart parent stuff, since we weren't using that either. * etc: update for CamelMimeBodyPart -> CamelMimePart svn path=/trunk/; revision=2645
* update for CamelStream changes.Dan Winship2000-04-262-5/+8
| | | | | | * mail-format.c: update for CamelStream changes. svn path=/trunk/; revision=2631
* add a convert_space_hack flag, which turns N spaces into N-1 &nbsp;s and aDan Winship2000-04-262-28/+138
| | | | | | | | | | | | | * mail-format.c (text_to_html): add a convert_space_hack flag, which turns N spaces into N-1 &nbsp;s and a space. (handle_text_plain): Check for "format=flowed" in the Content-Type. (handle_text_plain_flowed): Spinoff of handle_text_plain to deal with RFC 2646 flowed text. (All the examples I can find of it are generated by Eudora, but it's a pretty cool idea that ought to be used more widely.) svn path=/trunk/; revision=2618
* Now that we're not limited to a single GtkHTML for the display, there's noDan Winship2000-04-263-270/+191
| | | | | | | | | | | | | | | | | * mail-format.c, mail-display.c: Now that we're not limited to a single GtkHTML for the display, there's no reason to embed Bonobo objects for unrecognized content-types in GtkHTML rather than embedded them into the vbox directly. So do that. Meanwhile, fix up the handler-selection code so that we can declare which built-in handlers are more desirable than external handlers and which are less. (Of course, eventually we'll want this to be customizable.) Add some cleverness to handle_multipart_alternative as well so it doesn't accept an alternative which we can display generically over one we can display specifically. svn path=/trunk/; revision=2616
* (reply_body): Make this deal better with multiparts.Dan Winship2000-04-262-40/+30
| | | | svn path=/trunk/; revision=2612
* (setup_function_table): pass unknown text subtypes toDan Winship2000-04-262-3/+34
| | | | | | | | | | | handle_text_plain. (handle_multipart_appledouble): new handler. Just ignores the first (application/applefile) part and tries to display the second part. Since the second part is usually application/octet-stream, this doesn't work very well still usually. svn path=/trunk/; revision=2611
* Fix some bugs that crept into reply generation. This needs a lot more workDan Winship2000-04-252-5/+21
| | | | | | | | * mail-format.c (reply_body): Fix some bugs that crept into reply generation. This needs a lot more work to deal correctly with complicated bodies. svn path=/trunk/; revision=2602
* Redo large chunks of this. The mail display now consists of a vbox in aDan Winship2000-04-255-638/+747
| | | | | | | | | | | | | | | | | | * mail-display.c, mail-format.c: Redo large chunks of this. The mail display now consists of a vbox in a scrolled window, in which we put multiple GtkHTML objects. This means broken HTML in one part can't corrupt other parts. The headers now scroll with the body. Unrecognized attachments look prettier, but still don't do anything, and will probably be changed later. We can also now display nested message/rfc822 parts and multipart/alternatives with multipart subparts. Oh, and text/{richtext,enriched}, since we had all these ancient sample messages that use it and the lack of support annoyed me. :) Bonobo embeddables are broken right now, but I don't think that's my fault. svn path=/trunk/; revision=2601
* rename "send" to "send_msg", to avoid name clash with the tcp function.Dan Winship2000-04-245-5/+90
| | | | | | | | | | | | | | * folder-browser-factory.c: rename "send" to "send_msg", to avoid name clash with the tcp function. Connect the "forward" button. * mail-ops.c: rename "send" to "send_msg", to avoid name clash with the tcp function. Add forward_msg function. * mail-format.c (mail_generate_forward): support function for forward_msg. Pretty much a big kludge right now, pending the attachment/attachment-bar changes. svn path=/trunk/; revision=2562
* Change cid expectations to match current camel reality.Dan Winship2000-04-232-5/+5
| | | | | | | * mail-display.c (on_url_requested): Change cid expectations to match current camel reality. svn path=/trunk/; revision=2558
* call glade_gnome_init, for composer.Dan Winship2000-04-232-0/+6
| | | | | | * main.c (main): call glade_gnome_init, for composer. svn path=/trunk/; revision=2556
* #include "mail-format.h"Dan Winship2000-04-231-0/+1
| | | | svn path=/trunk/; revision=2555
* move msg_composer_cb and msg_composer_send_cb to mail-ops. Attach send,Dan Winship2000-04-236-56/+328
| | | | | | | | | | | | | | | | | * folder-browser-factory.c: move msg_composer_cb and msg_composer_send_cb to mail-ops. Attach send, reply, and "reply to all" buttons. * mail-ops.c (composer_send_cb, send): moved from folder-browser-factory.c. (reply_to_sender, reply_to_all): new functions to do replies. * mail-format.c (text_to_html): Add an "add_pre" flag, to make it wrap the output in <pre></pre>. (mail_generate_reply): New function to create a composer and build a reply in it. svn path=/trunk/; revision=2554
* deal with cid: URLs. (find_cid): helper routine for above. (This could beDan Winship2000-04-213-21/+144
| | | | | | | | | | * mail-display.c (on_url_requested): deal with cid: URLs. (find_cid): helper routine for above. (This could be much better.) (mail_display_init): connect url_requested signal * mail-format.c (handle_multipart_related): Make this work. svn path=/trunk/; revision=2542