Commit Graph

1175 Commits

Author SHA1 Message Date
9c0138046b Make the transport save whether or not it's supposed to use SSL as well.
2001-03-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (mail_config_write): Make the transport save
	whether or not it's supposed to use SSL as well.
	(config_read): Read in whether or not we should remember the
	transport password (for those that support SASL).
	(mail_config_write): Save whether or not to save transport
	passwords (needed for SASL enabled transports).

svn path=/trunk/; revision=8649
2001-03-12 22:24:06 +00:00
1b9b476eac Instead of always creating a new vTrash folder, if the store already has a
2001-03-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (add_vtrash_info): Instead of always creating a new
	vTrash folder, if the store already has a Trash folder, replace it
	with the vTrash. Also, name the folder "Trash" instead of "vTrash"
	and i18nify the name.

svn path=/trunk/; revision=8644
2001-03-12 20:31:56 +00:00
f385c7c54a Added protection.
2001-03-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.h: Added protection.

	* folder-browser-factory.c: Add ActionsEmptyTrash. By the way -
	should we rename the bonobo verbs now that our menu structure has
	changed?

	* mail-callbacks.c (empty_trash): New callback to empty ALL of the
	trash folders.

svn path=/trunk/; revision=8633
2001-03-11 23:27:46 +00:00
21ab381600 Remove our X-Evolution header before we send. Also don't send messages
2001-03-10  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (send_queue_send): Remove our X-Evolution header
	before we send. Also don't send messages that are marked for
	deletion.

svn path=/trunk/; revision=8630
2001-03-11 20:18:56 +00:00
21a546759f Remove our X-Evolution header before we send.
2001-03-10  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (send_queue_send): Remove our X-Evolution header
	before we send.

svn path=/trunk/; revision=8625
2001-03-11 03:42:11 +00:00
b860bc0e2d New async function that will be used for SSL certs later.
2001-03-09  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-mt.c (mail_get_accept): New async function that will be
	used for SSL certs later.

	* session.c (auth_callback): Changed to return a gpointer value.
	(mail_session_accept_dialog): New function to handle the new
	_ACCEPT authenticator mode.

svn path=/trunk/; revision=8622
2001-03-10 00:14:11 +00:00
97a894dc7d Set the Forward->Quoted callback. Also set the forward->Attachment
2001-03-08  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser-factory.c: Set the Forward->Quoted callback.
	Also set the forward->Attachment callback.

	* mail-view.c (view_forward_msg): Specify FORWARD_ATTACHED.

	* mail-callbacks.c (forward_attached): Don't call
	forward_messages() anymore...never really needed to. Just handle
	it directly.
	(forward_inlined): Specify FORWARD_INLINE as the flag argument.
	(forward_quoted): New function sorta like forward_inlined except
	this forwards the message quoted.

	* mail-tools.c (mail_tool_forward_message): New function to
	prepare a message to be forwarded.

svn path=/trunk/; revision=8611
2001-03-09 00:43:35 +00:00
afe6fc18fc Switched to use e_contact_quick_add_free_form. Removed debugging code,
2001-03-08  Jon Trowbridge  <trow@ximian.com>

	* gui/component/select-names/e-select-names-popup.c
	(quick_add_cb): Switched to use e_contact_quick_add_free_form.
	Removed debugging code, hopefully without introducing any bugs
	in the process.

	* gui/component/select-names/e-select-names-text-model.c
	(e_select_names_text_model_insert_length): Fix bug with commas
	inside of name/address combos.  As long as the comma is inside of
	quotes, it will be treated as part of the name rather than as a
	break between addresses.

	* gui/component/select-names/e-select-names-completion.c
	(match_nickname): Use e_card_name_to_string for nickname match
	strings.
	(match_email): Use e_card_name_to_string for email match strings.
	(e_select_names_completion_begin): Strip quotes out of query text,
	so we don't produce malformed sexps.
	Added William Blake quote easter egg.

	* contact-editor/e-contact-quick-add.c: Further attempts to fix...
	mostly unsuccessful.
	(e_contact_quick_add_free_form): Added.  Takes a single string
	and tries to parse out (using some simple, loose rules) the
	name and e-mail -- then calls e_contact_quick_add.  An attempt to
	get the computer to automatically Do The Right Thing.

	* backend/ebook/e-book.c: Fixed some broken indentation.  Yes, I'm
	anal.

	* gui/component/GNOME_Evolution_Addressbook.oafinfo: Added oaf_server
	info for EAddressWidget.

	* gui/component/GNOME_Evolution_Addressbook.oaf.in: Added oaf_server
	info for EAddressWidget.

	* gui/component/addressbook-factory.c (main): Add call to
	e_address_widget_factory_init.

	* gui/component/e-address-widget.h:
	* gui/component/e-address-widget.c: Added.  A little widget (and a
	Bonobo control, BTW) for displaying addresses, with a left-click
	menu.  Used to display addresses in the mail viewer (as embedded
	GtkHTML objects, replacing the text previously used).  Still quite
	incomplete.


2001-03-08  Jon Trowbridge  <trow@ximian.com>

	* mail-format.c (write_field_row_begin): Added.  Table row HTML
	broken out into its own function.
	(write_subject): Added.  Emits the proper HTML for the subject
	line.
	(write_field_to_stream): #ifdef-ed out of existence.
	(write_address): Take a CamelInternetAddress and spit out an
	<object> tag with the appropriate <param>s.

	* mail-display.c (on_object_requested): Check for an "address"
	object.  If found, call...
	(handle_embedded_address_object): ...this function, which creates
	an AddressWidget bonobo control and passes in the necessary info.
	I never really realized just quite how much GtkHTML kicks ass
	until I figured out how to make this work.

svn path=/trunk/; revision=8607
2001-03-08 23:15:20 +00:00
9bc3b7b037 Removed from cvs
2001-03-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-vtrash.[c,h]: Removed from cvs

	* Makefile.am: Removed mail-vtrash.[c,h]

	* main.c: Don't #include "mail-vtrash" anymore.

	* component-factory.c: Add "vtrash" as a folder type we support.
	(create_view): Kludgy-kludge around the vtrash type.
	(owner_set_cb): Don't create the vTrash folder here anymore...

	* folder-browser.c (on_double_click): Call open_msg here so that
	it does the Right Thing (tm).

svn path=/trunk/; revision=8604
2001-03-08 22:46:58 +00:00
c64038a75a Add "vtrash" as a folder type we support. (create_view): Kludgy-kludge
2001-03-08  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c: Add "vtrash" as a folder type we support.
	(create_view): Kludgy-kludge around the vtrash type.
	(owner_set_cb): Don't create the vTrash folder here anymore...

svn path=/trunk/; revision=8603
2001-03-08 22:42:53 +00:00
b55ef8b523 Call open_msg here so that it does the Right Thing (tm).
2001-03-08  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (on_double_click): Call open_msg here so that
	it does the Right Thing (tm).

svn path=/trunk/; revision=8600
2001-03-08 21:52:27 +00:00
8632f73b6f Override the default init_trash() with the our custom one (since
2001-03-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-local.c (mail_local_store_class_init): Override the default
	init_trash() with the our custom one (since MailLocalStore doesn't
	let the CamelStore keep a hash of opened folders and instead
	keepts track of them itself).
	(init_trash): custom implementation of the init_trash method for
	MailLocalStores
	(get_folder): i18nize.
	(register_folder_registered): Don't add the folder to the vtrash
	here.

svn path=/trunk/; revision=8596
2001-03-08 21:09:42 +00:00
9618cd2cb6 Added a ShellComponent method to retrieve the selection for drag and
drop and support for it in the shell.  Untested.

svn path=/trunk/; revision=8594
2001-03-08 12:55:05 +00:00
86957c92f8 Add an action-part widget. (filter_rule_from_mlist): Same here. This
2001-03-07  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-autofilter.c (filter_rule_from_message): Add an action-part
	widget.
	(filter_rule_from_mlist): Same here. This should get rid of the
	problem where people go to create a rule based on a message and
	forget to fill-in the action part.

svn path=/trunk/; revision=8586
2001-03-07 21:42:17 +00:00
ae05d707ad New function to decide if a mime part is an S/MIME v3 signed part.
2001-03-07  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-crypto.c (mail_crypto_is_smime_v3_signed): New function to
	decide if a mime part is an S/MIME v3 signed part.
	(mail_crypto_is_pkcs7_mime): New function to decide if a mime part
	is an application/pkcs7-mime part (or an application/octet-stream
	part with application/pkcs7-mime data).

svn path=/trunk/; revision=8578
2001-03-07 06:37:18 +00:00
53af5692df Move the signal emittion to after the set_menu call so that it actually
2001-03-07  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-editor.c (source_auth_init): Move the signal
	emittion to after the set_menu call so that it actually works.
	(transport_type_changed): Updated to manipulate the user/passwd
	fields for the transport.
	(construct): Updated to init the user/passwd fields for the
	transport.
	(transport_auth_init): Renamed. Also fill in the user/passwd
	fields if available.

svn path=/trunk/; revision=8577
2001-03-07 05:07:32 +00:00
ad3025ac3d uh, emacs said it didn't save this
svn path=/trunk/; revision=8576
2001-03-07 01:55:41 +00:00
f795b74c58 Disable the NNTP code if NNTP is not enabled. This prevents some runtime
2001-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (construct): Disable the NNTP code if NNTP is
	not enabled. This prevents some runtime warnings...

	* mail-config-druid.c: Updated to have a transport auth page.

svn path=/trunk/; revision=8575
2001-03-07 01:55:15 +00:00
a5f1eab950 Updated to have a transport auth page.
2001-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config-druid.c: Updated to have a transport auth page.

svn path=/trunk/; revision=8574
2001-03-07 01:50:55 +00:00
789ed9286e Reorganize the menus to have entries always in a consistent fashion, as
2001-02-27  Miguel de Icaza  <miguel@ximian.com>

	* gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize
	the menus to have entries always in a consistent fashion, as
	reported to the genepool mailing list.
	(e_day_view_on_event_right_click): Added a FIXME comment to the
	FIXME comment without a FIXME.

	Now we use e_popup_menu.  This allows us to hide/show items on
	demand, and to sensitize/de-sensitize items depending on their
	state.

	This will also let us add icon support (when we get nice icons for
	this)

	* gui/e-week-view.c (e_week_view_show_popup_menu): Ditto.

	The files popup-menu.c and popup-menu.h can now be removed.
2001-03-01  Miguel de Icaza  <miguel@ximian.com>

	* folder-browser.c (on_right_click):  Move the context menus to
	the toplevel code;  Use enumerations for the various bitfield
	constants.

	Add support for hiding items that are not required (read/unread
	and delete/undelete).

	This requires my previous patch, as it assumes "Open" does the
	right thing instead of having two operations: Open and Edit.

2001-02-28  Miguel de Icaza  <miguel@ximian.com>

	* folder-browser.c (on_right_click): Removed draft folders op
	here, since open_msg now does the right thing (edit or view).

	* folder-browser-factory.c (update_pixmaps): Removed MessageEdit
	from here.

	* mail-callbacks.c (open_msg): New function, does the "right
	thing" to a message (either, edit or open).

	* folder-browser-factory.c: Register new command here.
	(update_pixmaps): Rename keys that have been shuffled around.
	(update_pixmaps): Rename to match new updates on xml file.

	Rename MessageOpenNewWindow to MessageOpen.  Change action from
	"view_message" to "open_message".

	* mail-callbacks.c (mark_all_as_seen): New command.  Marks all
	messages as seen.
2001-03-06  Miguel de Icaza  <miguel@ximian.com>

	* evolution-tasks.xml: Added "File/New/Task" as well.

	* evolution-mail.xml: Added "File/New/Mail Message" at the top
	with binding C-n.

	* evolution-calendar.xml: Set the binding for New Appointment to C-n

	* evolution-contact-editor.xml: Set the toolbar to hlook=text
	vlook=icon;  Set all icons priority-text to 1.

	* evolution-addressbook.xml: Added "Contact" to the New menu.

	* evolution.xml: Provide an entry point to put "New" items on the
	first level.

	We are going to need some Bonobo support to "hide" objects when
	other objects appear (like, having Mail Message bound to C-S-X in
	the global space, and when we switch to Mail, we only show the
	entry that has C-n as the binding).

2001-02-28  Miguel de Icaza  <miguel@ximian.com>

	* evolution.xml: Moved Importer after the Folder operations per
	Dan's proposal.

	* evolution-addressbook.xml: Renamed Settings/AddressBook
	Configuration to Tools/Settings.

	Make all the items have "Print" items that use the same icon
	instead of a collection of icons.

	* evolution-calendar.xml: Moved "Calendar Preferences" from
	"Settings" to "Tools/Settings".

	* evolution-mail.xml: Settings menu is fully gone.  All things
	that run a dialog now end up in "Tools" while actions end up in
	"Actions".  Hence I am right.

	Renamed "Mail Configuration..." to "Identieies and Servers"

	Move MessageMarkAsRead, MessageMarkAsUnRead
	to Edit menu.  Add MessageMarkAllAsRead.

	Remove "Print Message" from Message menu.  Remove "Print Preview
	Message" from Message menu.  Leave them on the "File" menu.

	Renamed "Reply to Sender" to "Reply" (awaiting Ettore's
	permission).

	Renamed "Messages" to "Actions".

	Open Message renamed to "Open Selected Items" (as this is what it
	actually does).

	Moved "Save Message As" to "File" menu.

	Added "Properties" to the File/Folder submenu.

	Edit menu now looks like this: Message Move, Message Copy, Select
	All, Invert Selection, Delete, Undelete, Mark as Read, Mark as
	Unread.  Some of them were moved from the "Messages" menu.

	"Forward message" shortcut changed to C-f

	Tools menu created.

	Create Rule From message moved to "Tools".

	* evolution.xml: Added Tools menu.  Moved Edit/Customize to
	Tools/Customize Toolbar.

	Added File/Folder submenu.  Duplicate "New Folder" in here.

2001-02-28  Miguel de Icaza  <miguel@ximian.com>

	* menus/gal-view-menus.c (build_menus): Add translation string
	here.

svn path=/trunk/; revision=8572
2001-03-06 21:08:56 +00:00
e5fbbdf9c1 If the folderinfo has no URL (ie, can't contain messages), don't add it as
* mail-ops.c (get_folderinfo_got): If the folderinfo has no URL
	(ie, can't contain messages), don't add it as a vtrash source.

svn path=/trunk/; revision=8569
2001-03-06 17:20:51 +00:00
944083d8b9 Don't access the active data member of a GtkToggleButton directly - bad
2001-03-05  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config-druid.c: Don't access the `active` data member of a
	GtkToggleButton directly - bad programming, shame on me.

	* mail-account-editor.c: Same here.

	* mail-accounts.c: And here too.

	* mail-callbacks.c (empty_subject_destroyed): And finally here.

	* mail-crypto.c (pgp_mime_part_sign): Correcty set the mime type
	for the multipart. Hmmm, still doesn't wrap correctly. NotZed?
	Ideas?
	(pgp_mime_part_encrypt): Here too.

svn path=/trunk/; revision=8560
2001-03-05 18:25:51 +00:00
6daf98ee0a Correcty set the mime type for the multipart. Hmmm, still doesn't wrap
2001-03-05  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-crypto.c (pgp_mime_part_sign): Correcty set the mime type
	for the multipart. Hmmm, still doesn't wrap correctly. NotZed?
	Ideas?
	(pgp_mime_part_encrypt): Here too.

svn path=/trunk/; revision=8559
2001-03-05 17:47:01 +00:00
2de08e6b9a Remove very old camel lock stuff.
2001-03-03  Not Zed  <NotZed@Ximian.com>

        * mail-tools.c: Remove very old camel lock stuff.

        * mail-local.c (register_folder_registered): Add the local folder
        as a potential vfolder source.

        * folder-browser.c (got_folder): When we have a new folder,
        register it as a potential vfolder source.

        * mail-vfolder.c: Added the source rule to the vfolder_info.
        (vfolder_refresh): Store the rule in the vfolder info, etc.
        (vfolder_register_source): Function to register a newly opened
        folder with us.
        (vfolder_uri_to_folder): Save the folder in the vfolder_info too.
        (source_finalise): Handle clenaup when the folder dies.

svn path=/trunk/; revision=8534
2001-03-02 23:39:39 +00:00
63145be20b Check the container is not NIL before trying to set thje prop.
2001-03-02  Not Zed  <NotZed@Ximian.com>

        * mail-mt.c (set_stop): Check the container is not NIL before
        trying to set thje prop.

svn path=/trunk/; revision=8449
2001-03-01 17:10:50 +00:00
f01589262c Fixes for changes to search bar. (search_save): Removed. (search_full):
2001-03-01  Not Zed  <NotZed@Ximian.com>

        * folder-browser.c (folder_browser_search_menu_activated): Fixes
        for changes to search bar.
        (search_save): Removed.
        (search_full): Removed.
        (search_full_clicked): Removed.
        (folder_browser_search_option_items[]): Removed.
        (folder_browser_search_query_changed): Changed for search bar
        changes.
        (folder_browser_clear_search): Removed.

        * mail-vfolder.c (vfolder_clone_rule): New function to clone a
        filter/search rule into a matching vfolder rule.

        * mail-send-recv.c (mail_receive_uri): Setup a timeout for status
        updates.
        (build_dialogue): Setup timeout id for status updates.
        (operation_status_timeout): New function to set the status via a
        timeout.
        (receive_done): Remove the timeout handler if we need to.
        (operation_status):
        (receive_status): Just update the info, and let the timeout
        handler update the gui.
        (do_free_status):
        (do_show_status): Removed gui thread status message processing.

2001-02-28  Not Zed  <NotZed@Ximian.com>

        * folder-browser.c (folder_browser_config_search): New function to
        configure the FilterRule for the search mechanism.

2001-02-27  Not Zed  <NotZed@Ximian.com>

        * folder-browser.c (folder_browser_gui_init): Setup the search bar
        as a filterbar.
        (got_folder): Set the whole search bar sensitive or not based on
        the search capability of the folder.

        * folder-browser.h: Changed to use efilterbar instead of esearchbar.

svn path=/trunk/; revision=8438
2001-03-01 00:58:16 +00:00
6ac358e98e Return TRUE if the user configured his/her settings, else return FALSE.
2001-02-27  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (configure_mail): Return TRUE if the user
	configured his/her settings, else return FALSE.
	(check_send_configuration): If configure_mail() returns TRUE, then
	continue otherwise quit.
	(send_receive_mail): Same.

svn path=/trunk/; revision=8407
2001-02-27 19:58:48 +00:00
6d37236475 Set a "References" header no matter what if we are able to get a
2001-02-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (mail_generate_reply): Set a "References"
	header no matter what if we are able to get a Message-Id. Fixes
	bug #1583.

	* mail-accounts.c (mail_delete): Confirm that the user REALLY
	wants to delete this account.
	(news_delete): Same.

	* mail-ops.c (mail_send_message): Changed the product string -
	will change it to use User-Agent once I get the RFC/DRUMS draft or
	whatever. Until then I'll stick with User-Agent.

svn path=/trunk/; revision=8399
2001-02-27 02:59:48 +00:00
5b1ec21060 Confirm thatt he user REALLY wants to delete this account. (news_delete):
2001-02-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (mail_delete): Confirm thatt he user REALLY
	wants to delete this account.
	(news_delete): Same.

svn path=/trunk/; revision=8398
2001-02-26 22:57:35 +00:00
b0b0cfe95d Changed the product string - will change it to use User-Agent once I get
2001-02-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (mail_send_message): Changed the product string -
	will change it to use User-Agent once I get the RFC/DRUMS draft or
	whatever. Until then I'll stick with User-Agent.

svn path=/trunk/; revision=8395
2001-02-26 20:40:36 +00:00
43f2a52819 Mark deleted messages as "seen" as well so they don't count towards the
* mail-callbacks.c (delete_msg): Mark deleted messages as "seen"
	as well so they don't count towards the unread count.

	* mail-view.c (view_delete_msg): ditto

svn path=/trunk/; revision=8392
2001-02-26 19:51:15 +00:00
1aba985def Re-add the mail_vtrash_create() hack back in for LocalStores since there's
2001-02-25  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (owner_set_cb): Re-add the
	mail_vtrash_create() hack back in for LocalStores since there's no
	better way to register a vTrash folder on the Local Storage yet.

	* mail-local.c (register_folder_registered): Add folders to the
	vTrash folder here since the LocalStore does not let the parent
	CamelStore class keep it's own hash of the folders.

svn path=/trunk/; revision=8391
2001-02-26 17:35:53 +00:00
4b098b1a42 New function to force the removal of a given password.
2001-02-25  Jeffrey Stedfast  <fejj@ximian.com>

	* session.c (mail_session_forget_password): New function to force
	the removal of a given password.

	* openpgp-utils.c (openpgp_decrypt): On failure, forget the
	passphrase.
	(openpgp_encrypt): Here too. (cleaned this up a bit too)
	(openpgp_clearsign): And here.
	(openpgp_sign): Again...

svn path=/trunk/; revision=8390
2001-02-26 01:39:11 +00:00
42904d7993 Abort if the message is NULL (which is valid if an error occured).
2001-02-25  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (composer_postpone_cb): Abort if the message is
	NULL (which is valid if an error occured).
	(composer_send_cb): Same.

svn path=/trunk/; revision=8389
2001-02-26 00:00:32 +00:00
1f84ac2916 Toss the mail_tool_camel_lock* stuff. Same. Here too.
2001-02-24  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c: Toss the mail_tool_camel_lock* stuff.
	* mail-ops.c: Same.
	* mail-summary.c: Here too.

	* mail-tools.c (mail_tool_uri_to_folder_noex): Blown away!
	(mail_tool_filter_get_folder_func): *kapoosh*
	(mail_tool_camel_lock_up): Same.
	(mail_tool_camel_lock_down): Same.
	(mail_tool_set_uid_flags): Don't need this rubbish anymore either.

svn path=/trunk/; revision=8384
2001-02-24 21:57:23 +00:00
195538dcea This is a text file containing C source code that will eventually be an intelligent netscape importer.
Work in Progress. Nothing to see here.

svn path=/trunk/; revision=8383
2001-02-24 20:47:16 +00:00
0ce50d4fdc No longer need to construct the vTrash here. (owner_set_cb): Don't make
2001-02-24  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (mail_load_storages): No longer need to
	construct the vTrash here.
	(owner_set_cb): Don't make the vTrash for the local store here.

	* mail-ops.c (add_vtrash_info): New function to add a vTrash
	folder info to a pre-constructed CamelFolderInfo for use in the
	get_folder_info async function.

svn path=/trunk/; revision=8381
2001-02-24 20:08:43 +00:00
ac97d963b0 No longer need to do a vtrash_cleanup() (it also doesn't exist anymore).
2001-02-23  Jeffrey Stedfast  <fejj@ximian.com>

	* main.c (main): No longer need to do a vtrash_cleanup() (it also
	doesn't exist anymore).

	* component-factory.c (mail_load_storages): Updated to use the new
	vtrash code.
	(owner_set_cb): Same.

	* mail-tools.c (mail_tool_uri_to_folder): Update to handle the
	"vtrash:" url prefix so that we can extract the REAL uri and know
	to get the trash folder.

	* mail-vtrash.c (mail_vtrash_add): Add the vTrash folder to the
	EvolutionStorage.
	(mail_vtrash_create): Get the store based on the uri (async) and
	then call mail_trash_add.
	(vtrash_cleanup): Removed.
	(vtrash_uri_to_folder): Removed.
	(vtrash_create): Replaced by mail_vtrash_create()

svn path=/trunk/; revision=8367
2001-02-23 16:51:45 +00:00
7658347dd9 New stuff for the importer to create a new folder
svn path=/trunk/; revision=8365
2001-02-23 07:13:17 +00:00
d18b6e79f1 Come up with a unique store uri for each vtrash (using %p and the
2001-02-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-vtrash.c (create_trash_vfolder): Come up with a unique
	store uri for each vtrash (using %p and the CamelStore we're gonna
	place it on).
	(get_trash_get): Pass in the store so we can use it for %p.

svn path=/trunk/; revision=8363
2001-02-23 02:40:09 +00:00
5c9c2f33b9 vfolder/filter on mailing list. Doesn't acutally work right yet.
* mail-vfolder.c (vfolder_gui_add_from_mlist): Rule to add mlist
	vfolder.

	* mail-autofilter.c (filter_gui_add_for_mailing_list): Removed.
	(rule_from_mlist): Build a generic match rule from an mlist.
	(vfolder_rule_from_mlist): Setup the vfolder rule for an mlist.
	(filter_rule_from_mlist): Setup a filter rule fro an mlist.
	(filter_gui_add_from_mlist): GUI thingy to do the work.

	* folder-browser.c (on_right_click): Added vfolder on mailing list
	to filter menu.
	(on_right_click): Use header_raw_check_mailign_list instead of
	mlist magic to get the mailing list name.
	(filter_mlist): Changed to use new add_from_mlist() call.
	(vfolder_mlist): New function for vfolder from mlist.

svn path=/trunk/; revision=8358
2001-02-23 00:31:23 +00:00
0af3e54520 Only allow downloading if the source is enabled at this time.
2001-02-23  Not Zed  <NotZed@Ximian.com>

	* mail-send-recv.c (build_dialogue): Only allow downloading if the
	source is enabled at this time.
	(mail_autoreceive_setup): Check for enabled sources before setting
	up autodownload.

	* mail-vtrash.c
	(get_trash_free): Free store if we have it.
	(get_trash_got): Move vtrash add into here, so we execute in the
	right thread.

svn path=/trunk/; revision=8354
2001-02-22 23:25:40 +00:00
7cf1665ab8 Construct the PGP Path GnomeFileEntry widget. (pgp_path_changed): Try to
2001-02-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (construct): Construct the PGP Path
	GnomeFileEntry widget.
	(pgp_path_changed): Try to auto-detect which PGP type the binary
	file is based on the basename (yuck).

svn path=/trunk/; revision=8353
2001-02-22 23:09:16 +00:00
351903ad90 Make op cancellable/report internals. (get_folder_get):
2001-02-23  Not Zed  <NotZed@Ximian.com>

        * mail-ops.c (create_folder_get): Make op cancellable/report
        internals.
        (get_folder_get):
        (sync_folder_sync):
        (get_folderinfo_get): Make op cancellable/report internals.

        * mail-vtrash.c (get_trash_get): Setup the operation registration,
        and create a pseudo "start/stop" operation.

        * component-factory.c (owner_set_cb): Make trash creation async.

        * mail-local.c (register_folder_desc): A description of what we're
        doing.

        * mail-mt.c (mail_msg_new): Set status callback to operation_new.
        (mail_operation_status): Operation status function, proxy messages
        to main thread, and attempt to present a meaningful ui experience
        for operations.

svn path=/trunk/; revision=8351
2001-02-22 22:27:40 +00:00
e939da9df4 Fixed memory corruption bug.
2001-02-22  Jeffrey Stedfast  <fejj@ximian.com>

	* openpgp-utils.c (openpgp_verify): Fixed memory corruption bug.

	* mail-format.c (try_inline_pgp_sig): Check to make sure the
	validity isn't NULL.
	(handle_multipart_signed): Check for NULL validities.

2001-02-21  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-tools.c (mail_tool_uri_to_folder): Protect against NULL
	uri's.

	* mail-vtrash.c: Do mutex locking on the global hash table - this
	should clear up some segfaults ;-)

	* mail-config-druid.c (druid_finish): Set the 'enabled' member of
	the source to TRUE if the URL exists else set to FALSE.
	(incoming_type_changed): If the provider chosen is "None" then
	gray-out the auto-check widgets and the check-settings, otherwise
	sensitize them.

	* mail-account-editor.c (construct): Added a few more settings.
	(apply_changes): Save the new settings.

	* mail-config.c (service_copy): Updated.
	(config_read): Read in whether or not the account is enabled.
	(mail_config_write): Save if the account is enabled or not.

svn path=/trunk/; revision=8349
2001-02-22 21:40:26 +00:00
473ffc5eee Updated to reflect changes to the filter-driver code.
2001-02-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (mail_send_message): Updated to reflect changes to
	the filter-driver code.

svn path=/trunk/; revision=8347
2001-02-22 16:31:31 +00:00
8f53c2bcee Removed, no longer link with libcamelvee. (evolution_mail_LDADD): Ditto.
2001-02-22  Not Zed  <NotZed@Ximian.com>

        * Makefile.am (CAMEL_OBJS_EXTRA): Removed, no longer link with
        libcamelvee.
        (evolution_mail_LDADD): Ditto.

        * mail-vtrash.c: Moved camel-vee-store header ot camel levle.

        * mail-tools.c: Moved camel-vee-folder header to camel.

svn path=/trunk/; revision=8341
2001-02-21 20:30:50 +00:00
3d924d9972 started hack for progress reporting, which is currently to the console.
2001-02-22  Not Zed  <NotZed@Ximian.com>

        * mail-local.c (local_storage_new_folder_cb): started hack for
        progress reporting, which is currently to the console.

        * mail-mt.c (set_stop): Set the stop button sensitivity.
        (mail_msg_received): enable/disable stop button while we're
        processing stuff in another thread.

        * message-list.c (ml_tree_value_at): If our uid entry vanishes
        before w'ere ready, then make a fake.

svn path=/trunk/; revision=8338
2001-02-21 20:13:07 +00:00
8738bf7aff Changed to use PgpValidity.
2001-02-21  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-crypto.c (pgp_mime_part_verify): Changed to use
	PgpValidity.

	* openpgp-utils.c (openpgp_verify): Return a PgpValidity and set
	the description as UTF-8 for later use in mail-format.c when
	writing to GtkHTML.

	* mail-format.c (try_inline_pgp_sig): Updated to use the new
	PgpValidity code.
	(handle_multipart_signed): Updated.

svn path=/trunk/; revision=8320
2001-02-21 17:24:13 +00:00
0f2a13586b Fix for api changes to append_mail.
2001-02-21  Not Zed  <NotZed@Ximian.com>

        * mail-callbacks.c (composer_postpone_cb): Fix for api changes to
        append_mail.

        * Makefile.am (evolution_mail_SOURCES): Removed mail-threads.[ch].

        * mail-threads.[ch]: Removed.

        * subscribe-dialog.c (subscribe_do_get_store): Chagned to use new
        thread stuff.  This is really getting boring.
        (subscribe_do_subscribe_folder): Changed to use new thread stuff.
        Last one at last, phew.

        * session.c (register_callback): Changed to use new thread stuff.
        YUCK.  I dropped some functionality, now the timeout callback
        return is ignored, so basically it keeps running till finished.

        * mail-ops.c (mail_operation_run): Removed, no longer used/needed.
        (mail_do_append_mail): Changed to use new thread stuff.
        (mail_do_transfer_messages): ditto.

        * mail-local.c (local_storage_new_folder_cb): Use new thread
        stuff, also only run synchronous for this operation.
        (mail_local_reconfigure_folder):
        (reconfigure_clicked): Changed to use new mail thread stuff.

        * mail-config.c (mail_config_check_service): Changed to use new
        thread stuff.

svn path=/trunk/; revision=8314
2001-02-21 02:19:26 +00:00