aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* use g_find_program_in_path to avoid fork in case program is not availableRadek Doulik2004-02-132-0/+14
| | | | | | | | | | 2004-02-12 Radek Doulik <rodo@ximian.com> * em-junk-filter.c (pipe_to_sa_with_error): use g_find_program_in_path to avoid fork in case program is not available svn path=/trunk/; revision=24724
* Disable the bonobo-ui-component statusbar when using the EMFolderBrowserJeffrey Stedfast2004-02-122-1/+7
| | | | | | | | | | | 2004-02-11 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (mail_control_new): Disable the bonobo-ui-component statusbar when using the EMFolderBrowser outside of the mail component. This prevents the Connector component from having 2 status bars. svn path=/trunk/; revision=24717
* #include <libgnomevfs/gnome-vfs-mime.h> (em_popup_create_menu): WrapJeffrey Stedfast2004-02-122-1/+8
| | | | | | | | | | 2004-02-11 Jeffrey Stedfast <fejj@ximian.com> * em-popup.c: #include <libgnomevfs/gnome-vfs-mime.h> (em_popup_create_menu): Wrap item->label with _() so that the strings get translated properly. svn path=/trunk/; revision=24714
* "On this computer" -> "On This Computer".Christian Neumair2004-02-123-3/+10
| | | | svn path=/trunk/; revision=24713
* Same.Jeffrey Stedfast2004-02-123-2/+37
| | | | | | | | | | 2004-02-11 Jeffrey Stedfast <fejj@ximian.com> * em-format-html-print.c: Same. * em-junk-filter.c: #include <config.h> svn path=/trunk/; revision=24710
* Add license & config.hJeffrey Stedfast2004-02-122-2/+32
| | | | | | | | 2004-02-11 Jeffrey Stedfast <fejj@ximian.com> * em-popup.c: Add license & config.h svn path=/trunk/; revision=24709
* if spamc is not available, try /usr/sbin/spamcRadek Doulik2004-02-122-42/+113
| | | | | | | | | | | | | | | | 2004-02-11 Radek Doulik <rodo@ximian.com> * em-junk-filter.c (em_junk_sa_test_spamd): if spamc is not available, try /usr/sbin/spamc 2004-02-10 Radek Doulik <rodo@ximian.com> * em-junk-filter.c (em_junk_sa_test_spamd): try to check if system wide spamd has --local parameter set according to our setting (em_junk_sa_test_spamd): in case we were unable to start our own spamd, try to run it from /usr/sbin before giving up svn path=/trunk/; revision=24706
* call the right recursive function, oops.Not Zed2004-02-113-4/+10
| | | | | | | | | | | | 2004-02-11 Not Zed <NotZed@Ximian.com> * importers/mail-importer.c (mail_importer_import_folders_sync): call the right recursive function, oops. * importers/mail-importer.h: don't include camel-operation.h, but fix up the forward decl usage. svn path=/trunk/; revision=24703
* include camel-operation.hJP Rosevear2004-02-112-0/+6
| | | | | | | | 2004-02-11 JP Rosevear <jpr@ximian.com> * importers/mail-importer.h: include camel-operation.h svn path=/trunk/; revision=24702
* Basically rewrote this, the import tasks run in another thread. It tellsNot Zed2004-02-1121-1115/+903
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-11 Not Zed <NotZed@Ximian.com> * importers/pine-importer.c: Basically rewrote this, the import tasks run in another thread. It tells you more about what's going on, and its cancellable. (pine_store_settings): changed the meaning of the settings slightly, if set it means we've processed them already. * mail-component-factory.c (factory): hook in importer factory callback. 2004-02-10 Not Zed <NotZed@Ximian.com> * importers/*-importer.c: removed module init, just provide a new method. Updates for api changes. * Makefile.am: link mail importers in directly. * mail-importer.c: changed to do stuff in-memory with linked stuff, moved to importers/. * importers/GNOME_Evolution_Mail_Importers.server.in.in: merge all importer .server info's here, point them all to the mailer factory. Removed the others. * importers/Makefile.am: remove Mailer.idl stuff. Move all importers to a single library. svn path=/trunk/; revision=24701
* oops, remove some debugMichael Zucci2004-02-091-3/+0
| | | | svn path=/trunk/; revision=24680
* merged in code from em_folder_tree_model_drag_data_delete.Not Zed2004-02-094-646/+607
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-09 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (tree_drag_data_delete): merged in code from em_folder_tree_model_drag_data_delete. (tree_drag_data_get): similar. (tree_drag_data_received): similar. (drag_text_uri_list): removed, use em_utils_selection_set_urilist in tree_drag_data_get instead. (em_folder_tree_enable_drag_and_drop): merged in em_folder_tree_model_set_drag_drop_types. (tree_drag_motion): merge in drop_possible, handle qualifiers, and return the right type. (em_folder_tree_model_row_drop_target): rename to emft_drop_target, and make private. Beefed up substantially, handles illogical drops, dropping on to special folders and properly handling vfolder uri's (at least within the same tree instance). * em-folder-tree-model.c: Moved all of the DND stuff to em-folder-tree, where it belongs, made it all static. Should allow for some sharing of code too. svn path=/trunk/; revision=24679
* just print the \n after the credits in the same printf, rather than addingNot Zed2004-02-092-5/+9
| | | | | | | | | | 2004-02-09 Not Zed <NotZed@Ximian.com> * em-format-quote.c (emfq_format_message): just print the \n after the credits in the same printf, rather than adding an else. Add a <br> too, otherwise it has no effect. svn path=/trunk/; revision=24675
* Make private (only EMFormatHTMLQuote used it and that class is no longerJeffrey Stedfast2004-02-075-32/+35
| | | | | | | | | | | | | 2004-02-06 Jeffrey Stedfast <fejj@ximian.com> * em-format-html.c (efh_format_headers): Make private (only EMFormatHTMLQuote used it and that class is no longer in use). (efh_format_message): Updated for above change. * em-format-quote.c (emfq_format_message): Always write a \n after the credits line. svn path=/trunk/; revision=24661
* Set the NO_VIRTUAL flag bit for get_folder_info(). Fixes bug #51887.Jeffrey Stedfast2004-02-072-1/+6
| | | | | | | | | 2004-02-06 Jeffrey Stedfast <fejj@ximian.com> * em-subscribe-editor.c (sub_folderinfo_get): Set the NO_VIRTUAL flag bit for get_folder_info(). Fixes bug #51887. svn path=/trunk/; revision=24657
* move to the next message after mark not junk as wellRadek Doulik2004-02-073-19/+34
| | | | | | | | | | | | | | | | | | | | | 2004-02-06 Radek Doulik <rodo@ximian.com> * em-folder-view.c (emfv_popup_mark_nojunk): move to the next message after mark not junk as well * em-junk-filter.c (em_junk_sa_test_spamd): split into spamassassin and spamd tests (em_junk_sa_is_available): test spamd only if spamd usage enabled (pipe_to_sa_with_error): extended pipe_to_sa, last added parametr specifies return value if an error occured (em_junk_sa_check_junk): don't use /bin/sh -c when running spamassassin, it's not needed and we need to avoid getting 126,127 exit codes from the shell (em_junk_sa_check_junk): pass 0 rv_err to pipe_to_sa_with_error to avoid false positives in case someone removes/uninstalls SA while evolution runs svn path=/trunk/; revision=24651
* split into spamassassin and spamd tests (em_junk_sa_is_available): testRadek Doulik2004-02-062-14/+29
| | | | | | | | | | 2004-02-06 Radek Doulik <rodo@ximian.com> * em-junk-filter.c (em_junk_sa_test_spamd): split into spamassassin and spamd tests (em_junk_sa_is_available): test spamd only if spamd usage enabled svn path=/trunk/; revision=24647
* ** See bug #53258.Not Zed2004-02-0610-81/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-06 Not Zed <NotZed@Ximian.com> ** See bug #53258. * em-format-html-display.c (efhd_find_handler): force any bonobo handler types to always be inline, even attachments. * em-format.c (em_format_is_inline): use handler flags for special cases, removing all hard-coded types. * em-format.h (EMFormatHandler): add a flags field, so far a flag to set default inline viewing of the content. 2004-02-06 Not Zed <NotZed@Ximian.com> * em-folder-properties.c: include string.h to kill warning. ** See bug #53627. * em-folder-view.c (emfv_popup_mark_junk): changed to work like delete does, jumping to the next message if required, and marking things immediately, then queuing up the junk marking job if required. * mail-ops.c (mail_mark_junk): ugh, this stuff totally can't go accessing messagelist from another thread!!!! Changed so this code only does the junk reporting, not setting flags. UGH! It should be doing this implictly on the folder when you set the flags, or at least when you sync the folder!!! Changed ot use the queued thread. * message-list.c (find_next_undeleted): changed to find next-unhidden, i.e. junk as well as deleted, if we're in hide-deleted mode. (build_tree): always call find_next_undeleted if we have a cursor. (build_flat): same. svn path=/trunk/; revision=24644
* Grab focus on the HTML widget when we displayRodney Dawes2004-02-062-0/+8
| | | | | | | | | | | 2004-02-05 Rodney Dawes <dobey@ximian.com> * em-message-browser.c (emmb_list_message_selected): Grab focus on the HTML widget when we display Fixes #52942 svn path=/trunk/; revision=24639
* Set the new title. (em_message_browser_window_new): Connect to theJeffrey Stedfast2004-02-062-0/+18
| | | | | | | | | | | 2004-02-05 Jeffrey Stedfast <fejj@ximian.com> * em-message-browser.c (emmb_list_message_selected): Set the new title. (em_message_browser_window_new): Connect to the message_selected signal in the message-list widget. Fixes bug #52232. svn path=/trunk/; revision=24638
* Now takes a GdkContext arg... will need this later when we want toJeffrey Stedfast2004-02-064-12/+19
| | | | | | | | | | 2004-02-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_row_drop_target): Now takes a GdkContext arg... will need this later when we want to re-enable dnd of vfolders. svn path=/trunk/; revision=24637
* Always set the search_state, even if it is NULL (NULL means default/unsetJeffrey Stedfast2004-02-062-4/+6
| | | | | | | | | 2004-02-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_set_folder): Always set the search_state, even if it is NULL (NULL means default/unset state). svn path=/trunk/; revision=24634
* Pass TRUE as wraparound (to both be consistant with prev_flagged and toJeffrey Stedfast2004-02-062-2/+8
| | | | | | | | | | 2004-02-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_mail_next_flagged): Pass TRUE as wraparound (to both be consistant with prev_flagged and to fix bug #48681. svn path=/trunk/; revision=24633
* sync the from folder if we're going to delete it, otherwise we can'tNot Zed2004-02-052-0/+12
| | | | | | | | | | 2004-02-05 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_copy_folders__copy): sync the from folder if we're going to delete it, otherwise we can't because its not empty. See #53815. svn path=/trunk/; revision=24631
* hmm, another well tested bit of code ... if you launch another thread youNot Zed2004-02-052-109/+139
| | | | | | | | | | | | | | | | | | | | | | | | 2004-02-05 Not Zed <NotZed@Ximian.com> * em-folder-tree-model.c (em_folder_tree_model_drag_data_received): hmm, another well tested bit of code ... if you launch another thread you gotta copy the selection since it wont hang around until we're done with it. So copy/parse the selection data into appropriate structures. (drop_folder): just take the async message as an argument, rather than copying half of it to the stack. (drop_text_uri_list, drop_uid_list): replace most args with the thread message. (drop_message_rfc822): removed, now trivial. (emftm_drag_data_received_async__drop): change for changed args, and fix a memleak. (emftm_drag_data_received_async__free): fixed for changed structure. * em-folder-tree.c (em_folder_tree_create_folder): call abort before we unref, aid debugging if we hit it. svn path=/trunk/; revision=24629
* call abort before we unref, aid debugging if we hit it.Not Zed2004-02-055-6/+43
| | | | | | | | | | | | 2004-02-05 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (em_folder_tree_create_folder): call abort before we unref, aid debugging if we hit it. * mail-vfolder.c (uri_is_spethal): check for vfolder/vtrash folders. Based on name check and store options. svn path=/trunk/; revision=24626
* Don't allow dropping into a vfolder (store). Fixes bug #53757.Jeffrey Stedfast2004-02-052-11/+20
| | | | | | | | | 2004-02-04 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_row_drop_target): Don't allow dropping into a vfolder (store). Fixes bug #53757. svn path=/trunk/; revision=24623
* ** See bug #53683.Not Zed2004-02-045-7/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-04 Not Zed <NotZed@Ximian.com> ** See bug #53683. * mail-ops.c (mail_sync_store): new async op to call CamelStore::sync. * mail-component.c (impl_requestQuit): implement, check to see if we can quit, or have open or unsent messages (and are in online mode). (impl_quit): implement. Trigger off a sync of all open stores, and return FALSE until its done. (impl_upgradeFromVersion): fixed the signature to match the idl, killed that warning at last. ** See bug #53832. * em-folder-browser.c (emfb_folder_properties): only show this if we have a uri set. Strictly, the menu item shouldn't be activated. ** See bug #53131. * em-folder-browser.c (em_folder_browser_show_preview): copy the message list's cursor_uid before calling set_message, since it can get freed during setting the message. svn path=/trunk/; revision=24608
* ** See bug #53832.Not Zed2004-02-041-1/+2
| | | | | | | | | | | | 2004-02-04 Not Zed <NotZed@Ximian.com> ** See bug #53832. * em-folder-browser.c (emfb_folder_properties): only show this if we have a uri set. Strictly, the menu item shouldn't be activated. svn path=/trunk/; revision=24605
* ** See bug #53131.Not Zed2004-02-041-2/+6
| | | | | | | | | | | | 2004-02-04 Not Zed <NotZed@Ximian.com> ** See bug #53131. * em-folder-browser.c (em_folder_browser_show_preview): copy the message list's cursor_uid before calling set_message, since it can get freed during setting the message. svn path=/trunk/; revision=24601
* oops, don't ref/unref the gtk_selection_dataJeffrey Stedfast2004-02-041-2/+0
| | | | svn path=/trunk/; revision=24596
* Modified slightly. The model now calls gtk_drag_finish() for us when it isJeffrey Stedfast2004-02-044-81/+139
| | | | | | | | | | | | | | | | 2004-02-03 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (tree_drag_data_received): Modified slightly. The model now calls gtk_drag_finish() for us when it is done. * em-folder-tree-model.c (em_folder_tree_model_drag_data_received): Make this perform camel operations in another thread so we don't block. (em_folder_tree_model_drag_data_get): Updated args to be consistant with drag_data_received. svn path=/trunk/; revision=24595
* handle the sa prefs here, have own gconf client with sa dir addedRadek Doulik2004-02-034-69/+46
| | | | | | | | | | | 2004-02-03 Radek Doulik <rodo@ximian.com> * em-junk-filter.c: handle the sa prefs here, have own gconf client with sa dir added * mail-session.c: removed sa prefs svn path=/trunk/; revision=24578
* Fix for bug #52941Jeffrey Stedfast2004-02-033-4/+83
| | | | | | | | | | | | 2004-02-02 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #52941 * em-message-browser.c (em_message_browser_window_new): Set window size based on previous size; load from gconf if necessary. (window_size_allocate): Save window size changes. svn path=/trunk/; revision=24569
* ** See bug #53549.Not Zed2004-02-023-4/+9
| | | | | | | | | | | | | 2004-02-02 Not Zed <NotZed@Ximian.com> ** See bug #53549. * em-folder-selector.c: Fix handling a parent path of "/". * mail-ops.c (mark_junk_mark): removed the really innacurate cut and paste comment. This has nothing to do with filter_folder. svn path=/trunk/; revision=24565
* ** See bug #52994.Not Zed2004-02-026-208/+331
| | | | | | | | | | | | | | | | | | | | | 2004-02-02 Not Zed <NotZed@Ximian.com> ** See bug #52994. * em-folder-properties.c (em_folder_properties_show): redirect vFolder uri's to the vFolder editor. ** See bug #53502. * em-folder-browser.c (emfb_folder_properties): implement. * em-folder-tree.c (emft_popup_properties): fixed for change below. * em-folder-properties.[ch]: Moved the folder properties window from em-folder-tree.c to its own file. svn path=/trunk/; revision=24564
* god knows what else this'll break.Not Zed2004-02-023-12/+14
| | | | | | | | | | | | | | | | 2004-02-02 Not Zed <NotZed@Ximian.com> ** See bug #53559. * em-folder-tree.c (folder_tree_new): set CAN_FOCUS flag on the folder tree content widget. * em-folder-selector.c (em_folder_selector_construct): Don't wrap the folder tree in a scrolled window. Its already in one ????. (em_folder_selector_construct): dont set can_focus on the folder tree. svn path=/trunk/; revision=24563
* Fixes for bug #53530Bill Zhu2004-02-022-2/+7
| | | | | | | | | | | 2004-02-01 Bill Zhu <bill.zhu@sun.com> Fixes for bug #53530 * em-utils.c (em_utils_redirect_message): Removed the duplicate adding of attachments svn path=/trunk/; revision=24561
* Fixes for bug #53348Jeffrey Stedfast2004-01-314-20/+103
| | | | | | | | | | | | | | | | | | | | | | 2004-01-30 Jeffrey Stedfast <fejj@ximian.com> Fixes for bug #53348 * mail-account-gui.c (mail_account_gui_save): Only add the new store to the mail-component if the mail-component doesn't already know about it (ie. only if we are adding a new account). * em-folder-tree-model.c (em_folder_tree_model_add_store): Hash our store-info based on account here. (em_folder_tree_model_init): Listen for account_changed/account_removed signals. (em_folder_tree_model_finalize): Disconnect above handlers. (account_changed): Tear down the account store node and replace it with the new store (assuming it belongs in the tree after the changes). (account_removed): Remove the account store from the tree. svn path=/trunk/; revision=24551
* Get recursive folder listing (needed or folders that haveJeffrey Stedfast2004-01-312-1/+5
| | | | | | | | | | 2004-01-30 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_tree_row_expanded): Get recursive folder listing (needed or folders that have as-of-yet-unloaded-subfolders that contain unread mail will not be bolded). Fixes bug #51045. svn path=/trunk/; revision=24544
* Fix for bug #53195.Jeffrey Stedfast2004-01-312-7/+25
| | | | | | | | | | | 2004-01-30 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #53195. * em-folder-browser.c (emfb_set_folder): Restore search_state. (emfb_search_search_activated): Save search_state. svn path=/trunk/; revision=24543
* ** See bug #53549, partial fix.Not Zed2004-01-304-1/+26
| | | | | | | | | | | | | | | | | | 2004-01-30 Not Zed <NotZed@Ximian.com> ** See bug #53549, partial fix. * em-folder-selector.c (emfs_create_name_activate): only emit the ok response if the ok button would be active (i.e. entered a valid path). ** See bug #52992. * message-list.c (message_list_hide_clear): save the hide state after its been cleared, so any popup windows inherit it. (message_list_hide_uids): same. svn path=/trunk/; revision=24534
* ** See bug #53123.Not Zed2004-01-302-35/+43
| | | | | | | | | | | | | | 2004-01-30 Not Zed <NotZed@Ximian.com> ** See bug #53123. * em-folder-tree-model.c (drop_folder): changed to take store and dest folder as arg, to handle the case of the parent folder being "" properly. (em_folder_tree_model_drag_data_received): special case dropping a folder, and don't allow dropping to "" for any other types. svn path=/trunk/; revision=24533
* ** See bug #53558 (plus other fixes/cleanups)Not Zed2004-01-307-285/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-30 Not Zed <NotZed@Ximian.com> ** See bug #53558 (plus other fixes/cleanups) * em-format.c (emf_format_secure): default implementation, handle output of inner part, but dont output any sign/encrypt info. (emf_multipart_signed, emf_multipart_encrypted): replaced with implementations from em-format-html.c, which now call em_format_format_secure to output guts. (emf_class_init): hook-up virtual method format_secure. * em-format.[ch]: add a virtual method for outputing secured parts. Moved all validity stuff from em-format-html.[ch] to here. * mail-component.c (impl_createControls): set the session interactive too. * em-format-html-display.c: make smime stuff dependent on HAVE_NSS. (efhd_multipart_signed, efhd_application_xpkcs7mime): removed, now handled by root class. (efhd_output_secure): renamed to efhd_format_secure, and use EMFormat::format_secure to kick off. (efhd_class_init): setup format_secure virtual method. * em-format-html.c (efh_multipart_encrypted): We need to handle this here so we can properly keep track of the ciphervalidity stuff. Also do it directly using the context, not multipartencrypted part. (efh_multipart_signed): with unsupported signature format, format as multipart/mixed, not as an attachment. (efh_multipart_signed): make the smime stuff optional. (efh_multipart_signed, efh_multipart_encrypted): Moved to em-format.c. (efh_application_xpkcs7mime): moved to em-format.c (efh_output_secure): renamed to efh_format_secure, linked into virtual method. call parent class to do the validation foo then output the info if needed. (efh_format_message): fixed access to validity stuff to parent object. (efh_class_init): hook up format_secure virtual method. (*): removed some now-unused headers. svn path=/trunk/; revision=24531
* removed CAMEL_PROVIDER_IS_EXTERNAL check likewise likewiseNicel KM2004-01-294-8/+10
| | | | | | | | | 2004-01-29 Nicel KM <mnicel@novell.com> * mail-component.c: removed CAMEL_PROVIDER_IS_EXTERNAL check * mail-account-gui.c: likewise * mail-offline-handler.c: likewise svn path=/trunk/; revision=24517
* Fixes a bug i can't find right nowNot Zed2004-01-295-4/+41
| | | | | | | | | | | | | | | | | | 2004-01-29 Not Zed <NotZed@Ximian.com> * em-format-html-display.c (efhd_attachment_button): check the snooped type for the icon/etc. (efhd_format_attachment): save the snooped type in the attach_puri. * em-format-html.c (efh_text_plain): If we had a snooped type, use that as the base type, rather than octet-stream, which will cause an attachment in attachment loop. * em-format.c (em_format_part_as): save the current snooped mime type in a stack if we had any. svn path=/trunk/; revision=24515
* ** See bug #53320 and probably othersNot Zed2004-01-294-54/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-29 Not Zed <NotZed@Ximian.com> ** See bug #53320 and probably others * message-list.c (message_list_set_folder): NULL out message_list->folder when we clear it so it isn't left for another free when we switch again. 2004-01-29 Not Zed <NotZed@Ximian.com> ** See bug #52190. * message-list.c: Added folder/folder uri to the data stored for primary/secondary selection, uses a struct to store the data now. This is needed so when you cut/copy messages, and paste them, it doesn't end up 'pasting' the messages from the current folder, but from the one where the copy/cut took place. (clear_selection): helper to free data inside selection struct. 2004-01-29 Not Zed <NotZed@Ximian.com> ** See bug #53506. * mail-tools.c (mail_tools_folder_to_url): use a camelurl to do this properly, and handle fragment folder-paths. * em-composer-utils.c (em_utils_composer_send_cb): removed outbox_folder local, not necessary. svn path=/trunk/; revision=24511
* If the store is already in the model, remove it and then re-add it. FixesJeffrey Stedfast2004-01-292-14/+8
| | | | | | | | | | 2004-01-28 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_add_store): If the store is already in the model, remove it and then re-add it. Fixes bug #53422. svn path=/trunk/; revision=24498
* And thus completes the fixes for bug #52766.Jeffrey Stedfast2004-01-293-28/+30
| | | | | | | | | | | | | | | | | | | 2004-01-28 Jeffrey Stedfast <fejj@ximian.com> And thus completes the fixes for bug #52766. * em-folder-tree.c (tree_drag_drop): Don't call gtk_drag_get_data() manually here or we end up getting 2 drag-data-received callbacks which is Not Good (tm). * em-folder-tree-model.c (drop_folder): Now takes a moved argument to specify whether or not the contents were moved (the move argument is just a hint). (drop_uid_list): Same. (em_folder_tree_model_drag_data_received): Updated for the above api changes. svn path=/trunk/; revision=24497
* ** See bug #53179Not Zed2004-01-284-18/+49
| | | | | | | | | | | | | | | 2004-01-28 Not Zed <NotZed@Ximian.com> ** See bug #53179 * mail-tools.c (mail_tool_get_local_movemail_path): Fix the movemail path. * mail-component.c (load_accounts): hack alert! * mail-send-recv.c (get_receive_type): hack alert! hardcode mbox: to be a movemail source. svn path=/trunk/; revision=24486
* ref folder from mail_component_get_folder.Not Zed2004-01-283-1/+11
| | | | | | | | | | | | 2004-01-28 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (setup_send_data): ref folder from mail_component_get_folder. * mail-ops.c (fetch_mail_fetch): ref the folder we get from mail_component_get_folder since it doesn't ref it. svn path=/trunk/; revision=24485
* Removed unneeded debug printfs.Jeffrey Stedfast2004-01-283-15/+10
| | | | | | | | | | | | | | | 2004-01-27 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (cp): Removed unneeded debug printfs. * em-folder-tree.c (tree_drag_data_received): Use gtk_tree_view_get_dest_row_at_pos() instead of gtk_tree_view_get_path_at_pos() since this is what Nautilus uses. Unfortunately, it still gives us back the wrong GtkTreePath so it looks to me like Gtk+ is borked. Apparently you need the latest and greatest gtk+-2.3.x cvs snapshot for this to work. svn path=/trunk/; revision=24482
* Use gtk_tree_view_get_dest_row_at_pos() instead ofJeffrey Stedfast2004-01-283-8/+13
| | | | | | | | | | | | | | | 2004-01-27 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (tree_drag_data_received): Use gtk_tree_view_get_dest_row_at_pos() instead of gtk_tree_view_get_path_at_pos() since this is what Nautilus uses. Unfortunately, it still gives us back the wrong GtkTreePath so it looks to me like Gtk+ is borked. * em-migrate.c (em_migrate_imap_caches_1_4): Copy the imap cache into the right place. Duh. svn path=/trunk/; revision=24477
* Copy the imap cache into the right place. Duh.Jeffrey Stedfast2004-01-282-1/+6
| | | | | | | | | 2004-01-27 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (em_migrate_imap_caches_1_4): Copy the imap cache into the right place. Duh. svn path=/trunk/; revision=24470
* ** See bug #53084 and others.Not Zed2004-01-2717-309/+413
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-27 Not Zed <NotZed@Ximian.com> ** See bug #53084 and others. * em-migrate.c (em_migrate): remove the vfolder_revert hack. * em-composer-utils.c (ask_confirm_for_only_bcc): removed unused vars. * mail-tools.c (mail_tool_get_local_inbox): removed, handled by mail_component_get_folder now. * mail-component.c (mail_component_*): Changed the api slightly. Using NULL as the component argument automatically implies you want the default component. (em_uri_from_camel, em_uri_to_camel): moved to em-utils.[ch]. Ok so it isn't namespaced right ... *shrug*. (mail_component_get_local_inbox): removed. (mail_component_get_folder): single entry point for getting standard folders. This is MT-Safe. (mail_component_get_folder_uri): single entry point for getting standard folder uri's. This is MT-Safe. (add_store): removed, moved to mail_component_add_store. (mail_component_load_store_by_uri): call mail_component_add_store directly rather than copying its code. (default_*_folder*): Removed, use accessor methods instead, fixed all callers. (setup_local_store): renamed to mc_setup_local_store, use proper url encoding too. make run-once and thread-safe. (MailComponentPrivate): Added a lock. (mail_control_new): exported properly to kill warnings. (mail_component_init): dont setup_local_store or add accounts here. (impl_createControls): setup local store/accounts here. (mail_component_peek): dont setup vfolder storage here. (mc_startup): internal function to startup stuff needed for gui operation. (setup_search_context): make run-once. (mail_component_peek_search_context): call setup_search_context incase it isn't setup yet. (impl_upgradeFromVersion): remove the local store setup hack. svn path=/trunk/; revision=24462
* fix the parent-finding logic.Not Zed2004-01-274-46/+31
| | | | | | | | | | | | | | | | | | | 2004-01-27 Not Zed <NotZed@Ximian.com> * em-folder-tree-model.c (folder_renamed): fix the parent-finding logic. 2004-01-23 Not Zed <NotZed@Ximian.com> * mail-component.c (mail_component_init): add the offline handler interface to the component. (store_go_online, go_online): removed, handled by the offline handler. * mail-offline-handler.c (store_go_online): add the store to the tree model when we go online. svn path=/trunk/; revision=24459
* Fixes for bug #53251.Jeffrey Stedfast2004-01-273-9/+63
| | | | | | | | | | | | | | | | | 2004-01-26 Jeffrey Stedfast <fejj@ximian.com> Fixes for bug #53251. * mail-account-gui.c (mail_account_gui_new): Convert the account drafts/sent folder uris to camel uris. (mail_account_gui_save): Convert drafts/sent camel uris into mailer uris when setting them on the account. Also, don't compare against file: anymore since those uris don't exist anymore. * em-migrate.c (em_upgrade_accounts_1_4): Update the drafts/sent folder uris. svn path=/trunk/; revision=24452
* Set priv->drag_row.Jeffrey Stedfast2004-01-273-8/+38
| | | | | | | | 2004-01-26 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (tree_drag_begin): Set priv->drag_row. svn path=/trunk/; revision=24447
* Update default mailboxAaron Weber2004-01-272-4/+461
| | | | svn path=/trunk/; revision=24442
* removed some debugging printfsJeffrey Stedfast2004-01-271-4/+1
| | | | svn path=/trunk/; revision=24441
* Use FOLDER_INFO_FAST bitflag here, since we don't care about unread countsJeffrey Stedfast2004-01-272-3/+11
| | | | | | | | | | | | 2004-01-26 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_copy_folders__copy): Use FOLDER_INFO_FAST bitflag here, since we don't care about unread counts when copying folders around. (emft_popup_delete_folders): Same. (emft_tree_row_expanded): Don't use FOLDER_INFO_FAST here. svn path=/trunk/; revision=24440
* translate DEMAND to INCOMING to get the right rulesRadek Doulik2004-01-273-1/+13
| | | | | | | | | | | | | 2004-01-26 Radek Doulik <rodo@ximian.com> * mail-session.c (main_get_filter_driver): translate DEMAND to INCOMING to get the right rules * mail-ops.c (mail_filter_on_demand): use FILTER_SOURCE_DEMAND Fixes #53266 svn path=/trunk/; revision=24436
* Updated some .cvsignore files.Christian Neumair2004-01-261-0/+2
| | | | svn path=/trunk/; revision=24424
* Cast the name entry to a GtkWidget to avoid a compiler warning Grab focusRodney Dawes2004-01-253-1/+11
| | | | | | | | | | | | | 2004-01-25 Rodney Dawes <dobey@ximian.com> * em-folder-selector.c (em_folder_selector_create_new): Cast the name entry to a GtkWidget to avoid a compiler warning * em-folder-tree.c (emft_popup_new_folder): Grab focus on the name entry when we show the dialog (#53089) Fixes #53089 svn path=/trunk/; revision=24423
* Removed the drag & drop interfaces, apparently these aren't good enoughJeffrey Stedfast2004-01-244-528/+693
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-23 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_get_type): Removed the drag & drop interfaces, apparently these aren't good enough for what we need. Gotta implement this all the Hard Way (tm). (em_folder_tree_model_drag_data_received): Helper function called by the drag_data_received signal callback in em-folder-tree.c (em_folder_tree_model_row_drop_possible): Same idea. (em_folder_tree_model_row_drop_target): Again. (em_folder_tree_model_row_draggable): You get the idea... (em_folder_tree_model_drag_data_get): And again. (em_folder_tree_model_drag_data_delete): Same. (em_folder_tree_model_set_drag_drop_types): Setup the drag & drop types on the widget (since the target drag & drop types are now internal to the model code rathr than the tree code). * em-folder-tree.c (em_folder_tree_enable_drag_and_drop): Rewritten. Connect to all the drag & drop signals and implemnent them. svn path=/trunk/; revision=24393
* remove a typo from the beginning of this fileDan Winship2004-01-241-1/+1
| | | | svn path=/trunk/; revision=24392
* add the control id to the factory.Larry Ewing2004-01-242-2/+9
| | | | | | | | | 2004-01-23 Larry Ewing <lewing@ximian.com> * mail-component-factory.c (factory): add the control id to the factory. svn path=/trunk/; revision=24390
* Handle where the file: url is roken (ie, points to a location out of theJeffrey Stedfast2004-01-242-1/+13
| | | | | | | | | | 2004-01-23 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (upgrade_xml_uris_1_4): Handle where the file: url is roken (ie, points to a location out of the evolution namespace). svn path=/trunk/; revision=24388
* Set the mnemonic widget for "Folder _name:"Rodney Dawes2004-01-242-0/+7
| | | | | | | | | | 2004-01-23 Rodney Dawes <dobey@ximian.com> * em-folder-selector.c: Set the mnemonic widget for "Folder _name:" Fixes #53088 svn path=/trunk/; revision=24387
* use mail_session_get_sa_daemon_portRadek Doulik2004-01-249-8/+262
| | | | | | | | | | | | | | | | | | | | | 2004-01-23 Radek Doulik <rodo@ximian.com> * em-junk-filter.c: use mail_session_get_sa_daemon_port * em-mailer-prefs.c (em_mailer_prefs_construct): added check_incoming_imap (em_mailer_prefs_apply): ditto (settings_changed): set check_incoming_imap sensitivity by check_incoming state * mail-session.c: add sa_daemon_port (mail_session_init): init sa_daemon_port and check_junk_for_imap (mail_session_check_junk_notify): watch for sa_daemon_port and check_junk_for_imap (mail_session_get_sa_daemon_port): new wrapper (mail_session_set_sa_daemon_port): ditto svn path=/trunk/; revision=24382
* Oops, when calling spamassassin rather than spamc, we need to invokeJeffrey Stedfast2004-01-232-6/+15
| | | | | | | | | | | 2004-01-22 Jeffrey Stedfast <fejj@ximian.com> * em-junk-filter.c (em_junk_sa_test_spamd): Oops, when calling spamassassin rather than spamc, we need to invoke /bin/sh -c since spamassassin is a shell script. (em_junk_sa_check_junk): Same. svn path=/trunk/; revision=24372
* Fixes bug #53175.Jeffrey Stedfast2004-01-232-196/+196
| | | | | | | | | | | | | | | | | | 2004-01-22 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #53175. * em-junk-filter.c (pipe_to_sa): Don't need an argc (we don't even seem to use it??). (em_junk_sa_test_spamd_running): Don't invoke /bin/sh. (em_junk_sa_test_spamd): Simplified, also don't invoke /bin/sh. (em_junk_sa_check_junk): Cleaned up/simplified. Also don't invoke /bin/sh. (em_junk_sa_report_junk): Same. (em_junk_sa_report_notjunk): Same. (em_junk_sa_commit_reports): Same. svn path=/trunk/; revision=24370
* See bug #53051 + + * em-subscribe-editor.c (subscribe_set_store): fix typoGary Ekker2004-01-232-1/+7
| | | | | | | | See bug #53051 + + * em-subscribe-editor.c (subscribe_set_store): fix typo in label svn path=/trunk/; revision=24368
* uncomment system wide spamd testRadek Doulik2004-01-222-11/+28
| | | | | | | | | | | | | | 2004-01-22 Radek Doulik <rodo@ximian.com> * em-junk-filter.c (em_junk_sa_test_spamd): uncomment system wide spamd test 2004-01-20 Radek Doulik <rodo@ximian.com> * em-junk-filter.c: lock report calls by em_junk_sa_report_lock mutex svn path=/trunk/; revision=24364
* Migrate the ETree expanded state files as well as the GalView files.Jeffrey Stedfast2004-01-223-42/+283
| | | | | | | | | | | | | 2004-01-21 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (em_migrate_1_4): Migrate the ETree expanded state files as well as the GalView files. * message-list.c: s/hide_save_state/save_hide_state/g and s/hide_load_state/load_hide_state/g to be more consistant with the other state saving function names. svn path=/trunk/; revision=24356
* use camel_mkdir(0777) rather than 0777 & st.st_mode which isn't setNot Zed2004-01-212-19/+46
| | | | | | | | | | | | | 2004-01-21 Not Zed <NotZed@Ximian.com> * em-migrate.c (cp_r): use camel_mkdir(0777) rather than 0777 & st.st_mode which isn't set anyway. (cp): use simple 0666 for the mode open, and then chmod after. (cp): check the return code of close, not just fsync. (cp): dont use fd[0] and fd[1] when we really just want simple variables, rename to readfd and writefd. svn path=/trunk/; revision=24347
* ** See bug #53159.Not Zed2004-01-214-17/+36
| | | | | | | | | | | | | | | | | | | | | | 2004-01-21 Not Zed <NotZed@Ximian.com> ** See bug #53159. * em-format.c (emf_message_rfc822): removed incorrect comment, this is not a fallback. * em-format-html.c (efh_text_plain): check the content-type of the containee object, not the holder. ** See bug #52979. * em-format-html.c: take out text/x-patch and put in text/* for a text/plain fallback handler instead. * em-format-html-display.c (efhd_find_handler): allow the bonobo handlers to override the builtin ones. svn path=/trunk/; revision=24341
* oopsJeffrey Stedfast2004-01-211-1/+1
| | | | svn path=/trunk/; revision=24335
* New function to migrate the imap cache. (em_migrate_1_4): Migrate the IMAPJeffrey Stedfast2004-01-212-0/+12
| | | | | | | | | | | | 2004-01-20 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (em_migrate_imap_caches_1_4): New function to migrate the imap cache. (em_migrate_1_4): Migrate the IMAP cache. Fixes bug #52985. (em_migrate_1_4): Copy over the searches.xml file. Fixes bug #52980. svn path=/trunk/; revision=24332
* fixed a type-o that omehow made it in between building and committingJeffrey Stedfast2004-01-211-2/+1
| | | | svn path=/trunk/; revision=24331
* New function to migrate the imap cache. (em_migrate_1_4): Migrate the IMAPJeffrey Stedfast2004-01-212-3/+82
| | | | | | | | | | 2004-01-20 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (em_migrate_imap_caches_1_4): New function to migrate the imap cache. (em_migrate_1_4): Migrate the IMAP cache. Fixes bug #52985. svn path=/trunk/; revision=24330
* Changed the logic of the visibility of the passwd text so that we hid etheJeffrey Stedfast2004-01-212-1/+7
| | | | | | | | | | 2004-01-20 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (request_password): Changed the logic of the visibility of the passwd text so that we hid ethe passwd if the flags have the SECRET bit set. svn path=/trunk/; revision=24328
* ** See Bug #52817.Not Zed2004-01-202-13/+23
| | | | | | | | | | | | | 2004-01-20 Not Zed <NotZed@Ximian.com> ** See Bug #52817. * mail-session.c (request_password, do_get_pass, get_password): Fix for api changes to camel_session_get_password. (request_password): if we have a STATIC password, don't show any 'remember' checkbox. svn path=/trunk/; revision=24324
* Make displayed_uid public.Not Zed2004-01-208-17/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-20 Not Zed <NotZed@Ximian.com> * em-folder-view.c (EMFolderView): Make displayed_uid public. * em-folder-browser.c (em_folder_browser_show_preview): use em_folder_view_set_message rather than message_list_select_uid. When clearing, clear view->displayed_uid too. 2004-01-20 Not Zed <NotZed@Ximian.com> ** See bug #52965. * mail-component.c (mail_component_init): removed an epfixme, it already is an object. (impl_upgradeFromVersion): call mail_note_store after running the upgrade for local folders. * em-migrate.c (em_migrate): revert the vfolders.xml after we've imported them. * mail-vfolder.c (vfolder_revert): new api to re-load the vfolders file. svn path=/trunk/; revision=24322
* ** See bug #52885.Not Zed2004-01-202-6/+26
| | | | | | | | | | | | | | 2004-01-20 Not Zed <NotZed@Ximian.com> ** See bug #52885. * em-folder-browser.c (emfb_create_view_menus): unref the view instance/menu's rather than asserting, if they exist. (emfb_set_folder): call create_view_menu's rather than create_view_instance, so the view menu's are properly setup. (emfb_set_folder): call superclass first. svn path=/trunk/; revision=24320
* ** See bug #53028.Not Zed2004-01-202-1/+10
| | | | | | | | | | | 2004-01-20 Not Zed <NotZed@Ximian.com> ** See bug #53028. * message-list.c (on_selection_changed_cmd): emit the cursor_activated if more than 1 item is selected also. svn path=/trunk/; revision=24319
* ** See bug #52990.Not Zed2004-01-203-3/+8
| | | | | | | | | | | 2004-01-20 Not Zed <NotZed@Ximian.com> ** See bug #52990. * mail-component.c (mail_component_init): re-enable auto-send-recv setup. svn path=/trunk/; revision=24318
* ** See bug #52989.Not Zed2004-01-202-6/+21
| | | | | | | | | | | 2004-01-20 Not Zed <NotZed@Ximian.com> ** See bug #52989. * message-list.c (hide_load_state): clear the hidden table if setup, before loading. svn path=/trunk/; revision=24316
* pasted bug #Radek Doulik2004-01-201-0/+2
| | | | svn path=/trunk/; revision=24308
* path to gtkhtml's rc file (config_write_style): use MAIL_CONFIG_RC_DIRRadek Doulik2004-01-202-2/+9
| | | | | | | | | | 2004-01-19 Radek Doulik <rodo@ximian.com> * mail-config.c (MAIL_CONFIG_RC_DIR): path to gtkhtml's rc file (config_write_style): use MAIL_CONFIG_RC_DIR (mail_config_init): ditto svn path=/trunk/; revision=24307
* removed this like i asked radek to ages ago, just call the parentNot Zed2004-01-196-34/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-19 Not Zed <NotZed@Ximian.com> * mail-ops.c (add_vjunk_info, add_vtrash_info): removed this like i asked radek to ages ago, just call the parent directly. (add_vtrash_or_vjunk_info): renamed to something saner. add_special_info. (add_special_info): removed the 'unread count' parameter & return the added info. ** See bug #52854. * em-folder-tree.c (emft_tree_button_press): setup a FOLDER target for the popup menu. * em-popup.c (em_popup_target_free): implement free for TARGET_FOLDER, changed the target options somewhat. (em_popup_target_new_folder): implement folder selection target. Total Hack(tm) alert. (emp_standard_menu_factory): removed the stupid g_assert_if_not_reached() call. * message-list.c (message_list_destroy): NULL out the uid_nodemap when we destroy it. svn path=/trunk/; revision=24302
* get the toplevel widget here too, similar to bug 52161.Not Zed2004-01-193-7/+25
| | | | | | | | | | | | | | | | | | 2004-01-19 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_folder_expunge): get the toplevel widget here too, similar to bug 52161. ** See bug #52956 * em-composer-prefs.c (sig_edit_cb): The fileentry_add_script_script widget is a GnomeFileEntry not a GtkEntry. (sig_add_script_response): use get_full_path rather than snooping the gtkentry. Also, don't close/quit the script dialogue on a bad name. svn path=/trunk/; revision=24301
* if we can't open the pop3 cache dir, because it doesn't exist, it is notNot Zed2004-01-194-119/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-19 Not Zed <NotZed@Ximian.com> * em-migrate.c (em_upgrade_pop_uid_caches_1_4): if we can't open the pop3 cache dir, because it doesn't exist, it is not an error. ** See bug #52983. * mail-component.c (em_uri_from_camel, em_uri_to_camel): Handle vfolder: uri's properly. And make sure local uri's are properly encoded. (mail_component_get_folder_from_evomail_uri) (mail_component_evomail_uri_from_folder): removed, no longer used. (em_uri_from_camel): don't leak the camelurl. (d): disable debug * mail-vfolder.c (vfolder_load_storage): move the vfolder storage location to ~/.evolution/mail/vfolder rather than ~/.evolution/mail (this is currently unused anyway). (uri_is_ignore): short-circuit exit if we find a match. (mail_vfolder_add_uri): dont exit immediately if we have a vfolder uri, but don't add it to local/remove either. (mail_vfolder_delete_uri): remove any uri from the local/remote source list while we're at it. svn path=/trunk/; revision=24300
* properly decode the mailto url rather than treating it as a simple string.Not Zed2004-01-193-6/+34
| | | | | | | | | | | | | 2004-01-19 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_on_url_cb): properly decode the mailto url rather than treating it as a simple string. * em-format-html.c (efh_format_address): if we have a name part, add it to the mailto part. As per rfc2368. So it isn't lost for clicking/etc. svn path=/trunk/; revision=24298
* pass in an exception to useJP Rosevear2004-01-172-1/+6
| | | | | | | | | 2004-01-16 JP Rosevear <jpr@ximian.com> * em-format-html-display.c (efhd_bonobo_object): pass in an exception to use svn path=/trunk/; revision=24286
* removed evolution-mbox-upgrade.c from the buildJeffrey Stedfast2004-01-172-429/+0
| | | | svn path=/trunk/; revision=24282
* Dump a struct _camel_header_address to an html string.Jeffrey Stedfast2004-01-172-4/+57
| | | | | | | | | | | | 2004-01-16 Jeffrey Stedfast <fejj@ximian.com> * em-format-html.c (efh_format_address): Dump a struct _camel_header_address to an html string. (efh_format_header): Use efh_format_address() and set the EM_FORMAT_HTML_HEADER_HTML bit on the flags so we don't re-convert our html string into html. svn path=/trunk/; revision=24280
* s/g_fre/g_free/Jeffrey Stedfast2004-01-173-17/+23
| | | | | | | | | | | | | 2004-01-16 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (mail_vfolder_rename_uri): s/g_fre/g_free/ * em-utils.c (guess_account): Change 'tmp' to not be const - fixes a compile warning. (em_utils_expunge_folder): Cast parent to a GtkWindow. (em_utils_empty_trash): Same. svn path=/trunk/; revision=24279
* updatedJeffrey Stedfast2004-01-171-1/+1
| | | | svn path=/trunk/; revision=24276
* fixed changelogJeffrey Stedfast2004-01-171-1/+3
| | | | svn path=/trunk/; revision=24275
* Oops, still need to stat() the src file so we can report what percentageJeffrey Stedfast2004-01-172-1/+7
| | | | | | | | | 2004-01-16 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (cp): Oops, still need to stat() the src file so we can report what percentage of the file has been completed so far. svn path=/trunk/; revision=24274
* Move 'message_list->folder = folder;' out of the uri compare if-block andJeffrey Stedfast2004-01-162-12/+17
| | | | | | | | | | | | 2004-01-16 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (message_list_set_folder): Move 'message_list->folder = folder;' out of the uri compare if-block and move it into the if-block that tests that folder != NULL. (regen_list_regen): Abort if the regen folder is not the same as the ml->folder. svn path=/trunk/; revision=24273
* cvsignoreJeffrey Stedfast2004-01-162-0/+4
| | | | svn path=/trunk/; revision=24272
* change this to check the store using the provider url_cmp and just lookupNot Zed2004-01-165-25/+103
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-16 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (storeinfo_find_folder_info): change this to check the store using the provider url_cmp and just lookup the folder name directly. folder_compare can't be used for uri's, this stuff was so broken, my fault :( ** See bug #52467. * em-folder-tree-model.c (sort_cb): handle null path (root?). * mail-vfolder.c (mail_vfolder_add_uri): map uri to euri before processing. (rule_changed): map uri to camel uri before looking up. (mail_vfolder_delete_uri): handle as euri internally. (mail_vfolder_rename_uri): " * mail-autofilter.c (vfolder_rule_from_message): map camel uri to euri before setting as vfolder source. svn path=/trunk/; revision=24266
* Startup files/folders.Not Zed2004-01-167-17/+113
| | | | | | | | | | | | | | | | | | | | | | | 2004-01-16 Not Zed <NotZed@Ximian.com> * default/C/Inbox: * default/C/Makefile.am: * default/Makefile.am: Startup files/folders. * em-migrate.c (emm_setup_initial): initial implementation of startup setup. (cp): Fix the test, we want exists AND size>0, not exists OR size>0. (cp): Fix the open, we can't use O_EXCL with empty, but present files. Another hack fix for #52880. ** See bug #52896. * em-format-html-display.c (efhd_html_button_press_event): do this based on get_object_at rather than get_point_at, so we get the offset properly. svn path=/trunk/; revision=24261
* oopsJeffrey Stedfast2004-01-161-1/+1
| | | | svn path=/trunk/; revision=24259
* fixed a type-oJeffrey Stedfast2004-01-161-1/+1
| | | | svn path=/trunk/; revision=24258
* Make vfolder_store 'global'.Jeffrey Stedfast2004-01-163-5/+39
| | | | | | | | | | | | 2004-01-15 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c: Make vfolder_store 'global'. * em-folder-tree-model.c (sort_cb): Fix bug #12600 by not sorting VFolders (ie. show them in the same order they appear in the editor). svn path=/trunk/; revision=24257
* Fixes bug #52888Jeffrey Stedfast2004-01-162-2/+52
| | | | | | | | | | | | | 2004-01-15 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #52888 * em-folder-tree-model.c (sort_cb): New sort function for the folder-tree. (em_folder_tree_model_init): Set the default sort func. (em_folder_tree_model_new): Set the default sort column. svn path=/trunk/; revision=24255
* Make the model sorted. Fixes bug #52888.Jeffrey Stedfast2004-01-162-9/+39
| | | | | | | | | 2004-01-15 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_new): Make the model sorted. Fixes bug #52888. svn path=/trunk/; revision=24254
* oops, add major, minor, revision args to g_warningJeffrey Stedfast2004-01-161-4/+6
| | | | svn path=/trunk/; revision=24253
* Don't select the first unread mesg in the case where no mesg wasJeffrey Stedfast2004-01-162-1/+7
| | | | | | | | | | | | | | | | 2004-01-15 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_list_built): Don't select the first unread mesg in the case where no mesg was previously selected. Fixes bug #52887 until we are able to add a user preference (for 2.2?). * em-migrate.c (cp): Only abort the copy if the dest folder both exists and contains data. Fixes bug #52880. (em_migrate): Abort if config.xmldb cannot be loaded. Fixes bug #52886. svn path=/trunk/; revision=24252
* Only abort the copy if the dest folder both exists and contains data.Jeffrey Stedfast2004-01-162-2/+11
| | | | | | | | | | | 2004-01-15 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (cp): Only abort the copy if the dest folder both exists and contains data. Fixes bug #52880. (em_migrate): Abort if config.xmldb cannot be loaded. Fixes bug #52886. svn path=/trunk/; revision=24251
* Only abort the copy if the dest folder both exists and contains data.Jeffrey Stedfast2004-01-162-1/+8
| | | | | | | | | 2004-01-15 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (cp): Only abort the copy if the dest folder both exists and contains data. Fixes bug #52880. svn path=/trunk/; revision=24250
* removed ForgetPasswords verb. (emfb_forget_passwords): removed.Rodrigo Moya2004-01-162-8/+5
| | | | | | | | | 2004-01-15 Rodrigo Moya <rodrigo@ximian.com> * em-folder-browser.c: removed ForgetPasswords verb. (emfb_forget_passwords): removed. svn path=/trunk/; revision=24245
* ** See bug #52891.Not Zed2004-01-152-2/+9
| | | | | | | | | | | 2004-01-15 Not Zed <NotZed@Ximian.com> ** See bug #52891. * em-format-html.c (em_format_html_get_type): protect against http cache not being able to be created. svn path=/trunk/; revision=24236
* ** See bug #52878.Not Zed2004-01-152-3/+23
| | | | | | | | | | | | 2004-01-15 Not Zed <NotZed@Ximian.com> ** See bug #52878. * em-folder-view.c (emfv_finalise): unhook message_changed too. (emfv_set_folder): hook/unhook message_changed too. (emfv_message_changed): implement, proxy to folder_changed. svn path=/trunk/; revision=24235
* ** See bugs #51609 and #43515.Not Zed2004-01-156-3/+102
| | | | | | | | | | | | | | | | | | 2004-01-15 Not Zed <NotZed@Ximian.com> ** See bugs #51609 and #43515. * em-format-html-display.c (efhd_format_prefix): output flag for followup details above the message. (efhd_write_image): added to output icon data. * em-format-html.c (efh_format_do): call format_prefix before outputting the message in normal display mode. * em-format.c (emf_format_prefix): method called to format data before the first message output. Default impl == noop. svn path=/trunk/; revision=24230
* Add a description for /apps/evolution/mail/junk/sa/local_only.Jeremy Katz2004-01-152-0/+11
| | | | | | | | | 2004-01-14 Jeremy Katz <katzj@redhat.com> * evolution-mail.schemas.in.in: Add a description for /apps/evolution/mail/junk/sa/local_only. svn path=/trunk/; revision=24228
* Split out the remapping code into e-util/e-bconf-map.[c,h] to be sharedJeffrey Stedfast2004-01-152-529/+140
| | | | | | | | | 2004-01-14 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c: Split out the remapping code into e-util/e-bconf-map.[c,h] to be shared among components. svn path=/trunk/; revision=24221
* ** See bug 51660.Not Zed2004-01-1413-90/+329
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-14 Not Zed <NotZed@Ximian.com> ** See bug 51660. * em-format-html-quote.c (efhq_multipart_related): setup part_id appropriately. * em-format-html-display.c (efhd_output_secure): use part_id in classid, and add .signed to part_id for subpart. (efhd_bonobo_unknown): use part_id in classid. (efhd_format_attachment): use part_id in classid's. * em-format-html.c (efh_multipart_related) (emfh_multipart_related_check): setup part_id for each subpart. (efh_output_secure): as above, and use the part_id for the classid. (em_format_html_add_pobject): use part_id for a generated classid. (efh_text_plain): setup pseudo-parts into part_id. * em-format.c (emf_format_clone): setup the part_id base, folder + uid. (emf_finalise): free the part_id gstring. (emf_init): allocate the part_id gstring. (em_format_add_puri): build the cid from the part_id rather than an arbitrary number, so it is more persistent. Also save the part_id in the puri for multipart/related use. (emf_multipart_mixed, emf_multipart_alternative) (emf_multipart_appledouble, emf_multipart_encrypted) (emf_multipart_related, emf_multipart_signed): Set the part_id for each subpart. (emf_clear_puri_node): free part_id. 2004-01-13 Not Zed <NotZed@Ximian.com> ** See bug 51660. * em-format-html-print.c (em_format_html_print_print): dont take message, get the message from the source formatter. * em-format.c (emf_format_clone): Added folder and uid parameters, changed camelmedium to a mimemessage. * em-format-html-display.c (efhd_attachment_button): check the icon image cache and if the image is there use it. * em-icon-stream.c (em_icon_stream_get_image): api to lookup finished images in cache. (em_icon_stream_new): add a cache key arg. (emis_sync_close): store the image in the cache once its completed. svn path=/trunk/; revision=24210
* Pass the parent window, fixing a crasher. Bug #52161.Ross Burton2004-01-141-2/+2
| | | | | | | | | 2004-01-13 Ross Burton <ross@burtonini.com> * em-folder-browser.c (emfb_empty_trash): Pass the parent window, fixing a crasher. Bug #52161. svn path=/trunk/; revision=24209
* s/<= 0/== 0/Jeffrey Stedfast2004-01-141-1/+1
| | | | svn path=/trunk/; revision=24207
* Handle upgrading from 1.0.x and 1.2.x (code basically moved verbatim fromJeffrey Stedfast2004-01-144-159/+1485
| | | | | | | | | | | | 2004-01-13 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (em_migrate): Handle upgrading from 1.0.x and 1.2.x (code basically moved verbatim from e_config_upgrade). * mail-component.c (impl_upgradeFromVersion): Move all the major/minor/revision logic into em_migrate(). svn path=/trunk/; revision=24206
* support for posting both to mail and to (multiple) foldersMeilof Veeningen2004-01-1313-107/+534
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-12 Meilof Veeningen <meilof@wanadoo.nl> * em-composer-utils.c: support for posting both to mail and to (multiple) folders * em-folder-browser.c: use em_utils_post_to_folder (works with NNTP) * em-folder-selection-button.[ch]: added multiple selection mode * em-folder-selector.[ch]: idem * em-folder-tree.[ch]: added multiple selection mode, no longer show disabled accounts * em-utils.c: various changes to allow posting to (multiple) folders * em-subscribe-editor.c: double-clicking a node in the editor updates it directly * mail-ops.c: for appending messages, set the "X-Mailer" header svn path=/trunk/; revision=24182
* use mail_session_get_sa_use_daemonRadek Doulik2004-01-132-1/+4
| | | | | | | | | 2004-01-12 Radek Doulik <rodo@ximian.com> * em-junk-filter.c (em_junk_sa_check_junk): use mail_session_get_sa_use_daemon svn path=/trunk/; revision=24176
* added SA prefs (mail_session_get_sa_local_only): new helper methodRadek Doulik2004-01-138-79/+182
| | | | | | | | | | | | | | | | | | | | | | 2004-01-12 Radek Doulik <rodo@ximian.com> * mail-session.c: added SA prefs (mail_session_get_sa_local_only): new helper method (mail_session_set_sa_local_only): ditto (mail_session_get_sa_use_daemon): ditto (mail_session_set_sa_use_daemon): ditto (mail_session_check_junk_notify): fix the key comparison (mail_session_init): add gconf dir so that we get notified * mail-config.glade: added SA preferences * em-mailer-prefs.c (em_mailer_prefs_construct): added more junk prefs (em_mailer_prefs_apply): ditto * em-junk-filter.c: use preferences svn path=/trunk/; revision=24174
* fix up the controls factory location.Larry Ewing2004-01-133-15/+104
| | | | | | | | | | | | | | 2004-01-12 Larry Ewing <lewing@ximian.com> * GNOME_Evolution_Mail.server.in.in: fix up the controls factory location. * mail-component.c (mail_control_new): add new interface for getting a mail control with a folder_uri property bag. (get_prop): pbag get method. (set_prop): pbag set method. svn path=/trunk/; revision=24171
* Don't O_TRUNC the dest file, instead use O_EXC and don't do anything ifJeffrey Stedfast2004-01-122-1/+8
| | | | | | | | | | | 2004-01-11 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (cp): Don't O_TRUNC the dest file, instead use O_EXC and don't do anything if the dest file already exists (this way we don't re-migrate an mbox or corrupt any summary/ibex/meta files). svn path=/trunk/; revision=24165
* ** See bug 52737.Not Zed2004-01-122-1/+8
| | | | | | | | | | | 2004-01-12 Not Zed <NotZed@Ximian.com> ** See bug 52737. * em-format-html.c (efh_text_plain): treat text/* as inline content from the made-up multipart. svn path=/trunk/; revision=24159
* add total + unread counts to properties page.Not Zed2004-01-121-6/+34
| | | | | | | | | 2004-01-09 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_popup_properties_got_folder): add total + unread counts to properties page. svn path=/trunk/; revision=24158
* ** See bug 52696.Not Zed2004-01-092-2/+12
| | | | | | | | | | | | | | 2004-01-09 Not Zed <NotZed@Ximian.com> ** See bug 52696. * mail-component.c (setup_search_context): move the searches to ~/.evolution/mail/searches.xml (migration?). (setup_search_context): fix a merge error, vfoldertypes.xml->searchtypes.xml since it includes the system searches now. svn path=/trunk/; revision=24127
* add total + unread counts to properties page.Not Zed2004-01-093-2/+11
| | | | | | | | | | | | | 2004-01-09 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_popup_properties_got_folder): add total + unread counts to properties page. * em-utils.c (filter_editor_response): * mail-vfolder.c (vfolder_editor_response): change for rule editor changes, ACCEPT->OK. svn path=/trunk/; revision=24125
* bugfixesMichael Zucci2004-01-091-0/+19
| | | | svn path=/trunk/; revision=24122
* keep the windows charset filter around until we're done since if we set itNot Zed2004-01-094-8/+25
| | | | | | | | | | | | | | | | | | | | | | | 2004-01-09 Not Zed <NotZed@Ximian.com> * em-format.c (em_format_format_text): keep the windows charset filter around until we're done since if we set it up we reference its memory. Causes warnings and breaks message display. ** See bug #52637. * em-inline-filter.c (em_inline_filter_new): added a content-type paramter for the base content type. (em_inline_filter_finalize): free base content type. (emif_types[]): Added 'plain' parameter, indicates type needs plain parameters set on content type. (emif_add_part): inherit the full base type if it is set, for plain parts. * em-format-html.c (efh_text_plain): pass the part's content-type to the inline filter. svn path=/trunk/; revision=24121
* ** See bug #50786Not Zed2004-01-084-2/+22
| | | | | | | | | | | | | | | 2004-01-08 Not Zed <NotZed@Ximian.com> ** See bug #50786 * GNOME_Evolution_Mail.server.in.in: Remove :: from startup wizard iid, and put the mail wizard into the right factory. * mail-component.c (impl_requestCreateItem, impl_handleURI): * em-folder-browser.c (emfb_mail_compose): check we have an account before trying to send mail. svn path=/trunk/; revision=24104
* s/addressbook/address bookAaron Weber2004-01-081-1/+1
| | | | svn path=/trunk/; revision=24097
* Don't migrate stuff here anymore.Jeffrey Stedfast2004-01-084-57/+164
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-07 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (mail_component_init): Don't migrate stuff here anymore. * mail-ops.c (uid_cachename_hack): Removed a hack that checked for the really old uid cache location and make the uid cache live in a better location (why have mail/pop/<account> and mail/pop3/cache-<account>? simply put the cache file in mail/pop/<account>/uid-cache). * em-migrate.c (em_migrate_dir): When copying over mbox folders, don't abort if we fail to copy over a summary file (big whoop). Also, if indexing was turned on in the evolution 1.4 version of the folder, turn on indexing for that folder in the migrated mbox folder as well. (em_migrate_pop_uid_caches): Migrate the pop3 uid-cache files. Fixes bug #52464. (em_migrate): Call em_migrate_pop_uid_caches(). svn path=/trunk/; revision=24094
* Removed. (efh_format_header): Handle address formatting a littleJeffrey Stedfast2004-01-082-90/+118
| | | | | | | | | | | 2004-01-07 Jeffrey Stedfast <fejj@ximian.com> * em-format-html.c (efh_format_address): Removed. (efh_format_header): Handle address formatting a little differently to address dwmw's complaints. Also now handles other headers such as Resent-* and Sender as well. svn path=/trunk/; revision=24090
* as belowRadek Doulik2004-01-073-2/+9
| | | | | | | | | | | 2004-01-07 Radek Doulik <rodo@ximian.com> * em-message-browser.c (emmb_init): as below * em-folder-browser.c (emfb_init): always show vertical scrollbar, we do the same for message list and it avoids ugly flicker svn path=/trunk/; revision=24088
* Emit a hover-url signal when the user mouses over a URL, ...ERDI Gergo2004-01-076-0/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-04 ERDI Gergo <cactus@cactus.rulez.org> * em-folder-view.c (emfv_on_url_cb): Emit a hover-url signal when the user mouses over a URL, ... (emfv_hover_url_impl): ... and use BonoboUI to change the status bar message... (em_folder_view_set_statusbar): ... unless we are asked not to, ... * mail-component.c (impl_createControls): ... like in the case of the mail component, ... (view_hover_url_cb): ... that uses the ActivityHandler to do the same Add these together, and #127536 is neatly solved. 2004-01-05 ERDI Gergo <cactus@cactus.rulez.org> * e-task-bar.c (init): Create a separate label to the left of the progress messages... (e_task_bar_message): ...and allow components to set it... * e-activity-handler.c (e_activity_handler_message): ...through this new ActivityHandler method svn path=/trunk/; revision=24086
* Protect against a NULL message-info. Afaik, this can only happen if theJeffrey Stedfast2004-01-062-3/+11
| | | | | | | | | | | 2004-01-06 Jeffrey Stedfast <fejj@ximian.com> * em-message-browser.c (emmb_set_message): Protect against a NULL message-info. Afaik, this can only happen if the message has since been removed? Might be a larger problem here... Anyways, fixes the crash in bug #52297. svn path=/trunk/; revision=24066
* Clone the CamelRenameInfo and ref the store before emitting the asyncJeffrey Stedfast2004-01-062-47/+95
| | | | | | | | | | | | | | | | | 2004-01-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (folder_renamed_cb): Clone the CamelRenameInfo and ref the store before emitting the async event. (folder_deleted_cb): Same idea but for CamelFolderInfo's. (folder_created_cb): Here too. (folder_subscribed_cb): Same. (folder_unsubscribed_cb): And here. (folder_renamed): Split out from folder_rename_cb(), free the CamelRenameInfo and unref the store when done. (folder_unsubscribed): Same idea. (folder_subscribed): Same. svn path=/trunk/; revision=24062
* add NULL at the end of argv for execvp (poited out by Frank Solensky,Radek Doulik2004-01-062-11/+23
| | | | | | | | | 2004-01-05 Radek Doulik <rodo@ximian.com> * em-junk-filter.c: add NULL at the end of argv for execvp (poited out by Frank Solensky, thanks) svn path=/trunk/; revision=24059
* Check that the folder isn't NULL (ie. no folder is selected). Fixes bugJeffrey Stedfast2004-01-063-1/+16
| | | | | | | | | | | | 2004-01-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_list_message_selected): Check that the folder isn't NULL (ie. no folder is selected). Fixes bug #52207. * message-list.c (message_list_set_folder): Remove the cursor-activated idle callback. svn path=/trunk/; revision=24054
* Set the send/recv dialog to non-modal. Fixes bug #50127.Jeffrey Stedfast2004-01-062-18/+23
| | | | | | | | | 2004-01-05 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (build_dialog): Set the send/recv dialog to non-modal. Fixes bug #50127. svn path=/trunk/; revision=24053
* If we aren't in the main thread, proxy it over to the main thread.Jeffrey Stedfast2004-01-062-8/+41
| | | | | | | | | | | | | | | | | 2004-01-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (folder_subscribed_cb): If we aren't in the main thread, proxy it over to the main thread. (folder_unsubscribed_cb): Same. (folder_created_cb): Here too. (folder_deleted_cb): And here. (folder_renamed_cb): Again here. * em-folder-view.c (emfv_set_folder_uri): Pass mail_thread_queued to mail_get_folder() instead of mail_thread_new so that we eliminate a race when switching folders in the UI. svn path=/trunk/; revision=24050
* Pass mail_thread_queued to mail_get_folder() instead of mail_thread_new soJeffrey Stedfast2004-01-062-2/+8
| | | | | | | | | | 2004-01-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_set_folder_uri): Pass mail_thread_queued to mail_get_folder() instead of mail_thread_new so that we eliminate a race when switching folders in the UI. svn path=/trunk/; revision=24045
* ** See bug #50996.Not Zed2004-01-054-5/+63
| | | | | | | | | | | | | | | 2004-01-05 Not Zed <NotZed@Ximian.com> ** See bug #50996. * em-format-html-display.c (efhd_find_handler): implement override for unknown types, try bonobo handlers. (efhd_bonobo_unknown): formathandler for bonobo objects. * em-format.c (em_format_find_handler): make virtual, rename to emf_find_handler. svn path=/trunk/; revision=24043
* s/it's/its/ in mail warning.David Woodhouse2004-01-052-1/+5
| | | | svn path=/trunk/; revision=24036
* Implemented; sets an image attachment as the GNOME wallpaper.David Moore2003-12-224-3/+132
| | | | | | | | | | | | | | 2003-12-22 David Moore <davmre@bellsouth.net> * em-popup.c (emp_part_popup_set_background): Implemented; sets an image attachment as the GNOME wallpaper. * em-utils.c (emu_save_part_done): Created a prototype at the top of the file. (em_utils_save_part_to_file): Added; save a message part to a specified file on disk. svn path=/trunk/; revision=23998
* Merge in evolution-mail-message-display.xml first, since it is the parentRodney Dawes2003-12-192-2/+8
| | | | | | | | | | 2003-12-18 Rodney Dawes <dobey@ximian.com> * em-message-browser.c (emmb_init): Merge in evolution-mail-message-display.xml first, since it is the parent UI XML, really fixes bug #49949 svn path=/trunk/; revision=23984
* #ifdef out certain code pieces if s/mime isn't supportedJP Rosevear2003-12-172-0/+14
| | | | | | | | | 2003-12-16 JP Rosevear <jpr@ximian.com> * em-format-html-display.c: #ifdef out certain code pieces if s/mime isn't supported svn path=/trunk/; revision=23950
* Fix erroneous function callJP Rosevear2003-12-152-1/+8
| | | | | | | | | | | 2003-12-14 JP Rosevear <jpr@ximian.com> * em-folder-tree.c (emft_tree_row_collapsed): Fix erroneous function call Fixes #52120 svn path=/trunk/; revision=23939
* put the style in .evolution.Not Zed2003-12-123-1/+11
| | | | | | | | | | | | | 2003-12-12 Not Zed <NotZed@Ximian.com> * mail-config.c (config_write_style): put the style in .evolution. ** See bug #52023. * message-list.c (message_list_select_uid): noop if we've been destroyed (foldre == NULL). svn path=/trunk/; revision=23932
* ** See bug #52108.Not Zed2003-12-124-0/+16
| | | | | | | | | | | | | | | | 2003-12-12 Not Zed <NotZed@Ximian.com> ** See bug #52108. * em-format.c (em_format_is_attachment): also recognise application/pkcs7-mime for mailers who like to make up their own standards. * em-format-html.c (type_builtin_table[]): * em-format-html-display.c (type_builtin_table[]): make recognise application/pkcs7-mime too. svn path=/trunk/; revision=23931
* get the build moving again. add CERT_UI_CFLAGS here for the time being.Chris Toshok2003-12-122-0/+6
| | | | | | | | | 2003-12-11 Chris Toshok <toshok@ximian.com> * Makefile.am (INCLUDES): get the build moving again. add CERT_UI_CFLAGS here for the time being. svn path=/trunk/; revision=23929
* Fixes bug #1717.Jeffrey Stedfast2003-12-122-23/+67
| | | | | | | | | | | | | | | | | | | | 2003-12-11 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #1717. * em-folder-browser.c (emfb_list_built): If we have a uid to select, select that instead of selecting the first unread. (emfb_set_folder): CamelObject::meta_get() actually returns a strdup'd buffer, so we need to free it. Get the last selected uid and set that up as the uid to select when the message-list finishes building. (emfb_list_message_selected): Save the selected uid. (emfb_init): Connect to the message-list's message_selected signal so that we can save selected state (don't want to do this in EMFolderView or MessageList because we don't want the state to be saved for the EMMessageBrowser). svn path=/trunk/; revision=23928
* Shorten the namespace of some internal functions to just emft.Jeffrey Stedfast2003-12-122-4/+7
| | | | | | | | | | | 2003-12-11 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c: Shorten the namespace of some internal functions to just emft. (emft_popup_delete_rec): Don't delete the contents of a folder if it is a vFolder. Fixes bug #52029. svn path=/trunk/; revision=23927
* Shorten the namespace of some internal functions to just emft.Jeffrey Stedfast2003-12-123-119/+154
| | | | | | | | | | | | | | 2003-12-11 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c: Shorten the namespace of some internal functions to just emft. * em-mailer-prefs.c (em_mailer_prefs_construct): Use newv() here and pass an array of GTypes - makes it simpler to change the order of columns later and/or add new columns if we need to. Also makes the line shorter :-) svn path=/trunk/; revision=23926
* display x-evolution-mailer pseudo header irrespective of xmailer_mask.Grahame Bowland2003-12-117-7/+690
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-11 Grahame Bowland <grahame@angrygoats.net> * em-format-html.c (efh_format_header): display x-evolution-mailer pseudo header irrespective of xmailer_mask. This is now handled by a header configuration dialog. * mail-config.glade: add tab to mail configuration dialog to allow custom headers to be specified for display. * em-mailer-prefs.h: modify struct _EMMailerPrefs to add widgets for custom header tab. Add defines for custom header flags. Add struct EMMailerCustomHeader to describe custom headers, and add function em_mailer_custom_headers_from_xml to allow XML from gconf key to be parsed into this structure. * em-folder-view.c (emfv_setting_notify): catch changes to custom header gconf key and update mail view to correspond * em-mailer-prefs.c (em_mailer_prefs_apply): save custom headers to gconf (header_list_enabled_toggled): toggle clicked toggle column (add_header): add header to custom header list if valid (remove_header): remove selected custom header (is_valid_header): return true if passed header is valid, otherwise false (entry_header_changed): call add_header_update_sensitivity (em_mailer_prefs_construct): initialise header selection tab. Load gconf data for header selection dialog. (em_mailer_custom_header_to_xml): load a header structure from XML document structure (em_mailer_custom_header_from_xml): load a header structure from a string containing valid XML. if any failure, the header.name is set to NULL. (header_list_row_selected): call remove_header_update_sensitivity (remove_header_update_sensitivity): set the sensitivity of the remove button to FALSE if the list is empty or nothing is selected. Otherwise, set it to TRUE. (add_header_update_sensitivity): set the sensitivity of the the add button to FALSE if the entry box is empty, contains a duplicate header, or contains an invalid header. Otherwise, set it to TRUE. * evolution-mail.schemas.in.in: add mail/display/headers svn path=/trunk/; revision=23924
* (efh_text_enriched): add table around the enriched part so itLarry Ewing2003-12-112-2/+12
| | | | | | matches html and text modes. svn path=/trunk/; revision=23922
* Modified to simply copy mbox files from one place to another (and theJeffrey Stedfast2003-12-112-62/+215
| | | | | | | | | | 2003-12-10 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (em_migrate_dir): Modified to simply copy mbox files from one place to another (and the summary files) rather than going thru camel so as to bypass the need for parsing MIME. svn path=/trunk/; revision=23919
* add text/x-patch as a plain type.Larry Ewing2003-12-112-0/+5
| | | | | | | | 2003-12-10 Larry Ewing <lewing@ximian.com> * em-format-html.c: add text/x-patch as a plain type. svn path=/trunk/; revision=23918
* check m->fi != NULL before dereferencing it.Not Zed2003-12-112-1/+6
| | | | | | | | | 2003-12-10 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (em_folder_tree_get_folder_info__got): check m->fi != NULL before dereferencing it. svn path=/trunk/; revision=23916
* Fixed a leak.Jeffrey Stedfast2003-12-113-1/+30
| | | | | | | | | | 2003-12-10 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (get_local_store): Fixed a leak. * mail-component.c (impl_upgradeFromVersion): Implemented. svn path=/trunk/; revision=23914
* Add INFO_FAST here as we don't need it to get unread counts.Jeffrey Stedfast2003-12-113-4/+14
| | | | | | | | | | | | | 2003-12-10 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_set_selected): Add INFO_FAST here as we don't need it to get unread counts. (tree_row_expanded): Here too. * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): Check CAMEL_FOLDER_NOCHILDREN. svn path=/trunk/; revision=23912
* Update the unread count in the model if the folder got new mail.Jeffrey Stedfast2003-12-118-7/+68
| | | | | | | | | | | | | | | | | | | 2003-12-10 Jeffrey Stedfast <fejj@ximian.com> * mail-folder-cache.c (real_flush_updates): Update the unread count in the model if the folder got new mail. * em-folder-selection.c (em_select_folder): Updated. * em-folder-selection-button.c (em_folder_selection_button_clicked): Updated. * em-folder-tree-model.c (em_folder_tree_model_set_unread_count): New function to update the unread count for a folder. * mail-component.c (mail_component_peek_tree_model): Don't ref the model. Also renamed s/get/peek/ svn path=/trunk/; revision=23910
* treat application/pkcs7-signature as application/x-pkcs-signature. StupudNot Zed2003-12-104-3/+12
| | | | | | | | | | | | 2003-12-10 Not Zed <NotZed@Ximian.com> * em-format-html-display.c (efhd_multipart_signed): * em-format-html.c (efh_multipart_signed): * em-format.c (emf_multipart_signed): treat application/pkcs7-signature as application/x-pkcs-signature. Stupud non-rfc-compliant mailers from apple. Bug #51750. svn path=/trunk/; revision=23907
* rewritten to get rid of hte old crap that should've been gotten rid ofNot Zed2003-12-103-169/+26
| | | | | | | | | | | | | 2003-12-10 Not Zed <NotZed@Ximian.com> * em-folder-selection.c (em_select_folder): rewritten to get rid of hte old crap that should've been gotten rid of before. Bug #51602. (em_folder_selection_run_dialog_uri): removed. (em_folder_selection_run_dialog): removed. this file is gutted and should probably be removed. svn path=/trunk/; revision=23906
* use a POSITIVE value for the response value, gtk uses -ative ones. BugNot Zed2003-12-105-5/+93
| | | | | | | | | | | | | | | | | | | | | 2003-12-10 Not Zed <NotZed@Ximian.com> * em-folder-selector.h: use a POSITIVE value for the response value, gtk uses -ative ones. Bug #51752. * Makefile.am (INCLUDES): added smime/lib and smime/gui to includes. * em-folder-tree.c (emft_popup_rename_folder): removed unused 'why', why not? * em-format-html-display.c (efhd_xpkcs7mime_validity_clicked): setup a table of buttons to view any certs we have. * em-folder-browser.c (emfb_activate): separeate view_menu unreffing from view_instance. fixes a runtime warning. svn path=/trunk/; revision=23905
* separeate view_menu unreffing from view_instance. fixes a runtime warning.Not Zed2003-12-103-7/+23
| | | | | | | | | | | | | | 2003-12-10 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_activate): separeate view_menu unreffing from view_instance. fixes a runtime warning. ** See bug #51718. * mail-component.c (em_uri_to_camel): handle an e-uri which has an account uid which isn't in user@host format. svn path=/trunk/; revision=23897
* ** See bug #51899.Not Zed2003-12-092-1/+10
| | | | | | | | | | | | 2003-12-09 Not Zed <NotZed@Ximian.com> ** See bug #51899. * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): CAMEL_FOLDER_CHILDREN is only advisory, some servers don't give it to you. svn path=/trunk/; revision=23890
* Remove hard coded disable deprecated flagsJP Rosevear2003-12-072-1/+4
| | | | | | | | 2003-12-06 JP Rosevear <jpr@ximian.com> * Makefile.am: Remove hard coded disable deprecated flags svn path=/trunk/; revision=23662
* Remove the extra || unread check in the conditional in the g_object_set ()Rodney Dawes2003-12-062-1/+6
| | | | | | | | | 2003-12-05 Rodney Dawes <dobey@ximian.com> * em-folder-tree.c (render_display_name): Remove the extra || unread check in the conditional in the g_object_set () call svn path=/trunk/; revision=23657
* Fixes bug #51482Rodney Dawes2003-12-062-3/+9
| | | | | | | | | | | 2003-12-05 Rodney Dawes <dobey@ximian.com> Fixes bug #51482 * em-folder-tree.c (render_display_name): Don't hardcode colors for the folder tree, instead use bold for unread, as in 1.4 svn path=/trunk/; revision=23656
* use new gtk_html_flush method instead of forcing processing of all gtkRadek Doulik2003-12-052-3/+12
| | | | | | | | | 2003-12-05 Radek Doulik <rodo@ximian.com> * em-html-stream.c (emhs_sync_flush): use new gtk_html_flush method instead of forcing processing of all gtk events svn path=/trunk/; revision=23649
* Make sure folder_path is non-NULL ("Loading..." nodes will have a NULLJeffrey Stedfast2003-12-052-3/+9
| | | | | | | | | | 2003-12-04 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_remove_folders): Make sure folder_path is non-NULL ("Loading..." nodes will have a NULL path). Fixes bug #51731. svn path=/trunk/; revision=23638
* Fixes bug #51618Jeffrey Stedfast2003-12-053-6/+18
| | | | | | | | | | | 2003-12-04 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #51618 * mail-ops.c (empty_trash_empty): Get the proper local folders store uri (it's not file:/ anymore). svn path=/trunk/; revision=23636
* Fixes bug #51605.Jeffrey Stedfast2003-12-055-30/+67
| | | | | | | | | | | | | | | 2003-12-04 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #51605. * em-folder-selector.c (emfs_response): Handle creating a new folder (pop up a create-folder-selector dialog). * em-folder-tree.c (emft_popup_new_folder_response): Moved all the logic into em_folder_tree_create_folder(). (em_folder_tree_create_folder): New function to create a folder. svn path=/trunk/; revision=23635
* set junk toolbar buttons pixmapsRadek Doulik2003-12-052-2/+6
| | | | | | | | 2003-12-04 Radek Doulik <rodo@ximian.com> * em-folder-view.c: set junk toolbar buttons pixmaps svn path=/trunk/; revision=23633
* monitor gconf key /apps/evolution/mail/junk/check_incoming and keepRadek Doulik2003-12-047-26/+246
| | | | | | | | | | | | | 2003-12-04 Radek Doulik <rodo@ximian.com> * mail-session.c: monitor gconf key /apps/evolution/mail/junk/check_incoming and keep session junk flag uptodate * em-mailer-prefs.c (em_mailer_prefs_construct): added junk preferences svn path=/trunk/; revision=23630
* Updated to add use mail subdirs. (mail_config_uri_renamed): UpdatedJeffrey Stedfast2003-12-043-87/+141
| | | | | | | | | | | | | | | | 2003-12-03 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (uri_to_evname): Updated to add use mail subdirs. (mail_config_uri_renamed): Updated cachenames[] (mail_config_folder_to_cachename): Fixed to use the correct path. * em-folder-browser.c (emfb_create_view_menus): Updated the galview path to point to the evo-1.5 location. (emfb_set_folder): Update the galview view_instance. (emfb_create_view_instance): Split out from emfb_create_view_menus() (emfb_create_view_menus): Reduced code, call emfb_create_view_instance() svn path=/trunk/; revision=23624
* Emit the OK response, not the CREATE_NEW response. Also,Jeffrey Stedfast2003-12-042-1/+8
| | | | | | | | | | | 2003-12-03 Jeffrey Stedfast <fejj@ximian.com> * em-folder-selector.c (emfs_create_name_activate): Emit the OK response, not the CREATE_NEW response. Also, g_signal_emit_by_name() does not take a GQuark detail argument, so don't pass one. Fixes bug #51661. svn path=/trunk/; revision=23623
* tedfast <fejj@ximian.com>Jeffrey Stedfast2003-12-042-0/+4
| | | | | | | | | tedfast <fejj@ximian.com> * em-folder-view.c (emfv_set_folder): Sync the folder before replacing it with the new folder. svn path=/trunk/; revision=23619
* (emft_popup_rename_folder): Set oldpath and newpath to the properJeffrey Stedfast2003-12-042-2/+4
| | | | | | values. Fixes bug #51656. svn path=/trunk/; revision=23616
* Need to prepend a "/" to path if the path is the url fragment. Also fixedJeffrey Stedfast2003-12-043-16/+36
| | | | | | | | | | 2003-12-03 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_set_selected): Need to prepend a "/" to path if the path is the url fragment. Also fixed to select the store node if path == "/". svn path=/trunk/; revision=23611
* Fixed a FIXME by using the CamelProvider url flags to determine if the urlJeffrey Stedfast2003-12-043-10/+26
| | | | | | | | | | 2003-12-03 Jeffrey Stedfast <fejj@ximian.com> * em-folder-selector.c (em_folder_selector_get_selected_uri): Fixed a FIXME by using the CamelProvider url flags to determine if the url used url->fragment or url->path as the folder path. svn path=/trunk/; revision=23604
* remove the source before savingJP Rosevear2003-12-042-2/+6
| | | | | | | | | 2003-12-03 JP Rosevear <jpr@ximian.com> * em-folder-tree.c (em_folder_tree_destroy): remove the source before saving svn path=/trunk/; revision=23603
* Set the save_state_id to 0 or we will never get a chance to run again.Jeffrey Stedfast2003-12-042-2/+8
| | | | | | | | | 2003-12-03 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_save_state): Set the save_state_id to 0 or we will never get a chance to run again. svn path=/trunk/; revision=23602
* fixed a compile warningJeffrey Stedfast2003-12-032-4/+4
| | | | svn path=/trunk/; revision=23599
* Commit ChangeLog.Ettore Perazzoli2003-12-031-0/+20
| | | | svn path=/trunk/; revision=23597
* Do not depend on e-folder-list.Ettore Perazzoli2003-12-037-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-config.c: Do not depend on e-folder-list. * gui/component/select-names/e-select-names.c: Remove dependency on evolution-folder-selector-button. (e_addressbook_create_folder_selector): Just return a FIXME label for now. (folder_selected): #if 0 out. (e_select_names_init): Do not connect. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_activate_dialog): Don't get a shell_client arg anymore. (load_completion_books): Stub out. * gui/component/select-names/e-select-names.c (e_select_names_new): Don't get an EvolutionShellClient anymore. Don't create the folder selector button for now. * gui/component/select-names/e-select-names.h: Remove dependency on evolution-shell-client. * gui/component/select-names/e-select-names-bonobo.c: Remove dependency on evolution-shell-client. (impl_SelectNames_activate_dialog): Stub out. * gui/widgets/eab-gui-util.c: Remove dependency on evolution-shell-client. (eab_transfer_contacts): Stub out. * importers/icalendar-importer.c: Do not #include shell stuff. * gui/main.c: Do not #include <evolution-shell-client.h>. * gui/e-itip-control.c: Do not #include <e-folder-selector-button.h> nor <evolution-shell-client.h>. (start_default_server): Return FALSE. (default_server_started_cb): Do not connect the "selected" signal on the button since it's now NULL. (button_selected_cb): #if 0 out. * gui/e-cal-list-view.h: Do not #include "evolution-activity-client.h". * gui/tasks-component.c (impl_createControls): Give an empty label for the status bar. * gui/e-day-view.h: Remove all deps on evolution-activity-client. * e-msg-composer-hdrs.c: Do not #include <evolution-folder-selector-button.h>. (e_msg_composer_hdrs_set_post_to): #if 0 out for now. (e_msg_composer_hdrs_get_post_to): Likewise. * mail-vfolder.c: Do not #include "evolution-shell-component.h". * Makefile.am (libevolution_mail_la_SOURCES): Don't compile mail-importer.[ch] for now. * mail-component-factory.c: Do not #include <evolution-shell-client.h>. * mail-config.c: Likewise. * mail-vfolder.h: Do not #include <evolution-storage.h> or <evolution-shell-component.h>. * mail.h: Do not #include <evolution-storage.h>. * mail-ops.h: Do not #include <evolution-storage.h>. (mail_scan_subfolders): Remove prototype. (mail_update_subfolders): Likewise. svn path=/trunk/; revision=23595
* save the state immediately if there is a timeout setJP Rosevear2003-12-031-3/+4
| | | | | | | | | | | 2003-12-03 JP Rosevear <jpr@ximian.com> * em-folder-tree.c (em_folder_tree_destroy): save the state immediately if there is a timeout set (em_folder_tree_save_state): be true GSourceFunc and just return FALSE to remove the source svn path=/trunk/; revision=23594
* save the state immediately if there is a timeout setJP Rosevear2003-12-032-7/+17
| | | | | | | | | | | 2003-12-03 JP Rosevear <jpr@ximian.com> * em-folder-tree.c (em_folder_tree_destroy): save the state immediately if there is a timeout set (em_folder_tree_save_state): be true GSourceFunc and just return FALSE to remove the source svn path=/trunk/; revision=23593
* changed to setup the rule part properly, it could never have worked. BugNot Zed2003-12-036-13/+88
| | | | | | | | | | | | | | | | | | | 2003-12-03 Not Zed <NotZed@Ximian.com> * mail-autofilter.c (rule_match_thread): changed to setup the rule part properly, it could never have worked. Bug #51601. * em-popup.c (emp_uri_popup_address_add): implement. * em-folder-view.c (emfv_popup_add_sender): implement. (emfv_add_sender_addressbook): hook up to above func. * em-utils.c (em_utils_add_address): implementation to add an email address to the addressbook. (emu_add_address_cb): callback required for funny api. Bug #51321. svn path=/trunk/; revision=23592
* Moved here. (drop_folder): Moved here. (import_message_rfc822): MovedJeffrey Stedfast2003-12-037-537/+450
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-02 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (drop_uid_list): Moved here. (drop_folder): Moved here. (import_message_rfc822): Moved here. (drop_message_rfc822): Moved here. (drop_text_uri_list): Moved here. (model_drag_data_received): Moved the logic from em-folder-tree.c into here. (model_row_drop_possible): Same. (model_row_draggable): Same. (drag_text_uri_list): Moved here. (model_drag_data_get): Moved logic here. (model_drag_data_delete): Moved logic here. * em-folder-tree.c (drag_data_get_cb): Pass the full_name to camel_store_get_folder() rather than the path. (drag_data_received_cb): Same. (drop_uid_list): Removed. (drop_folder): Removed. (import_message_rfc822): Removed. (drop_message_rfc822): Removed. (drop_text_uri_list): Removed. (drag_data_received_cb): Removed. (row_drop_possible_cb): Removed. (row_draggable_cb): Removed. (drag_text_uri_list): Removed. (drag_data_get_cb): Removed. (drag_data_delete_cb): Removed. (em_folder_tree_enable_drag_and_drop): Don't connect to any of the drag & drop signals, they don't exist anymore. * mail-component.c (impl_createControls): Enable drag-and-drop. * em-folder-tree.c (em_folder_tree_new_with_model): Connect to the loading row signal. (loading_row_cb): Expand the path if needed. (em_folder_tree_destroy): Disconnect from the loading-row signal. (em_folder_tree_enable_drag_and_drop): New function to enable drag-and-drop. (em_folder_tree_new): Remove drag-and-drop setup code. * em-folder-tree-model.c (em_folder_tree_model_class_init): Define the loading-row signal. (em_folder_tree_model_set_folder_info): emit the loading-row signal. svn path=/trunk/; revision=23590
* Connect to the loading row signal. (loading_row_cb): Expand the path ifJeffrey Stedfast2003-12-035-0/+68
| | | | | | | | | | | | | | | 2003-12-02 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_new_with_model): Connect to the loading row signal. (loading_row_cb): Expand the path if needed. (em_folder_tree_destroy): Disconnect from the loading-row signal. * em-folder-tree-model.c (em_folder_tree_model_class_init): Define the loading-row signal. (em_folder_tree_model_set_folder_info): emit the loading-row signal. svn path=/trunk/; revision=23589
* more fixesJeffrey Stedfast2003-12-033-5/+7
| | | | svn path=/trunk/; revision=23587
* fixed some mem leaks in my codeJeffrey Stedfast2003-12-032-52/+17
| | | | svn path=/trunk/; revision=23586
* Fixed to pass the evolution dir into em_folder_tree_model_new().Jeffrey Stedfast2003-12-035-136/+192
| | | | | | | | | | | | | | | | | | | | | | | | 2003-12-02 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_new): Fixed to pass the evolution dir into em_folder_tree_model_new(). (model_save_state): Removed. (em_folder_tree_save_state): Moved all the saving logic into em_folder_tree_model_save_expanded(). * em-folder-tree-model.c (em_folder_tree_model_new): Load the expanded state off disk. (em_folder_tree_model_save_expanded): New function to save expanded state. (em_folder_tree_model_get_expanded): new function to get if a node should be expanded. (em_folder_tree_model_set_expanded): new function to set the expanded state of a node. * mail-component.c (mail_component_init): Pass the evo dir to em_folder_tree_model_new() which now requires it. svn path=/trunk/; revision=23585
* Version the schemas Removed AddedRodney Dawes2003-12-023-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-02 Rodney Dawes <dobey@ximian.com> * gui/component/Makefile.am: Version the schemas * gui/component/apps_evolution_addressbook.schemas: Removed * gui/component/apps_evolution_addressbook.schemas.in.in: Added 2003-12-02 Rodney Dawes <dobey@ximian.com> * gui/Makefile.am: Version the schemas * gui/apps_evolution_calendar.schemas: Removed * gui/apps_evolution_calendar.schemas.in.in: Added 2003-12-02 Rodney Dawes <dobey@ximian.com> * Makefile.am: Version the schemas * evolution-mail.schemas: Removed * evolution-mail.schemas.in.in: Added 2003-12-02 Rodney Dawes <dobey@ximian.com> * Makefile.am: Version the schemas * apps_evolution_shell.schemas: Removed * apps_evolution_shell.schemas.in.in: Added svn path=/trunk/; revision=23579
* moved the gtk_widget_show_all to before we add the pages, otherwise it canNot Zed2003-12-022-1/+6
| | | | | | | | | | 2003-12-02 Not Zed <NotZed@Ximian.com> * mail-config-druid.c (mail_config_druid_new): moved the gtk_widget_show_all to before we add the pages, otherwise it can override per-page logic. Bug #50790. svn path=/trunk/; revision=23573
* setup another image (followup completed) to flag status list.Not Zed2003-12-022-6/+21
| | | | | | | | | | | | 2003-12-02 Not Zed <NotZed@Ximian.com> * message-list.c (message_list_create_extras): setup another image (followup completed) to flag status list. (states_pixmaps[]): added flag_for_followup_done. (ml_tree_value_at): return 0,1 or 2 for completed icon. also use the real ints, these shouldn't have been true/false. Bug #43514. svn path=/trunk/; revision=23570
* Added empty_trash prompt key.Not Zed2003-12-029-88/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-02 Not Zed <NotZed@Ximian.com> * evolution-mail.schemas: Added empty_trash prompt key. * em-utils.c (em_utils_prompt_user): changed to take the gconf 'prompt again' key directly. Fixed callers. (em_utils_expunge_folder): prompt the user with an expunge specific message. (em_utils_empty_trash): have an empty-trash specific message for prompting confirm. (emu_confirm_expunge): removed, no longer needed. Bug #38613. (em_utils_expunge_folder): remove most line feeds, let the label wrap them. (em_utils_empty_trash): ditto. * em-subscribe-editor.c (sub_folder_subscribed): update the ui selection state after we're done. maybe we should listen on the model but this is easier. Bug #50861. * em-message-browser.c (emmb_activate): hook up our own verb list. (emmb_message_verbs[], emmb_close): implement the close verb. Bug #51558. * em-format-html-display.c (efhd_attachment_popup): duh, actually add the menu list we create. Bug #49902. * em-format.c (d): turn off debug, committed by accident. svn path=/trunk/; revision=23562
* (do_op_status): Use data->activity_id, not localEttore Perazzoli2003-12-022-4/+7
| | | | | | activity_id. svn path=/trunk/; revision=23558
* Commit changes missing from previous commit.Ettore Perazzoli2003-12-022-54/+33
| | | | svn path=/trunk/; revision=23557
* New member activity_handler. (mail_component_init): Initialize.Ettore Perazzoli2003-12-022-12/+39
| | | | | | | | | | | | | | | | | | | | | | * mail-component.c (struct _MailComponentPrivate): New member activity_handler. (mail_component_init): Initialize. (impl_dispose): Unref. (mail_component_peek_activity_handler): New. (impl_createControls): Create an ETaskBar, attach it to the ActivityHandler, and return it to the caller as the statusbar control. * e-activity-handler.c (e_activity_handler_operation_finished): Argh, renamed from e_activity_client_operation_finished(). (e_activity_handler_operation_started): Don't unref the pixbuf. * e-shell-window.c (setup_widgets): Hide the menu hint label. * e-activity-handler.c (init): Init to next_activity_id to 1 so callers can rely on it being nonzero. svn path=/trunk/; revision=23556
* Pass a label for the status bar control for now.Ettore Perazzoli2003-12-022-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (impl_createControls): Pass a label for the status bar control for now. * gui/calendar-component.c (impl_createControls): Pass a label for the status bar control for now. * gui/tasks-component.c (impl_createControls): Pass a label for the status bar control for now. * mail-component.c (impl_createControls): Pass a label for the status bar control for now. * e-shell.c (struct _EShellPrivate): Remove member activity_handler. (setup_activity_interface): Remove. (e_shell_init): Don't call. (create_window): Don't attach the task bar to the activity handler. * e-shell-window.c (struct _ComponentView): New member statusbar_widget. (struct _EShellWindowPrivate): Remove member task_bar. (init_view): Get the status bar control from createControls and put it in the ComponentView struct. (setup_task_bar): New. (setup_statusbar_notebook): New. (switch_view): Switch the statusbar notebook too. (impl_dispose): Add missing GTK_OBJECT() cast. (e_shell_window_peek_task_bar): Remove. * Evolution-Component.idl (Component::createControls): New out arg "statusbar_control"; this way components can provide their own status bar. * e-activity-handler.c, e-activity-handler.h: Turn into a plain GObject; translate all the CORBA methods into plain C methods. * Makefile.am: Move e-activity-handler to libeshell instead of it being in the shell. svn path=/trunk/; revision=23555
* Use fcntl() to set FD_CLOEXEC on each fd rather than close()ing it.Jeffrey Stedfast2003-12-022-6/+10
| | | | | | | | | | | 2003-12-01 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_signature_run_script): Use fcntl() to set FD_CLOEXEC on each fd rather than close()ing it. Apparently Linux's older pthread implementations use sockets and so this fouls threading up. GO LINUX! GO! svn path=/trunk/; revision=23548
* Updated to call em_folder_tree_model_set_folder_info().Jeffrey Stedfast2003-12-026-466/+482
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-01 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_get_folder_info__got): Updated to call em_folder_tree_model_set_folder_info(). (folder_subscribed_cb): Removed. (folder_unsubscribed_cb): Removed. (folder_created_cb): Removed. (folder_deleted_cb): Removed. (folder_renamed_cb): Removed. * em-folder-tree-model.c (em_folder_tree_store_set_folder_info): New function to replace tree_store_set_folder_info() which had been in em-folder-tree.c (em_folder_tree_model_remove_uri): Made private. (em_folder_tree_model_remove_store_info): Made private. (em_folder_tree_model_remove_folders): New function to replace remove_folders() from em-folder-tree.c (em_folder_tree_model_new): No longer takes any args. * em-folder-tree.c (em_folder_tree_new): Updated. * mail-component.c (add_store): Add the store to the model rather than the treeview. (impl_createControls): create a new treeview based on the already-instantiated model. (mail_component_init): Create a new tree model. (mail_component_remove_store): Remove the store from the model directly. (mail_component_get_tree_model): Updated. * em-folder-tree.c (folder_unsubscribed_cb): Call em_folder_tree_model_remove_folders() rather than the deprecated internal remove_folders() function. (folder_renamed_cb): Same. (em_folder_tree_remove_store): Removed. (em_folder_tree_add_store): Removed. (remove_folders): Removed. svn path=/trunk/; revision=23545
* Use BASE_VERSION for repo_ids and OAFIIDs Update killev to kill theRodney Dawes2003-12-0218-65/+81
| | | | | | | | | | 2003-12-01 Rodney Dawes <dobey@ximian.com> * Use BASE_VERSION for repo_ids and OAFIIDs * Update killev to kill the correct versions of gnome-spell and the GtkHTML Editor svn path=/trunk/; revision=23543
* rfc2047 encode the Organization header value.Jeffrey Stedfast2003-12-022-2/+10
| | | | | | | | | 2003-12-01 Jeffrey Stedfast <fejj@ximian.com> * em-composer-utils.c (composer_get_message): rfc2047 encode the Organization header value. svn path=/trunk/; revision=23535
* Make sure our parent folder hasn't been unsubscribed or else we get aJeffrey Stedfast2003-12-024-4/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-01 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_get_folder_info__got): Make sure our parent folder hasn't been unsubscribed or else we get a segfault here if it has. 03-11-28 Dave Camp <dave@ximian.com> * em-folder-tree.c (render_pixbuf): Set the pixbuf renderer invisible for stores. 2003-11-25 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_get_account_by_uid): New function. * em-folder-tree.c (tree_store_set_folder_info): Expand the tree node if the saved state tells us it was expanded the previous session. (em_folder_tree_load_state): Load the saved state. (em_folder_tree_add_store): Conditionally expand the store node. (em_folder_tree_new_with_model): Expand all the nodes that should be expanded. svn path=/trunk/; revision=23530
* ops, now it's the right versionRadek Doulik2003-12-011-1/+2
| | | | svn path=/trunk/; revision=23519
* use CAMEL_VTRASH_NAME, CAMEL_VJUNK_NAMERadek Doulik2003-12-012-7/+22
| | | | | | | | | | | | | | 2003-12-01 Radek Doulik <rodo@ximian.com> * em-folder-tree.c (render_pixbuf): use CAMEL_VTRASH_NAME, CAMEL_VJUNK_NAME 2003-11-28 Radek Doulik <rodo@ximian.com> * em-folder-tree.c (render_pixbuf): added junk icon to folder icons svn path=/trunk/; revision=23516
* override the em-folder-view impl, and handle the search bar properly. ForNot Zed2003-12-013-1/+49
| | | | | | | | | | | | | 2003-12-01 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_edit_cut, emfb_edit_copy) (emfb_edit_paste): override the em-folder-view impl, and handle the search bar properly. For #48746. * mail-security.glade: added some padding to the security details frames. svn path=/trunk/; revision=23514
* added some padding to the security details frames.Not Zed2003-12-012-2/+14
| | | | | | | | | | | | 2003-12-01 Not Zed <NotZed@Ximian.com> * mail-security.glade: added some padding to the security details frames. * em-format-html-display.c (efhd_xpkcs7mime_validity_clicked): some cosmetic layout changes. svn path=/trunk/; revision=23513
* connect "changed" signal. (mail_account_editor_changed): change signalCharles Zhang2003-12-012-8/+65
| | | | | | | | | | 2003-11-27 Charles Zhang <charles.zhang@sun.com> * mail-account-editor.c (construct): connect "changed" signal. (mail_account_editor_changed): change signal handler. Fixes bug #48998. svn path=/trunk/; revision=23508
* Remove all the syncFolder stuff since it's not in the Component interfaceEttore Perazzoli2003-12-015-108/+20
| | | | | | | | | | | | | | | * mail-offline-handler.c: Remove all the syncFolder stuff since it's not in the Component interface anymore. * mail-mt.c: Remove declaration for global_shell_client. #if 0 all the code that uses that. * mail-component-factory.c: Remove declaration for global_shell_client. * mail-vfolder.c: Remove declaration for global_shell_client. svn path=/trunk/; revision=23506
* Missing changelog entryJP Rosevear2003-11-261-0/+4
| | | | svn path=/trunk/; revision=23490
* turn on deprecated Gtk stuffJP Rosevear2003-11-261-1/+0
| | | | | | | | 2003-11-26 JP Rosevear <jpr@ximian.com> * Makefile.am: turn on deprecated Gtk stuff svn path=/trunk/; revision=23489
* New function to save tree expanded state.Jeffrey Stedfast2003-11-254-1/+153
| | | | | | | | | | | | | | | 2003-11-24 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_save_state): New function to save tree expanded state. (em_folder_tree_queue_save_state): New function to queue saving of the expanded state. (em_folder_tree_construct): Connect to the row-collapsed signal. (tree_row_collapsed): Queue a save-state. (tree_row_expanded): Queue a save state. (em_folder_tree_get_folder_info__got): Queue a save-state. svn path=/trunk/; revision=23485
* set session on print formatter for signatures to work.Not Zed2003-11-257-260/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-25 Not Zed <NotZed@Ximian.com> * em-folder-view.c (em_folder_view_print): set session on print formatter for signatures to work. * em-message-browser.c (emmb_destroy): kill warning. * em-format-html.c (efh_output_secure): same as efhd_output_secure, output the security bar, but for printing/plain html. (efh_application_xpkcs7mime): use output_secure. (em_format_html_multipart_signed_sign): removed, output_secure does what this did. * em-format-html-display.c (smime_sign_table, smime_encrypt_table): Added a short description for the mail display. (efhd_xpkcs7mime_button): only good/bad signature at this point, if only encrypted, then display 'bad' icon. (efhd_output_secure): output the security bar/button and handle multi-level enveloping properly. (efhd_application_xpkcs7mime): just call output_secure to do the security bar. (efhd_multipart_signed): same. (efhd_signature_button): removed, no longer used. (efhd_signature_check): removed, no longer used. svn path=/trunk/; revision=23483
* use new colors (efh_text_html): dittoRadek Doulik2003-11-244-7/+48
| | | | | | | | | | | | | | | | 2003-11-24 Radek Doulik <rodo@ximian.com> * em-format-html.c (efh_text_plain): use new colors (efh_text_html): ditto * em-format-html-display.c (efhd_gtkhtml_realise): set new colors according to style * em-format-html.c (efh_init): init new colors * em-format-html.h: added frame and content colors svn path=/trunk/; revision=23477
* do not use horizonal rule, attachment content is now inside simple frameRadek Doulik2003-11-245-27/+50
| | | | | | | | | | | | | | | | | | | | 2003-11-24 Radek Doulik <rodo@ximian.com> * em-format.c (emf_multipart_mixed): do not use horizonal rule, attachment content is now inside simple frame * em-format-html.c (efh_text_plain): add 6 points around text plain content and frame it (efh_text_html): frame text/html (efh_format_do): fix body tag, set bgcolor (em_format_html_format_headers): do not put headers into own table, content body is framed now instead (efh_format_message): update for headers/body changes * em-format-html-display.c (efhd_format_attachment): put additional vertical space around attachment button svn path=/trunk/; revision=23474
* Swap the retval varargs value to the last argument instead of the first.Jeffrey Stedfast2003-11-242-5/+12
| | | | | | | | | | | 2003-11-22 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (model_drag_data_received) (model_row_drop_possible, model_row_draggable) (model_drag_data_get, model_drag_data_delete): Swap the retval varargs value to the last argument instead of the first. svn path=/trunk/; revision=23469
* Removed call to mail_tool_delete_meta_data(). Fixes bug #51236.Jeffrey Stedfast2003-11-212-2/+3
| | | | | | | | | 2003-11-20 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_uri_deleted): Removed call to mail_tool_delete_meta_data(). Fixes bug #51236. svn path=/trunk/; revision=23465
* Implemented. (mail_component_class_init): Overload the handleURI method.Jeffrey Stedfast2003-11-212-8/+20
| | | | | | | | | 2003-11-20 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (impl_handleURI): Implemented. (mail_component_class_init): Overload the handleURI method. svn path=/trunk/; revision=23464
* fixed a spelling mistakeJeffrey Stedfast2003-11-211-1/+1
| | | | svn path=/trunk/; revision=23463
* Fixes bug #51012.Jeffrey Stedfast2003-11-212-11/+64
| | | | | | | | | | | | | | | | 2003-11-20 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #51012. * em-folder-tree.c (emft_popup_rename_folder): Fixed a FIXME to not use the OS-specific g_path_*() stuff. (em_folder_tree_set_selected): For the case where the tree has already loaded enough subfodlers to include the path we need to select, exopand the nodes to that path as well. For the case that the tree hasn't loaded enough of the folder nodes, load them and then have the node selected/expanded to. svn path=/trunk/; revision=23462
* Fixed a FIXME to not use the OS-specific g_path_*() stuff.Jeffrey Stedfast2003-11-212-22/+33
| | | | | | | | | 2003-11-20 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_popup_rename_folder): Fixed a FIXME to not use the OS-specific g_path_*() stuff. svn path=/trunk/; revision=23458
* Emit the response signal with the RESPONSE_NEW value.Jeffrey Stedfast2003-11-203-16/+38
| | | | | | | | | | | | | 2003-11-19 Jeffrey Stedfast <fejj@ximian.com> * em-folder-selector.c (emfs_create_name_activate): Emit the response signal with the RESPONSE_NEW value. (emfs_create_name_changed): Sanity check the entry text and set OK sensitivity. (folder_selected_cb): If there is an entry widget, then call name_changed() to decide sensitivity, else set OK to be sensitive. svn path=/trunk/; revision=23453
* Same.Jeffrey Stedfast2003-11-205-21/+36
| | | | | | | | | | | | | 2003-11-19 Jeffrey Stedfast <fejj@ximian.com> * em-utils.c (em_utils_selection_set_urilist): Same. * em-format-html-display.c (efhd_drag_data_get): Same as below. * em-folder-tree.c (drag_text_uri_list): Terminate each url of a text/uri-list with a \r\n. svn path=/trunk/; revision=23451
* Add an "evolution:uri_schemas" attribute.Ettore Perazzoli2003-11-202-0/+9
| | | | | | | Add an "evolution:uri_schemas" attribute. svn path=/trunk/; revision=23446
* if we're setting the fragment, strip leading /'s.Not Zed2003-11-194-82/+27
| | | | | | | | | | | | | | | 2003-11-19 Not Zed <NotZed@Ximian.com> * mail-component.c (em_uri_to_camel): if we're setting the fragment, strip leading /'s. * mail-tools.c (mail_tool_get_meta_data) (mail_tool_delete_meta_data, meta_data_key): old stuff killed. (mail_tool_uri_to_folder): handle email: uri's specially. this is a bit of a hack, the filter callbacks should manage this itself since filters are the only bits which use those uri's. svn path=/trunk/; revision=23437
* Don't leak the message objects.Jeffrey Stedfast2003-11-192-0/+4
| | | | | | | | 2003-11-18 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (em_migrate_dir): Don't leak the message objects. svn path=/trunk/; revision=23428
* Execute asynchronously by queueing the copy in another thread.Jeffrey Stedfast2003-11-192-34/+80
| | | | | | | | | | 2003-11-18 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_copy_folders): Execute asynchronously by queueing the copy in another thread. (em_copy_folders__copy): Moved the original logic here. svn path=/trunk/; revision=23427
* Queue the camel_store_get_folder_info() call in another thread.Jeffrey Stedfast2003-11-192-49/+122
| | | | | | | | | | | 2003-11-18 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (tree_row_expanded): Queue the camel_store_get_folder_info() call in another thread. (em_folder_tree_get_folder_info__got): Moved all the logic of tree_row_expanded here. svn path=/trunk/; revision=23426
* Fixed to check fi->child as well (since mbox does it right).Jeffrey Stedfast2003-11-182-12/+19
| | | | | | | | | | | | | 2003-11-17 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (tree_row_expanded): Fixed to check fi->child as well (since mbox does it right). (emft_popup_new_folder_response): Fixed to subscribe to the correct folder. (emft_popup_delete_folders): Fixed to use the full_name rather than the path. svn path=/trunk/; revision=23407
* more fixesJeffrey Stedfast2003-11-182-4/+28
| | | | svn path=/trunk/; revision=23405
* Fixed to not include leading '/' in the folder name in the label.Jeffrey Stedfast2003-11-183-28/+90
| | | | | | | | | | | | | 2003-11-17 Jeffrey Stedfast <fejj@ximian.com> * em-folder-selection-button.c (set_contents): Fixed to not include leading '/' in the folder name in the label. * em-folder-tree.c (emft_popup_new_folder_response): Implemented error reporting via gtk dialogs. (emft_popup_copy_folder_selected): Same. svn path=/trunk/; revision=23401
* Use a folder_name rather than a path as the name argument toJeffrey Stedfast2003-11-182-1/+7
| | | | | | | | | | 2003-11-17 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_popup_new_folder_response): Use a folder_name rather than a path as the name argument to camel_store_create_folder(), fixes creation of IMAP folders. svn path=/trunk/; revision=23395
* use the server.mk file to get rules for building versioned .server filesJP Rosevear2003-11-172-4/+2
| | | | | | | | | | | 2003-11-17 JP Rosevear <jpr@ximian.com> * configure.in: use the server.mk file to get rules for building versioned .server files * */Makefile.am: use simplified rule subst svn path=/trunk/; revision=23387
* handle an unparsable url without crashing.Not Zed2003-11-172-9/+5
| | | | | | | | | 2003-11-17 Not Zed <NotZed@Ximian.com> * em-folder-selection-button.c (set_contents): handle an unparsable url without crashing. svn path=/trunk/; revision=23381
* thin wrapper on mail_component_get_local_inbox.Not Zed2003-11-176-27/+27
| | | | | | | | | | | | | | | | 2003-11-17 Not Zed <NotZed@Ximian.com> * mail-tools.c (mail_tool_get_local_inbox): thin wrapper on mail_component_get_local_inbox. * mail-component.c (mail_component_get_local_inbox): helper to get the default local inbox. * mail-ops.c (fetch_mail_fetch): if we can't get the inbox, make sure we still unref the filter driver here by using hte same exit code. Fixes a crash. svn path=/trunk/; revision=23377
* We can't use a uri to do a lookup of a store-info on the store_hash, weJeffrey Stedfast2003-11-153-5/+72
| | | | | | | | | | | | | | | | | | 2003-11-14 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_popup_new_folder_response): We can't use a uri to do a lookup of a store-info on the store_hash, we have to get a CamelStore first. (row_draggable_cb): validate the iter before using it. (row_drop_possible_cb): Same. (drag_data_received_cb): Here too. (drag_data_get_cb): Same. (drag_data_delete_cb): Again here. (tree_store_set_folder_info): Recursively add nodes if fi->child is non-NULL rather than adding a dummy node. (folder_renamed_cb): Implemented. svn path=/trunk/; revision=23367
* We can't use a uri to do a lookup of a store-info on the store_hash, weJeffrey Stedfast2003-11-152-12/+45
| | | | | | | | | | | | | | | 2003-11-14 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_popup_new_folder_response): We can't use a uri to do a lookup of a store-info on the store_hash, we have to get a CamelStore first. (row_draggable_cb): validate the iter before using it. (row_drop_possible_cb): Same. (drag_data_received_cb): Here too. (drag_data_get_cb): Same. (drag_data_delete_cb): Again here. svn path=/trunk/; revision=23363
* Removed most of the code. This is basically now a nop. Need to somehow getJeffrey Stedfast2003-11-152-19/+7
| | | | | | | | | 2003-11-14 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (set_stop): Removed most of the code. This is basically now a nop. Need to somehow get the uic and fix this. svn path=/trunk/; revision=23361
* Removed.Jeffrey Stedfast2003-11-155-223/+39
| | | | | | | | | | | | | | | | 2003-11-14 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.[c,h]: Removed. * mail-component.c (folder_selected_cb): Don't create a new view anymore, simply set the new folder uri on the folder browser. This makes the mailer use a lot less memory than in 1.x (view_control_activate_cb): Moved here from folder-browser-factory.c (impl_createControls): Connect to the activate signal on the view control. svn path=/trunk/; revision=23360