Commit Graph

287 Commits

Author SHA1 Message Date
6093cf0982 handle a null path or fragment.
2004-06-11  Not Zed  <NotZed@Ximian.com>

        * em-utils.c (em_uri_from_camel): handle a null path or fragment.

        * em-folder-tree-model.c (em_folder_tree_model_add_store): set the
        full name of the store to "".  Fixes #59925 and probably other
        issues.  Related to the removal of folderinfo->path.

svn path=/trunk/; revision=26305
2004-06-11 08:30:16 +00:00
408266b22e use the new e_book_new_* and e_book_open apis.
2004-05-19  Chris Toshok  <toshok@ximian.com>

	* importers/pine-importer.c (import_contacts): use the new
	e_book_new_* and e_book_open apis.

	* em-utils.c (em_utils_in_addressbook): use the new e_book_new_*
	and e_book_open apis.

svn path=/trunk/; revision=26001
2004-05-20 01:17:29 +00:00
dbd786a2dd if we end up with an application/octet-stream part, pre-snoop it so we set
2004-05-19  Not Zed  <NotZed@Ximian.com>

        * em-inline-filter.c (emif_add_part): if we end up with an
        application/octet-stream part, pre-snoop it so we set the right
        mime type to start with.  Fixes #58554.

        * em-format.c (emf_snoop_part): removed, now in em-utils.

        * em-utils.c (em_utils_snoop_type): rah rah, snoop a mime part's
        type.

        * em-format-html.c (efh_text_plain): Revert jeff's fix for #56290.
        Ugh, we already have all the citation info in local data.  Removed
        the need for gconf too.

svn path=/trunk/; revision=25974
2004-05-19 07:02:12 +00:00
81f6e6db48 ** Bug #6556.
2004-05-17  Not Zed  <NotZed@Ximian.com>

	** Bug #6556.

	* message-list.c (ml_drop_async_desc, ml_drop_async_drop)
	(ml_drop_async_done, ml_drop_async_free, ml_drag_data_action)
	(ml_drop_popup_copy, ml_drop_popup_move, ml_drop_popup_cancel)
	(ml_tree_drag_data_received): implement async drop operations and
	the ask drop option menu.

2004-05-14  Not Zed  <NotZed@Ximian.com>

	** Bug #6556.

	* message-list.c (ml_selection_received_uidlist): removed, not
	needed anymore.
	(ml_selection_received): call get_uidlist to paste the selection.
	(ml_tree_drag_data_received): same here.

	* em-folder-tree.c (emft_drop_uid_list): removed, not needed
	because of below change.

	* em-utils.c (em_utils_selection_get_uidlist): actually do the
	copy now, don't just decode the data.

	* em-folder-tree.c (tree_drag_data_received): just copy the
	selection data data itself, dont decode yet.
	(emft_import_message_rfc822): removed, not needed, use em utils
	stuff instead.
	(emft_drop_message_rfc822): same.
	(emft_drop_text_uri_list): same.
	(emft_drop_async_free): simply free stuff.
	(emft_drop_async_drop): call em_utils stuff where they exist to do
	the drop.

	* message-list.c (ml_tree_drag_data_get): send x-mailbox instead
	of message/rfc822 for the mailbox.
	(ml_tree_drag_data_received): handle drop of x-mailbox differently
	to message/rfc822.
	(ml_tree_drag_motion): implement so proper options are setup
	whilst dragging.
	(message_list_construct): seutp the drag src/dest types for
	changes typs and with ASK action.

	* em-utils.c (em_utils_read_messages_from_stream): dont unref the
	stream when we get it.
	(em_utils_selection_get_mailbox): add an argument to scan from or
	not, for message/rfc822 vs x-mailbox drops.
	(em_utils_read_messages_from_stream): Same.

	* em-folder-tree.c (tree_drag_motion): default to move properly.

	* message-list.c (ml_selection_received_uidlist): take a move flag.
	(ml_tree_drag_data_received): handle move action.

	* em-folder-tree.c (em_folder_tree_new_with_model): got sick of
	this bloody warning.

	* em-format.c (default_headers[]): just remove x-mailer from the
	header list, if it isn't on by default.  This is the default list.
	(em_format_default_headers): loop through everything.

svn path=/trunk/; revision=25915
2004-05-17 03:50:56 +00:00
97926d706a add for translators.
2004-05-12  Not Zed  <NotZed@Ximian.com>

        * mail-errors.xml.h: add for translators.

        * Makefile.am (%.xml.h): fix for xml i18n stuff.

        * mail-errors.xml: moved from the .xml.in file.

2004-05-11  Not Zed  <NotZed@Ximian.com>

        * em-utils.c (em_uri_from_camel): pass an exception to
        provider_get, it relies on one.

        * em-migrate.c (em_migrate_1_4): fix some error messages, and fail
        with fatal errors properly.
        (em_migrate_local_folders_1_4): EEP!  Who cares if this fails!
        Well I do.  Setup exceptions and return codes.
        (em_migrate_dir): and here too.  Sloppy!
        (em_migrate_dir): change the code slightly, 1.4 would recurse all
        folders, even if the parent folder doesn't have a
        folder-metadata.xml.  Make sure we copy that mode.
        (get_local_store_uri): Make it copy the 1.4 behaviour properly.
        Any error -> use defaults.
        (em_migrate_dir): lots of changes.
        (mbox_build_filename): take the output string as an arg.
        (cp): add an argument to overwrite/append or require a unique
        empty file.
        (cp_r): add mode arg here too.
        (em_migrate_folder): split the folder copy stuff from em_migrate
        dir entirely.  blah.
        (em_upgrade_accounts_1_4): can't fail, remove return code, etc.
        (em_upgrade_xml_1_4): removed this rather redundant odd api.
        (upgrade_xml_uris): this can't fail, remove return codes etc.
        (em_upgrade_xml_1_0): another oddly redundant function.
        (em_migrate_pop_uid_caches_1_4): error messages, blah blah.
        (em_migrate_folder_expand_state_1_4): no fatal states here.
        (em_migrate_folder_view_settings_1_4): nor here.
        (emm_setup_initial): do i18n 'better', using
        gnome_i18n_get_language_list, rather than hacky code.

2004-05-10  Not Zed  <NotZed@Ximian.com>

        * mail-tools.c: remove e-meta.h, not used anymore.

svn path=/trunk/; revision=25870
2004-05-12 03:34:33 +00:00
03cdf54aab Moved these here from em-utils.c.
2004-05-03  Not Zed  <NotZed@Ximian.com>

        * em-composer-utils.c (em_utils_compose_new_message)
        (em_utils_compose_new_message_with_mailto)
        (em_utils_post_to_folder, em_utils_post_to_url)
        (em_utils_edit_message, em_utils_edit_messages)
        (em_utils_forward_attached, em_utils_forward_inline)
        (em_utils_forward_quoted, em_utils_forward_message)
        (em_utils_forward_messages, em_utils_redirect_message)
        (em_utils_redirect_message_by_uid) :
        (em_utils_reply_to_message, em_utils_reply_to_message_by_uid)
        (em_utils_post_reply_to_message_by_uid): Moved these here from
        em-utils.c.

svn path=/trunk/; revision=25744
2004-05-03 10:30:27 +00:00
2828781d0d fix the overwrite? question. #57822.
2004-04-30  Not Zed  <NotZed@Ximian.com>

	* em-utils.c (emu_can_save): fix the overwrite? question.  #57822.

svn path=/trunk/; revision=25699
2004-04-30 03:57:56 +00:00
e23cf1ca36 ** Changed error messages to use EError.
2004-04-28  Not Zed  <NotZed@Ximian.com>

        ** Changed error messages to use EError.

svn path=/trunk/; revision=25653
2004-04-28 06:39:25 +00:00
f8574c815f use %% for %%.
2004-04-13  Not Zed  <NotZed@Ximian.com>

        * em-format-html.c (efh_format_headers): use %% for %%.

        * em-folder-view.c (emfv_init, emfv_finalise, emfv_activate):
        revert dans' creatable items handler patch, moved to
        mail-component instead (which deals with the actual menu's).

        * mail-component.c (impl_createControls): setup a user creatable
        items handler on the view widget.
        (view_control_activate_cb): activate the user creatable items
        handler on the view widget.

        * em-folder-view.c (emfv_init): add a comment about jeff's last
        fix.

        * em-utils.c (forward_non_attached): Set attachments from
        forwardee before we set the body, otherwise images wont resolve
        properly.  Related to #56566.

svn path=/trunk/; revision=25428
2004-04-13 07:50:59 +00:00
85c5b26c40 If the provider is unavailable, return euri like the other fail cases.
2004-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* em-utils.c (em_uri_to_camel): If the provider is unavailable,
	return euri like the other fail cases. Fixes bug #56846.

svn path=/trunk/; revision=25415
2004-04-12 15:35:25 +00:00
16b7fae670 use e_destination_export_to_vcard_attribute instead of exporting to xml,
2004-04-09  Chris Toshok  <toshok@ximian.com>

	* importers/pine-importer.c (import_contact): use
	e_destination_export_to_vcard_attribute instead of exporting to
	xml, and use e_contact_set_attributes.

	* em-utils.c (em_utils_camel_address_to_destination):
	EABDestination -> EDestination.
	(reply_get_composer): same
	(post_reply_to_message): same.

	* em-composer-utils.c (ask_confirm_for_unwanted_html_mail):
	EABDestination -> EDestination.
	(composer_get_message): same.

svn path=/trunk/; revision=25392
2004-04-09 17:30:58 +00:00
9e126a8d01 Cleaned up header inclusions and added plenty of forward declarations.
2004-03-31  Not Zed  <NotZed@Ximian.com>

        * *.[ch]: Cleaned up header inclusions and added plenty of forward
        declarations.  Sped up complete re-compilation by upto 20%.

        ** See bug #55950.

        * em-utils.c (em_utils_in_addressbook): utility for checking if an
        email address is in the addressbook.  I can't tell if it works
        'cause it crashes eds.

        * em-format-html.c (emfh_gethttp): handle addressbook checking.

2004-03-30  Not Zed  <NotZed@Ximian.com>

        * mail-config.h: clean up the headers and use some forward decl's
        instead.

        * em-format-html.c (em_format_html_set_load_http): change state to
        an int 'style' instead.

        * em-folder-view.c (emfv_setting_notify): set the format load http
        option to the config value directly.

        ** See bug #56147.

        * message-list.c (clear_info): set the node data to NULL when we
        unref its data.
        (ml_get_save_id): use a different test for the root node, and
        return NULL if we don't have any data on the node (because we're
        cleaing it).

        ** See bug #54962.

        * em-folder-tree.c (emft_popup_new_folder_response): put back the
        old hack to open the vfolder editor if you try to create a folder
        under vfolders.

        ** See bug #55940.

        * mail-autofilter.c (mail_filter_rename_uri): map the uri to an
        email uri before passing to filter code.
        (mail_filter_delete_uri): same here.

svn path=/trunk/; revision=25261
2004-03-31 10:09:04 +00:00
4609348bf2 if we get an email uri passed in, just pass it out again, without first
2004-03-23  Not Zed  <NotZed@Ximian.com>

        * em-utils.c (em_uri_from_camel): if we get an email uri passed in,
        just pass it out again, without first going to camel to do it.

svn path=/trunk/; revision=25150
2004-03-23 06:15:08 +00:00
8dcf7b7853 rfc2047 decode the address here before passing it off to the addressbook
2004-03-18  Jeffrey Stedfast  <fejj@ximian.com>

	* em-utils.c (em_utils_add_address): rfc2047 decode the address
	here before passing it off to the addressbook (which expects it to
	be in human-readable form, not encoded). Fixes bug #55591.

svn path=/trunk/; revision=25118
2004-03-18 17:14:42 +00:00
3187450080 If the mail_get_message() async op fails, it will still call us with a
2004-03-15  Jeffrey Stedfast  <fejj@ximian.com>

	* em-utils.c (reply_to_message): If the mail_get_message() async
	op fails, it will still call us with a NULL message to check for
	that. Fixes bug #55612.
	(post_reply_to_message): Same.

svn path=/trunk/; revision=25081
2004-03-15 20:09:56 +00:00
7dfbad5dce ** See bug #54924.
2004-03-03  Not Zed  <NotZed@Ximian.com>

        ** See bug #54924.

        * em-utils.c (em_utils_selection_set_urilist): Try to get the drop
        filename from the message subject, or folder name.
        (em_utils_empty_trash): kill warning.

svn path=/trunk/; revision=24946
2004-03-03 08:11:19 +00:00
1e99d93fbe Make sure url->path is non-NULL before setting folder_name to url->path +
2004-02-26  Jeffrey Stedfast  <fejj@ximian.com>

	* em-utils.c (em_utils_folder_name_from_uri): Make sure url->path
	is non-NULL before setting folder_name to url->path + 1. Could
	possibly fix bug #54853.

svn path=/trunk/; revision=24887
2004-02-26 16:40:34 +00:00
4e99cbb3f7 Use the new camel_store_folder_uri_equal() function.
2004-02-24  Jeffrey Stedfast  <fejj@ximian.com>

	* em-utils.c (em_utils_folder_is_drafts): Use the new
	camel_store_folder_uri_equal() function.
	(em_utils_folder_is_sent): Same.

svn path=/trunk/; revision=24848
2004-02-24 17:00:51 +00:00
3185a97125 Fix for bug #54057
2004-02-23  Jeffrey Stedfast  <fejj@ximian.com>

	Fix for bug #54057

	* em-utils.c (em_utils_folder_is_sent): Use provider->url_equal()
	rather than camel_store_uri_cmp() since that function did not do
	anything close to what it claimed to do. Also use
	em_uri_to_camel() here on the account sent_folder_uri.
	(em_utils_folder_is_drafts): Same.

svn path=/trunk/; revision=24837
2004-02-23 20:59:29 +00:00
2aa12fd3ee fix camel provider api changes.
2004-02-19  Not Zed  <NotZed@Ximian.com>

        * mail-send-recv.c (get_receive_type):
        * mail-config.c (mail_config_get_account_by_source_url)
        (mail_config_get_account_by_transport_url):
        * mail-component.c (mail_component_load_store_by_uri):
        * mail-account-gui.c (mail_account_gui_setup)
        (mail_account_gui_save):
        * em-utils.c (em_utils_empty_trash, em_uri_from_camel):
        * em-folder-tree-model.c (account_changed):
        * em-folder-selector.c (em_folder_selector_get_selected_uri): fix
        camel provider api changes.

svn path=/trunk/; revision=24795
2004-02-19 07:32:48 +00:00
dc9818c5a3 ** See bug #53914.
2004-02-17  Not Zed  <NotZed@Ximian.com>

        ** See bug #53914.

        * em-utils.c (guess_account): do some extra checks, message
        source, and source folder.
        (guess_account_folder): helper to guess account based on folder.

svn path=/trunk/; revision=24756
2004-02-17 05:56:01 +00:00
8e738775ad Fixes for bug #53530
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
2004-02-02 04:47:42 +00:00
ce042b31b6 ** See bug #53084 and others.
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
2004-01-27 12:35:26 +00:00
13f513ef2a s/g_fre/g_free/
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
2004-01-16 17:02:24 +00:00
df12f97f29 ** See bug 51660.
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
2004-01-14 02:58:24 +00:00
2505d23049 support for posting both to mail and to (multiple) folders
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
2004-01-12 22:22:50 +00:00
efa0b9c96b add total + unread counts to properties page.
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
2004-01-09 06:07:49 +00:00
0dfb205f6a Implemented; sets an image attachment as the GNOME wallpaper.
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
2003-12-22 14:50:57 +00:00
33efd90a82 changed to setup the rule part properly, it could never have worked. Bug
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
2003-12-03 00:27:52 +00:00
62b482ca29 Added empty_trash prompt key.
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
2003-12-02 05:16:22 +00:00
dc497cb36b Same.
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
2003-11-19 21:22:12 +00:00
49265bef8d User vfolder rules should be in ${evolution_dir}/mail/vfolders.xml rather
2003-11-06  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-vfolder.c (mail_vfolder_delete_uri): User vfolder rules
	should be in ${evolution_dir}/mail/vfolders.xml rather than
	${evolution_dir}/vfolders.xml
	(mail_vfolder_rename_uri): Same.
	(store_folder_deleted): Here too.
	(store_folder_renamed): And here.
	(vfolder_load_storage): Again here.
	(vfolder_editor_response): Same.
	(edit_rule_response): And here.
	(new_rule_clicked): Here too.

	* mail-session.c (main_get_filter_driver): User filter rules
	should be in ${evolution_dir}/mail/filters.xml rather than
	${evolution_dir}/filters.xml

	* mail-autofilter.c (filter_gui_add_from_message): Same.
	(mail_filter_rename_uri): And here.
	(mail_filter_delete_uri): Here too.

	* em-utils.c (filter_editor_response): Again here.
	(em_utils_edit_filters): Same.

	* em-migrate.c (em_migrate_filter_file): Same (also for
	vfolders.xml)

2003-11-05  Jeffrey Stedfast  <fejj@ximian.com>

	* em-migrate.[c,h]: New source files to migrate from the old mail
	directory to the new mail directory.

	* mail-component.c (mail_component_init): Changed to use
	~/.evolution and added code to migrate the old mail folders over
	if ~/.evolution/mail does not yet exist.

svn path=/trunk/; revision=23201
2003-11-06 21:54:49 +00:00
e2881f6524 Fixes bug #49816
2003-10-27  Jeffrey Stedfast  <fejj@ximian.com>

	* Fixes bug #49816

	* em-popup.c (emp_part_popup_reply_sender): No need to pass a
	parent window arg anymore.
	(emp_part_popup_reply_list): Same.
	(emp_part_popup_reply_all): Here too.
	(emp_part_popup_forward): Same.
	(emp_uri_popup_address_send): Here too.

	* em-folder-browser.c (emfb_mail_compose): No need to pass a
	parent window arg anymore.
	(emfb_mail_post): Same.

	* em-folder-view.c (emfv_message_reply): Don't pass a parent
	window argument anymore.
	(emfv_popup_forward): Same.
	(emfv_popup_resend): Same here.
	(em_folder_view_open_selected): Same.
	(emfv_message_forward_attached): Here too.
	(emfv_message_forward_inline): And here.
	(emfv_message_forward_quoted): Same.
	(emfv_message_redirect): Here too.
	(emfv_message_post_reply): And here.
	(emfv_format_link_clicked): ANd finally here.

	* em-utils.c (create_new_composer): Don't set_transient_for()
	anymore.
	(em_utils_compose_new_message): No longer takes a parent window
	argument.
	(em_utils_forward_attached): No longer takes a parent window arg.
	(em_utils_forward_inline): Same.
	(em_utils_forward_quoted): Same.
	(em_utils_forward_message): Same.
	(em_utils_forward_messages): Here too.
	(redirect_get_composer): Don't set_transient_for() here either.
	(em_utils_redirect_message): No longer takes a parent window arg.
	(em_utils_redirect_message_by_uid): Same.
	(reply_get_composer): Don't set_transient_for() here.
	(em_utils_reply_to_message): No longer takes a parent window arg.
	(em_utils_reply_to_message_by_uid): Same.
	(post_reply_to_message): Don't set_transient_for() here.
	(em_utils_post_reply_to_message_by_uid): No longer takes a parent
	window arg.
	(em_utils_compose_new_message_with_mailto): Don't
	set_transient_for() here.
	(em_utils_post_to_url): Same.
	(em_utils_edit_message): No longer takes a parent window arg.
	(em_utils_edit_messages): Same.

svn path=/trunk/; revision=23092
2003-10-27 21:31:19 +00:00
3df2a75e72 Removed, use em_utils_selection_get_uidlist() instead. (drop_uid_list):
2003-10-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-component.c (parse_uid_list): Removed, use
	em_utils_selection_get_uidlist() instead.
	(drop_uid_list): Use em_utils_selection_get_uidlist() to parse the
	x-uid-list selection data and use mail_tool_uri_to_folder()
	directly since we have the uri (originally we expected the first
	component of the selection data to be the e-storage-set-view
	folder path rather than the uri).
	(folder_receive_drop_cb): Call gtk_drag_finish() here.

	* message-list.c: s/x-evolution-message/x-uid-list/

	* em-utils.c: Same.

svn path=/trunk/; revision=23004
2003-10-22 21:35:24 +00:00
0fb08f3ff8 Merge new-ui-branch to the trunk.
svn path=/trunk/; revision=22964
2003-10-21 18:28:34 +00:00
2a88606f5d updated for camel namespace changes
2003-09-18  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c: updated for camel namespace changes

	* em-folder-view.c: updated for camel namespace changes

	* em-format-html-display.c: updated for camel namespace changes

	* em-format-html-quote.c: updated for camel namespace changes

	* em-format.c: updated for camel namespace changes

	* em-popup.c: updated for camel namespace changes

	* em-utils.c: updated for camel namespace changes

	* mail-autofilter.c: updated for camel namespace changes

	* mail-ops.c: updated for camel namespace changes

	* mail-session.c: updated for camel namespace changes

	* message-list.c: updated for camel namespace changes

	* message-tag-followup.c: updated for camel namespace changes

	* importers/evolution-mbox-importer.c: updated for camel namespace
	changes

2003-09-18  Jeffrey Stedfast  <fejj@ximian.com>

	* em-popup.c (emp_standard_menu_factory): Don't forget to
	initialise/increment 'i' when using it as an object id in the
	for-loop.

	* em-format.c (em_format_format_text): Initialise charset to NULL
	or it may be used uninitialised. Also include
	gnome-vfs-mime-handlers.h for gnome_vfs_mime_type_get_description().

svn path=/trunk/; revision=22610
2003-09-18 17:05:23 +00:00
81a0ff5bc4 cvs removed.
2003-09-17  Not Zed  <NotZed@Ximian.com>

         * folder-browser.c, folder-browser.h, folder-browser-ui.c
         folder-browser-ui.h, mail-callbacks.c, mail-callbacks.h
         mail-display.c, mail-display.h, mail-display-stream.c
         mail-display-stream.h, mail-format.c, mail-format.h
         mail-identify.c, mail-search.c, mail-search.h
         message-browser.c, message-browser.h, subscribe-dialog.c
         subscribe-dialog.h, mail-font-prefs.c, mail-font-prefs.h: cvs
         removed.

        * Makefile.am: Removed mail-font-prefs.[ch], hasn't been built for
        ages.

        * em-*.c: killed a bunch of printfs.

        * em-format-html-display.c (efhd_html_button_press_event): update
        for html object api chagnes.

        ** Merge in mail-refactor-2 branch.

svn path=/trunk/; revision=22602
2003-09-17 21:19:04 +00:00