Commit Graph

14586 Commits

Author SHA1 Message Date
2249eb203e use new save_header_state flag
2002-07-15  Radek Doulik  <rodo@ximian.com>

	* mail-callbacks.c: use new save_header_state flag

svn path=/trunk/; revision=17467
2002-07-15 20:45:06 +00:00
f58d287adc added save_html_object_data parameter, use gtkhtml command to save object
2002-07-15  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (build_message): added save_html_object_data
	parameter, use gtkhtml command to save object data when wanted

svn path=/trunk/; revision=17466
2002-07-15 20:44:25 +00:00
e538df8df1 Get rid of the constant 'required' variable, just use the value when
2002-07-15  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/smtp/camel-smtp-transport.c (smtp_data): Get rid of
	the constant 'required' variable, just use the value when calling
	set_best_encoding.

svn path=/trunk/; revision=17465
2002-07-15 20:40:16 +00:00
2a740f6350 Changed the mbox and spool provider descriptions to try and be more clear.
2002-07-15  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/local/camel-local-provider.c: Changed the mbox and
	spool provider descriptions to try and be more clear. I'm not sure
	I like the mention of Evolution in the mbox provider description,
	but there was no other way to make it clear that it MOVED mail out
	of the mbox folder into a folder managed by Evolution without
	mentioning Evolution. *sigh* Anyways, to me "retrieve" means move,
	but apparently this isn't clear to the weak minded.

svn path=/trunk/; revision=17464
2002-07-15 20:36:54 +00:00
3b8e4896e2 Fixes #8001
2002-07-14  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #8001

	* importers/icalendar-importer.c (connect_to_shell): new function for
	connecting the importers (both iCal and vCal) to the shell, needed for
	some information retrieval about the folders we're importing to.
	(ical_importer_new, vcal_importer_new): call connect_to_shell.
	(importer_destroy_cb): unref the shell client object.
	(get_uri_from_folder_path): retrieve the uri from the storage
	registry.
	(check_folder_type): removed.

	* importers/Makefile.am: included libeshell to LIBS.

svn path=/trunk/; revision=17463
2002-07-15 19:24:27 +00:00
d503b1a1c0 Add a Control-Return accel for "FileSaveClose".
* evolution-signature-editor.xml: Add a Control-Return accel for
"FileSaveClose".

* evolution-contact-list-editor.xml: Add a Control-Return accel for
"ContactListEditorSaveClose".

* evolution-contact-editor.xml: Add a Control-Return accel for
"ContactEditorSaveClose".

svn path=/trunk/; revision=17462
2002-07-15 19:22:43 +00:00
a0e89c35a5 no need to convert the value returned by e_folder_tree_get_folder to a
2002-07-14  Rodrigo Moya <rodrigo@ximian.com>

	* evolution-storage.c (impl_Storage_getFolderAtPath): no need to
	convert the value returned by e_folder_tree_get_folder to a
	GNOME_Evolution_Folder, since it already is, and duplicate it before
	returning.

svn path=/trunk/; revision=17461
2002-07-15 19:22:36 +00:00
ac9cea6dde >= is not appropriate here because the sequences are 1-based; so seq =
2002-07-15  Peter Williams  <peterw@ximian.com>

	* providers/imap/camel-imap-folder.c (imap_rescan): >= is not appropriate
	here because the sequences are 1-based; so seq = summary_len is valid.
	Hopefully addresses 15646, because this caused the last message in a folder
	to be reloaded, replacing its CamelMessageInfo, and the tree view was using
	the old CamelMessageInfo.

svn path=/trunk/; revision=17460
2002-07-15 19:18:12 +00:00
f9a7422465 Account for the case that when a disco store is "online" but actually
2002-07-15  Peter Williams  <peterw@ximian.com>

	* mail-offline-handler.c (service_is_relevant): Account for the case
	that when a disco store is "online" but actually offline and we're
	going online, we should actually connect it.

	* component-factory.c (mail_load_storages): Always set auto_connect
	to FALSE, same reason as below.

	* mail-session.c (mail_session_init): Initialize our session to not be online,
	since the shell will tell us to go online if we need to.

svn path=/trunk/; revision=17459
2002-07-15 15:00:05 +00:00
7e9fe06664 remove a stray conflict marker
svn path=/trunk/; revision=17458
2002-07-15 14:45:08 +00:00
b9f0e2bb93 Define a versioned library directory that we can use for things that are
2002-07-10  Peter Williams  <peterw@ximian.com>

	* configure.in (privlibdir): Define a versioned library directory that we can
	use for things that are ABI-sensitive: camel providers, importers... Define
	camel_providerder in terms of this, resulting in a new location for the
	providers. Camel will have to be rebuilt for it to get the new
	-D flag.

mail:

2002-07-10  Peter Williams  <peterw@ximian.com>

	* Makefile.am (importerdir): Define this in terms of the new
	privlibdir, again resulting in a new directory name.

	* importers/Makefile.am (importersdir): Here too.

svn path=/trunk/; revision=17457
2002-07-15 14:43:16 +00:00
d925578fa8 Another fix for the IDL rename, ugh.
svn path=/trunk/; revision=17456
2002-07-15 14:32:05 +00:00
3ce841b464 Replace filter-score with filter-int.
2002-07-15  Not Zed  <NotZed@Ximian.com>

        * netscape-importer.c: Replace filter-score with filter-int.

svn path=/trunk/; revision=17455
2002-07-15 14:21:30 +00:00
da109858da Changelog is pending some other patch approval so i'm not commiting.
2002-07-15  Not Zed  <NotZed@Ximian.com>

        * filter-score.[ch]: cvs remove.

        * filter-element.c: Remove reference to filter-score.h

svn path=/trunk/; revision=17454
2002-07-15 14:19:55 +00:00
74c652de58 Set the vfolder_editor variable to null before we close the dialogue,
2002-07-15  Not Zed  <NotZed@Ximian.com>

        * mail-vfolder.c (vfolder_editor_clicked): Set the vfolder_editor
        variable to null before we close the dialogue, otherwise the close
        destroys it and reverts the file.

svn path=/trunk/; revision=17453
2002-07-15 08:37:14 +00:00
7ead5a04c4 Oops, accidentally checked in some unfinished, unworking code. Reverted.
2002-07-15  Not Zed  <NotZed@Ximian.com>

	* component-factory.c (populate_folder_context_menu): Oops,
	accidentally checked in some unfinished, unworking code.
	Reverted.

svn path=/trunk/; revision=17452
2002-07-15 07:10:03 +00:00
027f53a2c8 set corba_folder.customIconName so we don't crash.
2002-07-14  Chris Toshok  <toshok@ximian.com>

	* e-shell.c (folder_selection_dialog_folder_selected_cb): set
	corba_folder.customIconName so we don't crash.
	(impl_Shell_selectUserFolder): remove the default_type parameter
	to fix a compiler warning.

svn path=/trunk/; revision=17451
2002-07-15 07:03:38 +00:00
f909a99894 Only assign a uid if indexing is enabled. This stops us always assigning a
2002-07-13  Not Zed  <NotZed@Ximian.com>

        * camel-folder-summary.c
        (camel_folder_summary_info_new_from_message): Only assign a uid if
        indexing is enabled.  This stops us always assigning a uid in the
        imap folder and disco folder?

        * providers/imap/camel-imap-folder.c (imap_update_summary): Also
        check the uid is set at all, another bit of a fix for #15667.

2002-07-09  Not Zed  <NotZed@Ximian.com>

        * providers/imap/camel-imap-folder.c (imap_update_summary): Check
        for existing messages of the same uid before doing anything.  If
        it exists, do nothing (perhaps it should merge?).  A dirty hack for
        #15667.

svn path=/trunk/; revision=17450
2002-07-15 02:11:16 +00:00
393fa3c3e8 ** fixes for #10781
2002-07-10  Not Zed  <NotZed@Ximian.com>

        ** fixes for #10781

        * mail-callbacks.c (filter_edit): Add back a cancel button.  We
        dont need to do anything special to 'undo' here, as the rules are
        loaded every time they're used.

        * mail-vfolder.c (vfolder_editor_clicked): If ok wans't clicked,
        revert the ruleset.
        (vfolder_editor_destroy): Fake a button of -1 if we get destroyed
        with no click.
        (context_rule_removed): Unref the folder after we delete it.  If
        we're the last ref to the folder, unrefing it means it no longer
        exist,s which means no delte processing occurs ...

svn path=/trunk/; revision=17449
2002-07-15 02:06:46 +00:00
68ec840bca ** fixes for #10781
2002-07-10  Not Zed  <NotZed@Ximian.com>

        ** fixes for #10781

        * filter-int.c (xml_encode):
        (xml_decode): Handle encoding/decoding with a type name, in a
        manner compatible with the score/label elemtns.
        (filter_int_new_type): New constructor to create a generic 'int'
        type.

        * filter-score.c: Removed.  Now relies on using a filter-int with
        appropriate settings.

        * filter-label.[ch]: Now inherits from filter-int.

        * rule-context.c (rule_context_revert): New method to revert a
        filter context back to a user-file's definition.
        (revert): implementation.

        * filter-rule.h: Added new virtual method _eq and wrapper, and
        fixed all subclasses to implement it.

        * filter-element.h: Added new virtual method _eq and wrapper.
        Fixed all subclasses to implement it.

svn path=/trunk/; revision=17448
2002-07-15 01:46:17 +00:00
e785008af0 free the full_name (as well as given_name. oops.)
2002-07-12  Chris Toshok  <toshok@ximian.com>

	* backend/pas/pas-backend-summary.c (free_summary_item): free the
	full_name (as well as given_name.  oops.)
	(pas_backend_summary_new): new summaries are version 3.0 now.
	(pas_backend_summary_load_item): all loaded summaries should be
	3.0+, as we fail to load versions lower than that.
	(pas_backend_summary_load_header): if the summary isn't version
	3.0 fail out, as we need to rebuild the entire file to cache the
	full_name fields.
	(pas_backend_summary_save_item): save out the full_name.
	(pas_backend_summary_add_card): put the item's full_name in the
	card.

svn path=/trunk/; revision=17447
2002-07-13 04:15:09 +00:00
35f9c1d29b Make the ENTRY_PROPERTY_ID_SIMPLE_CARD_LIST case not crash, although
* gui/component/select-names/e-select-names-bonobo.c
	(entry_get_property_fn): Make the
	ENTRY_PROPERTY_ID_SIMPLE_CARD_LIST case not crash, although
	there's still something wrong.

svn path=/trunk/; revision=17446
2002-07-12 23:58:45 +00:00
47f459e210 On error, do not unref the parts gotten using camel_multipart_get_part()
2002-07-12  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-multipart-encrypted.c (camel_multipart_encrypted_decrypt):
	On error, do not unref the parts gotten using
	camel_multipart_get_part() since that function does not ref the
	parts. Also don't forget to reset the decrypted stream before
	trying to parse it ;-)

svn path=/trunk/; revision=17445
2002-07-12 23:14:16 +00:00
efdafd9d87 dup the listener, for consistency with the other signals
* evolution-storage.c (impl_Storage_asyncDiscoverSharedFolder):
	dup the listener, for consistency with the other signals

svn path=/trunk/; revision=17444
2002-07-12 21:33:18 +00:00
362f59f590 Sigh, fix for the wombat.idl -> Evolution-Wombat.idl rename here too. At
2002-07-12  Peter Williams  <peterw@ximian.com>

	* pcs/cal.c: Sigh, fix for the wombat.idl -> Evolution-Wombat.idl
	rename here too. At least grep indicates that's all that needs to
	be fixed.

svn path=/trunk/; revision=17443
2002-07-12 18:00:47 +00:00
074558a8d0 e-util relies on bonobo-conf in e-passwords.c and
2002-07-12  Peter Williams  <peterw@ximian.com>

	* configure.in (E_UTIL_LIBS): e-util relies on bonobo-conf
	in e-passwords.c and e-categories-master-list-wombat.c, so
	reflect that here. ** And the e-port code needs THREADS_LIBS. **

svn path=/trunk/; revision=17442
2002-07-12 17:51:49 +00:00
bcbec07734 (clicked): Ref the parent_window and then unref after you are done using
(clicked): Ref the
parent_window and then unref after you are done using it.
[#27673]

svn path=/trunk/; revision=17441
2002-07-12 17:48:47 +00:00
e76cfada5e e-util relies on bonobo-conf in e-passwords.c and
2002-07-12  Peter Williams  <peterw@ximian.com>

	* configure.in (E_UTIL_LIBS): e-util relies on bonobo-conf
	in e-passwords.c and e-categories-master-list-wombat.c, so
	reflect that here.

svn path=/trunk/; revision=17440
2002-07-12 17:45:24 +00:00
4584d993bd Install some headers that weren't getting installed.
2002-07-12  Peter Williams  <peterw@ximian.com>

	* Makefile.am (eshellinclude_HEADERS): Install some headers
	that weren't getting installed.

svn path=/trunk/; revision=17439
2002-07-12 17:04:36 +00:00
72820b28c2 Oops, change wombat.h -> Evolution-Wombat.h
2002-07-12  Peter Williams  <peterw@ximian.com>

	* wombat-client.h: Oops, change wombat.h -> Evolution-Wombat.h

svn path=/trunk/; revision=17438
2002-07-12 16:49:00 +00:00
9c9771feb5 libwombat:
2002-07-09  Peter Williams  <peterw@ximian.com>

	* Makefile.am: Reference the renamed Evolution-Wombat.idl
	instead of wombat.idl.

wombat:

2002-07-08  Peter Williams  <peterw@ximian.com>

	* wombat.idl: Renamed to Evolution-Wombat.idl, since
	we're installing it now and should play nice namespacily.

	* Makefile.am: Rename wombat.idl and install it.

svn path=/trunk/; revision=17437
2002-07-12 14:31:32 +00:00
852da3646e Updated to not use camel_type_get_global_classfuncs() since this is just a
2002-07-12  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-multipart.c (camel_multipart_class_init): Updated to not
	use camel_type_get_global_classfuncs() since this is just a cast
	macro now.

svn path=/trunk/; revision=17436
2002-07-12 07:12:24 +00:00
ad3524ee83 oops, changed the location of where we check for multipart/encrypted
svn path=/trunk/; revision=17435
2002-07-12 06:59:08 +00:00
36b6d6469d Handle multipart/encrypted parts too.
2002-07-12  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/imap/camel-imap-folder.c (get_content): Handle
	multipart/encrypted parts too.

	* camel-mime-part-utils.c
	(camel_mime_part_construct_content_from_parser): Handle
	multipart/encrypted types too.

svn path=/trunk/; revision=17434
2002-07-12 06:27:11 +00:00
414ee2389f Don't let any parts have a binary encoding.
2002-07-11  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/smtp/camel-smtp-transport.c (smtp_data): Don't let any
	parts have a binary encoding.

svn path=/trunk/; revision=17433
2002-07-12 02:57:32 +00:00
f91e891868 added missing glade files from shell/glade
svn path=/trunk/; revision=17432
2002-07-11 23:26:17 +00:00
6ca1fef63d updated
svn path=/trunk/; revision=17431
2002-07-11 23:04:13 +00:00
b6f0410f6f updated
svn path=/trunk/; revision=17430
2002-07-11 22:50:42 +00:00
b5dd74d8ac oops, apparently I didn't save?
svn path=/trunk/; revision=17429
2002-07-11 22:36:22 +00:00
de180f6cbb Fixes bug #27672
2002-07-11  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes bug #27672

	* camel-mime-filter-bestenc.c: Conditionally #include <config.h>

	* camel-mime-filter-linewrap.c: Same here... although we could
	probably just get rid of this filter? We don't seem to use it
	anywhere since we try to QP/Base64 encode any text parts with long
	lines. Besides, we couldn't use this filter for SMTP anyway since
	we can't risk possibly linewrapping a binary mime part. I dunno,
	maybe this could be useful in the composer though? *shrug*

	* providers/smtp/camel-smtp-transport.c (smtp_data): Always call
	camel_mime_message_set_best_encoding() even if the server allows
	8BITMIME and even if we don't have any 8bit parts because we may
	have parts with long lines (>998 octets) which also need to be
	encoded.

	* camel-mime-message.c (check_8bit): Don't forget to check for the
	binary encoding here as well.

svn path=/trunk/; revision=17428
2002-07-11 22:30:51 +00:00
2415667b55 Add an accelerator for "FileClose".
svn path=/trunk/; revision=17427
2002-07-11 21:36:34 +00:00
583f8ba770 Allow a NULL icon [remove the precondition].
* e-shell-folder-title-bar.c (e_shell_folder_title_bar_set_icon):
Allow a NULL icon [remove the precondition].

* e-shell-view.c (update_folder_title_bar): Only unref the
folder_icon if not NULL.

svn path=/trunk/; revision=17426
2002-07-11 21:28:24 +00:00
e8e6da1676 Actually pass the evolution URI, not the path, in Folder.evolutionUri
* e-summary-preferences.c (set_selected_folders): Actually pass
the evolution URI, not the path, in Folder.evolutionUri (since now
the shell StorageSetView implementation has been fixed to handle
this field properly).

* evolution-storage-set-view.c
(impl_StorageSetView__set_checkedFolders): Handle
Folder.evolutionUri as a URI, not as a path.  Also use
e_free_string_list().

svn path=/trunk/; revision=17425
2002-07-11 21:14:52 +00:00
d1b9e09e70 If we are fetching HEADERs, don't cache the stream - instead just create a
2002-07-11  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/imap/camel-imap-folder.c (parse_fetch_response): If we
	are fetching HEADERs, don't cache the stream - instead just create
	a mem-stream and return that. This reduces a significant amount of
	overhead due to disk i/o.

svn path=/trunk/; revision=17424
2002-07-11 20:57:12 +00:00
8d4ff95e73 (set_selected_folders): Set the
customIconName part to the empty string.  [#27616]
Also, set_release on the sequence to TRUE.

svn path=/trunk/; revision=17423
2002-07-11 20:53:33 +00:00
f87d11c476 Rename "Save to disk..." to "Save Attachment..."
2002-07-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (pixmap_press): Rename "Save to disk..." to "Save
	Attachment..."

svn path=/trunk/; revision=17422
2002-07-11 20:01:32 +00:00
328f551032 (update_folder_title_bar): Ref the folder_icon
that we get from e_folder_type_registry_get_icon_for_type().

svn path=/trunk/; revision=17421
2002-07-11 19:39:02 +00:00
6cf273cc2d (get_folder_list_foreach): Copy
customIconName and sortingPriority in the new_corba_folder.
[#27670]

svn path=/trunk/; revision=17420
2002-07-11 19:29:29 +00:00
88c6bf4d47 Remove some `#if 0'ed broken code. New members title_icon and
* e-shell-folder-title-bar.c: Remove some `#if 0'ed broken code.
New members title_icon and title_button_icon in struct
EShellFolderTitleBarPrivate.  Remove member icon_widget.  New
static global variable empty_pixbuf.
(init): Initialize these new members to NULL.  Don't initialize
icon_widget anymore since it's gone.
(e_shell_folder_title_bar_construct): Create the title_button_icon
and pack it into the title_button_hbox.  Also, create the
title_icon and pack that one as well.  Retouched some of the
hardcoded padding values.
(size_allocate_icon): Rewritten to use the title_icon and return
the allocated space like size_allocate_navigation_buttons.
(e_shell_folder_title_bar_set_icon): Remove bogus const from the
@icon arg.  Ref the pixbuf, and update the two pixmap widgets from
it.  If @icon is NULL, use the empty_pixbuf.
(impl_destroy): Renamed from destroy().
(realize): Removed.
(unrealize): Removed.
(impl_size_allocate): Renamed from size_allocate().
(class_init): Call it.
(add_icon_widget): Removed.
(new_empty_pixbuf): New.
(new_empty_pixmap_widget): New.
(size_allocate_navigation_buttons_and_title_icon): Renamed from
size_allocate_navigation_buttons; set up the title_icon too.

* e-shell-view.c (update_folder_title_bar): Unref the folder_icon
after using it.

* e-icon-factory.c (e_icon_factory_get_icon): Ref the returned pixbuf.

svn path=/trunk/; revision=17419
2002-07-11 19:28:00 +00:00
96d94fc670 Don't forget to set an appropriate exception before returning NULL.
2002-07-11  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-multipart-encrypted.c (camel_multipart_encrypted_decrypt):
	Don't forget to set an appropriate exception before returning
	NULL.

svn path=/trunk/; revision=17418
2002-07-11 18:24:32 +00:00