Commit Graph

2026 Commits

Author SHA1 Message Date
18dab3abfd Don't make the mail settings dialog modal.
2001-10-18  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (providers_config): Don't make the mail
	settings dialog modal.

svn path=/trunk/; revision=13780
2001-10-19 00:25:06 +00:00
cb0ed21028 Fix the WM problems related to the folder selection dialog being
out-of-proc.  Now it can be set to be a transient window correctly,
and fakes its WindowGroup hint appropriately.

svn path=/trunk/; revision=13765
2001-10-18 19:58:22 +00:00
8
02f36a07f6 call setup_send_data *after* we've setup the global dialogue thingy.
2001-10-18    <NotZed@Ximian.com>

        * mail-send-recv.c (build_dialogue): call setup_send_data *after*
        we've setup the global dialogue thingy.
        (mail_send_receive): Instead of using static local to check for
        re-running of dialogue, use a global, setup by build_dialogue.
        These fix #12335.
        (mail_send_receive): Dont assert dialogue is realized, it might
        still be being built, so only show if it is realized.

svn path=/trunk/; revision=13764
2001-10-18 19:55:02 +00:00
72edd88061 change va_copy to G_VA_COPY
svn path=/trunk/; revision=13753
2001-10-18 17:30:04 +00:00
40964e5ccc Use va_copy to make this compile on ppc again.
* mail-mt.c (mail_call_main): Use va_copy to make this compile on
	ppc again.

svn path=/trunk/; revision=13749
2001-10-18 17:00:37 +00:00
7
a31ef049c0 Clone the folderinfo before passing to async event. (real_folder_created):
2001-10-17    <NotZed@Ximian.com>

        * mail-folder-cache.c (store_folder_subscribed): Clone the
        folderinfo before passing to async event.
        (real_folder_created): Free when done.
        (store_folder_unsubscribed):
        (real_folder_deleted): And same here.

        * mail-ops.c (mail_expunge_folder): Use the queued thread for
        expunging folders.

svn path=/trunk/; revision=13741
2001-10-17 22:45:18 +00:00
e255938fa3 No longer need to copy the description now that camel-exceptions have been
2001-10-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (mail_send_message): No longer need to copy the
	description now that camel-exceptions have been fixed.

svn path=/trunk/; revision=13738
2001-10-17 22:19:14 +00:00
cf1d544b10 Helper macro.
2001-10-17  Jeffrey Stedfast  <fejj@ximian.com>

	* subscribe-dialog.h (subscribe_dialog_show): Helper macro.

	* subscribe-dialog.c (subscribe_dialog_run_and_close): Removed.

	* mail-callbacks.c (check_send_configuration): Don't use
	gnome_dialog_run_and_close() here, we can easily get away with
	just using a gtk_widget_show().
	(providers_config): Don't use a gnome_dialog_run_and_close() here
	either. No longer need to use e_gnome_dialog utils.
	(manage_subscriptions): Don't run_and_close().

svn path=/trunk/; revision=13732
2001-10-17 20:50:00 +00:00
ff5c5f8970 Don't use gnome_dialog_run_and_close() here, we can easily get away with
2001-10-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (check_send_configuration): Don't use
	gnome_dialog_run_and_close() here, we can easily get away with
	just using a gtk_widget_show().
	(providers_config): Don't use a gnome_dialog_run_and_close() here
	either.

svn path=/trunk/; revision=13727
2001-10-17 18:36:23 +00:00
7
f889afd350 Only empty trash on enabled accounts, fixes #12821.
2001-10-17    <NotZed@Ximian.com>

	* mail-callbacks.c (empty_trash): Only empty trash on enabled
	accounts, fixes #12821.

svn path=/trunk/; revision=13724
2001-10-17 16:14:05 +00:00
ee6a2b01f9 Make Reply-To bold too since no one ever figures out why it's not
* mail-format.c (write_default_header): Make Reply-To bold too
	since no one ever figures out why it's not currently.

svn path=/trunk/; revision=13723
2001-10-17 16:08:54 +00:00
a8fc074062 Fix typo
svn path=/trunk/; revision=13718
2001-10-17 05:33:57 +00:00
71259e7251 Lets put the UID cache in ~/evolution/mail/pop3 as this makes more sense
2001-10-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (uid_cachename_hack): Lets put the UID cache in
	~/evolution/mail/pop3 as this makes more sense than ~/mail/config
	does. Perform checking to see what flavor cache-path the user is
	on and compensate.

svn path=/trunk/; revision=13708
2001-10-16 22:06:01 +00:00
700863d703 Check that the cursor_uid is non-NULL before emitting a "message_selected"
2001-10-16  Jeffrey Stedfast  <fejj@ximian.com>

	* message-list.c (on_cursor_activated_idle): Check that the
	cursor_uid is non-NULL before emitting a "message_selected"
	signal. Fixes bug #6015.

svn path=/trunk/; revision=13706
2001-10-16 21:35:13 +00:00
1ff31661d8 Always explicitly clear out the SearchInfo.
2001-10-16  Jon Trowbridge  <trow@ximian.com>

	* e-searching-tokenizer.c (e_searching_tokenizer_begin): Always
	explicitly clear out the SearchInfo.

svn path=/trunk/; revision=13704
2001-10-16 20:56:21 +00:00
7abc9f6ba2 folder-browser.c: (folder_browser_set_message_preview): Return do nothing
folder-browser.c:
	(folder_browser_set_message_preview): Return do nothing if we're
	destroyed (message_list == NULL).
	(folder_browser_search_query_changed): "
	(folder_browser_toggle_preview): "
	(folder_browser_toggle_threads): "
	(folder_browser_toggle_hide_deleted): "
	(folder_browser_set_message_display_style): "
	(folder_browser_charset_changed): "   All for #12613.

svn path=/trunk/; revision=13703
2001-10-16 20:51:32 +00:00
8c85ed61ba Added an async_event handler to store_info. (mail_note_store): Setup async
* mail-folder-cache.c: Added an async_event handler to store_info.
	(mail_note_store): Setup async event handler here.
	(store_finalised): Flush out async events here.
	(folder_changed): Use async event handler to emit event.
	(mail_note_folder): Chagned, do most of the work in the calling
	context, only do the corba stuff in main.
	(store_folder_subscribed): Use async event, and do more work locally.
	(store_folder_unsubscribed): Same.
	(store_folder_deleted): Call store_folder_unsubscribed if we have
	to do any work.
	(store_folder_created): Call store_folder_subscribed if we have to
	do any work.
	(store_folder_unsubscribed): Ref store while busy.
	(real_folder_deleted): And unref here.
	(store_folder_subscribed): Reg store while busy.
	(real_folder_created): Unref here.
	(mail_note_folder): Ref folder while busy.
	(real_note_folder): And unref here.
	(mail_note_folder): Hook onto folder_deleted event.
	(folder_deleted): Just mark this folder as no longer available.

	* mail-session.c (register_timeout): Use mail_call_main instead of
	proxy_event.
	(remove_timeout): Same here.

	* folder-browser.c (folder_changed): use the new mail_async_event
	stuff.
	(folder_changed_main): Remove old async event handling stuff.
	(FOLDER_BROWSER_LOCK/UNLOCK): Removed.
	(FolderBrowserPrivate): Removed too, sigh.

	* mail-mt.c (mail_async_event_new, mail_async_event_emit,
	mail_async_event_destroy): New functions to handle async events.
	(mail_proxy_event, mail_proxy_event_id): Removed old functions for
	async events.
	(do_call): Add suport for MAIL_CALL_p_pp.
	(mail_msg_free): Use mail_async_event instead of proxy_event.

	* message-list.c (message_changed): Promote the message_changed to
	a folder_changed and use main_folder_changed to process it.
	(main_message_changed): Remove.d
	(message_list_init): Setup async event handler.
	(message_list_destroy): Remove async handler.
	(folder_changed): Use async hanler to emit event in main loop.
	(message_changed): Same.

svn path=/trunk/; revision=13698
2001-10-16 19:13:31 +00:00
6
41802db263 New function to return the id of the currently executing proxied event.
2001-10-16    <NotZed@Ximian.com>

	* mail-mt.c (mail_proxy_event_id): New function to return the id
	of the currently executing proxied event.

	* folder-browser.h: Added private field.

	* folder-browser.c (folder_changed): Keep track of tasks
	outstanding in the tasks list, locked access.
	(FOLDER_BROWSER_LOCK, UNLOCK): Macros to lock the folder browser
	for poking about in diff threads.
	(folder_browser_finalise): Wait for any outstanding takss to
	finish before cleaning ourself up.
	(folder_browser_destroy): Move the seen_id handling to finalise,
	also add a loading_id handling code.
	(main_folder_changed): Remove our running task when done.

svn path=/trunk/; revision=13695
2001-10-16 17:34:59 +00:00
c886f7d8bc don't write strings longer than they actually are.
2001-10-15  Larry Ewing  <lewing@ximian.com>

	* mail-display.c (mail_error_write): don't write strings longer
	than they actually are.

svn path=/trunk/; revision=13693
2001-10-16 01:59:34 +00:00
4bcda57628 Remove the mark_seen timeout.
2001-10-15  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (folder_browser_destroy): Remove the mark_seen
	timeout.

svn path=/trunk/; revision=13689
2001-10-15 23:12:29 +00:00
cd0111464f conflict droppings
svn path=/trunk/; revision=13684
2001-10-15 20:41:52 +00:00
4660c390a0 don't apply the body text in replys since we will just replace it anyway.
2001-10-15  Larry Ewing  <lewing@ximian.com>

	* mail-callbacks.c (mail_generate_reply): don't apply the body
	text in replys since we will just replace it anyway.

svn path=/trunk/; revision=13683
2001-10-15 20:40:59 +00:00
f620356a6f Call mail_vfolder_shutdown.
2001-10-15  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (owner_unset_cb): Call
	mail_vfolder_shutdown.

	* mail-vfolder.c (mail_vfolder_shutdown): Unref all of our
	VFolders.

	* mail-folder-cache.c (real_note_folder): Remember to unref the
	folder before returning if we have already noted this folder.

svn path=/trunk/; revision=13682
2001-10-15 20:18:08 +00:00
5
3ac3a15e3c Proxy get-password call to main thread. (forget_password): same for
2001-10-15    <NotZed@Ximian.com>

        * mail-session.c (get_password): Proxy get-password call to main
        thread.
        (forget_password): same for forget_password.
        (get_filter_driver): and same for get_filter_driver, since it uses
        gtk objects.

        * mail-mt.c (mail_call_main): new generic interface for calling
        stuff/proxying in the gui thread.

svn path=/trunk/; revision=13679
2001-10-15 18:55:18 +00:00
d9bdedfb8b fixed a typo
svn path=/trunk/; revision=13676
2001-10-15 16:38:00 +00:00
2855fe6b72 Share more state between the parent and its clones, so that our multiple
2001-10-14  Jon Trowbridge  <trow@ximian.com>

	* e-searching-tokenizer.c (e_searching_tokenizer_clone): Share
	more state between the parent and its clones, so that our multiple
	tokenizers don't get out of sync when we are rendering frames and
	iframes. (Bug #11638)

svn path=/trunk/; revision=13671
2001-10-14 18:32:26 +00:00
b407e779ce Bad hacker! Don't implicitly assume that utf8 characters are one byte in
2001-10-13  Jon Trowbridge  <trow@ximian.com>

	* e-searching-tokenizer.c (search_info_compare): Bad hacker!
	Don't implicitly assume that utf8 characters are one byte in size!
	(Bug #9520)
	(e_searching_tokenizer_begin): As long as I'm touching those code:
	don't increase the size of search matches.  I'll fix the colors
	later. (part of bug #11589)

svn path=/trunk/; revision=13667
2001-10-14 04:17:24 +00:00
c72b6cb1e4 Don't emit a gtk warning if the composer creation fails.
* mail-callbacks.c (create_msg_composer): Don't emit a gtk warning
	if the composer creation fails.

svn path=/trunk/; revision=13660
2001-10-13 17:32:04 +00:00
29175904b0 Revert the change to remove the Score column until Chris can fix ETable so
* message-list.c, message-list.h, message-list.etspec: Revert the
	change to remove the Score column until Chris can fix ETable so
	it's possible to remove a column without breaking everyone's
	exisiting settings.

svn path=/trunk/; revision=13646
2001-10-13 01:29:14 +00:00
5a9173f1b7 Fix race conditions in creating folders
svn path=/trunk/; revision=13645
2001-10-13 00:26:34 +00:00
c90ced3180 call e_passwords_init and e_passwords_shutdown.
2001-10-12  Chris Toshok  <toshok@ximian.com>

	* main.c (main): call e_passwords_init and e_passwords_shutdown.

	* mail-session.h: add prototypes for
	mail_session_{get,add}_password.

	* mail-session.c (init): empty this out - we use e_passwords
	instead of a local hashtable.
	(get_password): use e_passwords_get_password and
	e_passwords_add_password.
	(forget_password): use e_passwords_forget_password.
	(mail_session_remember_password): use
	e_passwords_remember_password.
	(mail_session_forget_password): use e_passwords_forget_password.
	(mail_session_get_password): new function, use
	e_passwords_get_password.
	(mail_session_add_password): same, use e_passwords_add_password.
	(mail_session_forget_passwords): use e_passwords_forget_passwords.

	* mail-config.c (mail_config_write_on_exit): fix this up so it
	works as desired with the e_passwords stuff.

svn path=/trunk/; revision=13640
2001-10-12 22:28:04 +00:00
dd8def8723 Convert URLS so we can get clickable links.
2001-10-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (mail_error_write): Convert URLS so we can get
	clickable links.

svn path=/trunk/; revision=13628
2001-10-12 21:28:52 +00:00
fdd4274ddf removed Score stuff from the message-list
svn path=/trunk/; revision=13626
2001-10-12 20:40:48 +00:00
59c7688bd6 Store our listener id. (popup_info_free): Disconnect our listener when we
2001-10-12  Jon Trowbridge  <trow@ximian.com>

	* mail-display.c (html_button_press_event): Store our listener id.
	(popup_info_free): Disconnect our listener when we free the popup.
	(Bug #11040)

svn path=/trunk/; revision=13619
2001-10-12 07:24:40 +00:00
8afca4e071 Listen for "destroy" events from the control, so that we don't leave stray
2001-10-11  Jon Trowbridge  <trow@ximian.com>

	* mail-callbacks.c (addrbook_sender): Listen for "destroy" events
	from the control, so that we don't leave stray windows laying
	around. (Bug #9101)

svn path=/trunk/; revision=13609
2001-10-12 03:19:22 +00:00
1
f35bfdac73 Added a checkbox for body indexing.
2001-10-11    <NotZed@Ximian.com>

        * local-config.glade: Added a checkbox for body indexing.

        * mail-local.c (mail_local_reconfigure_folder): Get index_body
        widget.
        (mail_local_folder_reconfigure): Add an 'index_body' argument &
        implement.  Dont do anything if nothing changed.

        * openpgp-utils.c (openpgp_verify): Use e_iconv_open.

svn path=/trunk/; revision=13603
2001-10-11 22:09:43 +00:00
79eb760686 oops, and here too
svn path=/trunk/; revision=13597
2001-10-11 19:42:38 +00:00
2bbc7815e9 pass FALSE along to the add_message_attachments call
svn path=/trunk/; revision=13596
2001-10-11 19:39:47 +00:00
377edd07b7 Attach the message attachments. Fixes bug #5439.
2001-10-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (do_forward_non_attached): Attach the message
	attachments. Fixes bug #5439.

svn path=/trunk/; revision=13594
2001-10-11 19:33:08 +00:00
a2db1f2033 No longer need to pass folder display name to storage update_folder
* mail-folder-cache.c (update_1folder): No longer need to pass
	folder display name to storage update_folder methods.
	(setup_folder, free_folder_info): Meaning we no longer need to
	keep track of it.

	* evolution-outlook-importer.[ch], evolution-mbox-importer.[ch]:
	These copies are cruft. The real ones are in importers/.

svn path=/trunk/; revision=13589
2001-10-11 18:59:36 +00:00
6eed3b5466 blah
svn path=/trunk/; revision=13584
2001-10-11 16:47:37 +00:00
dbcaac3afa Make sure the service/storage are non-NULL.
2001-10-11  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (free_storage): Make sure the
	service/storage are non-NULL.

	* mail-callbacks.c (e_gnome_dialog_parent_destroyed): Call
	gtk_main_quit.
	(send_receive_mail): Don't use e_gnome stuff since this doesn't
	need to be run using gnome_dialog_run_and_close().
	(composer_send_cb): Same.
	(edit_msg): Here too.
	(resend_msg): And here.
	(search_msg): Same.
	(filter_edit): Here too.
	(filter_edit): Don't use e_gnome_dialog_set_parent() because we
	don't do gnome_dialog_run_and_close on this dialog.
	(e_gnome_error_dialog_parented): Removed.
	(e_gnome_ok_dialog_parented): Removed.

svn path=/trunk/; revision=13583
2001-10-11 16:47:17 +00:00
dfbc58d046 Fix up the logic here.
* mail-config.c (new_source_created): Fix up the logic here.

svn path=/trunk/; revision=13576
2001-10-10 22:52:10 +00:00
f33633d773 use new function to copy the attachments from the source message. This
2001-10-10  Larry Ewing  <lewing@ximian.com>

	* mail-callbacks.c (mail_generate_reply): use new function to copy
	the attachments from the source message.  This still isn't perfect
	but it should avoid the problems with headers being transfered.
	This makes images in replies work again.

svn path=/trunk/; revision=13564
2001-10-10 20:37:13 +00:00
e42c544568 copy the data. We can't ref the byte array and we can't free it so we have
2001-10-10  Larry Ewing  <lewing@ximian.com>

	* mail-display.c (save_url): copy the data.  We can't ref the byte
	array and we can't free it so we have to copy it.

svn path=/trunk/; revision=13546
2001-10-10 07:12:25 +00:00
0
7ce7e09762 IF the source and destination folders are the same, do nothing. Oh, and
2001-10-10    <NotZed@Ximian.com>

	* mail-ops.c (transfer_messages_transfer): IF the source and
	destination folders are the same, do nothing.  Oh, and return an
	error, otherwise the shell goes and removes it anyway.  Fixes a
	rather serious bug with dnd of folders onto their current
	location.

2001-10-09    <NotZed@Ximian.com>

	* component-factory.c (owner_unset_cb): Disconnect from all the
	signals we were listening to, so we dont try and do shit twice on
	exit (one on unset_cb, one on destroy).
	(create_component): Setup the signal handlers using a table, so
	they're easier to disconnect on finish.

svn path=/trunk/; revision=13545
2001-10-10 05:46:34 +00:00
14124e1c16 ref the part. (save_destroy_cb): new function to unref the part when we
2001-10-09  Larry Ewing  <lewing@ximian.com>

	* mail-display.c (save_part): ref the part.
	(save_destroy_cb): new function to unref the part when we have
	closed the dialog.
	(save_url): fake a mime part so that we can save data urls without
	extra effort.  This is less sucky than it seems since it handles
	filenames and ref counting with minimal fuss.

svn path=/trunk/; revision=13544
2001-10-10 05:43:40 +00:00
9
b620893135 Ref folder so it hangs around till we're done with it.
2001-10-09    <NotZed@Ximian.com>

        * mail-folder-cache.c (folder_changed): Ref folder so it hangs
        around till we're done with it.
        (real_folder_changed): Unref folder when we are done with it.
        Should fix #11981.

svn path=/trunk/; revision=13543
2001-10-10 01:39:56 +00:00
f989a757a1 Make sure the mail-display is non-NULL.
2001-10-09  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (done_message_selected): Make sure the
	mail-display is non-NULL.

svn path=/trunk/; revision=13535
2001-10-09 23:21:11 +00:00
9
eacb6df293 Implement.
2001-10-09    <NotZed@Ximian.com>

        * mail-local.c (mlf_search_by_uids): Implement.

svn path=/trunk/; revision=13533
2001-10-09 22:27:07 +00:00