platform/upstream/evolution-data-server.git
11 years agosqlitedb: Repair summary based eqphone_national
Mathias Hasselmann [Mon, 25 Feb 2013 15:39:27 +0000 (16:39 +0100)]
sqlitedb: Repair summary based eqphone_national

Two things were broken: We dropped the lookup number's leading plus
when building the Sqlite query. Additionally the national phone number
collation routine forgot to check country codes if the national number
was equal: Obviously two fully qualified phone numbers with identical
national number but different country code, do not match. Even if only
national matching is requested.

11 years agoECalBackendHttp: Ignore cancellations when retrieving data.
Matthew Barnes [Mon, 25 Feb 2013 14:34:24 +0000 (09:34 -0500)]
ECalBackendHttp: Ignore cancellations when retrieving data.

Helps avoid emitting uninteresting error messages to clients.

11 years agotests: Actually use existing country calling code
Mathias Hasselmann [Mon, 25 Feb 2013 13:45:12 +0000 (14:45 +0100)]
tests: Actually use existing country calling code

Some tests assumed that the national portion of "+3-221-5423789" would
match the national portion of "+1-221-5423789". Sadly the country
calling of of that number is "+32", not "+3" like assumed.

11 years agosqlitedb: Fix a few indenting issues
Mathias Hasselmann [Mon, 25 Feb 2013 13:33:32 +0000 (14:33 +0100)]
sqlitedb: Fix a few indenting issues

A few function arguments were not aligned.
Tabstops should be forbidden and forgotten.

11 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 25 Feb 2013 12:39:13 +0000 (13:39 +0100)]
Updated Spanish translation

11 years agoFix typo in e_cal_client_get_object_list_as_comps_finish().
Matthew Barnes [Mon, 25 Feb 2013 12:19:28 +0000 (07:19 -0500)]
Fix typo in e_cal_client_get_object_list_as_comps_finish().

11 years agotest-client-view-operations.c: Removing unneeded nasty comment.
Tristan Van Berkom [Mon, 25 Feb 2013 11:08:04 +0000 (20:08 +0900)]
test-client-view-operations.c: Removing unneeded nasty comment.

11 years agotest-client-view-operations.c: Now test both direct access and indirect access
Tristan Van Berkom [Mon, 25 Feb 2013 10:35:20 +0000 (19:35 +0900)]
test-client-view-operations.c: Now test both direct access and indirect access

This works properly now since we fixed (or worked around) issues in the
test fixtures. Since we use a separate ESource UID (sandbox) for each
test case this now works properly.

11 years agoSome changes to the isolated test fixture
Tristan Van Berkom [Mon, 25 Feb 2013 10:33:04 +0000 (19:33 +0900)]
Some changes to the isolated test fixture

 a.) Setup EDS_REGISTRY_MODULES to use the local cache-reaper module
 b.) Setup EDS_CAMEL_PROVIDER_DIR to use the local provider
 c.) Added "source_name" and use separate ESource uids between tests,
     each test in the suite uses a separate ESource name

Note that 'c' is a stop-gap solution to the problem of not being able to
properly shut-down the whole test D-Bus environment between tests, it should
be removed once we can address that problem.

11 years agoMake the Camel provider modules relocatable
Tristan Van Berkom [Mon, 25 Feb 2013 10:28:04 +0000 (19:28 +0900)]
Make the Camel provider modules relocatable

This simply adds an environment variable allowing us to load the local
provider from a relocated location in the case we run 'make check' without
installing (this avoids some warnings and helps to isolate the test
environment).

11 years agoMake the ESourceRegistryServer modules relocatable like addressbook & calendar
Tristan Van Berkom [Mon, 25 Feb 2013 10:26:45 +0000 (19:26 +0900)]
Make the ESourceRegistryServer modules relocatable like addressbook & calendar

This simply adds an environment variable allowing us to load registry modules
from a relocated location in the case we run 'make check' without installing
(also ensuring that we test the not-yet-installed environment properly).

11 years agoDo not update EBackend::online in a separate thread
Milan Crha [Mon, 25 Feb 2013 09:03:39 +0000 (10:03 +0100)]
Do not update EBackend::online in a separate thread

Let the backend decide whether update its online state in a separate thread
or not. The initial idea was to have this done on a central place, but
it seems to be useless for most of the backends, thus do not do that.

11 years agoUpdated Uyghur translation
Gheyret Kenji [Mon, 25 Feb 2013 06:56:50 +0000 (15:56 +0900)]
Updated Uyghur translation

Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
11 years agoECalClient: Remove global "cal_factory" variable.
Matthew Barnes [Mon, 25 Feb 2013 03:36:47 +0000 (22:36 -0500)]
ECalClient: Remove global "cal_factory" variable.

Have cal_client_init_in_dbus_thread() create its own factory proxy,
obtain an object path for the desired backend, and then immediately
destroy the factory proxy object.

This eliminates the global EDBusCalendarFactory and associated
variables and macros and reduces the potential for reference leaks.

11 years agoEBookClient: Remove global "book_factory" variable.
Matthew Barnes [Mon, 25 Feb 2013 03:18:48 +0000 (22:18 -0500)]
EBookClient: Remove global "book_factory" variable.

Have book_client_init_in_dbus_thread() create its own factory proxy,
obtain an object path for the desired backend, and then immediately
destroy the factory proxy object.

This eliminates the global EDBusAddressBookFactory and associated
variables and macros and reduces the potential for reference leaks.

11 years agoEBookBackendWebdav: Make error msgs with HTTP status more consistent.
Matthew Barnes [Mon, 25 Feb 2013 00:07:24 +0000 (19:07 -0500)]
EBookBackendWebdav: Make error msgs with HTTP status more consistent.

11 years agoFix comments in e_contact_map_google_with_evo_group().
Matthew Barnes [Mon, 25 Feb 2013 00:03:28 +0000 (19:03 -0500)]
Fix comments in e_contact_map_google_with_evo_group().

11 years agoFix typo in e_phone_number_error_to_string().
Matthew Barnes [Sun, 24 Feb 2013 23:59:58 +0000 (18:59 -0500)]
Fix typo in e_phone_number_error_to_string().

11 years agoFix translator comment in camel_session_build_password_prompt().
Matthew Barnes [Sun, 24 Feb 2013 23:56:38 +0000 (18:56 -0500)]
Fix translator comment in camel_session_build_password_prompt().

11 years agoUpdated Russian translation
Yuri Myasoedov [Sun, 24 Feb 2013 20:18:17 +0000 (00:18 +0400)]
Updated Russian translation

11 years agoUpdated POTFILES.in
Piotr Drąg [Sat, 23 Feb 2013 21:15:07 +0000 (22:15 +0100)]
Updated POTFILES.in

11 years agoEClient: Add a read-only "main-context" property.
Matthew Barnes [Sat, 23 Feb 2013 15:16:56 +0000 (10:16 -0500)]
EClient: Add a read-only "main-context" property.

This is the GMainContext on which to attach client event sources.

New functions:

    e_client_ref_main_context()

11 years agoEClient cleanups.
Matthew Barnes [Sat, 23 Feb 2013 15:08:25 +0000 (10:08 -0500)]
EClient cleanups.

11 years agoAdd e_source_registry_dup_unique_display_name().
Matthew Barnes [Sat, 23 Feb 2013 13:45:40 +0000 (08:45 -0500)]
Add e_source_registry_dup_unique_display_name().

Compares a source's display name against other sources having an
extension with the given extension name, or else against all other
sources in the registry if no extension name was given.

If the source's display name is unique among these other sources, the
function will return the source's display name verbatim.  Otherwise the
function will construct a string that includes the source's own display
name as well as those of its ancestors.

The functions's return value is intended to be used in messages shown to
the user to help clarify which source is being referred to.  It assumes
the source's display name is at least unique among its siblings.

11 years agoecalclient: Fix uninitialized list
Colin Walters [Sat, 23 Feb 2013 12:15:49 +0000 (07:15 -0500)]
ecalclient: Fix uninitialized list

This would likely crash.

11 years agoevolution-user-prompter: Add a --keep-running option.
Matthew Barnes [Sat, 23 Feb 2013 04:58:36 +0000 (23:58 -0500)]
evolution-user-prompter: Add a --keep-running option.

This thing keeps quitting on me when run from the command-line.

11 years agoCamelSMIMEContext: Support IANA registered hash function names.
Matthew Barnes [Fri, 22 Feb 2013 22:59:34 +0000 (17:59 -0500)]
CamelSMIMEContext: Support IANA registered hash function names.

Use and recognize standard-compliant hash function names in the
hash_to_id() and id_to_hash() methods.

11 years agoCamelSMIMEContext cleanups.
Matthew Barnes [Fri, 22 Feb 2013 22:47:01 +0000 (17:47 -0500)]
CamelSMIMEContext cleanups.

11 years agoFix build break from libebook-contacts.
Matthew Barnes [Fri, 22 Feb 2013 18:11:15 +0000 (13:11 -0500)]
Fix build break from libebook-contacts.

None of the backends were linking to libebook-contacts-1.2.la.

11 years agoevo_phonenumber.m4: Don't stomp on LDFLAGS.
Matthew Barnes [Fri, 22 Feb 2013 17:58:03 +0000 (12:58 -0500)]
evo_phonenumber.m4: Don't stomp on LDFLAGS.

11 years agoDeprecate e_client_error_create().
Matthew Barnes [Fri, 22 Feb 2013 16:54:58 +0000 (11:54 -0500)]
Deprecate e_client_error_create().

Just use the GError API directly.

11 years agoDeprecate e_client_util_unwrap_dbus_error().
Matthew Barnes [Fri, 22 Feb 2013 16:41:26 +0000 (11:41 -0500)]
Deprecate e_client_util_unwrap_dbus_error().

No longer used.

11 years agoEClient: Deprecate unwrap_dbus_error() method.
Matthew Barnes [Fri, 22 Feb 2013 16:31:46 +0000 (11:31 -0500)]
EClient: Deprecate unwrap_dbus_error() method.

The generated D-Bus proxy classes return errors according to the usual
GLib conventions, and EDataBook and EDataCal convert server-side error
codes to client-side error codes before completing method invocations,
so we don't need this method anymore.

Added a default implementation to EClient which is just a pass-through.

11 years agoEClient: Deprecate get_dbus_proxy() method.
Matthew Barnes [Fri, 22 Feb 2013 16:13:00 +0000 (11:13 -0500)]
EClient: Deprecate get_dbus_proxy() method.

This method is not used anymore.  Leave the implementations in place,
but tag the method as deprecated in the EClientClass struct so it can
be purged at some future date.

11 years agoEBackend: Update online state from the correct main loop context.
Matthew Barnes [Fri, 22 Feb 2013 15:09:31 +0000 (10:09 -0500)]
EBackend: Update online state from the correct main loop context.

Use a low-priority idle callback on the backend's main loop context to
reduce the number of times we cancel g_network_monitor_can_reach_async().

11 years agoESourceMailComposition: Escape brackets in documentation.
Matthew Barnes [Fri, 22 Feb 2013 14:33:23 +0000 (09:33 -0500)]
ESourceMailComposition: Escape brackets in documentation.

11 years agoAdd libebook-contacts-overrides.txt to source control.
Matthew Barnes [Fri, 22 Feb 2013 14:29:43 +0000 (09:29 -0500)]
Add libebook-contacts-overrides.txt to source control.

11 years agoAdd camel_session_ref_main_context().
Matthew Barnes [Fri, 22 Feb 2013 14:17:24 +0000 (09:17 -0500)]
Add camel_session_ref_main_context().

Replaces camel_session_get_main_context().

11 years agoESource: Improve "main-context" property description.
Matthew Barnes [Fri, 22 Feb 2013 14:10:37 +0000 (09:10 -0500)]
ESource: Improve "main-context" property description.

Finally found a wording for the property that I'm happy with.

11 years agoCamelSession: Improve "main-context" property description.
Matthew Barnes [Fri, 22 Feb 2013 14:08:23 +0000 (09:08 -0500)]
CamelSession: Improve "main-context" property description.

Finally found a wording for the property that I'm happy with.

11 years agocal_client_add_cached_timezone: Wrong GDestroyNotify callback.
Matthew Barnes [Fri, 22 Feb 2013 14:44:42 +0000 (09:44 -0500)]
cal_client_add_cached_timezone: Wrong GDestroyNotify callback.

11 years agoECalBackend: Follow up on a timezone-related FIXME comment.
Matthew Barnes [Fri, 22 Feb 2013 14:45:35 +0000 (09:45 -0500)]
ECalBackend: Follow up on a timezone-related FIXME comment.

Emit the "timezone-added" signal from an idle callback on ECalBackend's
GMainContext, instead of from whichever thread the timezone was added.
This makes life easier for any handlers of that signal.

11 years agoEBackend: Add a read-only "main-context" property.
Matthew Barnes [Fri, 22 Feb 2013 14:05:03 +0000 (09:05 -0500)]
EBackend: Add a read-only "main-context" property.

This is the GMainContext on which to attach backend event sources.

New functions:

    e_backend_ref_main_context()

11 years agoEBookQuery/EPhoneNumber: Enhanced documentation
Tristan Van Berkom [Fri, 22 Feb 2013 13:44:15 +0000 (22:44 +0900)]
EBookQuery/EPhoneNumber: Enhanced documentation

EBookQuery documentation simplified to reference documentation
from EPhoneNumber docs specifically. EPhoneNumber documentation
enhanced to be more descriptive in terms of the match type strengths
possible.

11 years agoDocumentation Makefiles: Added MKDB_OPTIONS
Tristan Van Berkom [Fri, 22 Feb 2013 13:19:42 +0000 (22:19 +0900)]
Documentation Makefiles: Added MKDB_OPTIONS

Added the MKDB_OPTIONS to all gtk-doc makefiles, this makes
the <note><para></para></note> semantics in gtk-doc statements
work properly (along with probably a few other features).

11 years agotest-client-custom-summary.c: Adding more tests regarding phone numbers.
Tristan Van Berkom [Fri, 22 Feb 2013 12:55:54 +0000 (21:55 +0900)]
test-client-custom-summary.c: Adding more tests regarding phone numbers.

The nature of phone number matching is complex, some additional
tests are required to ensure that this works to spec (perhaps more
tests will be added here as well).

11 years agoe_cal_client_modify_objects_sync: Fix infinite loop.
Matthew Barnes [Fri, 22 Feb 2013 13:03:06 +0000 (08:03 -0500)]
e_cal_client_modify_objects_sync: Fix infinite loop.

11 years agoe_source_registry_server_load_directory: Monitor failure is non-fatal.
Matthew Barnes [Fri, 22 Feb 2013 11:55:59 +0000 (06:55 -0500)]
e_source_registry_server_load_directory: Monitor failure is non-fatal.

Directory monitoring is a nice-to-have feature, but is not supported in
some contexts.  If we fail to create a GFileMonitor, leave a breadcrumb
on the console to indicate something whent wrong, but don't return an
error status.  That would cause the whole registry process to terminate.

11 years agoEBookBackendFile: Report the correct error from remove_contacts()
Tristan Van Berkom [Fri, 22 Feb 2013 09:33:07 +0000 (18:33 +0900)]
EBookBackendFile: Report the correct error from remove_contacts()

If the EBookBackenSqliteDB reports CONTACT_NOT_FOUND, then use
E_DATA_BOOK_STATUS_CONTACT_NOT_FOUND, this causes test-client-remove-contact
to pass again.

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

11 years agotest-client-remove-contact.c: Enhanced test case
Tristan Van Berkom [Fri, 22 Feb 2013 09:31:59 +0000 (18:31 +0900)]
test-client-remove-contact.c: Enhanced test case

Check that removing a removed contact reports the correct error code

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

11 years agoCamelSmtpTransport: Override new CamelNetworkService properties.
Matthew Barnes [Thu, 21 Feb 2013 19:35:21 +0000 (14:35 -0500)]
CamelSmtpTransport: Override new CamelNetworkService properties.

11 years agoCamelPOP3Store: Override new CamelNetworkService properties.
Matthew Barnes [Thu, 21 Feb 2013 19:28:22 +0000 (14:28 -0500)]
CamelPOP3Store: Override new CamelNetworkService properties.

11 years agoCamelNNTPStore: Override new CamelNetworkService properties.
Matthew Barnes [Thu, 21 Feb 2013 19:23:16 +0000 (14:23 -0500)]
CamelNNTPStore: Override new CamelNetworkService properties.

11 years agoCamelIMAPXStore: Override new CamelNetworkService properties.
Matthew Barnes [Thu, 21 Feb 2013 19:14:30 +0000 (14:14 -0500)]
CamelIMAPXStore: Override new CamelNetworkService properties.

11 years agoCamelNetworkService: Add a read-only "host-reachable" property.
Matthew Barnes [Thu, 21 Feb 2013 17:44:18 +0000 (12:44 -0500)]
CamelNetworkService: Add a read-only "host-reachable" property.

This will be updated automatically as network conditions change.

New functions:

    camel_network_service_get_host_reachable()

11 years agoCamelNetworkService: Add a "connectable" property (GSocketConnectable).
Matthew Barnes [Thu, 21 Feb 2013 17:26:09 +0000 (12:26 -0500)]
CamelNetworkService: Add a "connectable" property (GSocketConnectable).

This is the socket endpoint for the network service to which the
CamelNetworkService is a client.

This also adds a new_connectable() method to the interface, which by
default creates a new GNetworkAddress from the CamelNetworkSettings.

New functions:

    camel_network_service_ref_connectable()
    camel_network_service_set_connectable()

11 years agoGive CamelNetworkService a private structure.
Matthew Barnes [Thu, 21 Feb 2013 17:08:30 +0000 (12:08 -0500)]
Give CamelNetworkService a private structure.

CamelNetworkService will do its own networking monitoring.

The interface is initialized during CamelService construction.

11 years agoDo not compile code which might be unnecessary with GLib 2.35.9+
Milan Crha [Thu, 21 Feb 2013 15:56:22 +0000 (16:56 +0100)]
Do not compile code which might be unnecessary with GLib 2.35.9+

This is the only relevant part of the code which should be "removed"
from the previous commit due to changes in GNetworkManager's bug:
https://bugzilla.gnome.org/show_bug.cgi?id=694181

Once eds will depends on such GLib the conditioned code can be
completely removed.

11 years agoRevert "Revert "Make network connection change listener actually working""
Milan Crha [Thu, 21 Feb 2013 15:41:06 +0000 (16:41 +0100)]
Revert "Revert "Make network connection change listener actually working""

This reverts commit 51f5b1201bb713243b0cb2e160c18ee17d3a0baf.

It's inappropriate to revert whole commit, the relevant part is much
much much smaller.

11 years agoRevert "Make network connection change listener actually working"
Matthew Barnes [Thu, 21 Feb 2013 15:01:36 +0000 (10:01 -0500)]
Revert "Make network connection change listener actually working"

This reverts commit b64b51e0e969fbf355d3a2bc1c69f4123c33078f.

These changes are unnecessary given recent fixes in GNetworkMonitor.

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

11 years agoMake network connection change listener actually working
Milan Crha [Thu, 21 Feb 2013 14:22:08 +0000 (15:22 +0100)]
Make network connection change listener actually working

With this it's properly recognized when network connection changes,
like when user connects to VPN, or disconnects from it, and the backend's
online state is properly updated (if is provides connection address).

11 years agotest-client-view-operations.c: For now disable the regular access test
Tristan Van Berkom [Thu, 21 Feb 2013 13:12:17 +0000 (22:12 +0900)]
test-client-view-operations.c: For now disable the regular access test

This test was written to protect against deadlocks in EBookBackendSqliteDB
with concurrent read access. Currently two in a row fails when fetching
the newly added contacts in the test book, still dont know why but it's
orthogonal to the reason for this test.

11 years agoBug #694223 - The "message-location" search never matches on IMAP+
Milan Crha [Thu, 21 Feb 2013 11:53:08 +0000 (12:53 +0100)]
Bug #694223 - The "message-location" search never matches on IMAP+

11 years agoEDataBook: Fix e_data_book_new_direct()
Tristan Van Berkom [Thu, 21 Feb 2013 11:14:49 +0000 (20:14 +0900)]
EDataBook: Fix e_data_book_new_direct()

Since recent backends in master open thier persistance at initable_init()
time, it became necessary to splitup g_initable_new() into g_object_new()
and g_initable_init(), calling e_book_backend_configure_direct() in between.

Note: this fixes Direct Read Access where the XDG directories might not
be the same in the server context as in the client context.

11 years agoBug #694152 - Compile errors in C++ due to G_BEGIN/END_DECLS
Patrick Ohly [Thu, 21 Feb 2013 09:41:50 +0000 (10:41 +0100)]
Bug #694152 - Compile errors in C++ due to G_BEGIN/END_DECLS

11 years agoFix a memory leak in EBookQuery with field_test.locale
Milan Crha [Thu, 21 Feb 2013 09:40:12 +0000 (10:40 +0100)]
Fix a memory leak in EBookQuery with field_test.locale

11 years agotest-client-custom-summary.c: Fixup test case to also try Default summary
Tristan Van Berkom [Thu, 21 Feb 2013 09:16:48 +0000 (18:16 +0900)]
test-client-custom-summary.c: Fixup test case to also try Default summary

This patch makes the whole test battery run with a default summary
as well, ensuring the expected results work properly regardless
of whether the summary information is stored in SQLite or if it
falls back to full vcard parsing.

11 years agoEBookBackendSexp: Restore suffix search functionality
Tristan Van Berkom [Thu, 21 Feb 2013 09:14:34 +0000 (18:14 +0900)]
EBookBackendSexp: Restore suffix search functionality

All suffix searches using EBookBackendSexp had been broken as
of commit 5236e0b1f82ec1ef9d2e87e2f8e493471b8cd57e. This patch
restores suffix searches to work properly again.

11 years agoEBackend: Use e_source_authentication_ref_connectable().
Matthew Barnes [Wed, 20 Feb 2013 16:20:10 +0000 (11:20 -0500)]
EBackend: Use e_source_authentication_ref_connectable().

Initialize the GSocketConnectable directly from ESourceAuthentication's
GSocketConnectable, rather than building a new instance from its "host"
and "port" properties.

11 years agoESourceAuthentication: Add a read-only "connectable" property.
Matthew Barnes [Wed, 20 Feb 2013 15:56:40 +0000 (10:56 -0500)]
ESourceAuthentication: Add a read-only "connectable" property.

This is an internally cached GSocketConnectable instance constructed
from ESourceAuthentication's "host" and "port" properties.

New functions:

    e_source_authentication_ref_connectable()

11 years agoLocal Delivery not updated on start and missing Receiving Options page
Milan Crha [Wed, 20 Feb 2013 13:22:23 +0000 (14:22 +0100)]
Local Delivery not updated on start and missing Receiving Options page

This was reported at Red Hat's bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=910252

To have this fully working, users should edit the account and save
the changes (even when not done any) by clicking the OK button
in the account editor, thus the source will receive its extension
and the next start the account will be recognized and auto-updated.

11 years agoDo not use SSL_V2_COMPATIBLE_HELLO by default
Milan Crha [Wed, 20 Feb 2013 12:48:54 +0000 (13:48 +0100)]
Do not use SSL_V2_COMPATIBLE_HELLO by default

Zarafa server with disabled SSL v2 rejects connection when
SSL v2 compatible hello is sent, thus disabled this by default.
After all, SSL v3 should be used in general these days anyway.

Use environment variable CAMEL_SSL_V2_HELLO=1 in case your server
requires the old behavior.

11 years agoExtending test-client-custom-summary.c
Tristan Van Berkom [Wed, 20 Feb 2013 11:45:24 +0000 (20:45 +0900)]
Extending test-client-custom-summary.c

Added test to ensure that phone numbers are not accidentally normalized,
and that we dont get a result for ENDS_WITH "8899" if a phone number
ending with "88 99" exists in the addressbook.

11 years agoPorted various EBookClient tests to additionally test Direct Read Access variants
Tristan Van Berkom [Tue, 19 Feb 2013 13:55:16 +0000 (22:55 +0900)]
Ported various EBookClient tests to additionally test Direct Read Access variants

This patch basically adds additional invocations of the same test code
in direct read access mode. Only for tests concerned with read access
to the addressbook.

Note that the test-client-uid-only-view and test-client-revision-view
tests are not ported, they are not expected to pass in Direct Read Access
mode (since the EBookClientView in Direct Read Access mode fetches contact
data directly from the backend, any contact field filtering would be a
useless overhead).

11 years agoe-test-server-utils: Add support for testing Direct Read Access books.
Tristan Van Berkom [Tue, 19 Feb 2013 13:54:45 +0000 (22:54 +0900)]
e-test-server-utils: Add support for testing Direct Read Access books.

11 years agosource_remove_sync: Fail gracefully when given a scratch source.
Matthew Barnes [Tue, 19 Feb 2013 14:22:46 +0000 (09:22 -0500)]
source_remove_sync: Fail gracefully when given a scratch source.

Apparently e_dbus_object_get_source_removable() does not check its
argument for NULL, and scratch sources have no internal EDBusObject.

11 years agosource_write_sync: Fail gracefully when given a scratch source.
Matthew Barnes [Tue, 19 Feb 2013 14:18:47 +0000 (09:18 -0500)]
source_write_sync: Fail gracefully when given a scratch source.

Apparently e_dbus_object_get_source_writable() does not check its
argument for NULL, and scratch sources have no internal EDBusObject.

11 years agoUpdated Serbian translation
Мирослав Николић [Tue, 19 Feb 2013 10:58:22 +0000 (11:58 +0100)]
Updated Serbian translation

11 years agoFixing typo in previous commit fixing G_BEGIN/END_DECLS
Tristan Van Berkom [Tue, 19 Feb 2013 10:05:55 +0000 (19:05 +0900)]
Fixing typo in previous commit fixing G_BEGIN/END_DECLS

11 years agoFixing imbalanced G_BEGIN_DECLS/G_END_DECLS in EDS headers.
Tristan Van Berkom [Tue, 19 Feb 2013 10:03:35 +0000 (19:03 +0900)]
Fixing imbalanced G_BEGIN_DECLS/G_END_DECLS in EDS headers.

modified:   addressbook/libebook/e-book-types.h
modified:   camel/camel-imapx-search.h

11 years agoBug #693101 - IMAPx can vanish and redownload folder summary
Milan Crha [Mon, 18 Feb 2013 14:27:27 +0000 (15:27 +0100)]
Bug #693101 - IMAPx can vanish and redownload folder summary

11 years agoFixing pkg-config files for libebook & libedata-book
Tristan Van Berkom [Mon, 18 Feb 2013 12:05:22 +0000 (21:05 +0900)]
Fixing pkg-config files for libebook & libedata-book

This part was missed while the libebook / libebook-contacts library
splitup was done manually.

11 years agoCleanup: Remove double definition of E_BOOK_CLIENT_ERROR
Tristan Van Berkom [Mon, 18 Feb 2013 11:07:51 +0000 (20:07 +0900)]
Cleanup: Remove double definition of E_BOOK_CLIENT_ERROR

The EBookClientError definition has been moved to libebook-contacts,
this is just removing a stale #define E_BOOK_CLIENT_ERROR which
was remaining in e-book-client.h

11 years agoAdded documentation for new Direct Read Access related apis.
Tristan Van Berkom [Mon, 18 Feb 2013 10:05:56 +0000 (19:05 +0900)]
Added documentation for new Direct Read Access related apis.

Also fixed up gtk-doc build for libedata-book to add EDataBookDirect
to the sections, types and libedata-book-docs.sgml files.

11 years agoMigrating documentation into new libebook-contacts book.
Tristan Van Berkom [Mon, 18 Feb 2013 07:55:37 +0000 (16:55 +0900)]
Migrating documentation into new libebook-contacts book.

This documentation splitup was missed in the recent libebook / libebook-contacts
library splitup.

11 years agoEBackend: Utilize g_network_monitor_can_reach_async().
Matthew Barnes [Mon, 18 Feb 2013 02:07:03 +0000 (21:07 -0500)]
EBackend: Utilize g_network_monitor_can_reach_async().

If the backend has a GSocketConnectable, determine the "online" state
using g_network_monitor_can_reach_async().

The "online" state is automatically updated on instance initialization,
when the GSocketConnectable is replaced, and when GNetworkMonitor emits
a "network-changed" signal.

11 years agoEBackend: Keep a reference on GNetworkMonitor.
Matthew Barnes [Mon, 18 Feb 2013 01:14:25 +0000 (20:14 -0500)]
EBackend: Keep a reference on GNetworkMonitor.

Keep a strong reference on the default GNetworkMonitor, and connect to
its "network-changed" signal.  Our signal handler does nothing for the
moment, but shortly it will update the "online" state.

11 years agoEBackend: Add a "connectable" property (GSocketConnectable).
Matthew Barnes [Mon, 18 Feb 2013 00:30:29 +0000 (19:30 -0500)]
EBackend: Add a "connectable" property (GSocketConnectable).

This is the socket endpoint for the network service to which the
EBackend is a client.  This can be NULL if the EBackend does not
use network sockets.

The initial value of the "connectable" property is derived from the
ESourceAuthentication extension of the EBackend's "source" property,
if the extension is present.

11 years agoEBackend: Use g_clear_object() in dispose().
Matthew Barnes [Sun, 17 Feb 2013 23:18:33 +0000 (18:18 -0500)]
EBackend: Use g_clear_object() in dispose().

11 years agoPost-release version bump.
Matthew Barnes [Sun, 17 Feb 2013 20:45:56 +0000 (15:45 -0500)]
Post-release version bump.

11 years agoFix distcheck error.
Matthew Barnes [Sun, 17 Feb 2013 20:43:00 +0000 (15:43 -0500)]
Fix distcheck error.

11 years agoNEWS update for 3.7.90 release.
Matthew Barnes [Sun, 17 Feb 2013 20:13:06 +0000 (15:13 -0500)]
NEWS update for 3.7.90 release.

11 years agodata_cal_handle_remove_objects_cb: Fix GVariant format string.
Matthew Barnes [Sun, 17 Feb 2013 14:52:18 +0000 (09:52 -0500)]
data_cal_handle_remove_objects_cb: Fix GVariant format string.

11 years agoe_cal_client_remove_objects_sync: Fix an infinite loop.
Matthew Barnes [Sun, 17 Feb 2013 14:36:33 +0000 (09:36 -0500)]
e_cal_client_remove_objects_sync: Fix an infinite loop.

11 years agoECalObjModType is a flags type, not an enum type.
Matthew Barnes [Sun, 17 Feb 2013 13:33:48 +0000 (08:33 -0500)]
ECalObjModType is a flags type, not an enum type.

Transmit flags over D-Bus as a string of colon-separated nicknames.

11 years agoUpdated Polish translation
Piotr Drąg [Sun, 17 Feb 2013 14:35:49 +0000 (15:35 +0100)]
Updated Polish translation

11 years agoAdd optimized indexing capabilities for phone number values.
Tristan Van Berkom [Fri, 15 Feb 2013 13:44:34 +0000 (22:44 +0900)]
Add optimized indexing capabilities for phone number values.

Creating indexes with normalized phone numbers permits fast phone number
lookup even if the stored vCards or the queried phone numbers are freely
formatted or incomplete.

The numbers are formatted according to E.164 when building the index.
Incomplete numbers are prefixed with a country-code matching the current
locale settings while processing query results.

Updated Mathias Hasselmann's patch on bug 689622 to apply to current master.

11 years agoStore E.164 phone number values automatically in the vCard
Tristan Van Berkom [Fri, 15 Feb 2013 11:56:41 +0000 (20:56 +0900)]
Store E.164 phone number values automatically in the vCard

The E.164 normalized phone number is of interest for handset related
applications. With this change a X-EVOLUTION-E164 attribute is added
to each TEL attribute if the contact summary contains a E.164 formatted
variant of the phone number. This shall avoid overhead and inconsistency
that would occur if clients would use their own mechanism to compute
that already stored information.

Updated Mathias Hasselmann's patch on bug 689622 to apply to current master.

11 years agoe_extensible_load_extensions: Allow for retries.
Matthew Barnes [Sat, 16 Feb 2013 22:42:42 +0000 (17:42 -0500)]
e_extensible_load_extensions: Allow for retries.

If e_extensible_load_extensions() does not find any extensions, remove
the GPtrArray from the extensible object.  It may be the extension types
have not been registered yet.  Subsequent e_extensible_load_extensions()
calls on the same object should rescan until extensions are found.

11 years agoECalClient: Add a "default-timezone" pointer property.
Matthew Barnes [Sat, 16 Feb 2013 14:22:14 +0000 (09:22 -0500)]
ECalClient: Add a "default-timezone" pointer property.

This just uses the existing e_cal_client_get_default_timezone() and
e_cal_client_set_default_timezone() functions, but the property can
be a useful target for bindings.