platform/upstream/evolution-data-server.git
10 years agoECalClient tests: Use async apis to open the client for every async test.
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.

10 years agoEBookClient 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.

10 years agotest-utils: Added argumement to the fixture closure data to open async
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.

10 years agoEBookClient: (bug 701260) Added async apis to connect to a DRA book.
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()

10 years ago[l10n] Updated Catalan (Valencian) translation
Carles Ferrando [Sun, 13 Oct 2013 20:22:12 +0000 (22:22 +0200)]
[l10n] Updated Catalan (Valencian) translation

10 years ago[l10n] Update Catalan translation
Gil Forcada [Sun, 13 Oct 2013 20:21:41 +0000 (22:21 +0200)]
[l10n] Update Catalan translation

10 years agoBug #695232 - Finish EVCard quoted-printable handling
Milan Crha [Thu, 10 Oct 2013 17:08:20 +0000 (19:08 +0200)]
Bug #695232 - Finish EVCard quoted-printable handling

10 years agoESourceRegistry: Reorder the "builtin" vs "default" functions.
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.

10 years agoBug 709561 - Pick up Windows Live mail from GOA
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.

10 years agoBug #709550 - CamelService: Do not call disconnect_sync from its finalize
Milan Crha [Mon, 7 Oct 2013 10:24:09 +0000 (12:24 +0200)]
Bug #709550 - CamelService: Do not call disconnect_sync from its finalize

10 years agoBug 708627 - Use PLAIN instead of LOGIN for GOA SMTP accounts
Matthew Barnes [Sat, 5 Oct 2013 14:38:07 +0000 (10:38 -0400)]
Bug 708627 - Use PLAIN instead of LOGIN for GOA SMTP accounts

10 years agoRevert change to distcheck configure flags.
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).

10 years agoCamelIMAPXSummary cleanups.
Matthew Barnes [Fri, 4 Oct 2013 17:13:56 +0000 (13:13 -0400)]
CamelIMAPXSummary cleanups.

10 years agoimapx_parse_uids: Return a GArray instead of a GPtrArray.
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.

10 years agoCamelStream: Implement GSeekable.
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.

10 years agoFixed contacts DB migration test when handling a system without db_load.
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.

10 years agoAddressbook Migration test: Added EDS 3.10 test sandbox.
Tristan Van Berkom [Wed, 2 Oct 2013 20:44:48 +0000 (22:44 +0200)]
Addressbook Migration test: Added EDS 3.10 test sandbox.

10 years agoEBookBackendSqliteDB: Fixed upgrade_contacts() for cases with missing vcards.
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.

10 years agoBug 709198 - Add regression test for contacts database migrations
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.

10 years agoCamelMultipartSigned cleanups.
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()

10 years agoCamelMultipartEncrypted cleanups.
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.

10 years agoCamelMultipart cleanups.
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()

10 years agoRemove unused camel_multipart_remove_part_at().
Matthew Barnes [Wed, 2 Oct 2013 14:06:12 +0000 (10:06 -0400)]
Remove unused camel_multipart_remove_part_at().

10 years agoRemove unused camel_multipart_remove_part().
Matthew Barnes [Wed, 2 Oct 2013 14:05:10 +0000 (10:05 -0400)]
Remove unused camel_multipart_remove_part().

10 years agoRemove unused camel_multipart_add_part_at().
Matthew Barnes [Wed, 2 Oct 2013 14:03:44 +0000 (10:03 -0400)]
Remove unused camel_multipart_add_part_at().

10 years agoCamel: Remove tests/message/test3.c.
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.

10 years agoRemove unused camel_stream_buffer_new_with_vbuf().
Matthew Barnes [Wed, 2 Oct 2013 03:41:15 +0000 (23:41 -0400)]
Remove unused camel_stream_buffer_new_with_vbuf().

10 years agoRemove unused CamelMimeFilterSave.
Matthew Barnes [Wed, 2 Oct 2013 03:20:46 +0000 (23:20 -0400)]
Remove unused CamelMimeFilterSave.

10 years agoRemove unused camel_cipher_context_export_keys_sync().
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()

10 years agoRemove unused camel_cipher_context_import_keys_sync().
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()

10 years agoRemove unused camel_index_names().
Matthew Barnes [Wed, 2 Oct 2013 02:39:01 +0000 (22:39 -0400)]
Remove unused camel_index_names().

10 years agoRemove unused camel_index_new().
Matthew Barnes [Wed, 2 Oct 2013 02:35:58 +0000 (22:35 -0400)]
Remove unused camel_index_new().

10 years agoCamelIndexNameClass: Remove unused sync() method.
Matthew Barnes [Wed, 2 Oct 2013 02:34:40 +0000 (22:34 -0400)]
CamelIndexNameClass: Remove unused sync() method.

10 years agoRemove unused camel_index_name_new().
Matthew Barnes [Wed, 2 Oct 2013 02:34:01 +0000 (22:34 -0400)]
Remove unused camel_index_name_new().

10 years agoRemove unused camel_index_cursor_reset().
Matthew Barnes [Wed, 2 Oct 2013 02:32:26 +0000 (22:32 -0400)]
Remove unused camel_index_cursor_reset().

10 years agoRemove unused camel_index_cursor_new().
Matthew Barnes [Wed, 2 Oct 2013 02:28:59 +0000 (22:28 -0400)]
Remove unused camel_index_cursor_new().

10 years agoCamelGpgContext: Use g_file_new_tmp() in swrite().
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.

10 years agoCamelDataCache: Use GFileIOStream.
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.

10 years agoCamel: Port mime-filter tests to use GIO streams.
Matthew Barnes [Tue, 1 Oct 2013 16:08:14 +0000 (12:08 -0400)]
Camel: Port mime-filter tests to use GIO streams.

10 years agoAdd CamelFilterOutputStream.
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.

10 years agoAdd CamelFilterInputStream.
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.

10 years agoRemove unused camel_session_build_password_prompt().
Matthew Barnes [Tue, 1 Oct 2013 15:20:35 +0000 (11:20 -0400)]
Remove unused camel_session_build_password_prompt().

10 years agoRemove unused camel_folder_summary_guess_content_info().
Matthew Barnes [Tue, 1 Oct 2013 15:06:06 +0000 (11:06 -0400)]
Remove unused camel_folder_summary_guess_content_info().

10 years agoAdd indices for new symbols in 3.12 to API documentation.
Matthew Barnes [Tue, 1 Oct 2013 15:18:33 +0000 (11:18 -0400)]
Add indices for new symbols in 3.12 to API documentation.

10 years agoUpdate Camel API documentation.
Matthew Barnes [Tue, 1 Oct 2013 15:05:02 +0000 (11:05 -0400)]
Update Camel API documentation.

10 years agoBug 708730 - CalDAV: Improve handling of invalid access tokens
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.

10 years agoFix some "may be used uninitialized" compiler warnings
Milan Crha [Mon, 30 Sep 2013 12:46:52 +0000 (14:46 +0200)]
Fix some "may be used uninitialized" compiler warnings

10 years agoBug #704869 - Make CamelSaslGssapi usable out of Camel
Milan Crha [Mon, 30 Sep 2013 11:26:52 +0000 (13:26 +0200)]
Bug #704869 - Make CamelSaslGssapi usable out of Camel

10 years agoAdd camel_session_ref_proxy_resolver().
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.

10 years agoRemove other GLib 2.35.x checks.
Matthew Barnes [Fri, 27 Sep 2013 17:19:46 +0000 (13:19 -0400)]
Remove other GLib 2.35.x checks.

10 years agoRemove all g_type_init() calls.
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.

10 years agoBump minimum GLib requirement to 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().

10 years agoCamelSession: Simplify trust_prompt() signature.
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);

10 years agoRemove unused camel_getnameinfo().
Matthew Barnes [Fri, 27 Sep 2013 01:05:21 +0000 (21:05 -0400)]
Remove unused camel_getnameinfo().

10 years agoRemove unused CamelTcpStream.
Matthew Barnes [Fri, 27 Sep 2013 00:18:56 +0000 (20:18 -0400)]
Remove unused CamelTcpStream.

10 years agoRemove unused CamelTcpStreamRaw.
Matthew Barnes [Thu, 26 Sep 2013 23:56:49 +0000 (19:56 -0400)]
Remove unused CamelTcpStreamRaw.

10 years agoRemove unused CamelTcpStreamSSL.
Matthew Barnes [Thu, 26 Sep 2013 23:48:54 +0000 (19:48 -0400)]
Remove unused CamelTcpStreamSSL.

10 years agoCamelNetworkService: Transition to GTcpConnection.
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()

10 years agoAdd camel_stream_ref_base_stream().
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.

10 years agoAdd camel_stream_set_base_stream().
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.

10 years agoCamelCertDB: Remove unused enum.
Matthew Barnes [Wed, 25 Sep 2013 21:13:44 +0000 (17:13 -0400)]
CamelCertDB: Remove unused enum.

10 years agoCamelCert: Change 'rawcert' from GByteArray to GBytes.
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.

10 years agoCamelStream: Add a "base-stream" property.
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.

10 years agoRemove unused CamelStreamVFSOpenMethod enum.
Matthew Barnes [Wed, 25 Sep 2013 13:49:04 +0000 (09:49 -0400)]
Remove unused CamelStreamVFSOpenMethod enum.

10 years agoRemove unused CamelStreamVFS.
Matthew Barnes [Wed, 25 Sep 2013 12:28:15 +0000 (08:28 -0400)]
Remove unused CamelStreamVFS.

10 years agoUpdated POTFILES.in
Piotr Drąg [Tue, 24 Sep 2013 23:36:43 +0000 (01:36 +0200)]
Updated POTFILES.in

10 years agotrust-prompt: Show a GcrCertificateWidget in the dialog.
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.

10 years agoUpdated Russian translation
Yuri Myasoedov [Tue, 24 Sep 2013 09:13:15 +0000 (13:13 +0400)]
Updated Russian translation

10 years agol10n: Update Japanese translation
victory [Mon, 23 Sep 2013 20:58:01 +0000 (05:58 +0900)]
l10n: Update Japanese translation

10 years agoRemove camel_store_free_folder_info().
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.

10 years agoRemove camel_store_free_folder_info_full().
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().

10 years agoRemove unused camel_store_free_folder_info_nop().
Matthew Barnes [Mon, 23 Sep 2013 14:55:27 +0000 (10:55 -0400)]
Remove unused camel_store_free_folder_info_nop().

10 years agoRemove camel_folder_free_message_info().
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.

10 years agoRemove camel_folder_ref_message_info().
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.

10 years agoCamelCertDB: Remove unused cert_set_string() method.
Matthew Barnes [Sun, 22 Sep 2013 15:41:50 +0000 (11:41 -0400)]
CamelCertDB: Remove unused cert_set_string() method.

10 years agoCamelCertDB: Remove unused cert_get_string() method.
Matthew Barnes [Sun, 22 Sep 2013 15:41:19 +0000 (11:41 -0400)]
CamelCertDB: Remove unused cert_get_string() method.

10 years agoCamelCertDB: Remove unused CamelCert get/set functions.
Matthew Barnes [Sun, 22 Sep 2013 15:28:18 +0000 (11:28 -0400)]
CamelCertDB: Remove unused CamelCert get/set functions.

10 years agoCamelTcpStreamSSL: Just get/set CamelCert members directly.
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.

10 years agoCamelTCPStreamSSL: Remove dead code.
Matthew Barnes [Sun, 22 Sep 2013 16:04:38 +0000 (12:04 -0400)]
CamelTCPStreamSSL: Remove dead code.

10 years agoCamelCertDB: Further cleanups.
Matthew Barnes [Sun, 22 Sep 2013 15:08:15 +0000 (11:08 -0400)]
CamelCertDB: Further cleanups.

10 years agoCamelCertDB: Derive directly from GObject.
Matthew Barnes [Sun, 22 Sep 2013 14:50:30 +0000 (10:50 -0400)]
CamelCertDB: Derive directly from GObject.

CamelObject offers nothing of interest here.

10 years agoRemove unused CamelCertDBFlags.
Matthew Barnes [Sun, 22 Sep 2013 14:49:12 +0000 (10:49 -0400)]
Remove unused CamelCertDBFlags.

10 years agoCamelCertDB: Move remaining members to private section.
Matthew Barnes [Sun, 22 Sep 2013 14:47:25 +0000 (10:47 -0400)]
CamelCertDB: Move remaining members to private section.

10 years agoAdd camel_cert_unref().
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.

10 years agoAdd camel_cert_ref().
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.

10 years agoAdd camel_cert_new().
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.

10 years agoCamelCertDB: Remove unnecessary 'alloc_lock' mutex.
Matthew Barnes [Sun, 22 Sep 2013 14:21:46 +0000 (10:21 -0400)]
CamelCertDB: Remove unnecessary 'alloc_lock' mutex.

10 years agoCamelCertDB: Remove ability to subclass CamelCert.
Matthew Barnes [Sun, 22 Sep 2013 14:18:08 +0000 (10:18 -0400)]
CamelCertDB: Remove ability to subclass CamelCert.

Not utilized; overengineered API.

10 years agoCamelCertDB: Remove unused 'cert_chunks' member.
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.

10 years agoCamelCertDB: Remove unused 'ref_lock' mutex.
Matthew Barnes [Sun, 22 Sep 2013 14:05:17 +0000 (10:05 -0400)]
CamelCertDB: Remove unused 'ref_lock' mutex.

10 years agoCamelCert: Use atomic operations to track reference count.
Matthew Barnes [Sun, 22 Sep 2013 14:04:47 +0000 (10:04 -0400)]
CamelCert: Use atomic operations to track reference count.

10 years agoRemove unused CamelCertDBLock enum.
Matthew Barnes [Sun, 22 Sep 2013 13:55:33 +0000 (09:55 -0400)]
Remove unused CamelCertDBLock enum.

10 years agoRemove unused camel_certdb_unlock().
Matthew Barnes [Sun, 22 Sep 2013 13:54:58 +0000 (09:54 -0400)]
Remove unused camel_certdb_unlock().

10 years agoRemove unused camel_certdb_lock().
Matthew Barnes [Sun, 22 Sep 2013 13:54:16 +0000 (09:54 -0400)]
Remove unused camel_certdb_lock().

10 years agoCamelCertDB: Use the internal mutexes directly.
Matthew Barnes [Sun, 22 Sep 2013 13:53:13 +0000 (09:53 -0400)]
CamelCertDB: Use the internal mutexes directly.

10 years agoRemove unused CamelFolderLock enum.
Matthew Barnes [Sun, 22 Sep 2013 13:36:38 +0000 (09:36 -0400)]
Remove unused CamelFolderLock enum.

10 years agocamel_folder_(un)lock: Remove 'lock' enum argument.
Matthew Barnes [Sun, 22 Sep 2013 13:35:48 +0000 (09:35 -0400)]
camel_folder_(un)lock: Remove 'lock' enum argument.

CAMEL_FOLDER_REC_LOCK is the only option.

10 years agoRemove unused CAMEL_FOLDER_CHANGE_LOCK.
Matthew Barnes [Sun, 22 Sep 2013 13:31:31 +0000 (09:31 -0400)]
Remove unused CAMEL_FOLDER_CHANGE_LOCK.

10 years agoCamelFolder: Use the internal 'change_lock' mutex directly.
Matthew Barnes [Sun, 22 Sep 2013 13:30:40 +0000 (09:30 -0400)]
CamelFolder: Use the internal 'change_lock' mutex directly.

10 years agoRemove unused CamelVeeFolderLock enum.
Matthew Barnes [Sun, 22 Sep 2013 13:17:17 +0000 (09:17 -0400)]
Remove unused CamelVeeFolderLock enum.