Commit Graph

9250 Commits

Author SHA1 Message Date
2ed79f33bb Convert the filename string to UTF8 before setting it on the CamelMimePart
2001-07-06  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
	Convert the filename string to UTF8 before setting it on the
	CamelMimePart because that code expects it to be in UTF8.

svn path=/trunk/; revision=10869
2001-07-06 22:00:06 +00:00
b663fac4ab Don't allow in to be NULL, so instead of doing if (in == NULL) return;,
2001-07-06  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-utils.c (header_encode_param): Don't allow in to be
	NULL, so instead of doing if (in == NULL) return;, make it a
	g_return_val_if_fail and later we can make it an assert or
	something.

svn path=/trunk/; revision=10868
2001-07-06 21:59:14 +00:00
3dc641a7bf Mail stuff added
svn path=/trunk/; revision=10867
2001-07-06 21:49:20 +00:00
214d03a44a add a NULL check since that is a valid return.
2001-07-06  Larry Ewing  <lewing@ximian.com>

	* mail-callbacks.c (composer_send_cb): add a NULL check since that
	is a valid return.

svn path=/trunk/; revision=10866
2001-07-06 21:47:18 +00:00
de47d3065f Spell check
2001-07-06  Kevin Breit  <battery841@mediaone.net>

	* C/usage-mail.sgml: Spell check

svn path=/trunk/; revision=10865
2001-07-06 21:44:46 +00:00
489fe60f9e [Misc fixes and part of #2228, There should be no dialog boxes during
2001-07-06  Jason Leach  <jleach@ximian.com>

	[Misc fixes and part of #2228, There should be no dialog boxes
	during startup.]

	* e-setup.c (e_setup): Check for searches.xml instead of
	shortcuts.xml, since shortcuts.xml doesn't really need to exist
	(and thus wouldn't be a necessary test whether ~/evolution was
	invalid) because shell can generate shortcuts.
	(copy_default_stuff): For first time users, only present a dialog
	if a problem occurred.  We've already clicked "Ok" on a dialog
	about copying files.
	(check_evolution_directory): Take out the "successfully installed"
	dialog on updates too.

svn path=/trunk/; revision=10864
2001-07-06 21:44:35 +00:00
a8fbf376d8 only ask if there are actually contents in the file. Asking about an
2001-07-06  Larry Ewing  <lewing@ximian.com>

	* e-msg-composer.c (autosave_manager_query_load_orphans): only ask
	if there are actually contents in the file.  Asking about an
	emptry fil is not very useful.
	(autosave_load_draft): add some sanity chacks.
	(autosave_run_foreach_cb): remove debugging warning.

svn path=/trunk/; revision=10863
2001-07-06 21:44:15 +00:00
53e8e2ec8d Spell check
2001-07-06  Kevin Breit  <battery841@mediaone.net>

	* C/usage-calendar.sgml: Spell check

svn path=/trunk/; revision=10862
2001-07-06 21:42:32 +00:00
85eb30010f connect to the entry not the combo
2001-07-06  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/meeting-page.c (init_widgets): connect to the entry
	not the combo

	* gui/dialogs/event-editor.c (set_menu_sens): set menu
	sensitivities based on whether or not the meeting page is shown
	(event_editor_init): call above
	(event_editor_edit_comp): ditto
	(schedule_meeting_cmd): ditto

	* gui/dialogs/comp-editor.h: new proto

	* gui/dialogs/comp-editor.c (comp_editor_set_ui_prop): new
	function to allow for set of ui props (esp. "sensitive")

svn path=/trunk/; revision=10861
2001-07-06 21:23:53 +00:00
e6d686b055 Fixes bug #1138.
2001-07-06  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/local/camel-maildir-store.c (get_inbox): Fixes bug
	#1138.

svn path=/trunk/; revision=10860
2001-07-06 20:55:16 +00:00
a683bdd9d2 Fixed and updated Swedish translation. Thanks to Göran Uddeborg
2001-07-06  Christian Rose  <menthos@menthos,com>

	* sv.po: Fixed and updated Swedish translation. Thanks to
	Göran Uddeborg <goeran@uddeborg.pp.se> and
	Anders Carlsson <andersca@gnu.org> for their suggestions.

svn path=/trunk/; revision=10859
2001-07-06 20:38:53 +00:00
71a7db0625 Make the `day-of-month' digit take up 2 chars by using "%2d". Fixes bug
2001-07-06  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/local/camel-mbox-summary.c
	(camel_mbox_summary_build_from): Make the `day-of-month' digit
	take up 2 chars by using "%2d". Fixes bug #3989 for lame mailers
	like Pine.

svn path=/trunk/; revision=10858
2001-07-06 20:30:25 +00:00
0995aedae9 Prevent infinite recursion when viewing attachments that we can't /
2001-07-06  Peter Williams  <peterw@ximian.com>

	* mail-format.c (format_mime_part): Prevent infinite recursion when
	viewing attachments that we can't / shouldn't display but are some
	form of plaintext. Cf bug #2234

svn path=/trunk/; revision=10857
2001-07-06 20:28:39 +00:00
ea8185e64b actually clear some widgets and hide/show widgets in the default setup
2001-07-06  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/meeting-page.c (clear_widgets): actually clear some
	widgets and hide/show widgets in the default setup
	(meeting_page_destroy): destroy the address lists
	(meeting_page_fill_widgets): allow the user to select among their
	identities as a new organizer, or show the existing organizer as
	label
	(meeting_page_fill_component): set the "MAILTO:" bit of the
	organizer to match spec, set CN properly if we know it
	(get_widgets): load new widgets
	(other_clicked_cb): handle "Other Organizer" click
	(change_clicked_cb): handle "Change Organizer" click
	(init_widgets): listen for clicks on new buttons

	* gui/dialogs/comp-editor.c (comp_editor_remove_page): remove the
	page from our internal list and unref it

	* gui/itip-utils.c (itip_addresses_get): get the configure mail
	identities
	(itip_addresses_free): free a list of identities returned by
	itip_addresses_get

	* gui/itip-utils.h: remove obsolete protos, and new protos

	* gui/gnome-cal.html: Remove ancient file

svn path=/trunk/; revision=10856
2001-07-06 20:27:31 +00:00
ff91646452 Freeze and Thaw the folder.
2001-07-06  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (folder_browser_copy): Freeze and Thaw the
	folder.

svn path=/trunk/; revision=10855
2001-07-06 20:19:22 +00:00
ecc4f0385a remove this file so cvs can prune the dir.
remove this file so cvs can prune the dir.

svn path=/trunk/; revision=10854
2001-07-06 19:59:06 +00:00
2c8fa1b419 Mark the messages as Seen also. (folder_browser_class_init): Create an
2001-07-06  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (folder_browser_copy): Mark the messages as
	Seen also.
	(folder_browser_class_init): Create an atom type for
	X-Evolution-Message selection type.
	(my_folder_browser_init): Add our multiple selection types, one of
	which is the default string type.

	* component-factory.c (destination_folder_handle_drop): Update to
	use the new X-Evolution-Message type format.

	* folder-browser.c (selection_get): Convert the
	X-Evolution-Message clipboard type to whatever format the target
	wants.
	(message_list_drag_data_get): Update because the
	X-Evolution-Message type changed.
	(folder_browser_copy): Same.
	(x_evolution_message_parse): And here too.

svn path=/trunk/; revision=10853
2001-07-06 19:49:27 +00:00
068ae263a0 Don't free the psd here -- it will be freed on the "destroy" signal.
2001-07-06  Peter Williams  <peterw@ximian.com>

	* mail-callbacks.c (composer_postpone_cb): Don't free the psd here --
	it will be freed on the "destroy" signal.

	* mail-folder-cache.c (maybe_update): Instead of an idle, use a very
	short timeout in hopes of reducing the number of redundant updates.

	* mail-tools.c (mail_tool_uri_to_folder): Only note the folder in the
	cache if we successfully got it.

svn path=/trunk/; revision=10852
2001-07-06 18:58:48 +00:00
6e6eb53b37 revert previous "fix", which was wrong
svn path=/trunk/; revision=10851
2001-07-06 18:56:29 +00:00
0d553dc97e Call autosave_manager_unregister before destroying the composer, so
* e-msg-composer.c (do_exit): Call autosave_manager_unregister
	before destroying the composer, so gtkhtml-editor-control doesn't
	try to act on a destroyed GtkHTML widget.
	(destroy): Remove the autosave_manager_unregister from here.

svn path=/trunk/; revision=10850
2001-07-06 18:24:02 +00:00
5616de5309 Select the very next message after deleting, not the next undeleted (it
2001-07-06  Jason Leach  <jleach@ximian.com>

	* mail-callbacks.c (delete_msg): Select the very next message
	after deleting, not the next undeleted (it can make things jump
	around in annoying ways if you are deleting many messages), bug #4032.

	* folder-browser.c: Forgot to commit the "Mark as Important" right
	click menu item.

	* message-list.c (message_list_set_folder): Setup the strikeout
	column here (after we've gotten the folder) so we can disable
	strikeouts for vtrash folders, part of bug #2224.

svn path=/trunk/; revision=10849
2001-07-06 18:02:01 +00:00
d78749b521 Fix bad selection clist stuff
svn path=/trunk/; revision=10848
2001-07-06 17:26:47 +00:00
15aeda78aa Set the pipe fd's to nonblocking.
2001-07-06  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-pgp-context.c (crypto_exec_with_passwd): Set the pipe fd's
	to nonblocking.

svn path=/trunk/; revision=10847
2001-07-06 16:52:44 +00:00
40c22b25f1 Fix obvious bug in previous bugfix: Pass "fb" to check_for_fb_match() so
* mail-folder-cache.c (mail_folder_cache_set_folder_browser): Fix
	obvious bug in previous bugfix: Pass "fb" to check_for_fb_match()
	so only the selected folder gets updated, instead of "all folders
	that haven't yet been selected".

svn path=/trunk/; revision=10846
2001-07-06 16:48:47 +00:00
8a80b831b1 Updated Swedish translation.
2001-07-06  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.

svn path=/trunk/; revision=10845
2001-07-06 16:22:27 +00:00
eda4386f98 Make sure that after the finalization event has happened and the
2001-07-06  Peter Williams  <peterw@ximian.com>

	* camel-object.c (camel_object_unref): Make sure that after the
	finalization event has happened and the finalization functions
	have been called that the object still has a zero refcount.

svn path=/trunk/; revision=10844
2001-07-06 13:00:48 +00:00
cfdc0e2cff Removed. [It was just bogus testing code for the right-click menu
* gui/component/addressbook-component.c (populate_context_menu):
Removed.  [It was just bogus testing code for the right-click menu
populating interface in the shell].
(factory_fn): Pass NULL as the PopulateContextMenuFn.

svn path=/trunk/; revision=10843
2001-07-06 09:26:32 +00:00
6741277bdc [This should fix #3873, Bizzarre crash after deleting a few
folders.]

* e-local-storage.c (remove_folder): Don't free the
`physical_path' on error, as it gets freed when freeing the
callback data.

svn path=/trunk/; revision=10842
2001-07-06 08:43:53 +00:00
8053d484f9 Added error dialogs for when the user tries to copy/move a folder over
itself, or move it under one of its descendants.  [Fixes #3959,
copying a folder over itself crashes Evolution.]

svn path=/trunk/; revision=10841
2001-07-06 08:35:27 +00:00
60a7567a41 Change the folder right-click "Properties..." menu item handling so
that it only happens in the mailer (which is the only component
actually using this).

For some reason it still doesn't work properly (i.e. the menu item
currently does nothing), but I haven't quite figured out why yet.

svn path=/trunk/; revision=10840
2001-07-06 07:38:43 +00:00
af72fc9468 make sure we only remove the file if we think we saved it properly.
2001-07-06  Larry Ewing  <lewing@ximian.com>

	* e-msg-composer.c (autosave_manager_unregister): make sure we
	only remove the file if we think we saved it properly.
	(autosave_manager_stop): make sure we set the timeout back to 0 so
	that we will restart next time since we stop the timer when there
	are no active composers.
	(destroy): move this to the beginning of the destroy process.
	(autosave_save_draft): add a return value indicating success.
	(autosave_manager_register): go ahead and ask next time.

svn path=/trunk/; revision=10839
2001-07-06 05:23:59 +00:00
ccbc3a3688 Add locking to camel_nntp_get_grouplist_from_server().
2001-07-06  Joe Shaw  <joe@ximian.com>

	* providers/nntp/camel-nntp-grouplist.c: Add locking to
	camel_nntp_get_grouplist_from_server().

	* providers/nntp/camel-nntp-resp-codes.h: Added
	NNTP_EXTENSIONS_SUPPORTED (202).

	* providers/nntp/camel-nntp-store.c (camel_nntp_store_get_extensions):
	Check for both NNTP_LIST_FOLLOWS and NNTP_EXTENSIONS_SUPPORTED from
	a LIST EXTENSIONS request. (Dunno if NNTP_LIST_FOLLOWS ever comes
	out of this, but that's what was already there...) Also, put some
	locking around it.
	(finalize): e_mutex_destroy() the command lock
	(camel_nntp_store_init): e_mutex_new() the command lock.

	* providers/nntp/camel-nntp-store.h: Add locking macros.

svn path=/trunk/; revision=10838
2001-07-06 04:11:27 +00:00
2583bd0d41 i2001-07-05 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c: add ask argment.
	(autosave_manager_query_load_orphans): move the load loop out of
	the dir reading loop.
	(autosave_manager_new): move initialization out or register.
	(autosave_manager_register): protect against recursion with ask.
	(init): call new, this still needs to be moved.

svn path=/trunk/; revision=10837
2001-07-06 00:50:03 +00:00
03ec245d4e Select the most appropriate filter rule.
2001-07-05  Jeffrey Stedfast  <fejj@ximian.com>

	* rule-editor.c (rule_delete): Select the most appropriate filter
	rule.

svn path=/trunk/; revision=10836
2001-07-06 00:14:36 +00:00
9dd6f8341c Rename RDF to news feed
svn path=/trunk/; revision=10835
2001-07-05 23:59:39 +00:00
fec83fec7d Added an assert to make sure that `mi' isn't NULL.
2001-07-05  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-folder-summary.c (camel_message_info_string): Added an
	assert to make sure that `mi' isn't NULL.
	(camel_message_info_set_string): Same.

	* providers/imap/camel-imap-command.c (camel_imap_response_free):
	Create and use a temporary CamelException for use with
	camel_imap_folder_changed.

svn path=/trunk/; revision=10834
2001-07-05 22:59:46 +00:00
f09882063f oops, forgot to commit ChangeLog
svn path=/trunk/; revision=10833
2001-07-05 22:41:38 +00:00
e18a28a56c Fix bug #4043: s/colour/color
2001-07-05  Jeffrey Stedfast  <fejj@ximian.com>

	* filtertypes.xml: Fix bug #4043: s/colour/color

svn path=/trunk/; revision=10832
2001-07-05 22:39:39 +00:00
652c3e8225 Send the --no-auto-key-retrieve argument to gpg if we are in offline mode
2001-07-05  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-pgp-context.c (pgp_verify): Send the
	--no-auto-key-retrieve argument to gpg if we are in offline mode
	so that we don't have to worry about gpg hanging if it can't
	connect to the key servers, because now it shouldn't even attempt
	to.

svn path=/trunk/; revision=10831
2001-07-05 20:37:30 +00:00
02ed2b57e1 Added some accelerators, padding, and a "memebers" frame; also fixed
2001-07-05  Anna Marie Dirks  <anna@ximian.com>
	* gui/contact-list-editor/contact-list-editor.glade:
	Added some accelerators, padding, and a "memebers" frame;
	also fixed spacing and growth behaviour of this dialog.

svn path=/trunk/; revision=10830
2001-07-05 20:34:32 +00:00
12365c71c5 2001-07-05 Anna Marie Dirks <anna@ximian.com:
* gui/contact-list-editor.glade: Added some accelerators, some
	better spacing, some reasonable padding, a "members" frame
	and otherwise beautified this file.

svn path=/trunk/; revision=10829
2001-07-05 20:24:31 +00:00
51970081e4 Some glade fixage.
svn path=/trunk/; revision=10828
2001-07-05 20:13:34 +00:00
ea4d1ae39e Send the --no-auto-key-retrieve argument to gpg so that we don't have to
2001-07-05  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-pgp-context.c (pgp_verify): Send the
	--no-auto-key-retrieve argument to gpg so that we don't have to
	worry about gpg hanging if it can't connect to the key servers,
	because now it shouldn't even attempt to.

svn path=/trunk/; revision=10827
2001-07-05 20:07:46 +00:00
d07621da7b Added orderedlists.
2001-07-05  Kevin Breit  <battery841@mediaone.net>

	* C/usage-mainwindow.sgml: Added orderedlists.

	* C/usage-exec-summary.sgml: Added orderedlists.

svn path=/trunk/; revision=10826
2001-07-05 20:05:21 +00:00
894299df02 Hook up the Calendar toggle buttons
svn path=/trunk/; revision=10825
2001-07-05 19:58:18 +00:00
65fc784c44 Play the "File exists, overwrite?" game. (autosave_run_foreach_cb): Change
2001-07-05  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (save): Play the "File exists, overwrite?"
	game.
	(autosave_run_foreach_cb): Change the return val from a gboolean
	to void.

svn path=/trunk/; revision=10824
2001-07-05 19:44:39 +00:00
bea4e40ec6 Added orderedlists.
2001-07-05  Kevin Breit  <battery841@mediaone.net>

	* C/usage-contact.sgml: Added orderedlists.

svn path=/trunk/; revision=10823
2001-07-05 19:36:25 +00:00
25ea88907d Special case the My Evolution uri so that the correct icon appears in the
shortcut bar.

svn path=/trunk/; revision=10822
2001-07-05 19:25:28 +00:00
0f37cc0402 Add a checkbox for prompting when sending a message with an empty subject.
2001-07-05  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (construct): Add a checkbox for prompting when
	sending a message with an empty subject.

	* mail-ops.c (mail_send_message): If filtering fails, return right
	away.

svn path=/trunk/; revision=10821
2001-07-05 19:17:22 +00:00
92f47211fe Make sure /var/mail isn't a symbolic link such as on Red Hat 7.
2001-07-05  Peter Williams  <peterw@ximian.com>

	* configure.in (SYSTEM_MAIL_DIR): Make sure /var/mail
	isn't a symbolic link such as on Red Hat 7.

svn path=/trunk/; revision=10820
2001-07-05 19:17:10 +00:00