platform/upstream/evolution-data-server.git
11 years agoDeprecate e_data_server_util_get/set_dbus_call_timeout().
Matthew Barnes [Wed, 6 Feb 2013 12:53:32 +0000 (07:53 -0500)]
Deprecate e_data_server_util_get/set_dbus_call_timeout().

No longer used.

11 years agoSilence some runtime warnings from calendar backends.
Matthew Barnes [Wed, 6 Feb 2013 12:32:19 +0000 (07:32 -0500)]
Silence some runtime warnings from calendar backends.

11 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 5 Feb 2013 16:10:34 +0000 (17:10 +0100)]
Updated Spanish translation

11 years agoUpdated POTFILES.in
Piotr Drąg [Mon, 4 Feb 2013 18:11:27 +0000 (19:11 +0100)]
Updated POTFILES.in

11 years agoEBookBackendFile: Implement GInitable.
Matthew Barnes [Mon, 4 Feb 2013 17:22:44 +0000 (12:22 -0500)]
EBookBackendFile: Implement GInitable.

Migrate the old BDB database and open the SQLite database in the
GInitable.init() method.  If an error occurs here, the backend instance
is destroyed immediately and the OpenAddressBook() factory method fails.

This obviates the need to check for an open SQLite handle in every
backend method.

11 years agoESourceRevisionGuards cleanups.
Matthew Barnes [Mon, 4 Feb 2013 17:09:22 +0000 (12:09 -0500)]
ESourceRevisionGuards cleanups.

11 years agolibebook: Add missing version tags
Mathias Hasselmann [Mon, 4 Feb 2013 17:11:09 +0000 (18:11 +0100)]
libebook: Add missing version tags

Some functions and types of the new e-phone-number module
didn't have version tags in their documentation.

See: https://bugzilla.gnome.org/show_bug.cgi?id=689622

11 years agolibebook: Export the API for phone region guessing
Mathias Hasselmann [Fri, 1 Feb 2013 13:56:11 +0000 (14:56 +0100)]
libebook: Export the API for phone region guessing

This adds e_phone_number_get_country_code_for_region() and
e_phone_number_get_default_region() which give access to the
region guessing mechanisms. They are needed to efficently
build the sqlite backend's phone number indexes.

See: https://bugzilla.gnome.org/show_bug.cgi?id=689622

11 years agolibebook: Give access to country code and national phone number
Mathias Hasselmann [Fri, 25 Jan 2013 13:51:01 +0000 (14:51 +0100)]
libebook: Give access to country code and national phone number

This information is needed to build a more efficient phone number index.

See: https://bugzilla.gnome.org/show_bug.cgi?id=689622

11 years agobuild: Use dedicated compiler warning for C and C++ code
Mathias Hasselmann [Fri, 25 Jan 2013 04:28:53 +0000 (05:28 +0100)]
build: Use dedicated compiler warning for C and C++ code

Not all compiler warning flags that are valid for C are valid
for C++, and vise versa.

11 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 4 Feb 2013 16:46:57 +0000 (17:46 +0100)]
Updated Spanish translation

11 years agoAdd e_data_factory_ref_initable_backend().
Matthew Barnes [Tue, 22 Jan 2013 21:28:05 +0000 (16:28 -0500)]
Add e_data_factory_ref_initable_backend().

Similar to e_data_factory_ref_backend(), but allows for backends that
implement the GInitable interface so they can fail gracefully if they
are unable to initialize critical resources, such as a cache database.

11 years agoECalClient: Avoid race between dispose() and signal handlers.
Matthew Barnes [Mon, 4 Feb 2013 16:08:08 +0000 (11:08 -0500)]
ECalClient: Avoid race between dispose() and signal handlers.

Use g_signal_connect_object() to ensure the GDBusProxy stays alive while
its signal handlers are running.

11 years agoEBookClient: Avoid race between dispose() and signal handlers.
Matthew Barnes [Mon, 4 Feb 2013 16:06:17 +0000 (11:06 -0500)]
EBookClient: Avoid race between dispose() and signal handlers.

Use g_signal_connect_object() to ensure the GDBusProxy stays alive while
its signal handlers are running.

11 years agoDeprecate e-gdbus-templates.[ch].
Matthew Barnes [Mon, 4 Feb 2013 12:42:19 +0000 (07:42 -0500)]
Deprecate e-gdbus-templates.[ch].

11 years agoBug #675287 - Spool file account doesn't show messages
Milan Crha [Mon, 4 Feb 2013 11:56:26 +0000 (12:56 +0100)]
Bug #675287 - Spool file account doesn't show messages

11 years agoUpdated POTFILES.in
Piotr Drąg [Mon, 4 Feb 2013 01:00:26 +0000 (02:00 +0100)]
Updated POTFILES.in

11 years agoPost-release version bump.
Matthew Barnes [Sun, 3 Feb 2013 14:12:41 +0000 (09:12 -0500)]
Post-release version bump.

11 years agoNEWS update for 3.7.5 release. upstream/3.7.5
Matthew Barnes [Sun, 3 Feb 2013 13:38:09 +0000 (08:38 -0500)]
NEWS update for 3.7.5 release.

11 years agoFix some distcheck errors.
Matthew Barnes [Sun, 3 Feb 2013 13:46:17 +0000 (08:46 -0500)]
Fix some distcheck errors.

11 years agouoa: Add ESignonSessionPassword.
Matthew Barnes [Sat, 2 Feb 2013 16:12:43 +0000 (11:12 -0500)]
uoa: Add ESignonSessionPassword.

This is a custom EAuthenticationSession that obtains passwords from
signond instead of from E-D-S keyring entries.  It also does not use
GcrSystemPrompt but the SessionDataUiPolicy method of prompting does
not seem to be working well.  Prompting remains an open issue.

11 years agouoa: Add e_source_get_ag_service_type().
Matthew Barnes [Sat, 2 Feb 2013 13:35:30 +0000 (08:35 -0500)]
uoa: Add e_source_get_ag_service_type().

Returns an appropriate service type name for an ESource.

11 years agouoa: Move service type definintions to uoa-utils.h
Matthew Barnes [Sat, 2 Feb 2013 13:25:44 +0000 (08:25 -0500)]
uoa: Move service type definintions to uoa-utils.h

11 years agouoa: Remove #include <libaccounts-glib/ag-auth-data.h>
Matthew Barnes [Sat, 2 Feb 2013 13:21:27 +0000 (08:21 -0500)]
uoa: Remove #include <libaccounts-glib/ag-auth-data.h>

Including <libaccounts-glib/accounts-glib.h> is sufficient now.

11 years agouoa: Remove a debug message.
Matthew Barnes [Sat, 2 Feb 2013 16:13:19 +0000 (11:13 -0500)]
uoa: Remove a debug message.

11 years agoUpdated Polish translation
Piotr Drąg [Sun, 3 Feb 2013 01:31:48 +0000 (02:31 +0100)]
Updated Polish translation

11 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Sat, 2 Feb 2013 09:40:02 +0000 (17:40 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

11 years agoUpdated Uyghur translation
Gheyret Kenji [Sat, 2 Feb 2013 04:05:37 +0000 (13:05 +0900)]
Updated Uyghur translation

Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
11 years agoOopsie...
Matthew Barnes [Fri, 1 Feb 2013 19:28:00 +0000 (14:28 -0500)]
Oopsie...

11 years agoDeprecate e_authentication_session_new().
Matthew Barnes [Fri, 1 Feb 2013 19:13:00 +0000 (14:13 -0500)]
Deprecate e_authentication_session_new().

Use e_source_registry_server_new_auth_session() instead.

11 years agoUse e_source_registry_server_new_auth_session().
Matthew Barnes [Fri, 1 Feb 2013 19:08:22 +0000 (14:08 -0500)]
Use e_source_registry_server_new_auth_session().

In place of e_authentication_session_new().

11 years agoAdd e_source_registry_server_new_auth_session().
Matthew Barnes [Fri, 1 Feb 2013 19:03:14 +0000 (14:03 -0500)]
Add e_source_registry_server_new_auth_session().

Convenience function instantiates an appropriate authentication session
type for the given data source UID.

11 years agocollection_backend_child_added: Inherit the auth session type.
Matthew Barnes [Fri, 1 Feb 2013 18:34:19 +0000 (13:34 -0500)]
collection_backend_child_added: Inherit the auth session type.

Collection children will inherit the collection source's authentication
session type, so password-based authentication is consistent across the
entire collection.

11 years agoEServerSideSource: Add an "auth-session-type" property.
Matthew Barnes [Fri, 1 Feb 2013 18:23:48 +0000 (13:23 -0500)]
EServerSideSource: Add an "auth-session-type" property.

This will allow modules -- particularly the online accounts modules --
to subclass and customize EAuthenticationSession, and then register the
subclass to be used for data sources under their purview.

Care must be taken when subclassing, however, to comply with the D-Bus
interaction protocol that clients will be expecting, lest the client be
left hanging during its authenticate() call.

11 years agostore_synchronize_sync(): Only sync subscribed folders.
Matthew Barnes [Fri, 1 Feb 2013 12:45:56 +0000 (07:45 -0500)]
store_synchronize_sync(): Only sync subscribed folders.

I recently added a Gmane (NNTP) account and have only a few newsgroup
subscriptions.  Yet when I quit Evolution, Camel tries to synchronize
all 13,872 newsgroups which literally takes days to complete.

This adds a CAMEL_STORE_FOLDER_INFO_SUBSCRIBED flag to the request for
a folder info tree while synchronizing + expunging.

Note, CamelIMAPXStore will ignore the CAMEL_STORE_FOLDER_INFO_SUBSCRIBED
flag if its "use-subscriptions" setting is FALSE, which is what we want.

11 years agostore_synchronize_sync() cleanups.
Matthew Barnes [Fri, 1 Feb 2013 12:42:14 +0000 (07:42 -0500)]
store_synchronize_sync() cleanups.

11 years agoEBookClient/ECalClient: Check for NULL before calling g_strjoinv().
Matthew Barnes [Fri, 1 Feb 2013 14:58:40 +0000 (09:58 -0500)]
EBookClient/ECalClient: Check for NULL before calling g_strjoinv().

11 years agolibebook: Better region guessing for phone numbers
Mathias Hasselmann [Fri, 25 Jan 2013 06:59:05 +0000 (07:59 +0100)]
libebook: Better region guessing for phone numbers

Extract country code from current locale id if needed, that is because
_NL_ADDRESS_COUNTRY_AB2 is missing or gives bad information.

See: https://bugzilla.gnome.org/show_bug.cgi?id=689622

11 years agoECalClient: Increment/decrement active client count atomically.
Matthew Barnes [Fri, 1 Feb 2013 13:40:45 +0000 (08:40 -0500)]
ECalClient: Increment/decrement active client count atomically.

It's basically a reference count.  Avoids using the recursive mutex.

11 years agoEBookClient: Increment/decrement active client count atomically.
Matthew Barnes [Fri, 1 Feb 2013 13:37:48 +0000 (08:37 -0500)]
EBookClient: Increment/decrement active client count atomically.

It's basically a reference count.  Avoids using the recursive mutex.

11 years agosqlitedb: Give better control on debug output
Mathias Hasselmann [Fri, 1 Feb 2013 12:19:54 +0000 (13:19 +0100)]
sqlitedb: Give better control on debug output

The value passed to BOOKSQL_DEBUG is now interpreted as number.
SQLite's explain facilities only are used when its value is
bigger than one.

https://bugzilla.gnome.org/show_bug.cgi?id=692998

11 years agosqlitedb: Print errors and debug logs to stderr
Mathias Hasselmann [Thu, 31 Jan 2013 19:08:56 +0000 (20:08 +0100)]
sqlitedb: Print errors and debug logs to stderr

That way we can see them in self-contained tests without introducing log files.

https://bugzilla.gnome.org/show_bug.cgi?id=692998

11 years agotests: Enfore local GVFS backend in isolated tests
Mathias Hasselmann [Fri, 1 Feb 2013 12:21:10 +0000 (13:21 +0100)]
tests: Enfore local GVFS backend in isolated tests

As we don't copy all GVFS' D-Bus services and plugins the local
this is the only available VFS anyway. So let's avoid warnings
about missing GVFS backends.

https://bugzilla.gnome.org/show_bug.cgi?id=692998

11 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 1 Feb 2013 09:47:44 +0000 (10:47 +0100)]
Updated Spanish translation

11 years agoUpdated POTFILES.in
Piotr Drąg [Fri, 1 Feb 2013 01:27:44 +0000 (02:27 +0100)]
Updated POTFILES.in

11 years agoAdd an "ubuntu-online-accounts" module.
Matthew Barnes [Sun, 7 Oct 2012 14:34:48 +0000 (10:34 -0400)]
Add an "ubuntu-online-accounts" module.

Initially supports Google and Yahoo! services.

11 years agoAdd ESourceUoa extension class.
Matthew Barnes [Sun, 14 Oct 2012 18:11:34 +0000 (14:11 -0400)]
Add ESourceUoa extension class.

For Ubuntu Online Accounts, holds the ID of the corresponding AgAccount.

11 years agoconfigure.ac: Add --enable-uoa option.
Matthew Barnes [Sun, 7 Oct 2012 13:06:52 +0000 (09:06 -0400)]
configure.ac: Add --enable-uoa option.

Enables support for Ubuntu's own "Online Accounts" framework.

Adds the following library dependencies:

    libaccounts-glib
    libsignon-glib
    json-glib
    rest-0.7

And defines a HAVE_UOA conditional.

11 years agolibebook: Define boxed EPhoneNumber type at single place
Mathias Hasselmann [Fri, 25 Jan 2013 13:48:51 +0000 (14:48 +0100)]
libebook: Define boxed EPhoneNumber type at single place

G_DEFINE_BOXED() doesn't need the EPhoneNumber structure's size,
so we can define the boxed type even when not using C++.

See: https://bugzilla.gnome.org/show_bug.cgi?id=689622

11 years agoEClient: Add a TODO comment.
Matthew Barnes [Wed, 30 Jan 2013 19:30:00 +0000 (14:30 -0500)]
EClient: Add a TODO comment.

11 years agoUpdated slovak translation
Marián Čavojský [Wed, 30 Jan 2013 19:20:54 +0000 (20:20 +0100)]
Updated slovak translation

11 years agoEClient: Deprecate e_client_retrieve_capabilities_sync().
Matthew Barnes [Wed, 30 Jan 2013 18:31:28 +0000 (13:31 -0500)]
EClient: Deprecate e_client_retrieve_capabilities_sync().

Capability list will be provided by EBookClient or ECalClient, there's
no need to explicitly fetch it.

This also deprecates the asynchronous functions:

    e_client_retrieve_capabilities()
    e_client_retrieve_capabilities_finish()

11 years agoECalClient: Initialize public-facing GObject properties.
Matthew Barnes [Wed, 30 Jan 2013 18:07:32 +0000 (13:07 -0500)]
ECalClient: Initialize public-facing GObject properties.

11 years agoEBookClient: Initialize public-facing GObject properties.
Matthew Barnes [Wed, 30 Jan 2013 18:07:08 +0000 (13:07 -0500)]
EBookClient: Initialize public-facing GObject properties.

11 years agoFix crash in e_cal_client_get_objects_for_uid_sync().
Matthew Barnes [Wed, 30 Jan 2013 18:06:30 +0000 (13:06 -0500)]
Fix crash in e_cal_client_get_objects_for_uid_sync().

11 years agoECalClient: Include the ESource display name in connect errors.
Matthew Barnes [Wed, 30 Jan 2013 16:37:42 +0000 (11:37 -0500)]
ECalClient: Include the ESource display name in connect errors.

For error handling convenience, any error message returned by
e_cal_client_connect_sync() or e_cal_client_connect_finish() will have
a descriptive prefix that includes the display name of the ESource.

Mention this in the API documentation.

This is motivated more by asynchronous usage.  It relieves callers from
having to bundle the ESource with every e_cal_client_connect() just so
they can provide a descriptive error message on failure.

11 years agoEBookClient: Include the ESource display name in connect errors.
Matthew Barnes [Wed, 30 Jan 2013 16:18:21 +0000 (11:18 -0500)]
EBookClient: Include the ESource display name in connect errors.

For error handling convenience, any error message returned by
e_book_client_connect_sync() or e_book_client_connect_finish() will have
a descriptive prefix that includes the display name of the ESource.

Mention this in the API documentation.

This is motivated more by asynchronous usage.  It relieves callers from
having to bundle the ESource with every e_book_client_connect() just so
they can provide a descriptive error message on failure.

11 years agoDeprecate e_client_open_sync().
Matthew Barnes [Tue, 29 Jan 2013 23:41:09 +0000 (18:41 -0500)]
Deprecate e_client_open_sync().

Use e_book_client_connect_sync() or e_cal_client_connect_sync() instead.

Also deprecate the asynchronous functions:

    e_client_open()
    e_client_open_finish()

11 years agoAdd e_cal_client_connect_sync().
Matthew Barnes [Tue, 4 Sep 2012 01:35:38 +0000 (21:35 -0400)]
Add e_cal_client_connect_sync().

Replaces e_cal_client_new() and e_client_open_sync().

e_cal_client_new() is deprecated for covertly making synchronous D-Bus
calls with no way to cancel.  e_client_open_sync() is just a cumbersome
extra step now that clients are not involved in authentication.

This also adds asynchronous versions:

    e_cal_client_connect()
    e_cal_client_connect_finish()

11 years agoAdd e_book_client_connect_sync().
Matthew Barnes [Mon, 3 Sep 2012 15:44:32 +0000 (11:44 -0400)]
Add e_book_client_connect_sync().

Replaces e_book_client_new() and e_client_open_sync().

e_book_client_new() is deprecated for covertly making synchronous D-Bus
calls with no way to cancel.  e_client_open_sync() is just a cumbersome
extra step now that clients are not involved in authentication.

This also adds asynchronous versions:

    e_book_client_connect()
    e_book_client_connect_finish()

11 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 30 Jan 2013 13:58:36 +0000 (14:58 +0100)]
Updated Spanish translation

11 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Wed, 30 Jan 2013 03:41:22 +0000 (11:41 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

11 years agoRemove unused private EClient functions.
Matthew Barnes [Tue, 29 Jan 2013 02:31:18 +0000 (21:31 -0500)]
Remove unused private EClient functions.

11 years agoReplace EGdbusCal with EDBusCalendar.
Matthew Barnes [Sun, 27 Jan 2013 14:29:41 +0000 (09:29 -0500)]
Replace EGdbusCal with EDBusCalendar.

11 years agoReplace EGdbusBook with EDBusAddressBook.
Matthew Barnes [Fri, 25 Jan 2013 01:04:14 +0000 (20:04 -0500)]
Replace EGdbusBook with EDBusAddressBook.

11 years agoGenerate D-Bus calendar interfaces with gdbus-codegen.
Matthew Barnes [Sat, 26 Jan 2013 21:42:08 +0000 (16:42 -0500)]
Generate D-Bus calendar interfaces with gdbus-codegen.

11 years agoGenerate D-Bus address book interfaces with gdbus-codegen.
Matthew Barnes [Thu, 24 Jan 2013 20:58:00 +0000 (15:58 -0500)]
Generate D-Bus address book interfaces with gdbus-codegen.

11 years agoEClient: Remove internal property cache.
Matthew Barnes [Sat, 26 Jan 2013 15:51:26 +0000 (10:51 -0500)]
EClient: Remove internal property cache.

GDBusProxy already caches property values, so no need for this.

11 years agoDeprecate EClient::opened signal.
Matthew Barnes [Tue, 29 Jan 2013 22:06:28 +0000 (17:06 -0500)]
Deprecate EClient::opened signal.

No longer emitted.

11 years agoDeprecate e_data_cal_report_opened().
Matthew Barnes [Tue, 29 Jan 2013 20:56:57 +0000 (15:56 -0500)]
Deprecate e_data_cal_report_opened().

This function no longer does anything.

11 years agoDeprecate e_cal_backend_respond_opened().
Matthew Barnes [Tue, 29 Jan 2013 21:24:49 +0000 (16:24 -0500)]
Deprecate e_cal_backend_respond_opened().

Use e_data_cal_respond_open() instead.

11 years agoDeprecate e_cal_backend_notify_opened().
Matthew Barnes [Tue, 29 Jan 2013 20:50:53 +0000 (15:50 -0500)]
Deprecate e_cal_backend_notify_opened().

Use e_data_cal_respond_open() instead.

11 years agoDeprecate e_data_book_report_opened().
Matthew Barnes [Tue, 29 Jan 2013 20:46:42 +0000 (15:46 -0500)]
Deprecate e_data_book_report_opened().

This function no longer does anything.

11 years agoDeprecate e_book_backend_respond_opened().
Matthew Barnes [Tue, 29 Jan 2013 21:21:04 +0000 (16:21 -0500)]
Deprecate e_book_backend_respond_opened().

Use e_data_book_respond_open() instead.

11 years agoDeprecate e_book_backend_notify_opened().
Matthew Barnes [Tue, 29 Jan 2013 20:39:30 +0000 (15:39 -0500)]
Deprecate e_book_backend_notify_opened().

Use e_data_book_respond_open() instead.

11 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Tue, 29 Jan 2013 18:32:45 +0000 (19:32 +0100)]
Updated Norwegian bokmål translation

11 years agoEDataCal: Make GDBusMethodInvocation optional in operations.
Matthew Barnes [Tue, 29 Jan 2013 14:36:33 +0000 (09:36 -0500)]
EDataCal: Make GDBusMethodInvocation optional in operations.

Allows us to fake client requests, since ECalBackend's API is still too
intertwined with EDataCal to call directly.

11 years agoEDataBook: Make GDBusMethodInvocation optional in operations.
Matthew Barnes [Tue, 29 Jan 2013 14:31:30 +0000 (09:31 -0500)]
EDataBook: Make GDBusMethodInvocation optional in operations.

Allows us to fake client requests, since EBookBackend's API is still too
intertwined with EDataBook to call directly.

11 years agoEDataCal: Remove unused "handle-cancel-all" signal handler.
Matthew Barnes [Tue, 29 Jan 2013 13:57:45 +0000 (08:57 -0500)]
EDataCal: Remove unused "handle-cancel-all" signal handler.

ECalClient never invokes this method directly.  Operations are
explicitly cancelled when ECalClient invokes the close() method.

11 years agoEDataBook: Remove unused "handle-cancel-all" signal handler.
Matthew Barnes [Tue, 29 Jan 2013 13:55:16 +0000 (08:55 -0500)]
EDataBook: Remove unused "handle-cancel-all" signal handler.

EBookClient never invokes this method directly.  Operations are
explicitly cancelled when EBookClient invokes the close() method.

11 years agoEDataCal: Remove unused "handle-cancel-operation" signal handler.
Matthew Barnes [Tue, 29 Jan 2013 13:53:36 +0000 (08:53 -0500)]
EDataCal: Remove unused "handle-cancel-operation" signal handler.

ECalClient never invokes this method, nor does it make sense to.

11 years agoEDataBook: Remove unused "handle-cancel-operation" signal handler.
Matthew Barnes [Tue, 29 Jan 2013 13:51:50 +0000 (08:51 -0500)]
EDataBook: Remove unused "handle-cancel-operation" signal handler.

EBookClient never invokes this method, nor does it make sense to.

11 years agoEDataCal: Cancel operations when the sender disappears.
Matthew Barnes [Tue, 29 Jan 2013 13:45:35 +0000 (08:45 -0500)]
EDataCal: Cancel operations when the sender disappears.

Make the GCancellables passed to backends actually do something useful.

11 years agoEDataBook: Cancel operations when the sender disappears.
Matthew Barnes [Tue, 29 Jan 2013 13:39:08 +0000 (08:39 -0500)]
EDataBook: Cancel operations when the sender disappears.

Make the GCancellables passed to backends actually do something useful.

11 years agotest-client-custom-summary.c: Conditionally test phone numbers
Tristan Van Berkom [Tue, 29 Jan 2013 11:48:44 +0000 (20:48 +0900)]
test-client-custom-summary.c: Conditionally test phone numbers

Avoid testing phone numbers if ENABLE_PHONENUMBER is not defined
(i.e. if there is no phone number support, it won't work).

11 years agoEBookBackendFile: Avoid lost data in contact modifications
Tristan Van Berkom [Thu, 24 Jan 2013 05:57:03 +0000 (14:57 +0900)]
EBookBackendFile: Avoid lost data in contact modifications

When modifying contacts, ensure that the contact revisions are in
sync with the existing ones, otherwise report the E_DATA_BOOK_STATUS_OUT_OF_SYNC
error. This indicates that the client should refresh it's local copy
of the contact before trying to modify it again.

Conflicts:

addressbook/backends/file/e-book-backend-file.c

11 years agoAdding test case proving there is a write-write race condition to fix
Tristan Van Berkom [Thu, 25 Oct 2012 07:51:32 +0000 (16:51 +0900)]
Adding test case proving there is a write-write race condition to fix

The test case creates a number of threads all trying to modify the
same contact in the same book each concurrently with a different field,
if the modification fails it retries. If all the fields (one for each
thread) are not properly set at the end of all thread execution, then
the test is a failure.

11 years agoAdding ESourceRevisionGuards
Tristan Van Berkom [Thu, 24 Jan 2013 07:07:27 +0000 (16:07 +0900)]
Adding ESourceRevisionGuards

The ESourceRevisionGuards extension configures whether an ESource backend
should check revisions on object modifications and produce an
E_CLIENT_ERROR_OUT_OF_SYNC error upon revision conflicts.

11 years agoEClient: Adding E_CLIENT_ERROR_OUT_OF_SYNC
Tristan Van Berkom [Thu, 24 Jan 2013 05:56:10 +0000 (14:56 +0900)]
EClient: Adding E_CLIENT_ERROR_OUT_OF_SYNC

An error to descibe out of sync data between the client and backend.

11 years agoClean up the mess that is CalObjModType.
Matthew Barnes [Mon, 28 Jan 2013 20:50:34 +0000 (15:50 -0500)]
Clean up the mess that is CalObjModType.

Deprecate both CalObjModType and EDataCalObjModType.

Introduce ECalObjModType with equivalent but properly namespaced enum
values, generate a GType for this enum, and swap out CalObjModType for
ECalObjModType throughout the calendar API.

Trying not to break the API here, but this is a freakin mess.

11 years agoDeprecate EDataCalObjType.
Matthew Barnes [Mon, 28 Jan 2013 20:32:56 +0000 (15:32 -0500)]
Deprecate EDataCalObjType.

No longer needed with the new D-Bus factory APIs.

11 years agoDeprecate CalMode and cal_mode_to_corba().
Matthew Barnes [Mon, 28 Jan 2013 20:26:12 +0000 (15:26 -0500)]
Deprecate CalMode and cal_mode_to_corba().

11 years agoe-cal-types.h cleanups.
Matthew Barnes [Mon, 28 Jan 2013 20:29:59 +0000 (15:29 -0500)]
e-cal-types.h cleanups.

11 years agoe-cal-util.h cleanups.
Matthew Barnes [Mon, 28 Jan 2013 20:23:44 +0000 (15:23 -0500)]
e-cal-util.h cleanups.

11 years agoUpdated Slovenian translation
Matej Urbančič [Mon, 28 Jan 2013 20:45:30 +0000 (21:45 +0100)]
Updated Slovenian translation

11 years agoBug #651399 - [maildir] Escape dots in folder display names
Milan Crha [Mon, 28 Jan 2013 18:09:46 +0000 (19:09 +0100)]
Bug #651399 - [maildir] Escape dots in folder display names

11 years agoGOA: Support the upcoming "imap_smtp" provider type.
Matthew Barnes [Mon, 28 Jan 2013 17:16:35 +0000 (12:16 -0500)]
GOA: Support the upcoming "imap_smtp" provider type.

11 years agognome_online_accounts_get_backend_name() cleanups.
Matthew Barnes [Mon, 28 Jan 2013 17:05:21 +0000 (12:05 -0500)]
gnome_online_accounts_get_backend_name() cleanups.

11 years agoMake ECollectionBackend and ECollectionBackendFactory instantiable.
Matthew Barnes [Mon, 28 Jan 2013 16:37:22 +0000 (11:37 -0500)]
Make ECollectionBackend and ECollectionBackendFactory instantiable.

ECollectionBackendFactory will use a backend name of "none" and will
instantiate an ECollectionBackend, which takes no action on its own.

Believe it or not, there's actually a use case for this.

GOA will soon add a provider for generic IMAP/SMTP accounts.  Our GOA
module will support these accounts by configuring a collection source
with a backend name of "none" as well as mail account, mail identity,
and mail transport sources.

The mechanics of ESourceRegistryServer do require a collection backend
to support a collection source but the backend will have nothing to do.

11 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 28 Jan 2013 10:44:27 +0000 (11:44 +0100)]
Updated Spanish translation