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
Milan Crha [Wed, 19 May 2010 21:08:07 +0000 (23:08 +0200)]
Bug #304415 - Allow change of signature hash algorithm
Milan Crha [Wed, 19 May 2010 09:04:58 +0000 (11:04 +0200)]
Bug #556061 - EContact/EVCard can re-order phone and email attributes
Adrian Bunk [Fri, 14 May 2010 20:50:24 +0000 (16:50 -0400)]
Bug 618578 - Require automake >= 1.10
Milan Crha [Fri, 14 May 2010 14:29:19 +0000 (16:29 +0200)]
Bug #531912 - Mail inline parser doesn't always work
Matthew Barnes [Thu, 13 May 2010 14:03:22 +0000 (10:03 -0400)]
Bug 618474 - WebDAV backend not linking to libebackend
Thomas Thurman [Wed, 12 May 2010 22:41:41 +0000 (18:41 -0400)]
Updated Shavian transliteration
Fran Diéguez [Wed, 12 May 2010 21:21:44 +0000 (23:21 +0200)]
Updated Galician translations
Milan Crha [Wed, 12 May 2010 09:19:05 +0000 (11:19 +0200)]
Bug #612596 - Crash in gnome_keyring_item_info_free from e-passwords.c
Manoj Kumar Giri [Wed, 12 May 2010 06:53:57 +0000 (12:23 +0530)]
Updated Oriya Translation
Kjartan Maraas [Tue, 11 May 2010 17:56:55 +0000 (19:56 +0200)]
Updated Norwegian bokmål translation
Michael Meeks [Tue, 11 May 2010 10:46:17 +0000 (11:46 +0100)]
Fix pointlessly narrow default width in the name selection dialog
Name the pointless label at the top, so it can be disabled for MeeGo
Milan Crha [Tue, 11 May 2010 11:56:17 +0000 (13:56 +0200)]
Fix typo in patch for bug #604650
Bharath Acharya [Tue, 11 May 2010 03:53:44 +0000 (09:23 +0530)]
Fix some build issues.
Federico Mena Quintero [Tue, 11 May 2010 00:50:24 +0000 (19:50 -0500)]
Put the name selector's section labels in the same row as the treeviews
This lets us save one whole row per destination section.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Tue, 11 May 2010 00:24:15 +0000 (19:24 -0500)]
Shrink the spacing between the name selector's sections
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Milan Crha [Mon, 10 May 2010 15:40:19 +0000 (17:40 +0200)]
Bug #337479 - Evolution forgets password on any error
Milan Crha [Mon, 10 May 2010 12:14:31 +0000 (14:14 +0200)]
Bug #604650 - Mishandling of '@' in WebDAV contacts username
Matthew Barnes [Sun, 9 May 2010 15:43:56 +0000 (10:43 -0500)]
Gtk-Doc updates.
Matthew Barnes [Sun, 9 May 2010 15:43:48 +0000 (10:43 -0500)]
Fix build breakage.
Matthew Barnes [Sun, 9 May 2010 15:24:47 +0000 (10:24 -0500)]
Disallow overwriting one CamelException with another.
Make CamelException behave more like GError: accept the first error
and reject subsequent errors with a runtime warning, unless the first
error is cleared first.
This may expose existing error handling bugs in the Camel providers,
but that's what we want: fixing these bugs will smooth the transition
to GError.
Federico Mena Quintero [Sat, 8 May 2010 00:55:57 +0000 (19:55 -0500)]
Don't set a default vertical size for the name selector window
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Sat, 8 May 2010 00:52:38 +0000 (19:52 -0500)]
Redo the container hierarchy in the name selector dialog
It was full of misaligned containers and nonsensical ones.
The code is now cleaner as well, with some helper functions
instead of putting everything into add_section().
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Sat, 8 May 2010 00:06:28 +0000 (19:06 -0500)]
Create a section in the name selector dialog in its own function
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Fri, 7 May 2010 21:55:03 +0000 (16:55 -0500)]
Remove border_width from the name selector's dialog toplevel contents
Its containing GtkDialog will already have added a border on its own,
so this lets us save a few pixels.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Matthew Barnes [Mon, 3 May 2010 01:04:54 +0000 (21:04 -0400)]
Convert CamelObject events to GObject signals.
Also, bump libcamel's soname to 16 since 2.31.1 was released with 15.
Federico Mena Quintero [Fri, 7 May 2010 21:46:00 +0000 (16:46 -0500)]
Remove an unused label in the name selector dialog
This was just taking up empty space, making spacing uneven
in the dialog.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Milan Crha [Fri, 7 May 2010 16:27:39 +0000 (18:27 +0200)]
Bug #617168 - WebDAV Addressbook backend should use ctags
Milan Crha [Fri, 7 May 2010 15:08:23 +0000 (17:08 +0200)]
Bug #566354 - Handle server's resource rename on WebDAV PUT response
Petr Tomasek [Fri, 7 May 2010 14:43:41 +0000 (16:43 +0200)]
Bug #566330 - WebDAV addressbook is too strict about content-type
Milan Crha [Thu, 6 May 2010 17:43:59 +0000 (19:43 +0200)]
e_cal_new_from_uri/e_cal_open_default emits runtime warning
The warning is "e_source_get_uri () called on source with no absolute URI!"
and it's caused by freeing the ESourceList before ECal creation.
This change is fixing the issue.
Milan Crha [Thu, 6 May 2010 15:45:37 +0000 (17:45 +0200)]
Bug #617881 - Crash on fetch finish with POP3
Milan Crha [Thu, 6 May 2010 15:17:06 +0000 (17:17 +0200)]
Bug #240317 - Allow searching in subscribe dialog
This makes NNTP return whole folder hierarchy quicker than before.
Chenthill Palanisamy [Mon, 3 May 2010 14:34:29 +0000 (20:04 +0530)]
post release version bump
Chenthill Palanisamy [Mon, 3 May 2010 12:32:11 +0000 (18:02 +0530)]
news update for 2.31.1 release
Chenthill Palanisamy [Mon, 3 May 2010 06:52:31 +0000 (12:22 +0530)]
Set the CamelIMAPXFolder type to OFFLINE_FOLDER type
Chenthill Palanisamy [Mon, 3 May 2010 04:16:17 +0000 (09:46 +0530)]
Add a null check while accessing folder_get_fullname - imapx
Chenthill Palanisamy [Mon, 3 May 2010 04:03:45 +0000 (09:33 +0530)]
Fix a crasher in moving large number of messages - imapx
Chenthill Palanisamy [Mon, 3 May 2010 04:01:25 +0000 (09:31 +0530)]
Make selecting a folder to work - imapx
Matthew Barnes [Sat, 1 May 2010 22:15:30 +0000 (18:15 -0400)]
Coding style and whitespace cleanup.
Matthew Barnes [Sat, 1 May 2010 21:25:06 +0000 (17:25 -0400)]
Fix distcheck errors.
Kjartan Maraas [Sat, 1 May 2010 17:33:18 +0000 (19:33 +0200)]
Remove a stray file
Kjartan Maraas [Sat, 1 May 2010 17:32:02 +0000 (19:32 +0200)]
Updated Norwegian bokmål translation
Matthew Barnes [Fri, 30 Apr 2010 21:09:13 +0000 (17:09 -0400)]
Don't abbreviate public symbols.
Public Camel symbols need to be in the "camel" namespace.
Matthew Barnes [Sat, 24 Apr 2010 20:35:29 +0000 (16:35 -0400)]
Use GObject properties instead of CamelArg.
Persistent properties are implemented as normal GObject properties, but
with a special GParamFlag: CAMEL_PARAM_PERSISTENT.
Currently all persistent properties are of type boolean, so the state
file read/write logic has been scaled down to support only booleans.
Matthew Barnes [Thu, 29 Apr 2010 17:23:02 +0000 (13:23 -0400)]
Gtk-Doc updates.
Milan Crha [Fri, 30 Apr 2010 11:46:12 +0000 (13:46 +0200)]
Avoid passing NULL to g_strstrip in e_contact_get calls
Milan Crha [Fri, 30 Apr 2010 11:26:08 +0000 (13:26 +0200)]
Bug #617263 - Crash of e-addressbook-factory on second start of evolution
Milan Crha [Thu, 29 Apr 2010 14:02:17 +0000 (16:02 +0200)]
Bug #545505 - Properly free unused message infos periodically
Milan Crha [Thu, 29 Apr 2010 10:13:28 +0000 (12:13 +0200)]
Bug #616819 - CamelIMAPXStore type definition typo
Mario Blättermann [Wed, 28 Apr 2010 20:39:11 +0000 (22:39 +0200)]
Updated German translation
Bharath Acharya [Wed, 28 Apr 2010 06:14:00 +0000 (11:44 +0530)]
Bug #615735 - Contacts are not displayed in GW Addressbook.
Fridrich Štrba [Tue, 27 Apr 2010 22:43:25 +0000 (00:43 +0200)]
Specify the executable extension where applicable in the service files
dev+gnome [Tue, 27 Apr 2010 14:49:01 +0000 (16:49 +0200)]
Bug #608620 - Use CRLF in signed & encrypted S/MIME messages
Matt McCutchen 2 [Tue, 27 Apr 2010 12:19:41 +0000 (14:19 +0200)]
Bug #615246 - Teach camel_sexp_to_sql_sexp about no-arg (match-all)
Claudio Saavedra [Tue, 27 Apr 2010 11:04:03 +0000 (13:04 +0200)]
Bug #616318 - Don't use an unitialized key in folder_changed_remove_uid
If g_hash_table_lookup_extended() returns FALSE, then the oldkey
is unset, so don't use it to insert a new item in the hash table.
Milan Crha [Mon, 26 Apr 2010 17:28:42 +0000 (19:28 +0200)]
The 'operation' in camel_mime_filter_progress_new can be NULL
Milan Crha [Mon, 26 Apr 2010 17:09:11 +0000 (19:09 +0200)]
Bug #616821 - From field missing in mail