platform/upstream/evolution-data-server.git
13 years agoFix another memory leak in imapx qresync
David Woodhouse [Wed, 25 Aug 2010 18:19:48 +0000 (19:19 +0100)]
Fix another memory leak in imapx qresync

13 years agoBug 627854 - imapx conn-manager memory leak
Matthew Barnes [Fri, 27 Aug 2010 15:07:17 +0000 (11:07 -0400)]
Bug 627854 - imapx conn-manager memory leak

13 years agoBug 627876 - PangoAttrList leak in ENameSelectorEntry
Matthew Barnes [Fri, 27 Aug 2010 14:57:29 +0000 (10:57 -0400)]
Bug 627876 - PangoAttrList leak in ENameSelectorEntry

13 years agoUpdated Hebrew translation.
Yaron Shahrabani [Fri, 27 Aug 2010 13:27:46 +0000 (16:27 +0300)]
Updated Hebrew translation.

13 years agoBug #627333 - Cannot cancel password dialog for an addressbook
Milan Crha [Fri, 27 Aug 2010 09:11:11 +0000 (11:11 +0200)]
Bug #627333 - Cannot cancel password dialog for an addressbook

13 years agoUpdated French translation
Bruno Brouard [Thu, 26 Aug 2010 19:11:04 +0000 (21:11 +0200)]
Updated French translation

13 years agoUpdated Spanish translation
Jorge González [Thu, 26 Aug 2010 17:44:12 +0000 (19:44 +0200)]
Updated Spanish translation

13 years agoBug #625579 - Corruption of mbox file should be properly reported
Milan Crha [Thu, 26 Aug 2010 17:18:52 +0000 (19:18 +0200)]
Bug #625579 - Corruption of mbox file should be properly reported

13 years agoBug 627855 - smtp_auth() memory leak
David Woodhouse [Wed, 25 Aug 2010 18:14:37 +0000 (19:14 +0100)]
Bug 627855 - smtp_auth() memory leak

13 years agoDo not unref EDataBook before done with it (part of bug #627332)
Milan Crha [Wed, 25 Aug 2010 15:14:09 +0000 (17:14 +0200)]
Do not unref EDataBook before done with it (part of bug #627332)

13 years agoBug #627937 - Crash on email Add to a contact list
Milan Crha [Wed, 25 Aug 2010 13:22:49 +0000 (15:22 +0200)]
Bug #627937 - Crash on email Add to a contact list

13 years agol10n: Updated Greek translation for evolution-data-server
Giannis Katsampirhs [Wed, 25 Aug 2010 11:14:32 +0000 (14:14 +0300)]
l10n: Updated Greek translation for evolution-data-server

13 years agoBug 627610 - imapx store summary memory leak
David Woodhouse [Tue, 24 Aug 2010 12:44:21 +0000 (13:44 +0100)]
Bug 627610 - imapx store summary memory leak

13 years agoBug #625115 - Changes notified from backends aren't propagated to UI
Milan Crha [Tue, 24 Aug 2010 12:16:29 +0000 (14:16 +0200)]
Bug #625115 - Changes notified from backends aren't propagated to UI

13 years agoBug #625514 - Client doesn't recognize server close/crash on GDBus
Milan Crha [Tue, 24 Aug 2010 09:01:05 +0000 (11:01 +0200)]
Bug #625514 - Client doesn't recognize server close/crash on GDBus

13 years agoFix SEGV when imapx_parse_list() fails
David Woodhouse [Tue, 24 Aug 2010 00:18:32 +0000 (01:18 +0100)]
Fix SEGV when imapx_parse_list() fails

13 years agoBug 627599 - Memory leak in imapx qresync
David Woodhouse [Tue, 24 Aug 2010 00:11:55 +0000 (01:11 +0100)]
Bug 627599 - Memory leak in imapx qresync

13 years agoBug 627597 - Memory leak in user_delete_text()
David Woodhouse [Tue, 24 Aug 2010 00:06:45 +0000 (01:06 +0100)]
Bug 627597 - Memory leak in user_delete_text()

13 years agoUpdated Danish translation
Ask H. Larsen [Mon, 23 Aug 2010 20:47:58 +0000 (22:47 +0200)]
Updated Danish translation

13 years agoUpdated galician translations
Fran Diéguez [Mon, 23 Aug 2010 00:15:42 +0000 (02:15 +0200)]
Updated galician translations

13 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Sat, 21 Aug 2010 12:15:08 +0000 (20:15 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

13 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sat, 21 Aug 2010 10:11:53 +0000 (12:11 +0200)]
Updated Norwegian bokmål translation

13 years agoBug 623703 - Reference counting error in Google backend
Matthew Barnes [Thu, 19 Aug 2010 01:18:32 +0000 (21:18 -0400)]
Bug 623703 - Reference counting error in Google backend

e_book_backend_google_stop_book_view() was removing the given
EDataBookView from an internal list and then unreferencing the view
without verifying that the view was actually in the list.

13 years agoRemove -DGDK_DISABLE_DEPRECATED
Matthew Barnes [Wed, 18 Aug 2010 21:12:58 +0000 (17:12 -0400)]
Remove -DGDK_DISABLE_DEPRECATED

Until we can port the GDK drawing code to cairo.

See: http://blogs.gnome.org/otte/2010/07/27/rendering-cleanup/

13 years agoAdd e_source_list_peek_default_source().
Matthew Barnes [Wed, 18 Aug 2010 14:31:36 +0000 (10:31 -0400)]
Add e_source_list_peek_default_source().

New convenience function searches the ESourceList for an ESource
with a property named "default", or else an ESource with a property
named "system".  If no such ESource exists it returns NULL.

Adapt EBook and ECal to use this where appropriate.

13 years agogdk_window_get_pointer() needs a GdkWindow.
Matthew Barnes [Wed, 18 Aug 2010 11:14:03 +0000 (07:14 -0400)]
gdk_window_get_pointer() needs a GdkWindow.

13 years agoRewrite e_load_book_source_async().
Matthew Barnes [Wed, 18 Aug 2010 11:08:06 +0000 (07:08 -0400)]
Rewrite e_load_book_source_async().

This is a late libedataserverui API break, but so be it.

Rewrite e_load_book_source_async() to use a GIO-style asynchronous
pattern, and add a corresponding e_load_book_source_finish().

The API is fairly obvious:

   void     e_load_book_source_async   (ESource *source,
                                        GtkWindow *parent,
                                        GCancellable *cancellable,
                                        GAsyncReadyCallback callback,
                                        gpointer user_data);

   EBook *  e_load_book_source_finish  (ESource *source,
                                        GAsyncResult *result,
                                        GError **error);

This also eliminates the thread for loading EBooks from ENameSelector.

13 years agoCoding style and whitespace cleanup.
Matthew Barnes [Sat, 14 Aug 2010 02:36:00 +0000 (22:36 -0400)]
Coding style and whitespace cleanup.

13 years agoUpdated Swedish translation
Daniel Nylander [Wed, 18 Aug 2010 20:31:57 +0000 (22:31 +0200)]
Updated Swedish translation

13 years agoUpdated French translation
Claude Paroz [Wed, 18 Aug 2010 20:05:34 +0000 (22:05 +0200)]
Updated French translation

Contributed by Claude Paroz and Bruno Brouard

13 years agoAdd necessary includes for compiling on Windows
Fridrich Štrba [Wed, 18 Aug 2010 13:41:34 +0000 (15:41 +0200)]
Add necessary includes for compiling on Windows

13 years agoupdate translation for Punjabi after correcting error
A S Alam [Tue, 17 Aug 2010 01:01:01 +0000 (06:31 +0530)]
update translation for Punjabi after correcting error

13 years agoUpdated Spanish translation
Jorge González [Mon, 16 Aug 2010 21:40:51 +0000 (23:40 +0200)]
Updated Spanish translation

13 years agoUpdated Galician translations
Fran Diéguez [Mon, 16 Aug 2010 16:10:19 +0000 (18:10 +0200)]
Updated Galician translations

13 years agopost release version bump
Chenthill Palanisamy [Mon, 16 Aug 2010 12:23:41 +0000 (17:53 +0530)]
post release version bump

13 years agoNews update for 2.31.90 release
Chenthill Palanisamy [Mon, 16 Aug 2010 10:46:47 +0000 (16:16 +0530)]
News update for 2.31.90 release

13 years agoBug 627015: Avoid a race condition by launching the thread after
Srinivasa Ragavan [Mon, 16 Aug 2010 10:20:15 +0000 (15:50 +0530)]
Bug 627015: Avoid a race condition by launching the thread after
initing. Fixes a crash while launching a composer.

13 years agoFix for bug #624789, use ldapssl_init to initialize SSL connection for
Jeff Cai [Mon, 16 Aug 2010 06:43:07 +0000 (14:43 +0800)]
Fix for bug #624789, use ldapssl_init to initialize SSL connection for
sunldap.

13 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 13 Aug 2010 19:36:29 +0000 (21:36 +0200)]
Updated Slovenian translation

13 years agoMerge branch camel-socks-proxy-master for SOCKS5 / IPv6 support
Federico Mena Quintero [Thu, 12 Aug 2010 23:12:36 +0000 (18:12 -0500)]
Merge branch camel-socks-proxy-master for SOCKS5 / IPv6 support

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoRemove unused variables
Federico Mena Quintero [Thu, 12 Aug 2010 18:58:09 +0000 (13:58 -0500)]
Remove unused variables

13 years agoRemove unused function
Federico Mena Quintero [Thu, 12 Aug 2010 18:56:45 +0000 (13:56 -0500)]
Remove unused function

13 years agoGError for CamelTcpStreamSSL
Federico Mena Quintero [Thu, 12 Aug 2010 18:53:53 +0000 (13:53 -0500)]
GError for CamelTcpStreamSSL

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoMake _set_g_error_from_errno() public
Federico Mena Quintero [Thu, 12 Aug 2010 18:50:36 +0000 (13:50 -0500)]
Make _set_g_error_from_errno() public

We need it in the SSL stream

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoFormat error strings, don't include them inline
Federico Mena Quintero [Thu, 12 Aug 2010 18:29:13 +0000 (13:29 -0500)]
Format error strings, don't include them inline

13 years agoFix method name
Federico Mena Quintero [Thu, 12 Aug 2010 18:27:57 +0000 (13:27 -0500)]
Fix method name

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoMissing include
Federico Mena Quintero [Thu, 12 Aug 2010 18:24:16 +0000 (13:24 -0500)]
Missing include

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoMissing comma
Federico Mena Quintero [Thu, 12 Aug 2010 18:15:26 +0000 (13:15 -0500)]
Missing comma

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoFix cut&paste thinko
Federico Mena Quintero [Thu, 12 Aug 2010 18:13:12 +0000 (13:13 -0500)]
Fix cut&paste thinko

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoGError **, not GError *
Federico Mena Quintero [Thu, 12 Aug 2010 18:12:09 +0000 (13:12 -0500)]
GError **, not GError *

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoBug 626505 - ECategoriesDialog doesn't show new categories
Matthew Barnes [Thu, 12 Aug 2010 01:08:54 +0000 (21:08 -0400)]
Bug 626505 - ECategoriesDialog doesn't show new categories

13 years agouse cairo as gc is deprecated
Chenthill Palanisamy [Tue, 10 Aug 2010 05:53:58 +0000 (11:23 +0530)]
use cairo as gc is deprecated

13 years agoGah, stupid mistake in previous commit.
Matthew Barnes [Fri, 6 Aug 2010 19:48:56 +0000 (15:48 -0400)]
Gah, stupid mistake in previous commit.

13 years agoEnable largefile support by default.
Matthew Barnes [Fri, 6 Aug 2010 19:44:16 +0000 (15:44 -0400)]
Enable largefile support by default.

Now that we only expose 64-bit offset values in Camel's public API,
this should be safe to enable by default.

13 years agoUpdated Swedish translation
Daniel Nylander [Thu, 5 Aug 2010 15:05:49 +0000 (17:05 +0200)]
Updated Swedish translation

13 years agoBug 626090 - Only set -fno-strict-aliasing for GCC
Matthew Barnes [Thu, 5 Aug 2010 12:42:57 +0000 (08:42 -0400)]
Bug 626090 - Only set -fno-strict-aliasing for GCC

13 years agoUpdated Tamil translation
drtv [Thu, 5 Aug 2010 05:12:41 +0000 (10:42 +0530)]
Updated Tamil translation

13 years agoENameSelectorEntry: Avoid IM confusion when inserting text
Matthew Barnes [Wed, 4 Aug 2010 19:22:20 +0000 (15:22 -0400)]
ENameSelectorEntry: Avoid IM confusion when inserting text

If the text to insert does not contain spaces or commas, insert all
of it at once.  This avoids confusing on-going input method behavior.
Otherwise fall back to character-by-character insertion.

13 years agoUpdated Tamil translation
drtv [Wed, 4 Aug 2010 16:40:00 +0000 (22:10 +0530)]
Updated Tamil translation

13 years agoDeprecate CamelHttpStream.
Matthew Barnes [Wed, 4 Aug 2010 12:22:06 +0000 (08:22 -0400)]
Deprecate CamelHttpStream.

Evolution uses CamelHttpStream to fetch remote images for HTML mail.
Nothing else should be using this class.

CamelHttpStream will be removed as soon as Evolution moves to
WebKit/GTK+ for HTML rendering, which can fetch images itself.

13 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Wed, 4 Aug 2010 12:19:42 +0000 (14:19 +0200)]
Updated Norwegian bokmål translation

13 years agofree response objects in e_gw_container_get_connection - bgo#622366
Michael Meeks [Tue, 3 Aug 2010 16:29:10 +0000 (17:29 +0100)]
free response objects in e_gw_container_get_connection - bgo#622366

13 years agocleanup, and fix for substantial GWise / soap mail leak, bgo#622366
Michael Meeks [Tue, 3 Aug 2010 15:59:11 +0000 (16:59 +0100)]
cleanup, and fix for substantial GWise / soap mail leak, bgo#622366

13 years agoPost-release version bump.
Matthew Barnes [Tue, 3 Aug 2010 01:04:34 +0000 (21:04 -0400)]
Post-release version bump.

13 years agoNEWS update for 2.31.6 release.
Matthew Barnes [Tue, 3 Aug 2010 01:00:34 +0000 (21:00 -0400)]
NEWS update for 2.31.6 release.

13 years agoCoding style and whitespace cleanups.
Matthew Barnes [Mon, 2 Aug 2010 22:02:46 +0000 (18:02 -0400)]
Coding style and whitespace cleanups.

13 years agoUpdated Romanian translation
Lucian Adrian Grijincu [Mon, 2 Aug 2010 18:19:53 +0000 (21:19 +0300)]
Updated Romanian translation

13 years agofix multi-threaded build.
Michael Meeks [Mon, 2 Aug 2010 17:13:50 +0000 (18:13 +0100)]
fix multi-threaded build.

13 years agoanother instance of the same bust variable name.
Michael Meeks [Mon, 2 Aug 2010 16:58:53 +0000 (17:58 +0100)]
another instance of the same bust variable name.

13 years agofix 'inlen' snafu - presumably 'len'
Michael Meeks [Mon, 2 Aug 2010 16:57:13 +0000 (17:57 +0100)]
fix 'inlen' snafu - presumably 'len'

13 years agoOptimized camel_uuencode_step
Jeffrey Stedfast [Mon, 2 Aug 2010 16:42:28 +0000 (12:42 -0400)]
Optimized camel_uuencode_step

2010-08-02  Jeffrey Stedfast  <fejj@novell.com>

* camel/camel-mime-utils.c (camel_uuencode_step): Optimized
by writing directly to the output buffer for all lines
except possibly the last if it is incomplete.

13 years agoFixed uudecode logic
Jeffrey Stedfast [Mon, 2 Aug 2010 16:24:29 +0000 (12:24 -0400)]
Fixed uudecode logic

2010-08-02  Jeffrey Stedfast  <fejj@novell.com>

Possible fix for bug #625448

* camel/camel-mime-utils.c (camel_uudecode_step): Properly decrement
uulen in the cases where uulen <= 2. Also simplified eoln logic.

13 years agoReplace "Since: 3.0" with "Since: 2.32".
Matthew Barnes [Mon, 2 Aug 2010 15:57:48 +0000 (11:57 -0400)]
Replace "Since: 3.0" with "Since: 2.32".

13 years agoUpdate API documentation.
Matthew Barnes [Mon, 2 Aug 2010 15:41:58 +0000 (11:41 -0400)]
Update API documentation.

13 years agoPrefer gio-2.0 when requiring GLib libraries.
Matthew Barnes [Mon, 2 Aug 2010 13:59:37 +0000 (09:59 -0400)]
Prefer gio-2.0 when requiring GLib libraries.

gio-2.0 is the "top level" library within GLib.

It requires everything else we may need from GLib:

glib-2.0, gobject-2.0, gmodule-2.0, gthread-2.0

13 years agoReplace dbus-glib-1 with gio-2.0 in pkgconfig files.
Matthew Barnes [Mon, 2 Aug 2010 13:37:58 +0000 (09:37 -0400)]
Replace dbus-glib-1 with gio-2.0 in pkgconfig files.

13 years agoebook & edataserverui: Use _async suffix rather than _ex suffix
Rob Bradford [Sun, 1 Aug 2010 09:40:58 +0000 (10:40 +0100)]
ebook & edataserverui: Use _async suffix rather than _ex suffix

13 years agoUpdated Galician translations
Fran Diéguez [Sun, 1 Aug 2010 21:41:14 +0000 (23:41 +0200)]
Updated Galician translations

13 years agoebook: Remove duplicate free from array_to_stringlist helper (#625750)
Rob Bradford [Sun, 1 Aug 2010 09:52:02 +0000 (10:52 +0100)]
ebook: Remove duplicate free from array_to_stringlist helper (#625750)

The helper function array_to_stringlist function tried to free the string
array despite it being freed by the caller as well.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=625750

13 years agoUpdated German translation
Christian Kirbach [Sat, 31 Jul 2010 23:50:13 +0000 (01:50 +0200)]
Updated German translation

13 years agoimapx: ->cinfo *can* be NULL in imapx_server_dispose() for a failed connection
David Woodhouse [Sat, 31 Jul 2010 15:20:59 +0000 (17:20 +0200)]
imapx: ->cinfo *can* be NULL in imapx_server_dispose() for a failed connection

.... which happens when you're on a ferry using a satellite connection,
exacerbated by slow VPN and trying to use GSSAPI authentication which is
slow enough at the best of times.... and the server has a short idle
timeout so it kicks you off before you manage to complete the authentication.

13 years agoimapx: server flags can be integers
David Woodhouse [Sat, 31 Jul 2010 14:31:23 +0000 (16:31 +0200)]
imapx: server flags can be integers

A user on IRC reported a server which was reporting '1' (without the
quotes) as one of the available PERMANENTFLAGS. This caused imapx to
abort the connection after failing to parse the flags.

13 years agoFix minor compiler warnings from GDBus generated code
Milan Crha [Fri, 30 Jul 2010 12:40:33 +0000 (14:40 +0200)]
Fix minor compiler warnings from GDBus generated code

13 years agoBug #625351 - Sending through sendmail reports error
Milan Crha [Fri, 30 Jul 2010 08:15:27 +0000 (10:15 +0200)]
Bug #625351 - Sending through sendmail reports error

13 years agoBuild path portably in session_get_storage_path().
Matthew Barnes [Thu, 29 Jul 2010 21:13:42 +0000 (17:13 -0400)]
Build path portably in session_get_storage_path().

13 years agoAvoid overwriting files while migrating.
Matthew Barnes [Thu, 29 Jul 2010 20:34:31 +0000 (16:34 -0400)]
Avoid overwriting files while migrating.

13 years agoBug #625606 - git/master build dies with glib-2.25.12
Milan Crha [Thu, 29 Jul 2010 18:40:05 +0000 (20:40 +0200)]
Bug #625606 - git/master build dies with glib-2.25.12

13 years agoUpdated Spanish translation
Jorge González [Thu, 29 Jul 2010 07:35:14 +0000 (09:35 +0200)]
Updated Spanish translation

13 years agoFix error handling in CamelImapFolder::get_message().
Matthew Barnes [Thu, 29 Jul 2010 03:22:39 +0000 (23:22 -0400)]
Fix error handling in CamelImapFolder::get_message().

13 years agoBug 625039 - Commonly named macros in Camel header files
Matthew Barnes [Thu, 29 Jul 2010 01:53:58 +0000 (21:53 -0400)]
Bug 625039 - Commonly named macros in Camel header files

13 years agoOops, fix endianness of port numbers
Federico Mena Quintero [Fri, 23 Jul 2010 20:22:15 +0000 (15:22 -0500)]
Oops, fix endianness of port numbers

ai_addr.sin_port and sin6_port are in network byte order...

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoUse 'localhost' instead of NULL to resolve ports
Federico Mena Quintero [Fri, 23 Jul 2010 20:18:01 +0000 (15:18 -0500)]
Use 'localhost' instead of NULL to resolve ports

camel_getaddrinfo() does not take NULL hostnames, in contrast with
getaddrinfo().  So for now we'll use localhost and try to do
better in the future.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoDon't try SOCKS4 on IPv6 addresses; it doesn't handle them.
Federico Mena Quintero [Thu, 22 Jul 2010 22:01:18 +0000 (17:01 -0500)]
Don't try SOCKS4 on IPv6 addresses; it doesn't handle them.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoTry SOCKS5, then SOCKS4
Federico Mena Quintero [Thu, 22 Jul 2010 21:02:40 +0000 (16:02 -0500)]
Try SOCKS5, then SOCKS4

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoTry all the struct addrinfo when connecting to a proxy, not just the first one
Federico Mena Quintero [Thu, 22 Jul 2010 20:20:21 +0000 (15:20 -0500)]
Try all the struct addrinfo when connecting to a proxy, not just the first one

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoAdd new GError codes for SOCKS proxies - CamelProxyError
Federico Mena Quintero [Thu, 22 Jul 2010 20:09:32 +0000 (15:09 -0500)]
Add new GError codes for SOCKS proxies - CamelProxyError

We differentiate between "the proxy does not support our protocol"
and "the proxy does not support our authentication type".

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoBasic logic to request connection from a SOCKS5 proxy
Federico Mena Quintero [Wed, 21 Jul 2010 21:21:58 +0000 (16:21 -0500)]
Basic logic to request connection from a SOCKS5 proxy

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoSeparate function to just connect to the proxy host
Federico Mena Quintero [Fri, 16 Jul 2010 19:19:01 +0000 (14:19 -0500)]
Separate function to just connect to the proxy host

We will use this in each function to connect to a different kind of proxy.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoDerive CamelTcpStreamSSL from CamelTcpStreamRaw
Federico Mena Quintero [Thu, 15 Jul 2010 21:06:03 +0000 (16:06 -0500)]
Derive CamelTcpStreamSSL from CamelTcpStreamRaw

The only overriden vmethod is ::connect(), which starts up SSL on the socket
after the Raw implementation opens the socket and connects.  By this point,
we are already past the SOCKS proxy if it exists.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoAdd function to replace CamelTcpStreamRaw's sockfd with another one
Federico Mena Quintero [Thu, 15 Jul 2010 21:01:20 +0000 (16:01 -0500)]
Add function to replace CamelTcpStreamRaw's sockfd with another one

We need this in the TcpSSL stream to replace the normal socket with
the SSL-ified one.

Signed-off-by: Federico Mena Quintero <federico@novell.com>