David Woodhouse [Wed, 23 Jun 2010 22:51:29 +0000 (23:51 +0100)]
Remove unused variable ‘message’
camel-offline-folder.c: In function ‘offline_downsync_sync’:
camel-offline-folder.c:63: warning: unused variable ‘message’
David Woodhouse [Wed, 23 Jun 2010 13:38:41 +0000 (14:38 +0100)]
Use camel_folder_sync_message() to sync messages.
The imapx back end will handle sync_message requests at a much lower
priority than normal get_message requests, as is right and proper.
It would help if the front end would call the correct method, so that
the prioritisation actually works as expected. Otherwise, sync_message
requests end up having higher priority than the requests which are updating
flags and headers for changed folders -- leading to a crappy user experience.
Matthew Barnes [Wed, 23 Jun 2010 14:48:30 +0000 (10:48 -0400)]
I caused a build break, shame on me.
Matthew Barnes [Tue, 22 Jun 2010 23:46:51 +0000 (19:46 -0400)]
camel_folder_append_message: 'info' can be NULL.
Matthew Barnes [Tue, 22 Jun 2010 14:05:41 +0000 (10:05 -0400)]
Bug 316783 - Broken dragging of email addresses
Matthew Barnes [Mon, 21 Jun 2010 15:21:41 +0000 (11:21 -0400)]
Clarify documentation for e_destination_get_address().
Matthew Barnes [Mon, 21 Jun 2010 11:28:22 +0000 (07:28 -0400)]
Revert "Bug 619347 - Return formatted address in e_destination_get_address"
This reverts commit
db8c986c4f06f0cb57de9bfa6982b4e78f0bb32a.
Despite the misleading documentation, e_destination_get_address() -is-
intended to return an encoded address suitable for use in mail headers.
e_destination_get_textrep() exists for displaying destination addresses
to the user. The Contact List Editor is apparently calling the wrong
function.
Matthew Barnes [Sat, 19 Jun 2010 16:57:52 +0000 (12:57 -0400)]
Bug 621851 - CamelFolder description should fall back to full-name
Matthew Barnes [Sat, 19 Jun 2010 12:23:33 +0000 (08:23 -0400)]
Bug 621961 - Remove GroupWise debugging messages.
Matthew Barnes [Sat, 19 Jun 2010 00:17:53 +0000 (20:17 -0400)]
Bug 601535 - Categories not translated in menus
Matthew Barnes [Sat, 19 Jun 2010 00:01:58 +0000 (20:01 -0400)]
s/EVOLUTION_LOCALEDIR/LOCALEDIR/
Chenthill Palanisamy [Fri, 18 Jun 2010 06:37:06 +0000 (12:07 +0530)]
Remove the generated file camel-imapx-tokenise.h from git.
Chenthill Palanisamy [Fri, 18 Jun 2010 03:04:07 +0000 (08:34 +0530)]
Do not set exception if its already set
Milan Crha [Thu, 17 Jun 2010 14:35:25 +0000 (16:35 +0200)]
Bug #621877 - Crash in summary_header_to_db at camel-vee-folder.c
David Woodhouse [Thu, 17 Jun 2010 09:35:59 +0000 (10:35 +0100)]
Bug 621842 - use 'UID FETCH' instead of 'FETCH' for scan_changes
RFC3501 requires that 'UID FETCH' for non-existent message sets should
return an empty set of data and not complain. Unlike 'FETCH'.
David Woodhouse [Wed, 16 Jun 2010 23:14:24 +0000 (00:14 +0100)]
Fix locking issues in cancel_all_jobs()
While debugging bug 621740, the race conditions in here were suspected.
On balance they probably weren't the cause, but fix them anyway for good
measure.
David Woodhouse [Wed, 16 Jun 2010 23:11:02 +0000 (00:11 +0100)]
Fix tagprefix for multiple accounts.
It gets very confusing looking at debug logs when all four imapx accounts
are using 'A' as their tagprefix.
David Woodhouse [Wed, 16 Jun 2010 23:09:15 +0000 (00:09 +0100)]
Bug 621740 - Fix double-free of is->literal in cancel_all_jobs()
The command which is is->literal is either on the queue or owned somewhere
else; there's no need for it to be freed in cancel_all_jobs() too.
David Woodhouse [Wed, 16 Jun 2010 23:06:54 +0000 (00:06 +0100)]
Bug 621740 - Fix double command ->complete() in imapx_command_start_next()
If imapx_command_start() returns FALSE, it'll already have called the
completion function for the command in question. Don't do it again; it's the
second of the _three_ places that command was getting freed.
Milan Crha [Wed, 16 Jun 2010 17:41:47 +0000 (19:41 +0200)]
Bug #617723 - Critical warnings when going offline in contact view
Milan Crha [Tue, 15 Jun 2010 14:09:04 +0000 (16:09 +0200)]
Bug #206061 - Allow normal, non-vFolder, Trash and Junk folder
David Woodhouse [Tue, 15 Jun 2010 11:24:51 +0000 (12:24 +0100)]
Bug 610919 - Remove superfluous space in flags in APPEND command
RFC3501 doesn't permit a space between the final flag and the closing
parenthesis, and Exchange will reject the command if it's there.
Chenthill Palanisamy [Tue, 15 Jun 2010 11:11:26 +0000 (16:41 +0530)]
Set exception correctly while appending message - missed in previous commit
Chenthill Palanisamy [Tue, 15 Jun 2010 11:00:58 +0000 (16:30 +0530)]
Part of bug 610919, to display the exceptions to the user. We still need to enable displaying exceptions asyncronously
David Woodhouse [Mon, 14 Jun 2010 11:19:38 +0000 (12:19 +0100)]
Bug 615239 - Fix GSSAPI (and other SASL) authentication for imapx
David Woodhouse [Mon, 14 Jun 2010 10:57:22 +0000 (11:57 +0100)]
Bug 599879 - Fix NULL return without exception on krb5-auth-dialog failure
David Woodhouse [Sat, 12 Jun 2010 23:07:47 +0000 (00:07 +0100)]
Bug 585301 - Use ~/.pki/nssdb for NSS SQL database, not Evolution directory.
This is where the user-specific part of the 'shared system database' goes,
and is what Chrome uses. When the system _isn't_ configured to use the
shared system database, this is what we should be using.
Fran Diéguez [Sun, 13 Jun 2010 15:20:34 +0000 (17:20 +0200)]
Updated Galician translations
David Woodhouse [Thu, 10 Jun 2010 12:52:13 +0000 (13:52 +0100)]
Bug 585301 - Use correct NSS system database where appropriate.
It sucks that we have to look in the /etc/pki/nssdb/pkcs11.txt file to work
out whether the system database is being used, but it's the only way to tell.
David Woodhouse [Fri, 11 Jun 2010 00:42:59 +0000 (01:42 +0100)]
Bug 621262 - Fix fetch of large mails from broken servers like Exchange
David Woodhouse [Thu, 10 Jun 2010 19:22:13 +0000 (20:22 +0100)]
Bug 621237 - Add imap-over-custom-command support for imapx
Milan Crha [Fri, 11 Jun 2010 09:09:07 +0000 (11:09 +0200)]
Check EBook DBus error names without underscores too
As shown in Gnome bug #621232, newer DBus can strip underscores
in the names (see comment #0 there). I guess it does newer DBus.
Chenthill Palanisamy [Thu, 10 Jun 2010 20:32:26 +0000 (02:02 +0530)]
fixed an error in previous commit
Chenthill Palanisamy [Thu, 10 Jun 2010 12:21:55 +0000 (17:51 +0530)]
use gdk_drag_context_get_action instead of gdk_drag_context_get_selected_action for gtk version 2.21.1
Chenthill Palanisamy [Thu, 10 Jun 2010 09:24:29 +0000 (14:54 +0530)]
post release version bump
Chenthill Palanisamy [Thu, 10 Jun 2010 07:38:48 +0000 (13:08 +0530)]
updating the minor version
Chenthill Palanisamy [Thu, 10 Jun 2010 06:49:03 +0000 (12:19 +0530)]
version update for 2.31.3.1 release
Chenthill Palanisamy [Thu, 10 Jun 2010 06:44:09 +0000 (12:14 +0530)]
Check for gtk version below 2.21.1 for comptability with gseal changes
Milan Crha [Tue, 8 Jun 2010 16:21:55 +0000 (18:21 +0200)]
Part of bug #585353 - Add new CAMEL_STORE_REAL_JUNK_FOLDER flag
Matthew Barnes [Mon, 7 Jun 2010 11:38:44 +0000 (07:38 -0400)]
e-data-server-util cleanups.
Chenthill Palanisamy [Mon, 7 Jun 2010 11:21:49 +0000 (16:51 +0530)]
post release version bump
Chenthill Palanisamy [Mon, 7 Jun 2010 04:02:34 +0000 (09:32 +0530)]
News update for 2.31.3 release
Milan Crha [Mon, 7 Jun 2010 08:03:21 +0000 (10:03 +0200)]
Bug #550414 - Corruption of mailbox and can't expunge trash
Matthew Barnes [Sun, 6 Jun 2010 20:20:57 +0000 (16:20 -0400)]
Coding style and whitespace cleanups.
Matthew Barnes [Sun, 6 Jun 2010 19:39:06 +0000 (15:39 -0400)]
More Gtk-Doc updates.
Matthew Barnes [Sun, 6 Jun 2010 18:54:04 +0000 (14:54 -0400)]
Gtk-Doc updates.
David Ayers [Thu, 20 May 2010 16:04:57 +0000 (18:04 +0200)]
Bug 619347 - Return formatted address in e_destination_get_address
The documentation of this method claims to return the formatted name
yet it previously encoded them in quotable strings. This patch fixes
this which results in strings containing non ASCII chracters to be
rendered correctly in the UI. This also changes the vCard output but
vCard 3.0 specifies that quotable-printable inline ecnodings have been
eliminated. In any case this quoting should be handled in
e_destination_export_to_vcard_attribute instead.
Matthew Barnes [Fri, 4 Jun 2010 17:58:37 +0000 (13:58 -0400)]
Set the GTK+ backward compatibility check to 2.21.2.
Matthew Barnes [Fri, 4 Jun 2010 01:16:56 +0000 (21:16 -0400)]
Bug 620522 - Build break: 'nss_config' undeclared
Florian Müllner [Thu, 3 Jun 2010 10:41:44 +0000 (12:41 +0200)]
Add compatibility with GTK+ 2.20
The upcoming Gdk 2.22/3.0 will be sealed. Accessor functions are
available, but it raises the required minimum version to 2.22 - add
some basic compatibility code, so that it is still possible to build
with an unsealed GDK.
https://bugzilla.gnome.org/show_bug.cgi?id=620466
Florian Müllner [Thu, 3 Jun 2010 10:41:36 +0000 (12:41 +0200)]
Use accessors for newly sealed GdkDragContext members
This bumps the required GTK+ version to 2.22
https://bugzilla.gnome.org/show_bug.cgi?id=620466
Fridrich Štrba [Thu, 3 Jun 2010 07:05:17 +0000 (09:05 +0200)]
Making e-d-s build on Windows and also build on other platforms :)
Federico Mena Quintero [Wed, 2 Jun 2010 20:02:23 +0000 (15:02 -0500)]
Factor out function to rehandshake SSL
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Wed, 2 Jun 2010 19:32:21 +0000 (14:32 -0500)]
Leave a hint for implementing SOCKS4a/SOCKS5
... as an exercise for the reader. This would require
a small API change in CamelTcpStream, but fortunately
that class is only used within Camel, not in Evolution.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Wed, 2 Jun 2010 19:18:00 +0000 (14:18 -0500)]
Reset the SSL handshake after connecting to the SOCKS proxy
Apparently it matters whether the socket had been written to,
while doing the connection to the proxy. Now it works fine.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Wed, 2 Jun 2010 18:51:20 +0000 (13:51 -0500)]
Debug info for read/write/close on the SSL stream
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Wed, 2 Jun 2010 18:32:38 +0000 (13:32 -0500)]
Debugging code for the SSL stream
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Tue, 1 Jun 2010 19:48:13 +0000 (14:48 -0500)]
Propagate errno from the proxy connection functions
One missing case, however, is at the step where we camel_getaddrinfo() for the
proxy hostname. That function returns a CamelException, but we don't have a
good way to translate that to an errno. So, we return a EHOSTUNREACH in
that case.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Tue, 1 Jun 2010 19:30:32 +0000 (14:30 -0500)]
Fix thinko when processing the reply from the SOCKS4 proxy
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Tue, 1 Jun 2010 19:15:26 +0000 (14:15 -0500)]
Sanitize empty-string proxy hostnames at the API entry point
This way the rest of the code can assume that (proxy_host == NULL) means
that no proxy is set; it doesn't need to check for empty strings.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Mon, 31 May 2010 21:47:48 +0000 (16:47 -0500)]
Oops, struct sockaddr_in is already in network byte order.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Thu, 27 May 2010 19:56:12 +0000 (14:56 -0500)]
Enable SSL on the socket after we are proxied
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Thu, 27 May 2010 01:22:49 +0000 (20:22 -0500)]
SSL stream: connect to the SOCKS4 proxy
In the same way as the raw TCP stream does it, but using
NSPR functions. We could probably refactor those into a
single function...
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Thu, 27 May 2010 00:58:35 +0000 (19:58 -0500)]
Make the SSL stream's stream_read() reusable internally
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Thu, 27 May 2010 00:51:00 +0000 (19:51 -0500)]
Make the SSL stream's stream_write() reusable internally
We need to write to a PRFileDesc* from the initial step that
connects to a SOCKS4 proxy, so we need that function to
be reusable for generic write() operations.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Wed, 26 May 2010 23:58:31 +0000 (18:58 -0500)]
Make socket_connect() in the TCP-SSL stream more generic
This way we will be able to use it to connect to
the SOCKS4 proxy itself.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Wed, 26 May 2010 19:38:33 +0000 (14:38 -0500)]
TcpRaw: Connect via a SOCKS4 proxy if available
We will deal with SSL streams later.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Tue, 25 May 2010 21:18:21 +0000 (16:18 -0500)]
Function to connect to a SOCKS4 proxy
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Wed, 19 May 2010 22:26:15 +0000 (17:26 -0500)]
Setter/getter for the SOCKS proxy
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Wed, 19 May 2010 20:03:52 +0000 (15:03 -0500)]
Add a private struct to CamelTcpStream
We will use it to store the info for the SOCKS host/port.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Thu, 13 May 2010 19:48:32 +0000 (14:48 -0500)]
Use the SOCKS proxy in the smtp transport
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Thu, 13 May 2010 19:47:20 +0000 (14:47 -0500)]
Use the SOCKS proxy in the nntp store
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Thu, 13 May 2010 19:46:18 +0000 (14:46 -0500)]
Use the SOCKS proxy in the imapx server
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Thu, 13 May 2010 19:00:28 +0000 (14:00 -0500)]
Use the SOCKS proxy in the imap store
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Thu, 13 May 2010 18:55:59 +0000 (13:55 -0500)]
Use the SOCKS proxy in the pop3 store
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Thu, 13 May 2010 18:14:52 +0000 (13:14 -0500)]
Don't return a const char *
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Wed, 12 May 2010 20:00:54 +0000 (15:00 -0500)]
Add camel_session_set/get_socks_proxy()
This is the only API that clients should need to call to
set a SOCKS proxy for Camel's TCP connections.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Wed, 12 May 2010 20:00:09 +0000 (15:00 -0500)]
Add camel_tcp_stream_set/get_socks_proxy()
This will be the low-level function to set a SOCKS proxy for TCP streams.
In subsequent commits we'll add the machinery to CamelSession et al
to pass down the client's specified proxy into TCP streams.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Milan Crha [Wed, 2 Jun 2010 11:37:02 +0000 (13:37 +0200)]
Bug #617261 - Evolution didn't quit due to deadlock
Fridrich Štrba [Mon, 31 May 2010 11:04:24 +0000 (13:04 +0200)]
Create the configdir instead of bailing out if it does not exist
Gert Michael Kulyk [Sat, 22 May 2010 19:00:02 +0000 (21:00 +0200)]
Bug #617439 - Fix translation of birthday and anniversary events
Craig Ringer [Sat, 29 May 2010 19:33:41 +0000 (15:33 -0400)]
Bug 585301 - Use NSS SQLite database, if available
Matthew Barnes [Sat, 29 May 2010 04:09:44 +0000 (00:09 -0400)]
Gtk-Doc updates.
Ivar Smolin [Thu, 27 May 2010 10:15:58 +0000 (13:15 +0300)]
Estonian translation updated
Milan Crha [Wed, 26 May 2010 18:20:51 +0000 (20:20 +0200)]
Declare mbox' frompos as goffset, not off_t
Milan Crha [Wed, 26 May 2010 13:52:26 +0000 (15:52 +0200)]
Return missing g_object_ref call in camel-mime-parser
Gert Michael Kulyk [Tue, 25 May 2010 17:32:55 +0000 (19:32 +0200)]
Bug #601535 - Fix translation domain for default categories
Kjartan Maraas [Mon, 24 May 2010 14:21:02 +0000 (16:21 +0200)]
Updated Norwegian bokmål translation
Matthew Barnes [Sun, 23 May 2010 20:31:45 +0000 (16:31 -0400)]
Remove dead CamelFolderSummary methods.
This breaks the CamelFolderSummaryClass ABI.
Matthew Barnes [Sun, 23 May 2010 16:33:14 +0000 (12:33 -0400)]
Post-release version bump.
Matthew Barnes [Sun, 23 May 2010 15:23:41 +0000 (11:23 -0400)]
NEWS update for 2.31.2 release.
Matthew Barnes [Sun, 23 May 2010 12:53:33 +0000 (08:53 -0400)]
Fix distcheck errors.
Matthew Barnes [Sun, 23 May 2010 11:47:17 +0000 (07:47 -0400)]
Update API documentation.
Matthew Barnes [Sat, 22 May 2010 11:55:08 +0000 (07:55 -0400)]
Fix compiler warning.
Matthew Barnes [Sat, 22 May 2010 01:14:12 +0000 (21:14 -0400)]
Bump libedataserver soname twice.
We screwed up and forgot to bump libedataserver's shared object name
when EComponentListener was removed during the 2.29 development cycle.
The problem is we now need to bump both master and gnome-2-30 branches,
but master was already bumped once when all the deprecated API was
removed for 2.31.1. So to keep all the names unique, the gnome-2-30
soname will leapfrog master, and master will leapfrog gnome-2-30.
It breaks down like this:
Version Shared Object Name Note
<= 2.30.1 : libedataserver-1.2.so.11 :
== 2.31.1 : libedataserver-1.2.so.12 : Deprecated API removed
>= 2.30.2 : libedataserver-1.2.so.13 : EComponentListener removed
>= 2.31.2 : libedataserver-1.2.so.14 : EComponentListener removed
Matthew Barnes [Sat, 22 May 2010 00:06:12 +0000 (20:06 -0400)]
Add argument checks to camel-partition-table.c.
Matthew Barnes [Fri, 21 May 2010 23:58:22 +0000 (19:58 -0400)]
Add argument checks to camel-block-file.c.
Philip Withnall [Wed, 21 Apr 2010 15:53:52 +0000 (16:53 +0100)]
Remove Google Calendar backend
Remove the Google Calendar calendar backend completely. Google Calendar can,
and should, be accessed through CalDAV, and the google-account-setup plugin
in Evolution will manage this (and migrate old sources to use CalDAV instead
of the Google Calendar backend). Closes: bgo#580021
Philip Withnall [Wed, 21 Apr 2010 15:34:54 +0000 (16:34 +0100)]
Add NOTE support to the Google Contacts backend
Closes: bgo#602244
Philip Withnall [Wed, 21 Apr 2010 15:13:49 +0000 (16:13 +0100)]
Add ORG support to the Google Contacts backend
This includes ORG_NAME, TITLE and ROLE support. Helps: bgo#602244