Matthew Barnes [Fri, 12 Oct 2012 18:39:40 +0000 (14:39 -0400)]
Remove e_data_book_view_register_gdbus_object().
Similar to EDataBook, the first thing we do after creating a new
EDataBookView is export its D-Bus interface. This was a separate and
failable operation. If the export fails, the EDataBookView is useless.
Perfect use case for GInitable.
Now we pass the GDBusConnection and object path directly to
e_data_book_view_new(), and if exporting fails the function sets a
GError and returns NULL.
This also introduces a couple accessor functions:
e_data_book_view_get_connection()
e_data_book_view_get_object_path()
Matthew Barnes [Fri, 12 Oct 2012 18:12:35 +0000 (14:12 -0400)]
EDataCalView cleanups.
Some minor API changes with this:
e_data_cal_view_get_text() is dropped. Instead use:
sexp = e_data_cal_view_get_sexp (view);
query = e_cal_backend_sexp_text (sexp);
Matthew Barnes [Fri, 12 Oct 2012 17:30:06 +0000 (13:30 -0400)]
EDataBookView cleanups.
Some minor API changes with this:
e_data_book_view_get_card_sexp() is now e_data_book_view_get_sexp().
e_data_book_view_get_card_query() is dropped. Instead use:
sexp = e_data_book_view_get_sexp (view);
query = e_book_backend_sexp_text (sexp);
Matthew Barnes [Sat, 13 Oct 2012 11:48:51 +0000 (07:48 -0400)]
Add e_book_backend_sexp_text().
Similar to e_cal_backend_sexp_text(), returns the original textual
expression used to build the EBookBackendSExp object.
Matthew Barnes [Fri, 12 Oct 2012 13:16:39 +0000 (09:16 -0400)]
e-cal.c cleanups.
Matthew Barnes [Fri, 12 Oct 2012 13:06:58 +0000 (09:06 -0400)]
e-book.c cleanups.
Matthew Barnes [Fri, 12 Oct 2012 01:36:43 +0000 (21:36 -0400)]
EGDataGoaAuthorizer: OAuth 2.0 fixes.
Changes based on Google's OAuth 2.0 Playground.
Authorization type is "OAuth" instead of "Bearer", and no Base64
encoding of the access token is required.
Still no successful test with GOA 3.7, so somewhat flying blind.
Matthew Barnes [Thu, 11 Oct 2012 23:41:14 +0000 (19:41 -0400)]
online-accounts: Refresh mail account settings on startup.
When matching GOA accounts to existing EDS accounts on startup, refresh
both the collection and mail account settings. This is primarily to aid
the transition from XOAUTH to XOAUTH2, but can serve as a means of other
types of migration in the future.
Matthew Barnes [Thu, 11 Oct 2012 18:32:53 +0000 (14:32 -0400)]
EGDataGoaAuthorizer: Prototype OAuth 2.0 support.
Untested, but conforms to the specification as well as I understand it.
Jeremy Whiting [Wed, 10 Oct 2012 22:17:10 +0000 (16:17 -0600)]
vala: Add libedataserver-1.2 to libebook-1.2.deps file.
Fixes part of folks bug https://bugzilla.gnome.org/show_bug.cgi?id=685084
so folks ofono backend will only need --pkg libebook-1.2
not libedataserver-1.2 explicitly.
Matthew Barnes [Wed, 10 Oct 2012 20:17:41 +0000 (16:17 -0400)]
Drop oauth package requirement for GOA support.
On second thought, Camel's XOAUTH SASL module is just using
g_random_int() to generate the "oauth_nonce" parameter.
Good enough, I suppose. Do the same for EGDataGoaAuthorizer.
Matthew Barnes [Wed, 10 Oct 2012 19:28:38 +0000 (15:28 -0400)]
EGDataGoaAuthorizer: Use GHmac to sign the OAuth parameters.
Use GLib's GHmac API in place of oauth_sign_hmac_sha1().
Unfortunately we still have to keep the liboauth requirement for its
oauth_gen_nonce() function. Considered just copying it out of oauth.c
but it looks rather messy with OpenSSL and NSS dependencies.
Matthew Barnes [Sun, 7 Oct 2012 13:09:48 +0000 (09:09 -0400)]
configure.ac: Tweak GOA-related error messages.
Matthew Barnes [Wed, 10 Oct 2012 18:04:32 +0000 (14:04 -0400)]
Drop the check for libgdata >= 0.9.1 for GOA support.
We already require libgdata >= 0.10, so the check is redundant.
Matthew Barnes [Wed, 10 Oct 2012 14:08:15 +0000 (10:08 -0400)]
Eliminate the assertion in camel_provider_register().
camel_provider_register() should automatically set up the module and
provider hash tables if needed instead of aborting, but the problem
is the GOnce function that sets up these hash tables also calls
camel_provider_register().
Break this cycle by moving the bulk of camel_provider_register() to a
new internal function (provider_register_internal) and calling it from
the GOnce function (provider_setup).
The public camel_provider_register() function is then simply:
g_once (&setup_once, provider_setup, NULL);
provider_register_internal (provider);
Matthew Barnes [Wed, 10 Oct 2012 12:41:28 +0000 (08:41 -0400)]
Bug 685713 - ESourceRegistry's manager thread aborts on error
If the ESourceRegistry's manager thread fails to create a new
GDBusObjectManagerClient during initialization, propagate the GError
back to the caller of e_source_registry_new() instead of aborting the
whole process with a g_error() call.
Bastien Nocera [Tue, 9 Oct 2012 01:06:55 +0000 (21:06 -0400)]
Bug 685725 - Handle "muser" attributes in %gconf.xml files
The migration of account data from GConf to key files parses raw
%gconf.xml files. The parsing code neglected to handle "muser"
attributes in <entry> tags, so that when an "muser" attribute was
encountered, g_markup_collect_attributes() would throw an error an
cause the whole GConf migration phase to be aborted.
Dan Vrátil [Mon, 8 Oct 2012 19:48:44 +0000 (21:48 +0200)]
Don't migrate sources with empty attributes
Colin Walters [Mon, 8 Oct 2012 15:03:07 +0000 (11:03 -0400)]
vala: Don't ignore CalClientSourceType
It's needed by the API after the calendar refactoring.
Signed-off-by: Colin Walters <walters@verbum.org>
Marián Čavojský [Mon, 8 Oct 2012 14:40:39 +0000 (16:40 +0200)]
Updated Slovak translation
Matthew Barnes [Sun, 7 Oct 2012 22:23:56 +0000 (18:23 -0400)]
Remove e_data_cal_register_gdbus_object().
The first thing we do after creating a new EDataCal is export its D-Bus
interface. This was a separate and failable operation. If the exporting
fails, the EDataCal is useless. Perfect use case for GInitable.
Now we pass the GDBusConnection and object path directly to
e_data_cal_new(), and if the exporting fails the function sets a GError
and returns NULL.
This also introduces a couple accessor functions:
e_data_cal_get_connection()
e_data_cal_get_object_path()
Matthew Barnes [Sun, 7 Oct 2012 17:34:52 +0000 (13:34 -0400)]
Deprecate e_cal_backend_foreach_view().
Use e_cal_backend_list_views() instead.
Matthew Barnes [Sun, 7 Oct 2012 16:59:57 +0000 (12:59 -0400)]
ECalBackend: Prefer e_cal_backend_list_views().
Less klunky than e_cal_backend_foreach_view().
Matthew Barnes [Sun, 7 Oct 2012 16:01:51 +0000 (12:01 -0400)]
e_cal_backend_foreach_view: Use e_cal_backend_list_views().
Holding a locked mutex while invoking callback functions we don't
control raises the potential for deadlock.
Matthew Barnes [Sun, 7 Oct 2012 15:51:11 +0000 (11:51 -0400)]
Add e_cal_backend_list_views().
Alternative to e_cal_backend_foreach_view().
Matthew Barnes [Sun, 7 Oct 2012 12:20:10 +0000 (08:20 -0400)]
ECalBackend: Prefer GList over GSList.
Matthew Barnes [Sun, 7 Oct 2012 03:48:36 +0000 (23:48 -0400)]
EGdbusCal: Remove the remove() method.
Not used anymore. Remove the ESource instead.
This also takes out the following backend functions:
e_cal_backend_remove()
e_cal_backend_sync_remove()
e_data_cal_respond_remove()
Matthew Barnes [Sun, 7 Oct 2012 03:40:18 +0000 (23:40 -0400)]
ECal: Reimplement "remove" functions.
Have them just call e_source_remove() or e_source_remove_sync().
Matthew Barnes [Sun, 7 Oct 2012 02:28:52 +0000 (22:28 -0400)]
libedata-cal: Purge deprecated APIs.
Since we're already bumping libedata-cal's shared object name...
Matthew Barnes [Sun, 7 Oct 2012 01:42:32 +0000 (21:42 -0400)]
s/E_DATA_CAL_VIEW_TYPE/E_TYPE_DATA_CAL_VIEW/
Matthew Barnes [Sat, 6 Oct 2012 21:24:18 +0000 (17:24 -0400)]
Bump libedata-cal soname for API changes in the following commits.
Matthew Barnes [Sun, 7 Oct 2012 21:41:41 +0000 (17:41 -0400)]
Remove e_data_book_register_gdbus_object().
The first thing we do after creating a new EDataBook is export its D-Bus
interface. This was a separate and failable operation. If the exporting
fails, the EDataBook is useless. Perfect use case for GInitable.
Now we pass the GDBusConnection and object path directly to
e_data_book_new(), and if the exporting fails the function sets a GError
and returns NULL.
This also introduces a couple accessor functions:
e_data_book_get_connection()
e_data_book_get_object_path()
Matthew Barnes [Sun, 7 Oct 2012 17:24:53 +0000 (13:24 -0400)]
Deprecate e_book_backend_foreach_view().
Use e_book_backend_list_views() instead.
Matthew Barnes [Sun, 7 Oct 2012 17:22:24 +0000 (13:22 -0400)]
backends/ldap: Prefer e_book_backend_list_views().
Less klunky than e_book_backend_foreach_view().
Matthew Barnes [Sun, 7 Oct 2012 17:43:52 +0000 (13:43 -0400)]
backends/ldap: Remove disabled code.
Bits of code disabled with no comment as to why => junk it.
Matthew Barnes [Sun, 7 Oct 2012 17:09:32 +0000 (13:09 -0400)]
backends/file: Prefer e_book_backend_list_views().
Less klunky than e_book_backend_foreach_view().
Matthew Barnes [Sun, 7 Oct 2012 16:15:35 +0000 (12:15 -0400)]
EBookBackend: Prefer e_book_backend_list_views().
Less klunky than e_book_backend_foreach_view().
Matthew Barnes [Sun, 7 Oct 2012 15:54:06 +0000 (11:54 -0400)]
e_book_backend_foreach_view: Use e_book_backend_list_views().
Holding a locked mutex while invoking callback functions we don't
control raises the potential for deadlock.
Matthew Barnes [Sun, 7 Oct 2012 15:02:53 +0000 (11:02 -0400)]
Add e_book_backend_list_views().
Alternative to e_book_backend_foreach_view().
Matthew Barnes [Sun, 7 Oct 2012 15:41:34 +0000 (11:41 -0400)]
Rename e_book_backend_remove_book_view().
Rename to e_book_backend_remove_view() [cf. e_cal_backend_remove_view()].
Matthew Barnes [Sun, 7 Oct 2012 15:40:31 +0000 (11:40 -0400)]
Rename e_book_backend_add_book_view().
Rename to e_book_backend_add_view() [cf. e_cal_backend_add_view()].
Matthew Barnes [Sun, 7 Oct 2012 15:38:32 +0000 (11:38 -0400)]
Rename e_book_backend_stop_book_view().
Rename to e_book_backend_stop_view() [cf. e_cal_backend_stop_view()].
Also rename the EBookBackend.stop_book_view() method to stop_view()
and adapt the built-in address book backends.
Matthew Barnes [Sun, 7 Oct 2012 15:26:19 +0000 (11:26 -0400)]
Rename e_book_backend_start_book_view().
Rename to e_book_backend_start_view() [cf. e_cal_backend_start_view()].
Also rename the EBookBackend.start_book_view() method to start_view()
and adapt the built-in address book backends.
Matthew Barnes [Sun, 7 Oct 2012 12:18:06 +0000 (08:18 -0400)]
EBookBackend: Prefer GList over GSList.
Matthew Barnes [Sun, 7 Oct 2012 03:12:12 +0000 (23:12 -0400)]
EGdbusBook: Remove the remove() method.
Not used anymore. Remove the ESource instead.
This also takes out the following backend functions:
e_book_backend_remove()
e_book_backend_sync_remove()
e_data_book_respond_remove()
Matthew Barnes [Sun, 7 Oct 2012 03:11:19 +0000 (23:11 -0400)]
EBook: Reimplement "remove" functions.
Have them just call e_source_remove() or e_source_remove_sync().
Matthew Barnes [Sun, 7 Oct 2012 01:46:53 +0000 (21:46 -0400)]
Remove e_data_book_view_ref/unref().
These are just old wrappers for g_object_ref/unref().
Matthew Barnes [Sat, 6 Oct 2012 21:22:27 +0000 (17:22 -0400)]
Bump libedata-book soname for API changes in the following commits.
Matthew Barnes [Sat, 6 Oct 2012 21:29:54 +0000 (17:29 -0400)]
Move ECalClientSourceType enum to e-cal-types.h.
Let glib-mkenums generate the GEnumClass for it.
Matthew Barnes [Sat, 6 Oct 2012 23:34:48 +0000 (19:34 -0400)]
e-cal-client.c cleanups.
Mostly just code rearrangement.
Matthew Barnes [Sat, 6 Oct 2012 22:18:18 +0000 (18:18 -0400)]
e-book-client.c cleanups.
Mostly just code rearrangement.
Matthew Barnes [Sat, 6 Oct 2012 20:37:00 +0000 (16:37 -0400)]
e-data-cal-view.h readability cleanups.
Matthew Barnes [Sat, 6 Oct 2012 20:14:31 +0000 (16:14 -0400)]
e-data-cal.h readability cleanups.
Matthew Barnes [Sat, 6 Oct 2012 19:49:14 +0000 (15:49 -0400)]
e-cal-backend-sync.h readability cleanups.
Matthew Barnes [Sat, 6 Oct 2012 21:09:03 +0000 (17:09 -0400)]
e-cal-backend-sexp.h readability cleanups.
Matthew Barnes [Sat, 6 Oct 2012 19:42:41 +0000 (15:42 -0400)]
e-cal-backend.h readability cleanups.
Matthew Barnes [Sat, 6 Oct 2012 20:24:37 +0000 (16:24 -0400)]
Remove e-data-cal-common.h.
Keep type defintions where they belong.
Matthew Barnes [Sat, 6 Oct 2012 19:13:59 +0000 (15:13 -0400)]
e-cal-client.h readability cleanups.
Matthew Barnes [Sat, 6 Oct 2012 16:58:54 +0000 (12:58 -0400)]
e-data-book-view.h readability cleanups.
Matthew Barnes [Sat, 6 Oct 2012 16:27:23 +0000 (12:27 -0400)]
e-data-book.h readability cleanups.
Matthew Barnes [Sat, 6 Oct 2012 16:54:09 +0000 (12:54 -0400)]
e-book-backend-sync.h readability cleanups.
Matthew Barnes [Sat, 6 Oct 2012 16:35:45 +0000 (12:35 -0400)]
e-book-backend.h readability cleanups.
Matthew Barnes [Sat, 6 Oct 2012 17:49:27 +0000 (13:49 -0400)]
e-book-client.h readability cleanups.
Matthew Barnes [Sat, 6 Oct 2012 17:31:37 +0000 (13:31 -0400)]
e-client-utils.h readability cleanups.
Matthew Barnes [Sat, 6 Oct 2012 17:28:49 +0000 (13:28 -0400)]
e-client.h readability cleanups.
Luca Ferretti [Sun, 7 Oct 2012 19:28:37 +0000 (21:28 +0200)]
l10n: Updated Italian translation
Matthew Barnes [Sun, 7 Oct 2012 17:32:32 +0000 (13:32 -0400)]
api-docs: Hide EBookBackendClass.
Matthew Barnes [Sun, 7 Oct 2012 15:15:37 +0000 (11:15 -0400)]
api-docs: Add indices for new symbols in 3.8
Peter Hurley [Fri, 5 Oct 2012 23:15:28 +0000 (19:15 -0400)]
Bug 685588 - Remove useless LIBICAL_CFLAGS and LIBICAL_LIBS
These variables are no longer defined by configure.ac but they're still
hanging around in a few Makefile.am files.
Alexander Shopov [Wed, 3 Oct 2012 03:54:08 +0000 (06:54 +0300)]
Updated Bulgarian translation
Fabien Tassin [Tue, 2 Oct 2012 10:14:42 +0000 (06:14 -0400)]
libedataserver.pc.in: Replace gnome-keyring-1 with libsecret-1.
Matthew Barnes [Mon, 1 Oct 2012 15:05:00 +0000 (11:05 -0400)]
Camel: Improve readability of junk filtering logic.
Also make the logic more debuggable. Junk filtering errors were
being silently discarded without so much as a console warning.
Antoine Jacoutot [Sun, 30 Sep 2012 09:10:13 +0000 (11:10 +0200)]
do not hardcode -lgcov
While a check for libgcov is made at configure time, -lgcov was still
hardcoded here. So use $(CODE_COVERAGE_LDFLAGS) instead.
https://bugzilla.gnome.org/show_bug.cgi?id=685127
Matthew Barnes [Sun, 30 Sep 2012 13:01:39 +0000 (09:01 -0400)]
NEWS: Mention libsecret-1 dependency.
Stef Walter [Mon, 16 Jul 2012 13:01:24 +0000 (09:01 -0400)]
Bug 679914 - Replace libgnomekeyring with libsecret
Matthew Barnes [Sun, 30 Sep 2012 11:50:26 +0000 (07:50 -0400)]
imapx_connect_to_server: Avoid a runtime warning.
Check that the IMAPX stream is non-NULL before unreferencing it during
failure cleanup.
Žygimantas Beručka [Sun, 30 Sep 2012 10:48:35 +0000 (13:48 +0300)]
Updated Lithuanian translation
Chao-Hsiung Liao [Sun, 30 Sep 2012 00:01:39 +0000 (08:01 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Timo Jyrinki [Wed, 26 Sep 2012 08:37:13 +0000 (11:37 +0300)]
Updated Finnish translation
Petr Kovar [Mon, 24 Sep 2012 13:39:03 +0000 (15:39 +0200)]
Updated Czech translation by Jiri Eischmann
Andika Triwidada [Mon, 24 Sep 2012 11:27:39 +0000 (18:27 +0700)]
Updated Indonesian translation
Alexandre Franke [Sun, 23 Sep 2012 20:30:49 +0000 (22:30 +0200)]
Update French translation
Yuri Myasoedov [Sun, 23 Sep 2012 16:19:59 +0000 (20:19 +0400)]
Updated Russian translation
Flemming Christensen [Sun, 23 Sep 2012 15:06:41 +0000 (17:06 +0200)]
Updated Danish translation
Matej Urbančič [Sat, 22 Sep 2012 20:26:17 +0000 (22:26 +0200)]
Updated Slovenian translation
Nilamdyuti Goswami [Sat, 22 Sep 2012 09:49:41 +0000 (15:19 +0530)]
Assamese translation updated
Carles Ferrando [Sat, 22 Sep 2012 07:32:33 +0000 (09:32 +0200)]
[l10n]Updated Catalan (Valencian) translation
Gil Forcada [Sat, 22 Sep 2012 07:32:26 +0000 (09:32 +0200)]
[l10n] Updated Catalan translation
Gabor Kelemen [Thu, 20 Sep 2012 13:54:05 +0000 (15:54 +0200)]
Updated Hungarian translation
Krishnababu Krothapalli [Thu, 20 Sep 2012 10:39:38 +0000 (16:09 +0530)]
Updated Telugu Translations
Runa Bhattacharjee [Thu, 20 Sep 2012 07:09:59 +0000 (12:39 +0530)]
Updated Bengali India Translation
A S Alam [Wed, 19 Sep 2012 14:29:59 +0000 (19:59 +0530)]
update Punjabi Translation
Matej Urbančič [Wed, 19 Sep 2012 13:23:02 +0000 (15:23 +0200)]
Updated Slovenian translation
Rajesh Ranjan [Tue, 18 Sep 2012 07:11:21 +0000 (12:41 +0530)]
hindi update
Rafael Ferreira [Tue, 18 Sep 2012 00:31:47 +0000 (21:31 -0300)]
Updated Brazilian Portuguese translation
Matej Urbančič [Mon, 17 Sep 2012 19:57:49 +0000 (21:57 +0200)]
Updated Slovenian translation
Milan Crha [Mon, 17 Sep 2012 16:35:10 +0000 (18:35 +0200)]
Bug #549819 - Cannot specify a custom sendmail program
Rūdolfs Mazurs [Sun, 16 Sep 2012 20:32:08 +0000 (23:32 +0300)]
Updated Latvian translation
Matthew Barnes [Sun, 16 Sep 2012 15:08:54 +0000 (11:08 -0400)]
Bump version to 3.7.1.
Matthew Barnes [Sun, 16 Sep 2012 13:56:04 +0000 (09:56 -0400)]
Post-release version bump.