Commit Graph

13849 Commits

Author SHA1 Message Date
2d62db4541 Add support for hash type RIPEMD160.
2002-03-07  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-pgp-mime.c (camel_pgp_mime_part_sign): Add support for
	hash type RIPEMD160.

	* camel-cipher-context.h: Add RIPEMD160 hash type.

	* camel-pgp-context.c (pgp_sign): Updated to consider hash
	function for pgp5 and pgp6.
	(pgp_clearsign): Same.

svn path=/trunk/; revision=15969
2002-03-07 20:11:35 +00:00
17fd352c3b Addendum to previous commit: Remove "storage_selected" vs
"folder_selected" distinction.

	* evolution-storage-set-view.c
	(storage_set_view_widget_storage_selected_cb): Removed.

	* evolution-storage-set-view-listener.c
	(impl_GNOME_Evolution_StorageSetViewListener_notifyStorageSelected):
	Removed.
	(class_init): Remove STORAGE_SELECTED signal.

	* e-storage-set-view.c (impl_cursor_activated): Always emit
	FOLDER_SELECTED, never STORAGE_SELECTED.
	(class_init): Remove STORAGE_SELECTED signal.

	* e-shell-view.c (storage_selected_cb): Removed.

	* e-shell-folder-creation-dialog.c
	(storage_set_view_storage_selected_cb): Removed.

	* Evolution-StorageSetView.idl (StorageSetViewListener): Remove
	notifyStorageSelected.

svn path=/trunk/; revision=15968
2002-03-07 19:23:44 +00:00
d6f174ad51 Update for storage changes: explicitly create a root folder.
* component-factory.c (add_storage): Update for storage changes:
	explicitly create a root folder.

	* mail-display.c (mail_display_render): Fix the "don't scroll back
	to the top of the HTML widget when opening an attachment" hack
	again by moving it here from mail_display_redisplay(). (It has to
	happen after the gtk_html_begin.)
	(mail_display_redisplay): Pass reset_scroll arg to
	mail_display_render.

	* mail-callbacks.c (do_mail_print): Pass reset_scroll (TRUE) to
	mail_display_render.

svn path=/trunk/; revision=15967
2002-03-07 18:34:14 +00:00
127d736b66 Update for evolution_storage_new() change.
* gui/component/addressbook-storage.c
	(addressbook_get_other_contact_storage): Update for
	evolution_storage_new() change.

svn path=/trunk/; revision=15966
2002-03-07 18:28:40 +00:00
7065f6dba3 Make storages-with-toplevel-views less of a hack.
* e-folder-tree.c (e_folder_tree_add): Allow the caller to "add" a
	root folder, if the existing root folder has no children.
	(e_folder_tree_new): Use e_folder_tree_add to create the root
	folder, since it can do that now.

	* e-storage.c: (e_storage_construct): Replace toplevel_node_uri
	and toplevel_node_type args with root_folder.
	(e_storage_new): Likewise.
	(*): Remove toplevel uri/type stuff everywhere. Also remove
	display_name since now we will use the name of the root folder for
	that.

	* evolution-storage.c: Remove toplevel uri/type stuff everywhere.

	* e-local-storage.c (construct): Pass root_folder to
	e_storage_construct instead of toplevel uri/type.
	Also, evolution_storage_new no longer takes toplevel uri/type.

	* e-corba-storage.c (e_corba_storage_construct): Out with toplevel
	uri/type, in with root_folder.
	(e_corba_storage_new): Remove toplevel uri/type.

	* e-shell.c (setup_local_storage): Create a top-level folder of
	type "summary" for the Summary storage.

	* e-storage-set-view.c (set_e_shortcut_selection): Remove
	special-case for storages.
	(etree_icon_at): Remove special case for figuring out storage
	icons (but leave the code that makes the icon disappear once the
	storage is opened).
	(etree_value_at): Remove special case for storage names. (But
	still make storages always bold.) Remove unused special-case code
	for Summary.

	* e-shortcuts.c (load_shortcuts): Remove special case for
	storages, reorganize a bit.

	* e-shortcuts-view.c (get_shortcut_info): Remove special case for
	storages.

	* e-shell-view.c (update_for_current_uri): Remove special case for
	storages.
	(socket_destroy_cb): Likewise.
	(get_type_for_storage): No longer needed.
	(get_view_for_uri): No longer needs to special-case storages (but
	add a special case for folders of type "noselect", to make them
	unselectable like storages-without-toplevel-views used to be).

	* e-storage-set.c (get_storage_for_path): If passed "/foo", return
	"/" as subpath_return so e_storage_set_get_folder will DTRT in the
	NWO.

	* Evolution-Storage.idl (addStorage): Remove the toplevel_node_uri
	and toplevel_node_type arguments.

	* e-corba-storage-registry.c (impl_StorageRegistry_addStorage):
	Likewise.

svn path=/trunk/; revision=15965
2002-03-07 18:26:57 +00:00
654b9618c8 ops, unregister and not register new one sig_event_client
2002-03-07  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (destroy): ops, unregister and not register new
	one sig_event_client

svn path=/trunk/; revision=15964
2002-03-07 16:56:13 +00:00
06ddc94963 Add a timeout on the select. (stream_write): Same.
2002-03-07  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-tcp-stream-openssl.c (stream_read): Add a timeout on the
	select.
	(stream_write): Same.

svn path=/trunk/; revision=15963
2002-03-07 16:24:19 +00:00
69a4ca1fb2 removed missing file
svn path=/trunk/; revision=15962
2002-03-07 15:24:57 +00:00
62bf0095c5 comment out signature setting
2002-03-07  Radek Doulik  <rodo@ximian.com>

	* netscape-importer.c (netscape_import_accounts): comment out
	signature setting

svn path=/trunk/; revision=15961
2002-03-07 15:18:53 +00:00
a1bb1ba0fe merge new signature handling
svn path=/trunk/; revision=15960
2002-03-07 00:21:59 +00:00
fb1819e374 Fix to work with OpenSSL.
2002-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/smtp/camel-smtp-transport.c (connect_to_server): Fix
	to work with OpenSSL.

svn path=/trunk/; revision=15959
2002-03-07 00:15:44 +00:00
3bc843ceb5 Keep the storage name and display_name in EStoragePriv. (impl_get_name,
* e-storage.c: Keep the storage name and display_name in
	EStoragePriv.
	(impl_get_name, impl_get_display_name): Return them.
	(e_storage_construct): Set them here.
	(e_storage_new): And here.

	* e-local-storage.c: (impl_get_name, impl_get_display_name):
	Removed.
	(construct): Pass E_LOCAL_STORAGE_NAME and U_("Local Folders") to
	e_storage_construct.

	* e-corba-storage.c: Remove priv->name.
	(get_name, get_display_name): Removed.
	(e_corba_storage_construct): Pass name to e_storage_construct().

	* e-summary-storage.[ch]: Gone. This didn't override anything in
	EStorage but get_name/get_display_name, and the defaults for those
	DTRT now.

	* e-shell-constants.h: Move E_SUMMARY_STORAGE_NAME here from
	e-summary-storage.h, and move E_LOCAL_STORAGE_NAME too for
	consistency.

	* e-storage-set-view.c: Fix up #includes.

	* e-shell-importer.c: Likewise

	* e-shell.c: Likewise. Create summary_storage as a plain EStorage
	since ESummaryStorage is gone now.

	* Makefile.am (evolution_SOURCES): Remove e-summary-storage.[ch]

svn path=/trunk/; revision=15955
2002-03-06 23:36:27 +00:00
a3dfdc714c Fix up GList/GSList confusion.
* e-corba-storage-registry.c
	(impl_StorageRegistry_removeListener): Fix up GList/GSList
	confusion.

	* e-shell-user-creatable-items-handler.c
	(get_default_action_for_view): Don't look into the types list if
	it's empty.

svn path=/trunk/; revision=15954
2002-03-06 23:33:35 +00:00
7324c70f41 compile fixes. (camel_tcp_stream_openssl_enable_ssl): Check to make sure
2002-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-tcp-stream-openssl.c: compile fixes.
	(camel_tcp_stream_openssl_enable_ssl): Check to make sure that the
	sockfd != -1, it's not enough to check that it is non-zero. Also
	set the sockfd to -1 on fail (open_ssl_connection will close the
	sockfd on fail).

svn path=/trunk/; revision=15953
2002-03-06 22:32:17 +00:00
cb85cdf892 Allow the user to enable OpenSSL over Mozilla NSS using --enable-openssl
2002-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* configure.in: Allow the user to enable OpenSSL over Mozilla NSS
	using --enable-openssl or --disable-nss.

svn path=/trunk/; revision=15952
2002-03-06 22:10:47 +00:00
ae4be8efcc updated i18n header
svn path=/trunk/; revision=15951
2002-03-06 21:19:47 +00:00
0465444d8c Added beep and play-sound actions.
2002-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* filtertypes.xml: Added beep and play-sound actions.

svn path=/trunk/; revision=15950
2002-03-06 21:19:15 +00:00
aef85ea3ef Reduce width of the copyright message so it looks prettier with the new
* e-shell-about-box.c: Reduce width of the copyright message so it
looks prettier with the new Rupert artwork.

svn path=/trunk/; revision=15947
2002-03-06 19:30:58 +00:00
6a2ba3bd3a Make this compile.
* providers/smtp/camel-smtp-transport.c (smtp_construct): Make
	this compile.

svn path=/trunk/; revision=15946
2002-03-06 19:14:50 +00:00
649b0cf76d Should fix #21240
2002-03-06  Rodrigo Moya <rodrigo@ximian.com>

	Should fix #21240

	* gui/alarm-notify/alarm-notify.c: replaced use of GnomeVFSURI
	with EUri, to allow non-registered methods.

svn path=/trunk/; revision=15944
2002-03-06 18:32:33 +00:00
3b59224e6f reverted my last change of adding the METHOD property to the incoming
2002-03-05  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-itip-control.c (e_itip_control_set_data): reverted my last
	change of adding the METHOD property to the incoming request.

	* gui/itip-utils.c (comp_string): added extra
	X-MICROSOFT-CDO-REPLYTIME property for broken Outlook. Should fix
	#20783.

svn path=/trunk/; revision=15940
2002-03-06 12:07:26 +00:00
f0ca248aed treat "" as "always" to maintain compatablity with old config settings
svn path=/trunk/; revision=15939
2002-03-06 01:43:22 +00:00
3110d8b740 Removed. Glory glory hallelujah! (ssl_bad_cert): No longer calls
2002-03-05  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-tcp-stream-ssl.c (save_ssl_cert): Removed. Glory glory
	hallelujah!
	(ssl_bad_cert): No longer calls ssl_save_cert or
	ssl_cert_is_saved.

svn path=/trunk/; revision=15938
2002-03-06 00:54:22 +00:00
bdb8a0a993 Start the ssl stream off in non-ssl mode (useful for STARTTLS).
2002-03-05  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-tcp-stream-openssl.c (camel_tcp_stream_openssl_new_raw):
	Start the ssl stream off in non-ssl mode (useful for STARTTLS).
	(camel_tcp_stream_openssl_enable_ssl): New function to toggle an
	ssl stream into ssl mode.
	(open_ssl_connection): Close the sockfd on fail so our caller
	doesn't have to - this also allows us to save the original errno.
	(stream_connect): If we want ssl mode, do our ssl stuff.
	(camel_tcp_stream_openssl_class_init): Init some SSL stuff here
	instead of in open_ssl_connection since these only ever need to be
	called once.
	(stream_read): Only use SSL_read if we are in ssl mode.
	(stream_write): Only use SSL_write if we are in ssl mode.

	* providers/smtp/camel-smtp-transport.c (smtp_helo): Check for the
	STARTTLS extension.
	(connect_to_server): Try to use STARTTLS whenever possible rather
	than the old way of doing things.
	(connect_to_server_wrapper): Wrapper around connect_to_server() to
	first try STARTTLS and then attempt normal SSL mode if we can't
	connect via STARTTLS.

	* camel-tcp-stream-ssl.c (camel_tcp_stream_ssl_enable_ssl): New
	function to toggle an ssl stream into ssl mode.
	(camel_tcp_stream_ssl_new_raw): Start the ssl stream off in
	non-ssl mode (useful for STARTTLS).
	(stream_connect): Only connect in SSL mode if required.

svn path=/trunk/; revision=15937
2002-03-06 00:33:37 +00:00
b1214384b6 Don't try to set pixmap for /Toolbar/MailCompose, since it doesn't exist
* folder-browser-ui.c: Don't try to set pixmap for
	/Toolbar/MailCompose, since it doesn't exist any more.

svn path=/trunk/; revision=15935
2002-03-05 23:29:55 +00:00
b0ee069191 "use_ssl" can now be 3 options, modify the code to handle this.
2002-03-05  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (save_service): "use_ssl" can now be 3
	options, modify the code to handle this.
	(setup_service): Toggle the correct ssl option.
	(source_type_changed): Show/hide the ssl hbox container widget.
	(transport_type_changed): Same.

svn path=/trunk/; revision=15933
2002-03-05 22:56:14 +00:00
38342cf57a New. New.
* test-multi-config-dialog.c: New.
* test-multi-config-dialog.h: New.

* e-multi-config-dialog.c: New.
* e-multi-config-dialog.h: New.

svn path=/trunk/; revision=15932
2002-03-05 22:49:32 +00:00
1bc7073a90 [pullup from evolution-1-0-branch]
* gui/itip-utils.c (comp_compliant): Reset the DTSTAMP of the new
	component. (RFC2245 says DTSTAMP corresponds to the time the
	particular iCalendar representation of the object was created.)
	Fixes #21198.

svn path=/trunk/; revision=15930
2002-03-05 21:44:44 +00:00
4db8df6b4d Pull up assertion change from evolution-1-0-branch to allow external
* mail-folder-cache.c (mail_note_store): Pull up assertion change
	from evolution-1-0-branch to allow external storages.

svn path=/trunk/; revision=15928
2002-03-05 21:17:46 +00:00
f6f3d8d543 Re-disable tooltips since they're (still) fantastically obnoxious with
* e-table-item.c: Re-disable tooltips since they're (still)
	fantastically obnoxious with focus-follows-mouse. (OKed by Ettore).

svn path=/trunk/; revision=15927
2002-03-05 21:13:00 +00:00
41c0e5bb18 remove unneeded parameter from print_text_size everywhere
2002-03-05  JP Rosevear  <jpr@ximian.com>

	* gui/print.c: remove unneeded parameter from print_text_size
	everywhere
	(get_font_for_size): calculate a font size based on the available
	height
	(print_text): calculate the top of where the font should be drawn
	(print_text_size): use get_font_for_size
	(print_day_background): use get_font_for_size

2002-03-05  JP Rosevear  <jpr@ximian.com>

	* gui/e-meeting-time-sel-item.c
	(e_meeting_time_selector_item_draw): pass the real table
	to e_meeting_model_etable_view_to_model_row
	(e_meeting_time_selector_item_paint_busy_periods): ditto

	* gui/dialogs/meeting-page.c (right_click_cb): ditto

	* gui/e-meeting-model.h: update protos

	* gui/e-meeting-model.c
	(e_meeting_model_etable_model_to_view_row): take in to account the
	fact the table used the without model
	(e_meeting_model_etable_view_to_model_row): ditto

svn path=/trunk/; revision=15926
2002-03-05 20:47:48 +00:00
5c10817db4 oops. not these two
svn path=/trunk/; revision=15924
2002-03-05 16:58:34 +00:00
60eaaca663 I'm not dead yet!
svn path=/trunk/; revision=15919
2002-03-05 16:57:29 +00:00
33c3f207a5 These macros aren't needed in gnome2
These macros aren't needed in gnome2

svn path=/trunk/; revision=15918
2002-03-05 16:20:39 +00:00
e3de4b0e75 don't set "editable" here, as the way things work the backend isn't able
2002-03-05  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-minicard-view-widget.c
	(e_minicard_view_widget_realize): don't set "editable" here, as
	the way things work the backend isn't able to override a setting
	from the UI, so writable books never show up as writable.

svn path=/trunk/; revision=15917
2002-03-05 11:15:37 +00:00
e3075a8d20 If the clicked column was column 0, enable/disable it. (mail_select):
2002-03-04  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (mail_unselect): If the clicked column was
	column 0, enable/disable it.
	(mail_select): Same.

svn path=/trunk/; revision=15914
2002-03-05 01:25:26 +00:00
d4f86e5264 [fixes bug #20871] add the status-message label.
2002-03-04  Chris Toshok  <toshok@ximian.com>

        [fixes bug #20871]
        * gui/component/select-names/select-names.glade: add the
        status-message label.

        * gui/component/select-names/e-select-names.h (struct
        _ESelectNames): add status_message field.

        * gui/component/select-names/e-select-names.c (status_message):
        new function, set the label's text from the message.
        (e_select_names_init): get the status-message label, and if it's
        valid, connect to the status_message signal of the
        EAddressbookModel.

svn path=/trunk/; revision=15913
2002-03-04 23:42:19 +00:00
1bd6c04cf6 Added more debugging code to help figure out why a certain image isn't
2002-03-04  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (load_http): Added more debugging code to help
	figure out why a certain image isn't loading - looks like
	gnome-vfs is getting a premature EOF?

svn path=/trunk/; revision=15910
2002-03-04 23:01:28 +00:00
c5f85f4f33 Connect to the focus-in/out events on the message-list so that we can
2002-03-04  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (my_folder_browser_init): Connect to the
	focus-in/out events on the message-list so that we can disable the
	EditInvertSelection and EditSelectThread menu items when the
	message-list is not in focus.

	* folder-browser-ui.c (folder_browser_ui_message_list_unfocus):
	New function to de-sensitize some items if the message-list is not
	in focus.
	(folder_browser_ui_message_list_focus): New function to sensitize
	some items if the message-list is not in focus.

	* mail-callbacks.c (invert_selection): Only invert the selection
	of the message-list if it is the widget in focus.

	* message-list.c (message_list_select): Do not explicitly grab the
	focus here.

svn path=/trunk/; revision=15909
2002-03-04 22:01:12 +00:00
944f73858b Rename the internal structure to coincide with the filenames.
2002-03-04  Jeffrey Stedfast  <fejj@ximian.com>

	* forward.xpm, reply.xpm, reply_to_all.xpm: Rename the internal
	structure to coincide with the filenames.

svn path=/trunk/; revision=15908
2002-03-04 21:34:27 +00:00
046de2dc3f #include <string.h> for strcmp.
2002-03-04  Jeffrey Stedfast  <fejj@ximian.com>

	* e-mktemp.c: #include <string.h> for strcmp.

svn path=/trunk/; revision=15907
2002-03-04 20:33:34 +00:00
1816d860eb added support for printing the Tasks table. I hacked it a bit so the user
2002-03-04  Damon Chaplin  <damon@ximian.com>

	* gui/tasks-control.c: added support for printing the Tasks table.
	I hacked it a bit so the user could choose portrait or landscape mode.
	This is bug #9677. ETable printing has a few issues, though, and it
	isn't very pretty.

svn path=/trunk/; revision=15906
2002-03-04 19:38:45 +00:00
bc1fc10660 added Print & PrintPreview stuff.
2002-03-04  Damon Chaplin  <damon@ximian.com>

	* evolution-tasks.xml: added Print & PrintPreview stuff.

svn path=/trunk/; revision=15905
2002-03-04 19:35:21 +00:00
09ab532c39 only call the cell's print method if it has one. Avoids crashing for
2002-03-04  Damon Chaplin  <damon@ximian.com>

	* e-cell.c (e_cell_print): only call the cell's print method if it has
	one. Avoids crashing for unimplemented print methods.

svn path=/trunk/; revision=15903
2002-03-04 19:30:31 +00:00
dc0b9c9b6c Set X-Mailer to say "Ximian Evolution", not just "Evolution".
* mail-ops.c (mail_send_message): Set X-Mailer to say "Ximian
Evolution", not just "Evolution".

svn path=/trunk/; revision=15901
2002-03-04 18:16:30 +00:00
5623768424 CORBA stuff required for the summary to find out details about storages from the shell
svn path=/trunk/; revision=15899
2002-03-04 17:11:25 +00:00
0ccb79c8ca [Fix #20234, Deleting Folder gratuitiously causes /local to open.]
2002-03-04  Ettore Perazzoli  <ettore@ximian.com>

	[Fix #20234, Deleting Folder gratuitiously causes /local to open.]

	* e-shell-view.c (find_inbox_in_storage): New helper function to
	heuristically find an Inbox folder.
	(handle_current_folder_removed): New function to handle the
	removal of the currently displayed folder in a slightly smarter
	way than before.  It tries to display the parent folder of the
	folder that got deleted and, if not possible, the Inbox in the
	same storage.  If neither of this is possible, it displays the
	default local Inbox.  [It still doesn't handle the case where you
	have no Inbox gracefully, but that can come later.]
	(storage_set_removed_folder_callback): Call
	`handle_current_folder_removed'.

2002-03-04  Ettore Perazzoli  <ettore@ximian.com>

	[Fix #20237, Shell silently drops xfer_folder errors.]

	* e-shell-folder-commands.c (xfer_result_callback): Display an
	error message if the operation failed.

svn path=/trunk/; revision=15898
2002-03-04 16:53:45 +00:00
51130d0659 [pullup from evolution-1-0-branch]
* gui/itip-utils.c (comp_subject): Prefix the subject with an
        indicator like "Accepted" or "Cancelled" explaining what the
        action is, since Outlook doesn't display any of that information
        inline like we do. (20780)

svn path=/trunk/; revision=15896
2002-03-04 15:25:01 +00:00
0cb5b63f1a [pullup from evolution-1-0-branch]
* e-msg-composer.c (build_message): Fix a dumb bug in previous
        commit that broke iMIP containing 8-bit data.

svn path=/trunk/; revision=15895
2002-03-04 15:19:16 +00:00
f6d9c97116 Updated Slovenian translation
svn path=/trunk/; revision=15891
2002-03-02 23:46:22 +00:00