Commit Graph

13242 Commits

Author SHA1 Message Date
331b663182 Added. New stream for HTTP requests (currently supported are GET and
2002-02-04  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-http-stream.[c,h]: Added. New stream for HTTP requests
	(currently supported are GET and HEAD).

	* camel-tcp-stream-ssl.c (stream_connect): Call set_errno
	appropriately.

svn path=/trunk/; revision=15567
2002-02-04 19:59:33 +00:00
ec14bae134 Call set_errno appropriately.
2002-02-04  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-tcp-stream-ssl.c (stream_connect): Call set_errno
	appropriately.

svn path=/trunk/; revision=15566
2002-02-04 19:58:02 +00:00
e1268e37a4 The new selector widget
svn path=/trunk/; revision=15565
2002-02-04 19:52:43 +00:00
9af47c6d0f Updated Spanish translation.
svn path=/trunk/; revision=15564
2002-02-04 15:00:36 +00:00
9419a95ace *** empty log message ***
svn path=/trunk/; revision=15563
2002-02-04 14:50:25 +00:00
1ee30f3edd Updated Spanish translation.
svn path=/trunk/; revision=15562
2002-02-04 11:13:39 +00:00
4416de463e if the shown address in the mailing address or there is no mailing
2002-02-04  JP Rosevear  <jpr@ximian.com>

	* gui/contact-editor/e-contact-editor.c (address_text_changed): if
	the shown address in the mailing address or there is no mailing
	address, set the default flag and make sure the button is checked
	(address_mailing_changed): set the flags properly when the mailing
	address changes
	(e_contact_editor_init): listen for the check button being toggled
	(find_address_mailing): find the address (if any) with the default
	flag
	(set_address_field): set the mailing address button appropriately
	(fill_in_info): find the mailing address

	* gui/contact-editor/e-contact-editor.h: add new class data member

	* gui/contact-editor/contact-editor.glade: show mailing address
	check button

svn path=/trunk/; revision=15561
2002-02-04 11:12:58 +00:00
45c3370178 Add attachments after we've seen if the composer object is valid.
2002-01-31  Not Zed  <NotZed@Ximian.com>

        * mail-callbacks.c (mail_generate_reply): Add attachments after
        we've seen if the composer object is valid.
        (mail_generate_reply): Support new flag REPLY_NO_QUOTE - if set,
        then dont quote any of the message in the reply.

svn path=/trunk/; revision=15560
2002-02-04 02:22:18 +00:00
dc6f613eea Updated Norwegian (bokmål) translation.
2002-02-02  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokmål) translation.

svn path=/trunk/; revision=15558
2002-02-02 19:37:15 +00:00
bd3b4f5462 Destroy the S/MIME frame if not available, instead of just graying it out.
* mail-account-gui.c (mail_account_gui_new): Destroy the S/MIME
frame if not available, instead of just graying it out.  [I would
just hide it, but it looks like there is a show_all somewhere so
that doesn't work.]

svn path=/trunk/; revision=15554
2002-02-02 17:14:53 +00:00
1483504f83 Some touchups from me and Anna.
* mail-config.glade: Some touchups from me and Anna.

svn path=/trunk/; revision=15553
2002-02-02 17:06:54 +00:00
2e6566611d Allocate the ConnectionList list with the right number of entries instead
* e-summary-offline-handler.c (create_connection_list): Allocate
the ConnectionList list with the right number of entries instead
of zero.

svn path=/trunk/; revision=15552
2002-02-02 15:55:19 +00:00
90a263ce50 swap the order in which we add recipients to the list. If we add the auto-recipients first, then it is more visually appearling since most users will add their own recipients to the end of a list.
svn path=/trunk/; revision=15551
2002-02-01 22:35:02 +00:00
6235db69b8 New function to find out if a destination was one which was auto-matically
2002-02-01  Jeffrey Stedfast  <fejj@ximian.com>

	* backend/ebook/e-destination.c (e_destination_is_auto_recipient):
	New function to find out if a destination was one which was
	auto-matically set by Evolution.
	(e_destination_set_auto_recipient): Set whether or not the dest is
	an auto-recipient.
	(e_destination_touch): Don't touch the address if it is an
	auto_recipient.
	(e_destination_list_to_vector_sized): New function to avoid having
	to calculate the length of the list ourselves. Allows for a bit of
	optimization if our caller knows the length of the list.
	(e_destination_xml_encode): Encode the auto_recipient bit.
	(e_destination_xml_decode): Decode the auto_recipient bit.

svn path=/trunk/; revision=15550
2002-02-01 21:00:15 +00:00
7078e68956 Don't bother setting the auto-cc/bcc recipients here. I'm moving the code
2002-01-31  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (composer_get_message): Don't bother setting
	the auto-cc/bcc recipients here. I'm moving the code to add them
	in the GUI in the composer so they will already be in the
	recipient list by this point.

svn path=/trunk/; revision=15549
2002-02-01 20:49:30 +00:00
5d3e16ae8b Update the auto-cc/bcc recipients in the composer header fields to match
2002-02-01  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (update_auto_recipients): Update the
	auto-cc/bcc recipients in the composer header fields to match the
	ones chosen in the account configuration.

svn path=/trunk/; revision=15548
2002-02-01 20:48:45 +00:00
8d91d34611 [Fix a crash that can happen if you have opened multiple views of
the summary and try to go off-line.  This is not the correct fix,
as the code should really be changed to only use one set of
connections for all the views, instead of binding the connections
to the view.]

* e-summary-factory.c (e_summary_factory_new_control): Call
`e_summary_offline_handler_add_summary()' instead of
e_summary_offline_handler_set_summary()'.

* e-summary-offline-handler.c: Replace member `summary' with
`summaries' in the ESummaryOfflineHandlerPriv.  This way, instead
of assuming that there is only one summary, we keep a list of the
summaries.
(impl_destroy): Free ->summaries.
(e_summary_offline_handler_set_summary): Removed.
(e_summary_offline_handler_add_summary): New.  Add the summary to
->summaries.  Also, connect to the ::destroy handler so we can
bookkeep them correctly.
(create_connection_list): Made private from
e_summary_offline_handler_create_connection_list().  Get a GSList
instead of just one summary, and sum up all the connections from
it.
(impl_prepareForOffline): Use it.
(impl__get_isOffline): Return %FALSE if any of the summaries are
online, %TRUE otherwise.
(impl_goOffline): Call ::set_online on all the summaries.  Pass
CORBA_OBJECT_NIL for the progress_listener as it doesn't really
get used anyways.
(impl_goOnline): Likewise.  Pass CORBA_OBJECT_NIL, not NULL, for
the progress CORBA_Object pointer.

svn path=/trunk/; revision=15547
2002-02-01 20:32:08 +00:00
8555a05de5 Made this preserve addressbook flags other than the first three.
2002-02-01  Christopher James Lahey  <clahey@ximian.com>

	* backend/ebook/e-card-simple.c (e_card_simple_sync_card): Made
	this preserve addressbook flags other than the first three.

	* backend/ebook/e-card-types.h: Added E_CARD_ADDR_MASK and
	E_CARD_ADDR_DEFAULT.

	* backend/ebook/e-card.c (get_address_flags): Added "PREF" to
	E_CARD_ADDR_DEFAULT mapping.

	* backend/ebook/test-client.c: Added #include "e-book-util.h".

svn path=/trunk/; revision=15546
2002-02-01 18:41:41 +00:00
3263cd2621 Added gal-view-instance.c and gal-view-instance.h.
2002-01-31  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am: Added gal-view-instance.c and gal-view-instance.h.

	* gal-view-collection.c, gal-view-collection.h
	(gal_view_collection_load_view_from_file): Factored out this
	function so that it can be used outside of gal-view-collection.c.
	(gal_view_collection_get_view_index_by_id,
	gal_view_collection_get_view_id_by_index,
	gal_view_collection_loaded): Added these functions.

	* gal-view-instance.c, gal-view-instance.h: New class representing
	a single folder of a particular type of folder.

svn path=/trunk/; revision=15544
2002-01-31 21:47:00 +00:00
a3bd2634b1 Made this function much more readable. Got rid of all the gotos. Fixed a
2002-01-31  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-model.c (e_tree_model_node_find): Made this function much
	more readable.  Got rid of all the gotos.  Fixed a case where
	going backwards during a root search checked the root node first.
	(e_tree_model_node_real_traverse): Made backwards traversals be
	postorder, as they should be, instead of preorder.

	* e-tree.c (find_next_callback): Use an extra callback function
	here to go from sorted path to model path.

svn path=/trunk/; revision=15543
2002-01-31 20:23:00 +00:00
81762a26a3 ignore spell checking of words in addresses, move set_body_text after all
2002-01-31  Radek Doulik  <rodo@ximian.com>

	* mail-callbacks.c (mail_generate_reply): ignore spell checking of
	words in addresses, move set_body_text after all ignored words are
	set so we don't have to spell check whole document again
	(mail_ignore_address): helper function
	(mail_ignore): ditto

svn path=/trunk/; revision=15541
2002-01-31 18:58:59 +00:00
a6c6ee7466 new method, tells composer to ignore all word in str string (next_word):
2002-01-31  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (e_msg_composer_ignore): new method, tells
	composer to ignore all word in str string
	(next_word): helper function to get next word from s, saves rest
	of s to sr

svn path=/trunk/; revision=15540
2002-01-31 18:58:29 +00:00
4cbd79b0de Converted French translation to UTF-8.
svn path=/trunk/; revision=15539
2002-01-31 10:35:53 +00:00
5ec116e6a9 Make this function take a bitfield of parameters instead of two bools.
2002-01-31  Christopher James Lahey  <clahey@ximian.com>

	* e-tree.c, e-tree.h (e_tree_find_next): Make this function take a
	bitfield of parameters instead of two bools.

svn path=/trunk/; revision=15538
2002-01-31 09:03:48 +00:00
6d22aa7bd1 Added this simple accessor function.
2002-01-31  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-selection-model.c, e-tree-selection-model.h
	(e_tree_selection_model_get_cursor): Added this simple accessor
	function.

	* e-tree.c, e-tree.h (e_tree_find_next): Searches from the cursor
	given the search parameters and moves the cursor if it ever
	matches.

svn path=/trunk/; revision=15537
2002-01-31 08:38:03 +00:00
e2defdb06f New function to do a search through a tree in one direction or the other.
2002-01-31  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-model.c, e-tree-model.h (e_tree_model_node_find): New
	function to do a search through a tree in one direction or the
	other.

svn path=/trunk/; revision=15536
2002-01-31 08:17:57 +00:00
42ffb93955 Oops, this was converting foo@[blah] to foo@[ blah ], fixed.
2002-01-31  Not Zed  <NotZed@Ximian.com>

        * camel-mime-utils.c (header_decode_domain): Oops, this was
        converting foo@[blah] to foo@[ blah ], fixed.

svn path=/trunk/; revision=15535
2002-01-31 02:30:36 +00:00
5cc216045d Updated Norwegian (bokmål) translation.
2002-01-31  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokmål) translation.

svn path=/trunk/; revision=15534
2002-01-31 00:00:39 +00:00
207303df9e Pass the parent window to mail_account_editor_new().
2002-01-30  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (mail_edit): Pass the parent window to
	mail_account_editor_new().

	* mail-account-editor.c (mail_account_editor_new): Set the parent
	window here because construct() inadvertantly
	gtk_widget_show_all's the editor.

	* mail-account-gui.c (mail_account_gui_save): Use g_basename()
	rather than strrchr for '/' especially since the strrchr code
	wasn't doing any NULL checks.

svn path=/trunk/; revision=15533
2002-01-30 23:46:32 +00:00
e456a9a264 Use "pop" instead of "pop3" so current configurations continue to work.
2002-01-30  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/pop3/camel-pop3-provider.c: Use "pop" instead of
	"pop3" so current configurations continue to work.

svn path=/trunk/; revision=15532
2002-01-30 23:05:36 +00:00
0fbb812091 if this is a reply, print the attendee status
2002-01-30  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c (write_html): if this is a reply, print the
	attendee status

svn path=/trunk/; revision=15531
2002-01-30 22:59:29 +00:00
ae64f7d6bf print quoted text in italic
2002-01-30  Radek Doulik  <rodo@ximian.com>

	* mail-format.c (handle_text_plain_flowed): print quoted text in
	italic

svn path=/trunk/; revision=15530
2002-01-30 21:12:29 +00:00
f41e2fe50e compute the change db filename based on our contact db filename.
2002-01-30  Chris Toshok  <toshok@ximian.com>

	* backend/pas/pas-backend-file.c (pas_backend_file_changes):
	compute the change db filename based on our contact db filename.
	(pas_backend_file_load_uri): store the filename in
	bf->priv->filename.
	(pas_backend_file_destroy): free the filename, and (!) free
	bf->priv too.

svn path=/trunk/; revision=15529
2002-01-30 21:11:13 +00:00
cbf51ec6f0 Updated French translation.
svn path=/trunk/; revision=15526
2002-01-30 16:24:42 +00:00
7a1373fd0d Updated French translation.
svn path=/trunk/; revision=15524
2002-01-30 16:07:00 +00:00
d4c2e5853d re-enable popup menu. (populate_folder_context_menu): If we're on a
2002-01-30  Not Zed  <NotZed@Ximian.com>

        * component-factory.c (create_component): re-enable popup menu.
        (populate_folder_context_menu): If we're on a vfolder, and its not
        UNMATCHED, create a change properties item, and set it up
        approriately.
        (change_prop_popup): Callback to edit the vfolder rule.  For
        #3358.

svn path=/trunk/; revision=15523
2002-01-30 07:28:21 +00:00
bfe2921eb8 Use right_click_row_path rather than selected_row_path, so clients get the
2002-01-30  Not Zed  <NotZed@Ximian.com>

        * e-storage-set-view.c (popup_folder_menu): Use
        right_click_row_path rather than selected_row_path, so clients get
        the uri that was actually clicked on.

svn path=/trunk/; revision=15522
2002-01-30 07:02:01 +00:00
b894c24f03 Changed name from "NT Login" to simply "Login".
2002-01-30  Not Zed  <NotZed@Ximian.com>

        * camel-sasl-login.c: Changed name from "NT Login" to simply
        "Login".

        * providers/pop3/*: Entirely new pop implmentation, supporting
        pipelining.

2002-01-29  Not Zed  <NotZed@Ximian.com>

        * camel-data-cache.c (free_busy): We dont want to unref the
        stream, instead, stop listening to the finalised events, and free
        the path only.

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

        * camel-data-cache.c (stream_finalised): Remove the object from
        the busy_stream hashtable, not the busy_path hashtable.

svn path=/trunk/; revision=15521
2002-01-30 05:14:48 +00:00
22d1017461 Updated Norwegian nynorsk translation
svn path=/trunk/; revision=15520
2002-01-30 05:13:57 +00:00
c874c06ba8 Changed the function signature so that we can pass in whom we want to
2002-01-29  Dave West  <kat@unleashed.org>

	* mail-callbacks.c (create_msg_composer): Changed the function
	signature so that we can pass in whom we want to compose as.
	Should fix bug #10391.
	(compose_msg): Get the current profile account and pass it along
	to create_msg_composer.
	(send_to_url): Pass in a NULL profile account to cause
	create_msg_composer to use the default account.

svn path=/trunk/; revision=15518
2002-01-30 00:33:34 +00:00
9588e20497 Started writing an LDAP config example
2002-01-29  Kevin Breit  <mrproper@ximian.com>

	* C/config-prefs.sgml: Started writing an LDAP config example

svn path=/trunk/; revision=15517
2002-01-30 00:12:27 +00:00
a435c47304 Make X-Evolution-Account take priority over X-Evolution-Transport. Should
2002-01-29  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (mail_send_message): Make X-Evolution-Account take
	priority over X-Evolution-Transport. Should we just get rid of
	X-Evolution-Transport? Anyways, this ought to fix a number of
	complaints.

svn path=/trunk/; revision=15516
2002-01-29 23:43:45 +00:00
b0fb89aeb6 ignore evolution-addressbook-abuse
svn path=/trunk/; revision=15515
2002-01-29 23:31:17 +00:00
9dd67ef149 Updated russian translation.
svn path=/trunk/; revision=15514
2002-01-29 23:16:31 +00:00
5aab824c94 Added more kludge to an existing Exchange IMAP 5.5 kludge to work around
2002-01-29  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/imap/camel-imap-folder.c (imap_update_summary): Added
	more kludge to an existing Exchange IMAP 5.5 kludge to work around
	it returning multiple messages with the same UIDs.

svn path=/trunk/; revision=15513
2002-01-29 23:13:36 +00:00
1045127126 Don't pass NULL text to gtk_entry_set_text. Maybe this will fix bug
2002-01-29  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (construct): Don't pass NULL text to
	gtk_entry_set_text. Maybe this will fix bug #18971.

svn path=/trunk/; revision=15512
2002-01-29 22:51:40 +00:00
865606984f New function that implements the Redirect feature.
2002-01-29  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (redirect): New function that implements the
	Redirect feature.

	* mail-ops.c (mail_send_message): If we are redirecting a message,
	get the Resent-* recipients otherwise get the normal To/Cc/Bcc
	recipients and use them in the CamelTransport::send_to() method.

	* mail-session.c (main_get_filter_driver): Set the beep_func to
	the beep_cb, not the play_sound_func. Oops ;-)

	* folder-browser-ui.c: Add Redirect bonobo verb thingy here.
	(folder_browser_ui_set_selection_state): Add MessageRedirect to
	the proper string arrays.

svn path=/trunk/; revision=15511
2002-01-29 21:06:01 +00:00
85610de9fe Add MessageRedirect.
2002-01-28  Jeffrey Stedfast  <fejj@ximian.com>

	* evolution-mail-message.xml: Add MessageRedirect.

svn path=/trunk/; revision=15510
2002-01-29 20:48:08 +00:00
e43d51f0f3 (footer_info_free): unref footer font
svn path=/trunk/; revision=15509
2002-01-29 19:56:48 +00:00
2488e2dfc1 (do_mail_print): get rid of static global variables, as they are
not thread safe (thanks to clahey for pointing this out)

svn path=/trunk/; revision=15508
2002-01-29 19:37:29 +00:00