Milan Crha [Tue, 26 Jul 2011 20:14:14 +0000 (22:14 +0200)]
Bug #655331 - pgp/gpg signature is not shown
Matthew Barnes [Sun, 24 Jul 2011 16:34:42 +0000 (11:34 -0500)]
Bug 654480 - [imapx] Mark as Junk is not reliable
When comparing server-side message flags to local flags, disregard
non-permanent flags that appear to have been cleared on the server.
This solves the problem of IMAP servers not storing junk-related flags
permanently, then when we synchronize message flags with the server, our
local junk-related flags (which -are- stored permanently) get clobbered.
Matthew Barnes [Sun, 24 Jul 2011 14:12:51 +0000 (09:12 -0500)]
IMAPX: Delete CamelIMAPXViewSummary.
After spending nearly an hour trying to understand how this code is
used... only to realize it's not.
Matthew Barnes [Sat, 23 Jul 2011 17:17:57 +0000 (12:17 -0500)]
Post-release version bump.
Matthew Barnes [Sat, 23 Jul 2011 17:13:30 +0000 (12:13 -0500)]
NEWS update for 3.1.4 release.
Matthew Barnes [Fri, 22 Jul 2011 15:03:40 +0000 (10:03 -0500)]
Coding style and whitespace cleanups.
Matthew Barnes [Tue, 19 Jul 2011 20:02:58 +0000 (15:02 -0500)]
CamelPOP3Store cleanups.
Matthew Barnes [Thu, 21 Jul 2011 15:38:17 +0000 (10:38 -0500)]
Update API documentation.
Matthew Barnes [Thu, 21 Jul 2011 12:51:09 +0000 (07:51 -0500)]
Update POTFILES.in for camel-junk-filter.c.
Matthew Barnes [Tue, 19 Jul 2011 21:58:23 +0000 (16:58 -0500)]
Add CamelNetworkService interface.
For now this interface is optional for network-based providers.
Eventually I'd like to move the connect() and disconnect() methods
from CamelService to CamelNetworkService entirely, but for now this
interface just collects duplicate code from the imap, imapx, nntp,
pop3 and smtp providers. The connect_sync() method creates a TCP
stream and configures it to use a SOCKS proxy if available.
Matthew Barnes [Tue, 19 Jul 2011 17:53:47 +0000 (12:53 -0500)]
Generate GTypes for various Camel enums.
Kind of picking and choosing at this point. Some enum types must be
renamed to use CamelCase before they can be added to camel-enums.h,
other enum types don't even have a type name.
Matthew Barnes [Fri, 15 Jul 2011 17:14:36 +0000 (13:14 -0400)]
CamelNNTPStore cleanups.
Kjartan Maraas [Mon, 18 Jul 2011 09:38:42 +0000 (11:38 +0200)]
Revert the previous commit since it seems to be a problem with the build chain
Kjartan Maraas [Sun, 17 Jul 2011 18:41:46 +0000 (20:41 +0200)]
Add camel-junk-filter to the provider sources to make it build in recent jhbuild. Also include camel-junk-filter.h in the source files that use the api.
Matthew Barnes [Fri, 15 Jul 2011 15:06:43 +0000 (11:06 -0400)]
CamelIMAPXConnManager: Keep a weak pointer to CamelStore.
CamelIMAPXStore owns CamelIMAPXConnManager, so keep only a weak pointer
back to the CamelIMAPXStore to break another reference cycle.
Matthew Barnes [Fri, 15 Jul 2011 14:21:25 +0000 (10:21 -0400)]
Break reference cycle between CamelStore and CamelFolder.
Now that we've ensured that every CamelFolder instance is cached by its
parent CamelStore, the CamelFolder need only keep a weak pointer to its
parent CamelStore. This breaks another reference cycle.
Matthew Barnes [Fri, 15 Jul 2011 14:07:37 +0000 (10:07 -0400)]
CamelStore: Folder cache is always present.
I can't find any CamelStore instances with no folder cache, so let's
assert that it's always present and quit checking for NULL everywhere.
Matthew Barnes [Fri, 15 Jul 2011 13:28:30 +0000 (09:28 -0400)]
CamelService: Little typo.
Didn't set up the weak pointer correctly.
Matthew Barnes [Fri, 15 Jul 2011 12:45:42 +0000 (08:45 -0400)]
CamelSession: Add camel_session_remove_services()
Helps ensure CamelService instances are finalized during application
shutdown, even if CamelSession itself is caught in reference cycles.
Matthew Barnes [Fri, 15 Jul 2011 03:35:35 +0000 (23:35 -0400)]
CamelIMAPXServer: Fix CamelSession reference leak.
CamelIMAPXServer was not releasing its CamelSession reference.
Not that it matters much at the moment since CamelIMAPXServer instances
themselves are not getting finalized. Need to hunt down what's leaking
those now...
Matthew Barnes [Fri, 15 Jul 2011 03:20:05 +0000 (23:20 -0400)]
Break reference cycle between CamelSession and CamelService.
CamelService now holds only a weak pointer to CamelSession.
Matej Urbančič [Thu, 14 Jul 2011 12:35:11 +0000 (14:35 +0200)]
Updated Slovenian translation
Matthew Barnes [Mon, 11 Jul 2011 01:49:16 +0000 (21:49 -0400)]
Rewrite Camel's junk plugin interface.
Replace CamelJunkPlugin with a proper GInterface and add a "junk-filter"
property to CamelSession with corresponding get/set functions. The new
interface includes GCancellable and GError parameters.
David Woodhouse [Thu, 14 Jul 2011 01:52:12 +0000 (18:52 -0700)]
Fix wakeups in imapx parser thread.
There's no need to wake up every 30 seconds. If the parser_quit flag
gets set, our cancellable will be cancelled. Fix a race condition in
imapx_command_idle_stop which was triggering the cancellable and *then*
setting parser_quit.
Aurimas Černius [Tue, 12 Jul 2011 16:02:59 +0000 (19:02 +0300)]
Updated Lithuanian translation
Rudolfs Mazurs [Tue, 12 Jul 2011 12:39:05 +0000 (15:39 +0300)]
Updated Latvian translation.
Antoine Jacoutot [Tue, 12 Jul 2011 11:26:39 +0000 (13:26 +0200)]
Move the "$host" down when $host is actually set and don't set DL_LIB
to libdl which is not available on OpenBSD/FreeBSD.
https://bugzilla.gnome.org/show_bug.cgi?id=654444
Kjartan Maraas [Tue, 12 Jul 2011 10:43:17 +0000 (12:43 +0200)]
Updated Norwegian bokmål translation
Piotr Drąg [Sun, 10 Jul 2011 11:59:52 +0000 (13:59 +0200)]
Updated POTFILES.in
Matthew Barnes [Sat, 9 Jul 2011 21:23:10 +0000 (17:23 -0400)]
Remove G_DISABLE_DEPRECATED.
ATK headers still use G_CONST_RETURN, which is deprecated.
Matthew Barnes [Sat, 9 Jul 2011 15:58:16 +0000 (11:58 -0400)]
CamelSpoolStore cleanups.
Matthew Barnes [Sat, 9 Jul 2011 15:11:07 +0000 (11:11 -0400)]
CamelMhStore cleanups.
Matthew Barnes [Fri, 8 Jul 2011 19:32:52 +0000 (15:32 -0400)]
CamelLocalStore cleanups.
Muhammet Kara [Thu, 7 Jul 2011 21:25:50 +0000 (00:25 +0300)]
[l10n]Updated Turkish translation
Abduxukur Abdurixit [Thu, 7 Jul 2011 14:27:02 +0000 (16:27 +0200)]
Added UG translation
Matthew Barnes [Wed, 6 Jul 2011 18:58:51 +0000 (14:58 -0400)]
CamelDataWrapper: Keep contents in a GByteArray.
Keep CamelDataWrapper contents in an internal GByteArray rather than a
CamelStream. The CamelStream was causing problems because it now needs
to be seekable, but in some cases we were getting a CamelStreamFilter
which is _not_ seekable.
Also add camel_data_wrapper_get_byte_array() for when you need direct
access to the contents. This is sometimes more convenient than copying
it into a memory stream, but carries a thread-safety risk if you're not
careful. Only CamelDataWrapper subclasses should really be using it.
This is another API and ABI break since CamelDataWrapper's CamelStream
pointer was a public struct member.
Matthew Barnes [Wed, 6 Jul 2011 11:39:43 +0000 (07:39 -0400)]
Remove camel_stream_printf().
GIO streams have no equivalent method, so removing this function forces
our code to look a bit more like it will when we move to GIO streams.
Also, camel_stream_printf() lacks GCancellable and GError arguments,
which inevitably leads to poor error handling in the providers.
libcamel soname has already been bumped for 3.1.4.
Matthew Barnes [Tue, 5 Jul 2011 20:43:59 +0000 (16:43 -0400)]
Avoid camel_stream_printf().
camel_stream_printf() is next on the chopping block.
Use g_strdup_printf() or a GString to construct a formatted string in
memory, pass to to camel_stream_write() in one go, and then check for
errors (unless it's a memory stream).
Chenthill Palanisamy [Wed, 6 Jul 2011 09:57:01 +0000 (15:27 +0530)]
post release version bump
Chenthill Palanisamy [Wed, 6 Jul 2011 09:44:03 +0000 (15:14 +0530)]
News update for 3.1.3.1 release
Daniel Mustieles [Wed, 6 Jul 2011 07:41:44 +0000 (09:41 +0200)]
Updated Spanish translation
Wylmer Wang [Wed, 6 Jul 2011 07:21:39 +0000 (07:21 +0000)]
Update Simplified Chinese translation.
Akhil Laddha [Wed, 6 Jul 2011 04:47:04 +0000 (10:17 +0530)]
Bug#654054 Fix eds build failure
Matthew Barnes [Tue, 5 Jul 2011 15:41:22 +0000 (11:41 -0400)]
camel_stream_vprintf() doesn't exist.
Remove its declaration from camel-stream.h.
Matthew Barnes [Tue, 5 Jul 2011 14:50:11 +0000 (10:50 -0400)]
Remove camel_stream_reset().
All use cases accounted for; they're all seekable streams, so use
g_seekable_seek() instead if you need to reset the cursor position.
Obviously an API break. The libcamel soname has already been bumped for
3.1.4 so we'll leave it be.
Matthew Barnes [Tue, 5 Jul 2011 13:20:47 +0000 (09:20 -0400)]
Prefer g_seekable_seek() over camel_stream_reset().
When a stream is obviously a file or memory stream (both of which
implement the GSeekable interface), use g_seekable_seek() instead of
camel_stream_reset().
This is helping me discover if it's safe to remove camel_stream_reset().
We want to eventually move to GIO streams, which have no reset method.
Matthew Barnes [Tue, 5 Jul 2011 13:36:13 +0000 (09:36 -0400)]
Camel: Remove some unnecessary type casts.
Matthew Barnes [Tue, 5 Jul 2011 11:07:23 +0000 (07:07 -0400)]
CamelImapWrapper: Use GError instead of errno.
Matthew Barnes [Tue, 5 Jul 2011 11:00:48 +0000 (07:00 -0400)]
camel_stream_process_connect(): Add GError parameter.
Fran Dieguez [Tue, 5 Jul 2011 09:29:17 +0000 (11:29 +0200)]
Updated Galician translations
Matthew Barnes [Tue, 5 Jul 2011 04:06:46 +0000 (00:06 -0400)]
camel_tcp_stream_ssl_enable_ssl(): Add GError parameter.
Matthew Barnes [Tue, 5 Jul 2011 03:44:58 +0000 (23:44 -0400)]
SMTP: Use GError instead of errno.
Matthew Barnes [Tue, 5 Jul 2011 03:30:56 +0000 (23:30 -0400)]
NNTP: Remove unnecessary <errno.h> includes.
Matthew Barnes [Tue, 5 Jul 2011 02:08:04 +0000 (22:08 -0400)]
POP3: Use GError instead of errno.
Mario Blättermann [Mon, 4 Jul 2011 19:50:28 +0000 (21:50 +0200)]
[l10n] Updated German translation
Mario Blättermann [Mon, 4 Jul 2011 19:48:37 +0000 (21:48 +0200)]
[l10n] Updated German translation
Matthew Barnes [Mon, 4 Jul 2011 14:53:37 +0000 (10:53 -0400)]
Camel: Fix Gtk-Doc notation in comment blocks.
Matthew Barnes [Mon, 4 Jul 2011 13:21:02 +0000 (09:21 -0400)]
Authorization domains are no longer used in password storage.
They are a relic of keyfile-based password storage, where the auth
domain was merely the keyfile group name. Keyring-based password
storage, which we now use exclusively, has no such concept.
Rename all "component_name" parameters in e-passwords.c to "unused" and
remove their argument guards from functions.
Remove all AUTH_DOMAIN definitions from ECredentials. Better to nip
that in the bud before we're stuck with those symbols. DO NOT bump the
libedataserver soname, however, since that would be highly disruptive to
distros and nothing uses ECredentials yet.
Remove the "domain" parameter from CamelSession password methods. Also
remove any mention of "auth_domain" URL parameters. This is a genuine
API break requiring a libcamel soname bump, but no one cares.
Chenthill Palanisamy [Mon, 4 Jul 2011 09:28:46 +0000 (14:58 +0530)]
post release version bump
Chenthill Palanisamy [Mon, 4 Jul 2011 08:46:23 +0000 (14:16 +0530)]
News update for 3.1.3 release
Fran Dieguez [Sun, 3 Jul 2011 16:04:10 +0000 (18:04 +0200)]
Updated Galician translations
Matthew Barnes [Tue, 28 Jun 2011 19:28:38 +0000 (15:28 -0400)]
libedata-cal cleanups.
Matthew Barnes [Sun, 3 Jul 2011 12:48:13 +0000 (08:48 -0400)]
Fix build break (my bad).
Matthew Barnes [Sat, 2 Jul 2011 18:52:01 +0000 (14:52 -0400)]
Update API documentation.
Matthew Barnes [Sat, 2 Jul 2011 15:46:04 +0000 (11:46 -0400)]
Coding style and whitespace cleanups.
Milan Crha [Fri, 1 Jul 2011 18:00:57 +0000 (20:00 +0200)]
Bug #650671 - Service connect/disconnect not cancelled properly
Matthew Barnes [Fri, 1 Jul 2011 14:56:59 +0000 (10:56 -0400)]
Require libgdata >= 0.9.1 for GNOME Online Accounts support.
Appearently there were more API changes since libgdata 0.9.0.
Milan Crha [Fri, 1 Jul 2011 12:44:48 +0000 (14:44 +0200)]
Bug #653476 - icaltimezone not copied completely with libical 0.43
This is based on Chen's findings and initial patch for the issue.
Once eds will depend on libical 0.46 this can be removed.
Daniel Nylander [Fri, 1 Jul 2011 07:54:55 +0000 (09:54 +0200)]
Updated Swedish translation
Raul Gutierrez Segales [Thu, 30 Jun 2011 15:09:34 +0000 (17:09 +0200)]
Bug #650126 - Add API to set the scroll policy of the Contacts container
Milan Crha [Thu, 30 Jun 2011 11:28:17 +0000 (13:28 +0200)]
Bug #653385 - ldaps fails with server using self-signed certificate
Travis Reitter [Wed, 29 Jun 2011 23:33:10 +0000 (16:33 -0700)]
Bump the required version of Vala for the bindings.
Closes: bgo#651722 - EDS vala bindings require newer version of Vala
Milan Crha [Wed, 29 Jun 2011 21:02:49 +0000 (23:02 +0200)]
e_cal_client_get_object() should not return VCALENDAR components
The e_cal_get_object() returns either detached instance, the master
object or the first object from the VCALENDAR component, thus make
ECalClient do this too.
This was discovered while fixing regression crash from bug #579779.
Hannie Dumoleyn [Wed, 29 Jun 2011 17:27:53 +0000 (19:27 +0200)]
Updated Dutch translation by Hannie Dumoleyn
Milan Crha [Wed, 29 Jun 2011 06:46:57 +0000 (08:46 +0200)]
Minor compiler warning fix (change #if to #ifdef)
Dan Vrátil [Wed, 29 Jun 2011 06:34:18 +0000 (08:34 +0200)]
Bug #224687 - Skip ignored destinations in destination_get_address()
Milan Crha [Wed, 29 Jun 2011 05:38:35 +0000 (07:38 +0200)]
Fix LDAP authentication and process authentication requests on idle
Matthew Barnes [Sun, 26 Jun 2011 11:54:44 +0000 (07:54 -0400)]
Add OAuth support to Google Contacts backend.
For ESources tagged with a "goa-account-id" property set by Evolution,
authenticate using OAuth 1.0 via libgoa-1.0 and libgdata 0.9.
Matthew Barnes [Mon, 27 Jun 2011 13:24:33 +0000 (09:24 -0400)]
libedata-book cleanups.
Milan Crha [Tue, 28 Jun 2011 09:46:39 +0000 (11:46 +0200)]
Minor compiler warning fix (change #if to #ifdef)
Dan Vrátil [Tue, 28 Jun 2011 09:39:54 +0000 (11:39 +0200)]
Bug #224687 - Create lists of lists
Raul Gutierrez Segales [Tue, 28 Jun 2011 07:05:47 +0000 (08:05 +0100)]
Vala bindings: we depend on gio-2.0
Milan Crha [Mon, 27 Jun 2011 09:29:36 +0000 (11:29 +0200)]
Allow asynchronous retrieval of EClient capabilities for easier caching
Matthew Barnes [Sun, 26 Jun 2011 11:50:50 +0000 (07:50 -0400)]
Fix build breaks when using libgdata 0.9.
Matthew Barnes [Sat, 25 Jun 2011 17:37:56 +0000 (13:37 -0400)]
Remove pointless ENABLE_THREADS define.
Of course we enable thread support. We love threads! And lots of
complex mutex locking! It's great job security. </sarcasm>
Raul Gutierrez Segales [Sat, 25 Jun 2011 12:03:13 +0000 (13:03 +0100)]
Introspection: fix annotation in e_vcard_add_attribute
Raul Gutierrez Segales [Sat, 25 Jun 2011 11:40:59 +0000 (12:40 +0100)]
Introspection: fix annotation in e_vcard_get_attribute
Matthew Barnes [Fri, 24 Jun 2011 22:51:22 +0000 (18:51 -0400)]
SMTP: Handle 235 code after initial AUTH command.
The server may accept the initial response in our AUTH command and
return a 235 (success) code without a 334 (continue) code, such as
for example with XOAUTH. Handle this correctly.
Matthew Barnes [Fri, 24 Jun 2011 15:29:04 +0000 (11:29 -0400)]
Make Camel's SASL framework more extensible.
Gather SASL mechanism names by traversing subclasses of CamelSasl
instead of hard-coding all known mechanism names. This allows
mechanisms to be added from outside of libcamel.
This adds a CamelServiceAuthType pointer to CamelSaslClass, which
changes the ABI. Statically registered subclasses can just point to a
static CamelServiceAuthType struct. Dynamically registered subclasses
should allocate a CamelServiceAuthType struct in their base_init class
method and free it in their base_finalize class method.
Adapt CamelSasl subclasses to the new approach.
Matthew Barnes [Fri, 24 Jun 2011 14:42:02 +0000 (10:42 -0400)]
CamelSasl: Coding style cleanups.
Colin Walters [Thu, 23 Jun 2011 19:17:14 +0000 (15:17 -0400)]
Fix a few srcdir != builddir issues
jhbuild will be defaulting to this soon.
Milan Crha [Thu, 23 Jun 2011 16:27:37 +0000 (18:27 +0200)]
Keep opening EClient-s till they report busy error
Milan Crha [Thu, 23 Jun 2011 16:26:53 +0000 (18:26 +0200)]
Make loading of ENameSelector on demand and cancellable
Milan Crha [Thu, 23 Jun 2011 06:44:13 +0000 (08:44 +0200)]
Reverting one line I added to Christophe's commit on my own
I added this change to Christophe's commit myself, and I didn't
notice that it is unnecessary change, thus I'm reverting it back.
Christophe notified me about my fault in bug #652173.
Christophe Dumez [Wed, 22 Jun 2011 14:18:21 +0000 (16:18 +0200)]
Bug #652173 - libebook: Delay client-side vCard parsing
Fran Diéguez [Tue, 21 Jun 2011 11:53:49 +0000 (13:53 +0200)]
Updated Galician translations
Milan Crha [Tue, 21 Jun 2011 10:27:40 +0000 (12:27 +0200)]
Bug #648468 - POP3 doesn't recover or claim error after lost connection
Milan Crha [Mon, 20 Jun 2011 11:56:46 +0000 (13:56 +0200)]
Bug #269413 - Search treats "4 weeks" and "1 month" as synonymous
Matej Urbančič [Sun, 19 Jun 2011 19:40:10 +0000 (21:40 +0200)]
Updated Slovenian translation
Daniel Mustieles [Sun, 19 Jun 2011 09:52:17 +0000 (11:52 +0200)]
Updated Spanish translation