Commit Graph

11444 Commits

Author SHA1 Message Date
8
f1eb4aa8cf Emit changed events when we change it. (vfolder_rule_remove_source): "
2001-09-28    <NotZed@Ximian.com>

        * vfolder-rule.c (vfolder_rule_add_source): Emit changed events
        when we change it.
        (vfolder_rule_remove_source): "

svn path=/trunk/; revision=13241
2001-09-28 23:51:03 +00:00
22a9d81042 Same here.
2001-09-28  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-filter-search.c (get_source): Same here.

	* camel-mime-message.c (camel_mime_message_set_source): Don't use
	the e_url_shroud hack, use CamelURL functions instead.

svn path=/trunk/; revision=13240
2001-09-28 23:31:42 +00:00
e023c17d5c Use Camel to compare the urls rather than using e_url_equal which does all
2001-09-28  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (mail_config_get_account_by_transport_url): Use
	Camel to compare the urls rather than using e_url_equal which does
	all sorts of funky shit that may not work in every case.

svn path=/trunk/; revision=13239
2001-09-28 22:48:31 +00:00
df8634ddc8 Setup the url_hash and url_equal functions for the local provider.
2001-09-28  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-local.c (mail_local_provider_init): Setup the url_hash and
	url_equal functions for the local provider.

	* mail-account-gui.c (mail_account_gui_save): Add code here to
	check to make sure that the Drafts and Sent folders are pointing
	to valid urls. This is kinda nasty and only really solves the case
	where the user changes, say, his imap server or
	something. Unfortunately we still have the problem where if
	account A's sent/drafts folders point to account B's store and the
	user changes the url for account B.

	* mail-config.c (mail_config_get_account_by_source_url): Use Camel
	to compare the urls rather than using e_url_equal which does all
	sorts of funky shit that may not work in every case.

svn path=/trunk/; revision=13238
2001-09-28 22:38:53 +00:00
61e47e195e Init the nntp url hash and url_equal functions.
2001-09-28  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/nntp/camel-nntp-provider.c
	(camel_provider_module_init): Init the nntp url hash and url_equal
	functions.

	* providers/sendmail/camel-sendmail-provider.c
	(camel_provider_module_init): Init the sendmail url hash and
	url_equal functions.

	* providers/smtp/camel-smtp-provider.c
	(camel_provider_module_init): Init the smtp url hash and url_equal
	functions.

	* providers/pop3/camel-pop3-provider.c
	(camel_provider_module_init): Init the pop3 url hash and url_equal
	functions.

	* providers/imap/camel-imap-provider.c
	(camel_provider_module_init): Init the imap url hash and url_equal
	functions.

	* providers/local/camel-local-provider.c
	(camel_provider_module_init): Init the local url hash and
	url_equal functions.

	* camel-session.c (camel_session_class_init): Init the vfolder url
	hash and url_equal functions.

	* camel-provider.h: Added url_hash and url_equal function pointers
	to the structure.

	* camel-vtrash-folder.c (vtrash_move_messages_to): Oops, a
	CamelFolder is not a CamelFolderClass.

svn path=/trunk/; revision=13237
2001-09-28 22:38:08 +00:00
e77919dfff [Fix #8053, `GNOME_Evolution_Shortcuts' doesn't seem to work.]
* e-shell.c (e_shell_construct): Don't create the EShortcuts
object a second time.

svn path=/trunk/; revision=13236
2001-09-28 21:53:33 +00:00
564c06f69d Handle the fields and category we don't sync by making sure we don't
2001-09-28  JP Rosevear  <jpr@ximian.com>

	* conduits/calendar/calendar-conduit.c (local_record_from_comp):
	Handle the fields and category we don't sync by making sure we
	don't overwrite them
	(local_record_to_pilot_record): use local record category
	(pre_sync): track db info

	* conduits/calendar/calendar-conduit.h: db info field

	* conduits/todo/todo-conduit.[hc]: same as above

svn path=/trunk/; revision=13235
2001-09-28 21:22:43 +00:00
8f338e40f9 [Fix #8434, Shortcut bar not shown properly.]
* e-shell-view.c (e_shell_view_show_shortcut_bar): Set the
hpaned_position from the EPaned *before* hiding it -- otherwise,
the position will of course always be zero.
(e_shell_view_save_settings): Save from ->hpaned_position and
->view_hpaned_position.

svn path=/trunk/; revision=13234
2001-09-28 21:18:57 +00:00
9df95b6286 Change the import label
svn path=/trunk/; revision=13233
2001-09-28 21:18:48 +00:00
50f54e757c g_strdup (pas_backend_file_changes): ditto, make sure to free all data and
2001-09-28  JP Rosevear  <jpr@ximian.com>

	* backend/pas/pas-backend-file.c
	(pas_backend_file_changes_foreach_key): g_strdup
	(pas_backend_file_changes): ditto, make sure to free all data and
	do a hash write after each add/remove

	* conduit/address-conduit.c (local_record_to_pilot_record): use
	the local record category
	(local_record_from_ecard): ndle the fields and category we don't
	sync by making sure we don't overwrite them

svn path=/trunk/; revision=13232
2001-09-28 21:17:30 +00:00
f26378de36 Don't call mail_config_service_set_save_passwd if we didn't find a
* mail-mt.c (pass_got): Don't call
	mail_config_service_set_save_passwd if we didn't find a service.

svn path=/trunk/; revision=13231
2001-09-28 21:11:35 +00:00
a36bd3b0be New place to start the intelligent importers
svn path=/trunk/; revision=13230
2001-09-28 21:04:27 +00:00
66fd978da1 Just add the shortcut to the first group.
* mail-config.c (add_shortcut_entry): Just add the shortcut to the
first group.

svn path=/trunk/; revision=13229
2001-09-28 20:47:25 +00:00
ec852ee1f9 Stop the sort idle if the root node gets changed.
2001-09-28  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-sorted.c (ets_proxy_node_changed): Stop the sort idle if
	the root node gets changed.

svn path=/trunk/; revision=13227
2001-09-28 20:45:06 +00:00
12ab0a8e85 Call folder_browser_toggle_threads() here after setting the value. This
2001-09-28  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser-ui.c (folder_browser_ui_add_list): Call
	folder_browser_toggle_threads() here after setting the value. This
	should fix bug #6415 and if it doesn't, then this whole deal is
	just a lost cause.

svn path=/trunk/; revision=13226
2001-09-28 20:12:37 +00:00
40efc97ec7 Fixed /s/M/2º Nombre/ where M is Middle in english. A better
2001-09-29  Carlos Perelló Marín <carlos@gnome-db.org>

	* es.po: Fixed /s/M/2º Nombre/ where M is Middle in english. A better
	translation?.

svn path=/trunk/; revision=13225
2001-09-28 19:50:59 +00:00
a18e25967a Set the item label to the new rule name, not the old rule name. Fixes bug
2001-09-28  Jeffrey Stedfast  <fejj@ximian.com>

	* rule-editor.c (edit_editor_clicked): Set the item label to the
	new rule name, not the old rule name. Fixes bug #11168.

svn path=/trunk/; revision=13224
2001-09-28 19:47:44 +00:00
474e8444a3 Update Japanese translation
svn path=/trunk/; revision=13223
2001-09-28 19:34:40 +00:00
c30106cf1f Update Japanese translation.
svn path=/trunk/; revision=13222
2001-09-28 19:18:38 +00:00
3032dfd5ca removed mail-vtrash.c
svn path=/trunk/; revision=13221
2001-09-28 19:14:10 +00:00
e6ab5554d4 Allow callers to set the default type of folder to be created.
svn path=/trunk/; revision=13220
2001-09-28 18:58:17 +00:00
03dcbdb743 Added mail_msg_cleanup() prototype.
2001-09-28  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-mt.h: Added mail_msg_cleanup() prototype.

svn path=/trunk/; revision=13219
2001-09-28 18:40:55 +00:00
8
2ca8993160 Write the pipe notification outside the lock. This way if the pipe fills
2001-09-28    <NotZed@Ximian.com>

	* e-msgport.c (e_msgport_put): Write the pipe notification outside
	the lock.  This way if the pipe fills up because of too many
	outstanding request, the queue isn't deadlocked.  This only
	happens wiht 4096 outstanding messages, so something is getting
	VERY busy!  Fixes #11121.

svn path=/trunk/; revision=13218
2001-09-28 18:38:45 +00:00
dd13860c7a Oops, a CamelFolder is not a CamelFolderClass.
2001-09-28  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-vtrash-folder.c (vtrash_move_messages_to): Oops, a
	CamelFolder is not a CamelFolderClass.

svn path=/trunk/; revision=13217
2001-09-28 18:27:46 +00:00
0dcc55fcc4 update ja.po
svn path=/trunk/; revision=13216
2001-09-28 18:19:23 +00:00
2108192b07 init the execption rather than freeing it
2001-09-28  JP Rosevear  <jpr@ximian.com>

	* cal-client/cal-client.c (cal_client_open_calendar): init the
	execption rather than freeing it

svn path=/trunk/; revision=13215
2001-09-28 17:05:46 +00:00
0e524f3ed0 Deal with camel_mime_filter_charset_new_convert returning NULL. (Every
* mail-format.c (get_data_wrapper_text): Deal with
	camel_mime_filter_charset_new_convert returning NULL. (Every other
	call to it does, and something's wrong with iconv on the Sun right
	now so it keeps failing.)

svn path=/trunk/; revision=13214
2001-09-28 15:33:45 +00:00
59eb8e34ef Make this take an SSL * instead of a CamelTcpStreamSSL *, since it can get
* camel-tcp-stream-openssl.c (ssl_error_to_errno): Make this take
	an SSL * instead of a CamelTcpStreamSSL *, since it can get called
	from open_ssl_connection, when the CamelTcpStreamSSL isn't set up
	right yet. Fixes a crash on connection failure.

svn path=/trunk/; revision=13213
2001-09-28 14:36:44 +00:00
e1b0cfa7a5 Fix a printf-format bug in the translation of the "On DATE, PERSON wrote"
* de.po: Fix a printf-format bug in the translation of the "On
	DATE, PERSON wrote" string, noted on the evolution list.

svn path=/trunk/; revision=13212
2001-09-28 14:07:20 +00:00
e09413bd27 use bonobo-exception for exceptions (cal_client_open_calendar): likewise
2001-09-28  Rodrigo Moya <rodrigo@ximian.com>

	* cal-client/cal-client.c (cal_client_construct): use bonobo-exception
	for exceptions
	(cal_client_open_calendar): likewise

svn path=/trunk/; revision=13211
2001-09-28 09:49:26 +00:00
cf95717637 Update ja.po
svn path=/trunk/; revision=13210
2001-09-28 04:05:44 +00:00
7cf50b7d90 Grab the store's command_lock before grabbing the folder's cache_lock to
* providers/imap/camel-imap-folder.c
	(camel_imap_folder_fetch_data): Grab the store's command_lock
	before grabbing the folder's cache_lock to prevent deadlock if
	another thread is processing an EXPUNGE response.

	* providers/imap/camel-imap-folder.c
	(imap_expunge_uids_resyncing): Fix a compiler warning that might
	point out a real bug...

	* providers/imap/camel-imap-folder.c (get_content): and one that
	doesn't

svn path=/trunk/; revision=13209
2001-09-28 02:37:53 +00:00
7
220fba647b Use g_strdup for the uri, not the xml memory.
2001-09-27    <NotZed@Ximian.com>

        * vfolder-rule.c (xml_decode): Use g_strdup for the uri, not the
        xml memory.

        * filter-driver.c, filter-message-search.c: Removed, again, how
        did they come back???

svn path=/trunk/; revision=13208
2001-09-28 00:12:24 +00:00
905bc4ef20 Always make the Cancel button the last one.
* mail-mt.c (do_user_message): Always make the Cancel button the
last one.

svn path=/trunk/; revision=13207
2001-09-28 00:03:51 +00:00
7fcdd7c974 Minor style change to operation_registered.
svn path=/trunk/; revision=13206
2001-09-27 23:34:33 +00:00
7
dcc2eea680 Dont re-register the connect_op if we got it by calling
2001-09-27    <NotZed@Ximian.com>

	* camel-service.c (camel_service_connect): Dont re-register the
	connect_op if we got it by calling 'operation_registered', which
	returns an already-registered one.
	(camel_service_disconnect): Likewise here.
	This removes all the re-registered warnings.

svn path=/trunk/; revision=13205
2001-09-27 23:24:01 +00:00
7c878cdd1d Update pixmap menu paths; /menu/ComponentToolsPlaceholder/Tools ->
* gui/calendar-commands.c (pixmaps): Update pixmap menu paths;
/menu/ComponentToolsPlaceholder/Tools ->
/menu/Tools/ComponentPlaceholder .
* gui/tasks-control.c: Likewise.

svn path=/trunk/; revision=13204
2001-09-27 23:12:21 +00:00
ef04657851 Update the paths, /menu/ComponentToolsPlaceholder/Tools/ ->
* gui/component/addressbook.c: Update the paths,
/menu/ComponentToolsPlaceholder/Tools/ ->
/menu/Tools/ComponentPlaceholder/.

svn path=/trunk/; revision=13203
2001-09-27 23:12:11 +00:00
cb77c52063 Move the Tools menu outside the ComponentToolsPlaceholder. Likewise.
* evolution.xml: Move the Tools menu outside the
ComponentToolsPlaceholder.
* evolution-addressbook.xml: Likewise.
* evolution-calendar.xml: Likewise.
* evolution-mail-global.xml: Likewise.
* evolution-mail-message.xml: Likewise.
* evolution-mail-messagedisplay.xml: Likewise.
* evolution-tasks.xml: Likewise.
* my-evolution.xml: Likewise.

svn path=/trunk/; revision=13202
2001-09-27 23:11:49 +00:00
7
c3d6f44895 Fill the finalised data with nonsense, rather than 0's - more easily
2001-09-27    <NotZed@Ximian.com>

	* camel-object.c (camel_object_unref): Fill the finalised data
	with nonsense, rather than 0's - more easily detect bad data.
	(camel_object_new): Clear instance data when we retrieve it off
	the list.

	* camel-object.h (_CamelObject): Added an event lock pointer for
	uh, locking event stuff.  Also change the hooklist hashtable into
	a list.  Changed all the code to handle it.  Result: thread-safe
	events, event-hooks, and save memory too, and SHOULD FINALLY FIX
	THAT UNREAD COUNT PROBLEM.

svn path=/trunk/; revision=13201
2001-09-27 22:36:53 +00:00
7
0ac20c6064 No such event finalized! Its finalize. (mail_note_store): "
2001-09-27    <NotZed@Ximian.com>

        * mail-folder-cache.c (real_note_folder): No such event finalized!
        Its finalize.
        (mail_note_store): "

        Fixed dan's comment a bit, info != NULL for folder_created, info==
        NULL for changed.

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

        * mail-local.c (mlf_set_message_flags): Proxy the
        set_message_flags call too.  Doesn't fix the 'local folder counts
        dont update' problem, but its more correct.

svn path=/trunk/; revision=13200
2001-09-27 22:34:12 +00:00
a0c093ed24 CRLF decode the stream before parsing it into a MIME part. This fixes bug
2001-09-27  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-pgp-mime.c (camel_pgp_mime_part_decrypt): CRLF decode the
	stream before parsing it into a MIME part. This fixes bug #10521.

	* camel-store.c: Remove the old folder from the vTrash folder.

svn path=/trunk/; revision=13199
2001-09-27 22:32:11 +00:00
7511816ec5 Perform a NULL-check. Hopefully fixes bug #7874.
2001-09-27  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-session.c (mail_session_remember_password): Perform a
	NULL-check. Hopefully fixes bug #7874.

svn path=/trunk/; revision=13198
2001-09-27 20:56:05 +00:00
d503c5e756 Make the show todays tasks work.
svn path=/trunk/; revision=13197
2001-09-27 20:51:20 +00:00
7bb53c8528 Don't turn on the -> if the selected row is already added.
svn path=/trunk/; revision=13196
2001-09-27 20:26:47 +00:00
9fda060c7e Don't set Content-Ids on these parts since they are not contained within a
2001-09-27  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
	Don't set Content-Ids on these parts since they are not contained
	within a multipart/related - this fixes bug #10032.

svn path=/trunk/; revision=13195
2001-09-27 19:30:11 +00:00
6c47b86afe Remove. (command_new_mail_message): Removed. (command_pilot_settings):
* e-shell-view-menu.c (DEFINE_UNIMPLEMENTED): Remove.
(command_new_mail_message): Removed.
(command_pilot_settings): New.
(e_shell_view_menu_setup): Add tools verbs.

svn path=/trunk/; revision=13194
2001-09-27 18:22:54 +00:00
bc4de65744 Remove references to the "compose" program, since that functionality went
* configure.in: Remove references to the "compose" program, since
	that functionality went into the shell.
	(AC_OUTPUT): Sort and remove duplicates.

	* cmdline/*: gone

svn path=/trunk/; revision=13193
2001-09-27 15:11:24 +00:00
ac54446b56 A service needs to be disconnected if it's remote, not already offline,
* mail-offline-handler.c (service_is_relevant): A service needs to
	be disconnected if it's remote, not already offline, and either
	connected OR connecting.
	(storage_go_offline): Don't put non-relevant stores offline. (Eg,
	don't force an IMAP store which you hadn't already connected to to
	connect and sync.)
	(storage_go_online): Likewise, don't "reconnect" stores that
	weren't connected before.

	* mail-ops.c (set_offline_desc): Fix the message to say
	"reconnecting" instead of "disconnecting" when appropriate.
	(mail_store_set_offline): If offline is TRUE, call
	camel_service_cancel_connect on the store. (We do this here
	because we don't want the cancel_connect request to get queued up
	behind a hanging connection attempt.)

svn path=/trunk/; revision=13192
2001-09-27 14:47:46 +00:00
5120d7098b Change "gboolean connected" to "CamelServiceConnectionStatus status",
* camel-service.c: Change "gboolean connected" to
	"CamelServiceConnectionStatus status", which can be disconnected,
	connecting, connected, or disconnecting.
	(camel_service_init, camel_service_finalize): create/destroy the
	connect_op_lock. Refer to service->status rather than
	service->connected.
	(camel_service_connect): When connecting, note the current
	operation (and create a new one if there's none registered) and
	mark the connection "connecting" until we succeed or fail.
	(camel_service_disconnect): Likewise in reverse.
	(camel_service_cancel_connect): New function to cancel a
	connection attempt.
	(cancel_connect): Default implementation: Call
	camel_operation_cancel on the connect_op.

	* camel-disco-store.c (disco_connect): Only call
	CamelRemoteStore's connect func if we're online.
	(disco_cancel_connect): Fall back to offline if a connection gets
	cancelled.
	(disco_get_folder_info): Kludge: call connect explicitly before
	deciding whether to do the online or offline version, so if the
	connect fails, we fall back correctly.

	* camel-session.c (camel_session_get_service_connected):
	s/svc->connected/svc->status/

	* camel-remote-store.c (camel_remote_store_finalise):
	Change service->connected check to service->status check.
	(remote_connect): Don't set service->connected here:
	camel_service_connect() itself does that.

	* camel-operation.c (camel_operation_registered): Deal with the
	possibility that there's no registered op.

svn path=/trunk/; revision=13191
2001-09-27 14:39:39 +00:00