Tristan Van Berkom [Thu, 3 Oct 2013 22:04:14 +0000 (00:04 +0200)]
EBookBackendSqliteDB: Fixed an inconsistency in phone number matches.
The phone number national number matching algoritm was hard coding
the country code length to 2, causing some random results.
Enrico Nicoletto [Sat, 19 Oct 2013 16:31:56 +0000 (13:31 -0300)]
Updated Brazilian Portuguese translation
Andika Triwidada [Tue, 15 Oct 2013 04:51:33 +0000 (11:51 +0700)]
Updated Indonesian translation
Milan Crha [Mon, 14 Oct 2013 19:36:28 +0000 (21:36 +0200)]
camel_stream_eos() returns FALSE even when at the end of stream
That breaks stream copy routine like camel_stream_write_to_stream(),
which relies on the camel_stream_eos().
Tristan Van Berkom [Wed, 24 Apr 2013 08:48:42 +0000 (17:48 +0900)]
ECalClient tests: Use async apis to open the client for every async test.
Tristan Van Berkom [Wed, 24 Apr 2013 08:18:06 +0000 (17:18 +0900)]
EBookClient tests: Use async apis to open the client for every async test.
Tristan Van Berkom [Wed, 24 Apr 2013 07:56:02 +0000 (16:56 +0900)]
test-utils: Added argumement to the fixture closure data to open async
If a closure specifies async then the EBookClient or ECalClient will be
opened using async APIs instead of sync APIs.
Tristan Van Berkom [Wed, 24 Apr 2013 07:16:57 +0000 (16:16 +0900)]
EBookClient: (bug 701260) Added async apis to connect to a DRA book.
Added e_book_client_connect_direct() and e_book_client_connect_direct_finish()
Carles Ferrando [Sun, 13 Oct 2013 20:22:12 +0000 (22:22 +0200)]
[l10n] Updated Catalan (Valencian) translation
Gil Forcada [Sun, 13 Oct 2013 20:21:41 +0000 (22:21 +0200)]
[l10n] Update Catalan translation
Milan Crha [Thu, 10 Oct 2013 17:08:20 +0000 (19:08 +0200)]
Bug #695232 - Finish EVCard quoted-printable handling
Matthew Barnes [Tue, 8 Oct 2013 21:35:09 +0000 (17:35 -0400)]
ESourceRegistry: Reorder the "builtin" vs "default" functions.
The "builtin" functions aren't really part of the "DefaultSources"
GSettings front-end API. Instead they represent a set of ESources
which are always available. Keep them grouped together.
Matthew Barnes [Tue, 8 Oct 2013 02:10:22 +0000 (22:10 -0400)]
Bug 709561 - Pick up Windows Live mail from GOA
This adds an "outlook-backend" module, similar to the "google-backend"
and "yahoo-backend" modules.
Outlook.com recently added IMAP support, and GNOME Online Accounts now
exports a "Mail" interface on its "Windows Live" accounts. This module
configures an E-D-S IMAP/SMTP account bound to the GOA account.
Milan Crha [Mon, 7 Oct 2013 10:24:09 +0000 (12:24 +0200)]
Bug #709550 - CamelService: Do not call disconnect_sync from its finalize
Matthew Barnes [Sat, 5 Oct 2013 14:38:07 +0000 (10:38 -0400)]
Bug 708627 - Use PLAIN instead of LOGIN for GOA SMTP accounts
Tristan Van Berkom [Fri, 4 Oct 2013 19:07:31 +0000 (21:07 +0200)]
Revert change to distcheck configure flags.
This change was accidentally pushed in with commit
ca64872e
(Add regression test for contacts database migrations).
Matthew Barnes [Fri, 4 Oct 2013 17:13:56 +0000 (13:13 -0400)]
CamelIMAPXSummary cleanups.
Matthew Barnes [Fri, 4 Oct 2013 15:16:05 +0000 (11:16 -0400)]
imapx_parse_uids: Return a GArray instead of a GPtrArray.
GArray is better for packing integer values. The UIDs are 32 bits,
so this is actually a little more memory efficient on 64-bit systems.
Matthew Barnes [Wed, 2 Oct 2013 23:13:50 +0000 (19:13 -0400)]
CamelStream: Implement GSeekable.
The base GIOStream may be seekable, so implement the GSeekable interface
and simply forward the request to the base GIOStream.
I think pretty much all the CamelStream subclasses are also seekable, so
they should override the base class implementation.
Tristan Van Berkom [Wed, 2 Oct 2013 21:09:03 +0000 (23:09 +0200)]
Fixed contacts DB migration test when handling a system without db_load.
Tristan Van Berkom [Wed, 2 Oct 2013 20:44:48 +0000 (22:44 +0200)]
Addressbook Migration test: Added EDS 3.10 test sandbox.
Tristan Van Berkom [Fri, 27 Sep 2013 23:16:57 +0000 (01:16 +0200)]
EBookBackendSqliteDB: Fixed upgrade_contacts() for cases with missing vcards.
This patch avoids critical warnings to be fired when opening an old summary
mode SQLite whilst upgrading/migrating an addressbook from EDS <= 3.6.
Tristan Van Berkom [Wed, 25 Sep 2013 17:54:07 +0000 (19:54 +0200)]
Bug 709198 - Add regression test for contacts database migrations
The migration tests come with a few components:
o tests/book-migration/vcards/*.vcf:
The vcards which the test case expects to find in the migrated
databases.
o tests/book-migration/db/[various versions]/[File backend files]:
Various sandboxes created from the vcards, each one created
with a different stable version of EDS
o tests/book-migration/test-migration.c:
The actual test, this automatically loops over the available
test directories and runs the migration suite for each version
o tests/book-migration/setup-migration-test.c:
A simple program used to inject the test contacts into EDS,
this program can be used to generate the test sandbox from
EDS version 3.0 onward.
o The makefile also contains a 'setup-migration' target which
can be used to generate a new repository automatically in
the tests/book-migration/db/ directory with the current version,
this can only be used to generate the sandbox from 3.10 and
above.
Matthew Barnes [Wed, 2 Oct 2013 17:00:38 +0000 (13:00 -0400)]
CamelMultipartSigned cleanups.
Move the public struct members into the private section.
New functions:
camel_multipart_signed_set_content_stream()
camel_multipart_signed_set_signature()
Matthew Barnes [Wed, 2 Oct 2013 16:11:59 +0000 (12:11 -0400)]
CamelMultipartEncrypted cleanups.
Turns out this class is trivial; just sets the internal MIME type to
"multipart/encrypted", the rest of it was unused cruft. Debated if
this class is even worth keeping, but I'll leave it for now.
Matthew Barnes [Wed, 2 Oct 2013 14:11:50 +0000 (10:11 -0400)]
CamelMultipart cleanups.
Move the public struct members into the private section.
Use a GPtrArray instead of a GList to track the individual parts.
New functions:
camel_multipart_get_preface()
camel_multipart_get_postface()
Matthew Barnes [Wed, 2 Oct 2013 14:06:12 +0000 (10:06 -0400)]
Remove unused camel_multipart_remove_part_at().
Matthew Barnes [Wed, 2 Oct 2013 14:05:10 +0000 (10:05 -0400)]
Remove unused camel_multipart_remove_part().
Matthew Barnes [Wed, 2 Oct 2013 14:03:44 +0000 (10:03 -0400)]
Remove unused camel_multipart_add_part_at().
Matthew Barnes [Wed, 2 Oct 2013 04:09:21 +0000 (00:09 -0400)]
Camel: Remove tests/message/test3.c.
Mostly testing unused CamelMultipart API.
Remove the test so I can remove the unused API.
Matthew Barnes [Wed, 2 Oct 2013 03:41:15 +0000 (23:41 -0400)]
Remove unused camel_stream_buffer_new_with_vbuf().
Matthew Barnes [Wed, 2 Oct 2013 03:20:46 +0000 (23:20 -0400)]
Remove unused CamelMimeFilterSave.
Matthew Barnes [Wed, 2 Oct 2013 03:11:30 +0000 (23:11 -0400)]
Remove unused camel_cipher_context_export_keys_sync().
Also removes the unused asynchronous functions:
camel_cipher_context_export_keys()
camel_cipher_context_export_keys_finish()
Matthew Barnes [Wed, 2 Oct 2013 03:05:54 +0000 (23:05 -0400)]
Remove unused camel_cipher_context_import_keys_sync().
Also removes the unused asynchronous functions:
camel_cipher_context_import_keys()
camel_cipher_context_import_keys_finish()
Matthew Barnes [Wed, 2 Oct 2013 02:39:01 +0000 (22:39 -0400)]
Remove unused camel_index_names().
Matthew Barnes [Wed, 2 Oct 2013 02:35:58 +0000 (22:35 -0400)]
Remove unused camel_index_new().
Matthew Barnes [Wed, 2 Oct 2013 02:34:40 +0000 (22:34 -0400)]
CamelIndexNameClass: Remove unused sync() method.
Matthew Barnes [Wed, 2 Oct 2013 02:34:01 +0000 (22:34 -0400)]
Remove unused camel_index_name_new().
Matthew Barnes [Wed, 2 Oct 2013 02:32:26 +0000 (22:32 -0400)]
Remove unused camel_index_cursor_reset().
Matthew Barnes [Wed, 2 Oct 2013 02:28:59 +0000 (22:28 -0400)]
Remove unused camel_index_cursor_new().
Matthew Barnes [Tue, 1 Oct 2013 21:59:12 +0000 (17:59 -0400)]
CamelGpgContext: Use g_file_new_tmp() in swrite().
g_file_new_tmp() creates a GFileIOStream, which we then wrap in a
CamelStream for use with CamelDataWrapper.
Matthew Barnes [Tue, 1 Oct 2013 20:25:14 +0000 (16:25 -0400)]
CamelDataCache: Use GFileIOStream.
Return pure CamelStreams with an underlying GFileIOStream,
instead of CamelStreamFs.
Matthew Barnes [Tue, 1 Oct 2013 16:08:14 +0000 (12:08 -0400)]
Camel: Port mime-filter tests to use GIO streams.
Matthew Barnes [Tue, 1 Oct 2013 14:33:09 +0000 (10:33 -0400)]
Add CamelFilterOutputStream.
CamelFilterOutputStream is similar to GConverterOutputStream, except it
operates on a CamelMimeFilter instead of a GConverter.
This class is meant to be a temporary solution until all of Camel's MIME
filters are ported to the GConverter interface.
Matthew Barnes [Tue, 1 Oct 2013 14:19:07 +0000 (10:19 -0400)]
Add CamelFilterInputStream.
CamelFilterInputStream is similar to GConverterInputStream, except it
operates on a CamelMimeFilter instead of a GConverter.
This class is meant to be a temporary solution until all of Camel's MIME
filters are ported to the GConverter interface.
Matthew Barnes [Tue, 1 Oct 2013 15:20:35 +0000 (11:20 -0400)]
Remove unused camel_session_build_password_prompt().
Matthew Barnes [Tue, 1 Oct 2013 15:06:06 +0000 (11:06 -0400)]
Remove unused camel_folder_summary_guess_content_info().
Matthew Barnes [Tue, 1 Oct 2013 15:18:33 +0000 (11:18 -0400)]
Add indices for new symbols in 3.12 to API documentation.
Matthew Barnes [Tue, 1 Oct 2013 15:05:02 +0000 (11:05 -0400)]
Update Camel API documentation.
Matthew Barnes [Mon, 30 Sep 2013 17:22:58 +0000 (13:22 -0400)]
Bug 708730 - CalDAV: Improve handling of invalid access tokens
If e_source_get_oauth2_access_token_sync() fails, rather than dumping
the error message to stderr where users won't see it, stash the GError
within the CalDAV backend to be retrieved when the backend falls back
to caldav_authenticate().
This both returns a descriptive error message to the client application
and prevents an inappropriate password prompt while authenticating with
an access token instead of a password.
Milan Crha [Mon, 30 Sep 2013 12:46:52 +0000 (14:46 +0200)]
Fix some "may be used uninitialized" compiler warnings
Milan Crha [Mon, 30 Sep 2013 11:26:52 +0000 (13:26 +0200)]
Bug #704869 - Make CamelSaslGssapi usable out of Camel
Matthew Barnes [Fri, 27 Sep 2013 16:45:06 +0000 (12:45 -0400)]
Add camel_session_ref_proxy_resolver().
Replaces camel_session_get_socks_proxy().
Returns a GProxyResolver for the given CamelService.
camel_network_connect_sync() now calls this and hands the returned
GProxyResolver off to its GSocketClient just prior to connecting.
Matthew Barnes [Fri, 27 Sep 2013 17:19:46 +0000 (13:19 -0400)]
Remove other GLib 2.35.x checks.
Matthew Barnes [Fri, 27 Sep 2013 16:01:55 +0000 (12:01 -0400)]
Remove all g_type_init() calls.
g_type_init() is deprecated in GLib 2.36.
Matthew Barnes [Fri, 27 Sep 2013 15:51:53 +0000 (11:51 -0400)]
Bump minimum GLib requirement to 2.36.
Needed for g_socket_client_set_proxy_resolver().
Matthew Barnes [Fri, 27 Sep 2013 11:56:52 +0000 (07:56 -0400)]
CamelSession: Simplify trust_prompt() signature.
Let the CamelSession subclass encode the certificate data if it needs to.
That's an Evolution-specific implementation detail Camel doesn't need to
know about. The method signature is now:
CamelCertTrust (*trust_prompt) (CamelSession *session,
CamelService *service,
GTlsCertificate *certificate,
GTlsCertificateFlags errors);
Matthew Barnes [Fri, 27 Sep 2013 01:05:21 +0000 (21:05 -0400)]
Remove unused camel_getnameinfo().
Matthew Barnes [Fri, 27 Sep 2013 00:18:56 +0000 (20:18 -0400)]
Remove unused CamelTcpStream.
Matthew Barnes [Thu, 26 Sep 2013 23:56:49 +0000 (19:56 -0400)]
Remove unused CamelTcpStreamRaw.
Matthew Barnes [Thu, 26 Sep 2013 23:48:54 +0000 (19:48 -0400)]
Remove unused CamelTcpStreamSSL.
Matthew Barnes [Thu, 26 Sep 2013 23:37:38 +0000 (19:37 -0400)]
CamelNetworkService: Transition to GTcpConnection.
camel_network_service_connect_sync() now returns a CamelStream with a
base GTcpConnection instead of a CamelTcpStream. CamelNetworkService
handles peer certificate acceptance during the TLS handshake.
This also adds camel_network_service_starttls() to be called after
issuing a STARTTLS command to a server. This function replaces the
GTcpConnection with a GTlsConnection in the given CamelStream.
Proxy support is temporarily disabled until I can rework a few things.
New functions:
camel_network_service_starttls()
Matthew Barnes [Thu, 26 Sep 2013 20:30:34 +0000 (16:30 -0400)]
Add camel_stream_ref_base_stream().
Replaces camel_stream_get_base_stream().
Now that the base stream is replacable, this needs to be thread-safe.
Matthew Barnes [Thu, 26 Sep 2013 19:35:36 +0000 (15:35 -0400)]
Add camel_stream_set_base_stream().
Replaces the GIOStream passed to camel_stream_new(). The new base
stream should wrap the original base stream, such as when adding
Transport Layer Security after issuing a STARTTLS command.
Matthew Barnes [Wed, 25 Sep 2013 21:13:44 +0000 (17:13 -0400)]
CamelCertDB: Remove unused enum.
Matthew Barnes [Wed, 25 Sep 2013 21:09:28 +0000 (17:09 -0400)]
CamelCert: Change 'rawcert' from GByteArray to GBytes.
More efficient, and nicer when working with GIO streams.
Matthew Barnes [Wed, 25 Sep 2013 13:36:14 +0000 (09:36 -0400)]
CamelStream: Add a "base-stream" property.
CamelStream is no longer an abstract class. It can now act as a thin
GIOStream wrapper by way of camel_stream_new().
This is a step towards elminating CamelStream itself. The plan is to
start removing CamelStream subclasses and using GIO streams directly,
until only CamelStream remains. Then replace CamelStream arguments
with GIOStream/GInputStream/GOutputStream in higher level APIs like
CamelDataWrapper.
Matthew Barnes [Wed, 25 Sep 2013 13:49:04 +0000 (09:49 -0400)]
Remove unused CamelStreamVFSOpenMethod enum.
Matthew Barnes [Wed, 25 Sep 2013 12:28:15 +0000 (08:28 -0400)]
Remove unused CamelStreamVFS.
Piotr Drąg [Tue, 24 Sep 2013 23:36:43 +0000 (01:36 +0200)]
Updated POTFILES.in
Matthew Barnes [Sun, 22 Sep 2013 21:49:05 +0000 (17:49 -0400)]
trust-prompt: Show a GcrCertificateWidget in the dialog.
Replaces the ugly CertificateViewer widget.
Yuri Myasoedov [Tue, 24 Sep 2013 09:13:15 +0000 (13:13 +0400)]
Updated Russian translation
victory [Mon, 23 Sep 2013 20:58:01 +0000 (05:58 +0900)]
l10n: Update Japanese translation
Matthew Barnes [Mon, 23 Sep 2013 15:27:42 +0000 (11:27 -0400)]
Remove camel_store_free_folder_info().
Use camel_folder_info_free() instead.
Matthew Barnes [Mon, 23 Sep 2013 15:10:16 +0000 (11:10 -0400)]
Remove camel_store_free_folder_info_full().
Use camel_folder_info_free() instead.
CamelStore's free_folder_info() method now defaults to an equivalent
implementation, but even that is about to be removed since all known
subclasses set the method to camel_store_free_folder_info_full().
Matthew Barnes [Mon, 23 Sep 2013 14:55:27 +0000 (10:55 -0400)]
Remove unused camel_store_free_folder_info_nop().
Matthew Barnes [Mon, 23 Sep 2013 12:36:59 +0000 (08:36 -0400)]
Remove camel_folder_free_message_info().
Use camel_message_info_unref() instead.
Matthew Barnes [Mon, 23 Sep 2013 12:31:19 +0000 (08:31 -0400)]
Remove camel_folder_ref_message_info().
Use camel_message_info_ref() instead.
Matthew Barnes [Sun, 22 Sep 2013 15:41:50 +0000 (11:41 -0400)]
CamelCertDB: Remove unused cert_set_string() method.
Matthew Barnes [Sun, 22 Sep 2013 15:41:19 +0000 (11:41 -0400)]
CamelCertDB: Remove unused cert_get_string() method.
Matthew Barnes [Sun, 22 Sep 2013 15:28:18 +0000 (11:28 -0400)]
CamelCertDB: Remove unused CamelCert get/set functions.
Matthew Barnes [Sun, 22 Sep 2013 15:26:15 +0000 (11:26 -0400)]
CamelTcpStreamSSL: Just get/set CamelCert members directly.
It's not like using the camel-certdb.h macros are any more thread-safe.
Matthew Barnes [Sun, 22 Sep 2013 16:04:38 +0000 (12:04 -0400)]
CamelTCPStreamSSL: Remove dead code.
Matthew Barnes [Sun, 22 Sep 2013 15:08:15 +0000 (11:08 -0400)]
CamelCertDB: Further cleanups.
Matthew Barnes [Sun, 22 Sep 2013 14:50:30 +0000 (10:50 -0400)]
CamelCertDB: Derive directly from GObject.
CamelObject offers nothing of interest here.
Matthew Barnes [Sun, 22 Sep 2013 14:49:12 +0000 (10:49 -0400)]
Remove unused CamelCertDBFlags.
Matthew Barnes [Sun, 22 Sep 2013 14:47:25 +0000 (10:47 -0400)]
CamelCertDB: Move remaining members to private section.
Matthew Barnes [Sun, 22 Sep 2013 14:30:26 +0000 (10:30 -0400)]
Add camel_cert_unref().
Replaces camel_certdb_cert_unref(); removes the CamelCertDB argument.
Matthew Barnes [Sun, 22 Sep 2013 14:26:10 +0000 (10:26 -0400)]
Add camel_cert_ref().
Replaces camel_certdb_cert_ref(); removes the CamelCertDB argument.
Matthew Barnes [Sun, 22 Sep 2013 14:23:33 +0000 (10:23 -0400)]
Add camel_cert_new().
Replaces camel_certdb_cert_new(); removes the CamelCertDB argument.
Matthew Barnes [Sun, 22 Sep 2013 14:21:46 +0000 (10:21 -0400)]
CamelCertDB: Remove unnecessary 'alloc_lock' mutex.
Matthew Barnes [Sun, 22 Sep 2013 14:18:08 +0000 (10:18 -0400)]
CamelCertDB: Remove ability to subclass CamelCert.
Not utilized; overengineered API.
Matthew Barnes [Sun, 22 Sep 2013 14:08:09 +0000 (10:08 -0400)]
CamelCertDB: Remove unused 'cert_chunks' member.
Checked but never set -- always NULL.
Matthew Barnes [Sun, 22 Sep 2013 14:05:17 +0000 (10:05 -0400)]
CamelCertDB: Remove unused 'ref_lock' mutex.
Matthew Barnes [Sun, 22 Sep 2013 14:04:47 +0000 (10:04 -0400)]
CamelCert: Use atomic operations to track reference count.
Matthew Barnes [Sun, 22 Sep 2013 13:55:33 +0000 (09:55 -0400)]
Remove unused CamelCertDBLock enum.
Matthew Barnes [Sun, 22 Sep 2013 13:54:58 +0000 (09:54 -0400)]
Remove unused camel_certdb_unlock().
Matthew Barnes [Sun, 22 Sep 2013 13:54:16 +0000 (09:54 -0400)]
Remove unused camel_certdb_lock().
Matthew Barnes [Sun, 22 Sep 2013 13:53:13 +0000 (09:53 -0400)]
CamelCertDB: Use the internal mutexes directly.
Matthew Barnes [Sun, 22 Sep 2013 13:36:38 +0000 (09:36 -0400)]
Remove unused CamelFolderLock enum.