Commit Graph

1059 Commits

Author SHA1 Message Date
a2befe96e6 Don't handle home and end keys since %ETable deals with them now.
2001-01-27  Christopher James Lahey  <clahey@helixcode.com>

	* folder-browser.c (etable_key): Don't handle home and end keys
	since %ETable deals with them now.

svn path=/trunk/; revision=7865
2001-01-27 22:23:06 +00:00
613b4a4b5c Protect against NULL address pointers. (subject_compare): Same but for
2001-01-27  Jeffrey Stedfast  <fejj@ximian.com>

	* message-list.c (address_compare): Protect against NULL address
	pointers.
	(subject_compare): Same but for subject pointers.

svn path=/trunk/; revision=7863
2001-01-27 20:19:21 +00:00
1d01cfbf2e warnings go byebye
svn path=/trunk/; revision=7856
2001-01-27 13:30:57 +00:00
50cedfaadd Try a control before an embeddable instead of an embeddable before a
control when embedding something in the mail display.

svn path=/trunk/; revision=7845
2001-01-27 03:39:24 +00:00
93c8da913b Check for a NULL service->url as we obviously can't subscribe to folders
2001-01-26  Jeffrey Stedfast  <fejj@ximian.com>

	* subscribe-dialog.c (populate_store_foreach): Check for a NULL
	service->url as we obviously can't subscribe to folders on a
	non-existant mail source :-)
	(subscribe_do_get_store): Check for a NULL url here too, not that
	we should need it anymore (due to the above fix) but it doesn't
	hurt. Also, should we wait on the thread? Probably doesn't matter.

svn path=/trunk/; revision=7844
2001-01-27 03:13:30 +00:00
62ec012904 Fix some compile problems and stop the blank mail appearing with the mbox
importer

svn path=/trunk/; revision=7843
2001-01-27 03:05:54 +00:00
061393816b Fix an uninitialized variable use.
* mail-identify.c (mail_identify_mime_part): Fix an uninitialized
	variable use.

svn path=/trunk/; revision=7838
2001-01-26 17:00:05 +00:00
5be14f15c3 (Fixing an old FIXME)
2001-01-26  Jason Leach  <jasonleach@usa.net>

	(Fixing an old FIXME)

	* component-factory.c (create_vfolder_storage): removing
	create_vfolder_storage, replacing call to it with
	vfolder_create_storage.

svn path=/trunk/; revision=7837
2001-01-26 11:46:31 +00:00
54ac4051e9 Define BROKEN_ETREE again, till we get this stuff fixed better.
2001-01-26  Not Zed  <NotZed@Ximian.com>

	* message-list.c (build_tree): Define BROKEN_ETREE again, till we
	get this stuff fixed better.

2001-01-25  Not Zed  <NotZed@Ximian.com>

	* folder-browser.c: Moved teh "sender contains" item to the end of
	the list, so the gui doesn't suddenly change on everyone.  Fixed
	the sender-contains search string to be a valid s-exp (ha, didn't
	test it even once eh ettore?!)
	(search_save): Dont have the sender contains as the default case
	(which well, never gets called anyway), oops i guess i should've
	reviewed the patch a little more.

svn path=/trunk/; revision=7835
2001-01-26 09:16:29 +00:00
66c8e42323 Fix the "sender contain" quicksearch rule by adding a missing
parenthesis; also make it the last item on the OptionMenu instead of
the first one.

svn path=/trunk/; revision=7834
2001-01-26 06:09:43 +00:00
6af5ca43fa Yes, some more screw ups...
This cvs thing, I don't get it, I wrap my hand in plastic to try to look through it.

svn path=/trunk/; revision=7833
2001-01-26 00:29:20 +00:00
c62c751ec8 Yes, I screwed up.
svn path=/trunk/; revision=7832
2001-01-26 00:25:25 +00:00
47e69c05fc GNOME_Evolution_Mail.oafinfo
svn path=/trunk/; revision=7831
2001-01-26 00:10:00 +00:00
28f2aafc0a Forgot
svn path=/trunk/; revision=7829
2001-01-26 00:05:06 +00:00
75bb2f48a5 Neater importer stuff.
svn path=/trunk/; revision=7828
2001-01-26 00:03:53 +00:00
09e274295f The following fixes seem to clear up the problem of new mail not being
2001-01-25  Jeffrey Stedfast  <fejj@ximian.com>
	The following fixes seem to clear up the problem of new mail not
	being shown in the Inbox and/or other folders where mail had been
	delivered.

	* mail-send-recv.c (build_dialogue): Freeze the inbox.
	(receive_get_folder): Freeze folders before dumping them into the
	hash table.
	(free_folder_info): Thaw the folder.
	(free_info_data): Thaw the Inbox.

svn path=/trunk/; revision=7824
2001-01-25 21:48:56 +00:00
c46245d4b5 (Don't prompt about unsaved changes for replies/forwards that have not
2001-01-25  Jason Leach  <jasonleach@usa.net>

	(Don't prompt about unsaved changes for replies/forwards that have
	 not actually been modified)

	 * mail-callbacks.c (do_forward_inline): Unset the has_changed for
	 the message composer.
	 (do_forward_attach): Same here.
	 (mail_reply): And here.

svn path=/trunk/; revision=7819
2001-01-25 19:36:03 +00:00
54a2910f89 Check if a message part's content is available, and if it's not, queue a
* mail-format.c (mail_content_loaded): Check if a message part's
	content is available, and if it's not, queue a thread that will
	load it and then queue an idle-handler redisplay of the message.
	(call_handler_function): Call mail_content_loaded() on the part
	and don't try to display it if it's currently offline.
	(get_data_wrapper_text): Simplify a bit

	* mail-display.c (mail_display_queue_redisplay): rename and make
	non-static.
	(mail_display_redisplay): Use a "new and improved" way of
	preserving the GtkHTML scroll location. ("new and improved" is
	code for "gross and hackish", but there should be a real interface
	for this eventually.)
	(on_url_requested): Use mail_content_loaded() and don't write out
	offline cid: URLs

	* mail-identify.c (mail_identify_mime_part): Use
	mail_content_loaded and don't try to identify the data if it's
	offline.

svn path=/trunk/; revision=7813
2001-01-25 17:07:23 +00:00
9100d6bcdd Made the message list pay attention to the "cursor_activated" signal
2001-01-25  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c: Made the message list pay attention to the
	"cursor_activated" signal instead of the "cursor_change" signal.

svn path=/trunk/; revision=7812
2001-01-25 16:19:31 +00:00
735020a976 More happy icons for the mailer.
svn path=/trunk/; revision=7807
2001-01-25 08:35:04 +00:00
57f1c74f30 Get the mailer to use the new menu icons.
svn path=/trunk/; revision=7805
2001-01-25 08:04:17 +00:00
811ce582d4 Fix the subject match expression, which was missing a closing ).
2001-01-24  Not Zed  <NotZed@Ximian.com>

        * folder-browser.c (search_string[]): Fix the subject match
        expression, which was missing a closing ).

        * mail-send-recv.c (do_show_status): Escape any % signs in the
        string before setting the format string.

svn path=/trunk/; revision=7797
2001-01-25 02:05:34 +00:00
f744966790 Added a 3rd page to the account editor to allow users to set their HTML
2001-01-24  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.glade: Added a 3rd page to the account editor to
	allow users to set their HTML sending preference and also allow
	them to change their message status timeout.

	* mail-accounts.c (construct): Added handlers for the send-html
	checkbox and for the mark-message-as timeout spinbutton.

svn path=/trunk/; revision=7789
2001-01-24 22:24:44 +00:00
d6599e25f2 Save the source and transport changes whether the user can connect to the
2001-01-23  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-editor.c (apply_changes): Save the source and
	transport changes whether the user can connect to the host or not.

svn path=/trunk/; revision=7772
2001-01-24 02:11:58 +00:00
0f301f38bc Patch from Tuomas to have a "Sender contains" rule in the quicksearch
bar.

svn path=/trunk/; revision=7764
2001-01-23 23:51:04 +00:00
8b2495dcd4 Fix spelling.
* folder-browser-factory.c:
	* mail-callbacks.c (send_receive_mail): Fix spelling.

svn path=/trunk/; revision=7760
2001-01-23 22:55:59 +00:00
9987f05606 Set the default folder when copying to mbox. This is a quick fix, i might
2001-01-24  Not Zed  <NotZed@Ximian.com>

        * mail-ops.c (fetch_mail_fetch): Set the default folder when
        copying to mbox.  This is a quick fix, i might need to do a slight
        redesign to clean it up.

svn path=/trunk/; revision=7759
2001-01-23 22:52:03 +00:00
27c3aaec83 Make sure the source->url is not NULL (which is perfectly valid).
2001-01-23  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-send-recv.c (build_dialogue): Make sure the source->url is
	not NULL (which is perfectly valid).
	(mail_send_receive): Where oh where should my prototype be?
	(receive_get_folder): Make sure to ref the folder before you add
	it to the hash table.

	* openpgp-utils.c:
	* mail-crypto.c: A few minor tweaks.

svn path=/trunk/; revision=7757
2001-01-23 21:50:24 +00:00
e31cd9c18f Make sure the source->url is not NULL (which is perfectly valid).
2001-01-23  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-send-recv.c (build_dialogue): Make sure the source->url is
	not NULL (which is perfectly valid).

svn path=/trunk/; revision=7756
2001-01-23 21:23:35 +00:00
62a7c2c370 A few minor tweaks.
2001-01-23  Jeffrey Stedfast  <fejj@ximian.com>

	* openpgp-utils.c:
	* mail-crypto.c: A few minor tweaks.

svn path=/trunk/; revision=7755
2001-01-23 21:14:47 +00:00
78fb2fa0ed Try turning off the BROKEN_ETREE thing. It seems to work ok (better?) now,
2001-01-23  Not Zed  <NotZed@Ximian.com>

        * message-list.c (build_tree): Try turning off the BROKEN_ETREE
        thing.  It seems to work ok (better?) now, but if its still broken
        i'll remove it again for the next release.

svn path=/trunk/; revision=7740
2001-01-23 04:41:16 +00:00
096f54cfa0 Automagically fill in the user's default transport if he/she has setup
2001-01-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config-druid.c (set_defaults): Automagically fill in the
	user's default transport if he/she has setup previous accounts.

svn path=/trunk/; revision=7736
2001-01-23 02:47:57 +00:00
ce15b4480f Just wrote a temp way of reporting success/fail of PGP/MIME signature
2001-01-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_multipart_signed): Just wrote a temp way
	of reporting success/fail of PGP/MIME signature verification
	status.

svn path=/trunk/; revision=7735
2001-01-23 02:33:32 +00:00
0eb80c6a35 Add the Outlook importer.
svn path=/trunk/; revision=7731
2001-01-23 00:49:03 +00:00
ff2d16601e make mail_gui_thread non-static.
* mail-mt.[ch]: make mail_gui_thread non-static.

	* main.c (main): Set up signal handler for SEGV, BUS, FPE
	(segv_redirect): if a gnome-segv'ing signal is received in
	a thread other than mail_gui_thread, re-deliver it to that
	thread to work around a problem with the gnome segv handler.

svn path=/trunk/; revision=7728
2001-01-22 23:16:33 +00:00
c90788513b Fixed to display subparts (other than the signature part) and started to
2001-01-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_multipart_signed): Fixed to display
	subparts (other than the signature part) and started to write a
	pretty way to show if the signature verified or not.

svn path=/trunk/; revision=7724
2001-01-22 22:55:11 +00:00
92403a5b3a Fix a double-free problem.
2001-01-23  Not Zed  <NotZed@Ximian.com>

	* mail-crypto.c (pgp_mime_part_verify): Fix a double-free problem.

svn path=/trunk/; revision=7722
2001-01-22 22:35:41 +00:00
48d74a5f32 Oops, danw didn't know 'provider' could be NULL :-)
2001-01-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config-druid.c (incoming_type_changed): Oops, danw didn't
	know 'provider' could be NULL :-)

svn path=/trunk/; revision=7721
2001-01-22 21:28:24 +00:00
7798009ab7 Change "Path:" label to "Namespace:" for IMAP. Use $MAILDIR rather than
* mail-config-druid.c (incoming_type_changed): Change "Path:"
	label to "Namespace:" for IMAP. Use $MAILDIR rather than $MAIL for
	Maildir. If $MAIL isn't set, guess.

svn path=/trunk/; revision=7714
2001-01-22 19:34:25 +00:00
bd1a57fc80 Function to add a store/storage mapping. (add_storage): Use it.
* component-factory.c (mail_hash_storage): Function to add a
	store/storage mapping.
	(add_storage): Use it.

	* mail-vfolder.c (vfolder_uri_to_folder): Use the vfolder name
	rather than the string "mbox" (which wasn't ever used for
	anything) in the vfolder URL. (Combined with the CamelVeeFolder
	change, this makes camel_folder_get_name() return a pretty name
	for vfolders now.) Call mail_hash_storage() to record the
	CamelVeeStore/vfolder_storage mapping. (Ideally, there'd only be a
	single CamelVeeStore... this is just a quick hack.)

	vfolders now display their unread count once you've looked at them
	once.

svn path=/trunk/; revision=7712
2001-01-22 18:47:01 +00:00
db881ae0e3 s/filter-driver.h/camel-filter-driver.h/ and update first arg of
* mail-tools.h: s/filter-driver.h/camel-filter-driver.h/ and
	update first arg of mail_too_filter_get_folder_func

	* mail-tools.c (mail_tool_filter_get_folder_func): Update first
	arg to CamelFilterDriver *

	* mail-send-recv.c (receive_status):
	* mail-ops.c (send_queue_send): s/FILTER/CAMEL_FILTER/

	* mail-callbacks.c: Remove filter-driver.h include

	* mail-accounts.c: Put the news functions inside #ifdef
	ENABLE_NNTP to prevent warnings about unused statis functions.

	* subscribe-dialog.c (subscribe_folders, unsubscribe_folders,
	subscribe_refresh_list): Update prototype to match BONOBO_UI_VERB.
	(populate_store_list): add a de-constifying cast

svn path=/trunk/; revision=7711
2001-01-22 18:42:04 +00:00
e40e98e0f8 s/filter-driver.h/camel-filter-driver.h/ and update first arg of
* mail-tools.h: s/filter-driver.h/camel-filter-driver.h/ and
	update first arg of mail_too_filter_get_folder_func

	* mail-tools.c (mail_tool_filter_get_folder_func): Update first
	arg to CamelFilterDriver *

	* mail-send-recv.c (receive_status):
	* mail-ops.c (send_queue_send): s/FILTER/CAMEL_FILTER/

	* mail-callbacks.c: Remove filter-driver.h include

	* mail-accounts.c: Put the news functions inside #ifdef
	ENABLE_NNTP to prevent warnings about unused statis functions.

	* subscribe-dialog.c (subscribe_folders, unsubscribe_folders,
	subscribe_refresh_list): Update prototype to match BONOBO_UI_VERB.
	(populate_store_list): add a de-constifying cast

svn path=/trunk/; revision=7708
2001-01-22 17:47:28 +00:00
5cae379f5d Added temp profiling files.
2001-01-22  Not Zed  <NotZed@Ximian.com>

	* .cvsignore: Added temp profiling files.

svn path=/trunk/; revision=7706
2001-01-22 11:58:52 +00:00
88f9e36086 remove a warning with conditional news compilation.
2001-01-22  Not Zed  <NotZed@Ximian.com>

	* component-factory.c (owner_set_cb): remove a warning with
	conditional news compilation.

	* mail-ops.h: Cleaned up the header list.

	* folder-browser-factory.c: Replace the old get_send mail with the
	new one (button).

	* mail-ops.c (set_x_mailer):
	(mail_load_evolution_rule_context):
	(mail_do_fetch_mail):
	(mail_do_filter_ondemand):
	(mail_send_mail_old):
	(mail_do_send_queue): All removed, (for) now lives in mail-send-recv.c.
	(load_context):
	(setup_filter_driver):
	(filter_get_folder):
	(mail_filter_folder):
	(mail_fetch_mail):
	(mail_update_subfolders):
	(mail_send_mail):
	(mail_send_queue): New equivalents of all these fundtions, moved
	from mail-send-recv.c ...
	(mail_filter_on_demand): Moved here too.
	(mail_load_filter_context): Export this.

	* mail-callbacks.c (apply_filters): Use the new
	mail_filter_on_demand() call.
	(send_receieve_mail): Use mail_send_receive to do the work.  Add a
	little error handling here that used to be elsewhere.
	(send_queued_mail): Removed.
	(fetch_mail): Removed.
	(select_first_unread): #ifdef'd this out.  Not sure if this still
	makes sense, but it doesn't get run right now anyway.
	(composer_postpone_cb): Fix the setting of message flags.  You
	dont need to get them first, ever.

	* mail-send-recv.c (mail_send_message): Dont use
	mail_tool_send_via_transport anymore (it does nothing useful).

	* mail-tools.c (mail_tool_camel_lock_up): Turned into a noop.
	(mail_tool_camel_lock_down): And here too.
	(mail_tool_move_folder_contents): Removed from the code (hasn't
	bene used for ages).
	(mail_tool_send_via_transport): Removed, it doesn't save anything.

svn path=/trunk/; revision=7702
2001-01-22 11:43:18 +00:00
891364e803 Helps if I spell stuff correctly so it can pass the tests ;-)
2001-01-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-crypto.c (mail_crypto_is_rfc2015_signed): Helps if I spell
	stuff correctly so it can pass the tests ;-)

svn path=/trunk/; revision=7697
2001-01-22 05:09:11 +00:00
c223f52d1d Initialize OpenPGP.
2001-01-21  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (owner_set_cb): Initialize OpenPGP.

	* openpgp-utils.c (openpgp_init): No longer takes a passphrase
	callback, we'll just use the mail-session one. Makes life simpler.
	(pgp_get_passphrase): Use mail_session_request_dialog().

svn path=/trunk/; revision=7694
2001-01-22 04:11:14 +00:00
2679830e64 Remove the X-Evolution header before we send.
2001-01-21  Jeffrey Stedfast  <fejj@ximian.com>

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

svn path=/trunk/; revision=7689
2001-01-21 23:15:50 +00:00
fb4e03c0af Don't forget to unref the filters. (pgp_mime_part_verify): Same.
2001-01-21  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-crypto.c (pgp_mime_part_sign): Don't forget to unref the
	filters.
	(pgp_mime_part_verify): Same.
	(pgp_mime_part_encrypt): Same.
	(pgp_mime_part_decrypt): Take NotZed's advice and use
	camel_stream_mem_new_with_buffer instead of writing to a new
	stream_mem. Also use camel_data_wrapper_construct_from_stream
	instead of creating a parser and using that.

svn path=/trunk/; revision=7687
2001-01-21 22:35:08 +00:00
e7e8b3d610 Updated header comment and fixed some ref/unref count problems in the
2001-01-21  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-crypto.c: Updated header comment and fixed some ref/unref
	count problems in the various functions. Also fixed some other
	little things.
	(pgp_mime_part_encrypt): Do some canonical CRLF action before
	encrypting.
	(pgp_mime_part_sign): Make sure we are the owners of the byte array.
	(pgp_mime_part_verify): Same.
	(pgp_mime_part_encrypt): Same.
	(pgp_mime_part_decrypt): Same.

svn path=/trunk/; revision=7682
2001-01-21 08:37:57 +00:00
c8a418fefb Updated header comment and fixed some ref/unref count problems in the
2001-01-21  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-crypto.c: Updated header comment and fixed some ref/unref
	count problems in the various functions. Also fixed some other
	little things.
	(pgp_mime_part_encrypt): Do some canonical CRLF action before
	encrypting.

svn path=/trunk/; revision=7680
2001-01-21 06:24:39 +00:00