platform/upstream/evolution-data-server.git
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>
13 years agoMake _set_errno_from_pr_error() public
Federico Mena Quintero [Thu, 15 Jul 2010 20:17:06 +0000 (15:17 -0500)]
Make _set_errno_from_pr_error() public

We need to use this both in the raw TCP stream and in the SSL one.
Maybe later we can switch to full exceptions.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoMake CamelTcpStreamRaw use PRFileDesc internally
Federico Mena Quintero [Thu, 15 Jul 2010 20:03:25 +0000 (15:03 -0500)]
Make CamelTcpStreamRaw use PRFileDesc internally

This is cut&pasted from CamelTcpStreamSSL, with the SSL bits removed.
This will let us make CamelTcpStreamSSL actually derive from
CamelTcpStreamRaw and just slap the SSL bits on top.

This also removes camel_tcp_stream_raw_get_fd(), in favor of the general
camel_tcp_stream_get_file_desc(), which only the imapx provider uses.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoFix error handling in CamelLocalFolder::sync().
Matthew Barnes [Wed, 28 Jul 2010 19:57:56 +0000 (15:57 -0400)]
Fix error handling in CamelLocalFolder::sync().

13 years agoBug 625083 - Gettext can't parse GLib's printf format constants
Matthew Barnes [Wed, 28 Jul 2010 19:34:05 +0000 (15:34 -0400)]
Bug 625083 - Gettext can't parse GLib's printf format constants

13 years agoBug #625482 - Personal addressbook is vanished
Milan Crha [Wed, 28 Jul 2010 18:16:50 +0000 (20:16 +0200)]
Bug #625482 - Personal addressbook is vanished

13 years agoReset BASE_VERSION to 2.32.
Matthew Barnes [Wed, 28 Jul 2010 17:39:34 +0000 (13:39 -0400)]
Reset BASE_VERSION to 2.32.

In light of today's announcement that GNOME 3.0 is delayed again,
the September 2010 release will be called Evolution Data Server 2.32.

http://www.gnome.org/press/releases/2010-07-gnome-3.0-rescheduled.html

13 years agoAdd more debug messages to basedir migration.
Matthew Barnes [Wed, 28 Jul 2010 16:54:27 +0000 (12:54 -0400)]
Add more debug messages to basedir migration.

If directory removal fails because the directory is not empty,
list the file names in that directory.

13 years agoUpdated Spanish translation
Jorge González [Wed, 28 Jul 2010 15:11:46 +0000 (17:11 +0200)]
Updated Spanish translation

13 years agoBug #622884 - Migrate from dbus-glib to glib's GDBus
Milan Crha [Wed, 28 Jul 2010 11:49:04 +0000 (13:49 +0200)]
Bug #622884 - Migrate from dbus-glib to glib's GDBus

13 years agoUpdated Hebrew translation.
Yaron Shahrabani [Wed, 28 Jul 2010 10:25:39 +0000 (13:25 +0300)]
Updated Hebrew translation.

13 years agoAdjust mbox: file paths in EAccounts.
Matthew Barnes [Sat, 24 Jul 2010 01:43:00 +0000 (21:43 -0400)]
Adjust mbox: file paths in EAccounts.

Point mbox folder URIs to our new base directory.

(I suspect we haven't seen the last of this mbox URI issue...)

13 years agoAdd a migration routine to EDataBookFactory.
Matthew Barnes [Tue, 8 Jun 2010 13:21:05 +0000 (09:21 -0400)]
Add a migration routine to EDataBookFactory.

Migration runs just before the main loop starts.
It's just a sequence of local directory renames.

~/.evolution/cache/addressbook  -->  $XDG_CACHE_HOME/evolution/addressbook
~/.evolution/addressbook/local  -->  $XDG_DATA_HOME/evolution/addressbook

13 years agoAdd a migration routine to EDataCalFactory.
Matthew Barnes [Tue, 8 Jun 2010 12:58:10 +0000 (08:58 -0400)]
Add a migration routine to EDataCalFactory.

Migration runs just before the main loop starts.
It's just a sequence of local directory renames.

~/.evolution/cache/calendar  -->  $XDG_CACHE_HOME/evolution/calendar
~/.evolution/cache/memos     -->  $XDG_CACHE_HOME/evolution/memos
~/.evolution/cache/tasks     -->  $XDG_CACHE_HOME/evolution/tasks
~/.evolution/calendar/local  -->  $XDG_DATA_HOME/evolution/calendar
~/.evolution/memos/local     -->  $XDG_DATA_HOME/evolution/memos
~/.evolution/tasks/local     -->  $XDG_DATA_HOME/evolution/tasks

We also migrate Evolution-Exchange account storage:

~/.evolution/exchange        --> $XDG_DATA_HOME/evolution/exchange

(After first cleaning up Exchange attachment cache directories.)

13 years agoComply with XDG Base Directory Specification.
Matthew Barnes [Mon, 7 Jun 2010 13:17:44 +0000 (09:17 -0400)]
Comply with XDG Base Directory Specification.

This changes the output of the base directory functions:

e_get_user_cache_dir()  now returns  "$XDG_CACHE_HOME/evolution"
e_get_user_config_dir() now returns  "$XDG_CONFIG_HOME/evolution"
e_get_user_data_dir()   now returns  "$XDG_DATA_HOME/evolution"

Also, fix test cases with hard-coded directories.

13 years agoUpdated Spanish translation
Jorge González [Mon, 26 Jul 2010 19:03:27 +0000 (21:03 +0200)]
Updated Spanish translation

13 years agoBug #625282 - Quick add contact claims on console
Milan Crha [Mon, 26 Jul 2010 07:52:25 +0000 (09:52 +0200)]
Bug #625282 - Quick add contact claims on console

13 years agoUpdated Hebrew translation.
Yaron Shahrabani [Sat, 24 Jul 2010 10:53:29 +0000 (13:53 +0300)]
Updated Hebrew translation.

13 years agoUpdate Simplified Chinese translation.
Aron Xu [Sat, 24 Jul 2010 05:27:22 +0000 (13:27 +0800)]
Update Simplified Chinese translation.

13 years agoImplement ::get_file_desc() in CamelTcpStreamSSL
Federico Mena Quintero [Wed, 14 Jul 2010 21:15:23 +0000 (16:15 -0500)]
Implement ::get_file_desc() in CamelTcpStreamSSL

This lets us get rid of camel_tcp_stream_ssl_sockfd(), in favor
of camel_tcp_stream_get_file_desc().

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoMove CamelTcpStreamRaw's fields to a private structure
Federico Mena Quintero [Wed, 14 Jul 2010 21:06:56 +0000 (16:06 -0500)]
Move CamelTcpStreamRaw's fields to a private structure

We also add a temporary camel_tcp_stream_raw_get_fd(), used by the imapx provider.
This function will go away in favor of the general camel_tcp_stream_get_file_desc().

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoNew method CamelTcpStream::get_file_desc()
Federico Mena Quintero [Wed, 14 Jul 2010 20:15:01 +0000 (15:15 -0500)]
New method CamelTcpStream::get_file_desc()

This returns a (PRFileDesc *).  We will make CamelTcpStream derivates deal only
in PRFileDesc objects, instead of plain FDs.  This will allow us to implement
TCP socket functionality only once, instead of twice - one for raw streams, one
for SSL streams.  Mainly this will let us have a raw stream and then an
SSL stream overlaid on that one.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoChange CamelNNTPStore to use the new API
Federico Mena Quintero [Mon, 12 Jul 2010 20:49:40 +0000 (15:49 -0500)]
Change CamelNNTPStore to use the new API

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoChange CamelIMAPXServer to use the new API
Federico Mena Quintero [Mon, 12 Jul 2010 20:44:16 +0000 (15:44 -0500)]
Change CamelIMAPXServer to use the new API

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoChange CamelImapStore to use the new API
Federico Mena Quintero [Mon, 12 Jul 2010 20:36:18 +0000 (15:36 -0500)]
Change CamelImapStore to use the new API

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoChange CamelSmtpTransport to use the new API
Federico Mena Quintero [Fri, 9 Jul 2010 22:59:48 +0000 (17:59 -0500)]
Change CamelSmtpTransport to use the new API

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoChange CamelPOP3Store to use the new API
Federico Mena Quintero [Fri, 9 Jul 2010 22:55:28 +0000 (17:55 -0500)]
Change CamelPOP3Store to use the new API

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoChange CamelHttpStream to use the new API
Federico Mena Quintero [Fri, 9 Jul 2010 22:39:51 +0000 (17:39 -0500)]
Change CamelHttpStream to use the new API

Signed-off-by: Federico Mena Quintero <federico@novell.com>
13 years agoDo name resolution inside camel_tcp_stream_connect()
Federico Mena Quintero [Fri, 9 Jul 2010 19:12:06 +0000 (14:12 -0500)]
Do name resolution inside camel_tcp_stream_connect()

This function and the associated vmethod used to take a struct addrinfo *.
However, this doesn't let us have SOCKS4a or SOCKS5 proxies that do name
resolution in the proxy.  So, now the main camel_tcp_stream_connect() takes
a hostname and service name, and implementations do name resolution
by themselves.  Later we will modify the proxy code to do name resolution
in the proxy.

We allow passing a fallback port to camel_tcp_stream_connect(), which
is used by Camel's providers when the system's services database
(/etc/services) doesn't have an entry for a particular service name.
If getaddrinfo() can't find the service name, then we use a
fallback/hardcoded port number.  See bgo#267898

Signed-off-by: Federico Mena Quintero <federico@novell.com>
14 years agoEek, typo.
Matthew Barnes [Thu, 22 Jul 2010 17:13:09 +0000 (13:13 -0400)]
Eek, typo.

14 years agoFix "system" EBook/ECal creation functions.
Matthew Barnes [Thu, 22 Jul 2010 14:00:34 +0000 (10:00 -0400)]
Fix "system" EBook/ECal creation functions.

The local "system" URIs are trivial now, it's just "local:system".

    e_book_new_system_addressbook()
    e_cal_new_system_calendar()
    e_cal_new_system_tasks()
    e_cal_new_system_memos()

14 years agoBug 602287 - Avoid racing with camel_operation_mute()
Matthew Barnes [Thu, 22 Jul 2010 11:28:24 +0000 (07:28 -0400)]
Bug 602287 - Avoid racing with camel_operation_mute()

14 years agoBug #624891 - Various compiler warnings in git/master
Milan Crha [Thu, 22 Jul 2010 09:11:44 +0000 (11:11 +0200)]
Bug #624891 - Various compiler warnings in git/master

14 years agoRefactor ECalBackendCache.
Matthew Barnes [Wed, 21 Jul 2010 01:26:45 +0000 (21:26 -0400)]
Refactor ECalBackendCache.

ECalBackendCache doesn't need to know the URI of the backend, it just
needs a file name.  Backends must now provide the name of the cache
file.  This breaks the API, but eliminates duplicate logic.

Couple other miscellaneous functions removed:

    e_book_backend_construct()
    e_book_backend_cache_exists()
    e_book_backend_db_cache_exists()

libedata-book's shared object name is bumped for the API break.

Adapt backends to the new API.

14 years agoRefactor ECalBackendStore / ECalBackendFileStore.
Matthew Barnes [Tue, 20 Jul 2010 23:36:11 +0000 (19:36 -0400)]
Refactor ECalBackendStore / ECalBackendFileStore.

These classes don't need to know the URI and source type of the backend,
they just need a file name.  Backends must now provide the name of the
cache file.  This breaks the API, but eliminates duplicate logic.

libedata-cal's shared object name is bumped for the API break.

Adapt backends to the new API.

14 years agoECalBackendFile overrides its cache directory.
Matthew Barnes [Tue, 20 Jul 2010 21:43:34 +0000 (17:43 -0400)]
ECalBackendFile overrides its cache directory.

It doesn't need a cache, so its cache directory is its data directory.

14 years agoEDataCal: Add a getCacheDir() D-Bus method.
Matthew Barnes [Tue, 20 Jul 2010 21:26:45 +0000 (17:26 -0400)]
EDataCal: Add a getCacheDir() D-Bus method.

ECal calls getCacheDir() to find the local attachment store.  ECal
caches the result, so getCacheDir() is only called once per instance.

14 years agoECalBackend: Add a "cache-dir" string property.
Matthew Barnes [Tue, 20 Jul 2010 21:06:48 +0000 (17:06 -0400)]
ECalBackend: Add a "cache-dir" string property.

Holds the directory where data should be cached for that specific
backend instance.

e_cal_backend_get_cache_dir()
e_cal_backend_set_cache_dir()

14 years agoECalBackend cleanup.
Matthew Barnes [Tue, 20 Jul 2010 20:10:23 +0000 (16:10 -0400)]
ECalBackend cleanup.