commit 025a6544787772ba2dcb86bf40c21e5abdf83762 Author: Philip Withnall Date: Sun Jun 12 12:38:59 2011 +0100 docs: Fix builddir ≠ srcdir documentation builds docs/reference/Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 8f490d76e6586bc88f5af88f9764e829075adfe8 Author: Philip Withnall Date: Sat Jun 11 16:51:42 2011 +0100 contacts: Remove gdata_contacts_contact_has_photo() It was deprecated, and since version 0.9.0 breaks API, what harm can removing it do? API changes: • Remove gdata_contacts_contact_has_photo() and GDataContactsContact:has-photo (use gdata_contacts_contact_get_photo_etag() instead) docs/reference/gdata-sections.txt | 2 +- gdata/gdata.symbols | 1 - gdata/services/contacts/gdata-contacts-contact.c | 53 +++------------------- gdata/services/contacts/gdata-contacts-contact.h | 1 - 4 files changed, 7 insertions(+), 50 deletions(-) commit 1de4b2f017f1e743a84bc88bbd26851b860e61c1 Author: Gil Forcada Date: Sat Jun 11 20:36:58 2011 +0200 [l10n]Updated Catalan translation po/ca.po | 328 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 170 insertions(+), 158 deletions(-) commit 5af9a0151de5625736773083ed033c328c438188 Author: Matej Urbančič Date: Fri Jun 10 20:10:18 2011 +0200 Updated Slovenian translation po/sl.po | 325 +++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 172 insertions(+), 153 deletions(-) commit 05787c583f870dc65c5f9d85e30a6a59906fd128 Author: Mario Blättermann Date: Fri Jun 10 11:21:29 2011 +0200 [l10n] Updated German translation po/de.po | 337 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 174 insertions(+), 163 deletions(-) commit 4a91a5cac302a0b8fc1d49fbe54cbc840b065663 Author: Yaron Shahrabani Date: Fri Jun 10 08:09:12 2011 +0300 Updated Hebrew translation. po/he.po | 325 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 169 insertions(+), 156 deletions(-) commit fa6c25b6af8734b8e1a20379b9dd98bf83145de9 Author: Philip Withnall Date: Tue Jun 7 10:43:46 2011 +0100 docs: Fix some typos in gdata-sections.txt They were breaking the documentation for GDataOAuth1Authorizer. docs/reference/gdata-sections.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 84060afb583fc5c9642861eb9ccd82488000f906 Author: P. F. Chimento Date: Mon Jun 6 21:28:53 2011 +0200 introspection: Fix introspection for GCancellable parameters ...and progress callbacks in non-async functions See bug #649728 gdata/gdata-access-handler.c | 8 +++--- gdata/gdata-batch-operation.c | 4 +- gdata/gdata-buffer.c | 2 +- gdata/gdata-client-login-authorizer.c | 4 +- gdata/gdata-service.c | 24 ++++++++-------- gdata/services/calendar/gdata-calendar-service.c | 28 ++++++++++---------- gdata/services/contacts/gdata-contacts-contact.c | 8 +++--- gdata/services/contacts/gdata-contacts-service.c | 24 ++++++++-------- gdata/services/documents/gdata-documents-service.c | 18 ++++++------ gdata/services/picasaweb/gdata-picasaweb-service.c | 22 ++++++++-------- gdata/services/youtube/gdata-youtube-service.c | 28 ++++++++++---------- 11 files changed, 85 insertions(+), 85 deletions(-) commit b525bbc905144ce13af8d618022b671e3a4bf27c Author: Alexander Shopov Date: Tue Jun 7 08:31:02 2011 +0300 Updated Bulgarian translation po/bg.po | 338 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 175 insertions(+), 163 deletions(-) commit f29c72c363cd49276eef55ae44b85fa0a1a15adf Author: Marek Černocký Date: Tue Jun 7 07:21:08 2011 +0200 Updated Czech translation po/cs.po | 326 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 169 insertions(+), 157 deletions(-) commit c5e4594ca21225f81719b1a8d9b8ade3367d72e1 Author: Daniel Mustieles Date: Mon Jun 6 22:34:29 2011 +0200 Updated Spanish translation po/es.po | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit 62b86bbb7bc645dd4696e036d35a0e6235b01f67 Author: Daniel Mustieles Date: Mon Jun 6 22:25:02 2011 +0200 Updated Spanish translation po/es.po | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) commit 48c7061cc904a578523f679c073c5ce3b78caf71 Author: Jorge González Date: Mon Jun 6 20:56:38 2011 +0200 Updated Spanish translation po/es.po | 330 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 171 insertions(+), 159 deletions(-) commit c1b3f37923f3f5c22b691f65672a570742372f96 Author: Fran Diéguez Date: Mon Jun 6 11:22:04 2011 +0200 Updated Galician translations po/gl.po | 335 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 174 insertions(+), 161 deletions(-) commit 47d20c21e8986cdbab21098428dd57bca203f6ad Author: Philip Withnall Date: Sun May 29 22:38:39 2011 +0100 core: Add an OAuth 1.0 authoriser This adds a GDataAuthorizer implementation for OAuth 1.0, the current favourite authentication/authorization protocol in Google-land. This includes full documentation and a test suite. This makes the following API changes: • Add GDataOAuth1Authorizer and all its properties and methods. It also adds a dependency on liboauth ≥ 0.9.4. Helps: bgo#646285 Makefile.am | 4 +- README | 1 + configure.ac | 3 +- docs/reference/gdata-docs.xml | 1 + docs/reference/gdata-sections.txt | 32 + gdata/gdata-authorizer.c | 12 +- gdata/gdata-oauth1-authorizer.c | 1337 +++++++++++++++++++++++++++++++++++++ gdata/gdata-oauth1-authorizer.h | 97 +++ gdata/gdata.h | 1 + gdata/gdata.symbols | 16 + gdata/tests/Makefile.am | 3 + gdata/tests/common.c | 28 +- gdata/tests/common.h | 1 + gdata/tests/oauth1-authorizer.c | 1048 +++++++++++++++++++++++++++++ po/POTFILES.in | 1 + 15 files changed, 2575 insertions(+), 10 deletions(-) commit 65d3e0c373edcaf199b4d3dc3499b237bb620fc1 Author: Philip Withnall Date: Sat May 28 14:56:48 2011 +0100 docs: Add new symbol list for 0.9.0 docs/reference/gdata-docs.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 2957118536be2c51c9e4c8c14b52c95db7717725 Author: Philip Withnall Date: Thu May 5 23:29:14 2011 +0100 core: Remove the old authentication API in favour of a new GDataAuthorizer API This separates authentication and authorisation from the services themselves, allowing authorisation schemes to be plugged in as they pop into and out of fashion. This removes the old gdata_service_authenticate() methods, replacing them with an equivalent GDataClientLoginAuthorizer. Full test cases are provided, covering everything except parsing of error responses from the server by GDataClientLoginAuthorizer. This makes the following API changes: • Rename GDataAuthenticationError to GDataClientLoginAuthorizerError Rename GDATA_AUTHENTICATION_ERROR and gdata_authentication_error_quark() similarly. • Remove gdata_service_authenticate() in favour of using GDataClientLoginAuthorizer with GDataService::authorizer: - Remove gdata_service_authenticate(), gdata_service_authenticate_async() and gdata_service_authenticate_finish(). - Replace gdata_service_is_authenticated() by gdata_service_is_authorized() with much the same functionality. - Add GDataService::authorizer, gdata_service_get_authorizer(), gdata_service_set_authorizer() and gdata_service_get_authorization_domains(). - Remove gdata_service_get_client_id() in favour of GDataClientLoginAuthorizer::client-id. - Remove gdata_service_get_username() in favour of GDataClientLoginAuthorizer::username. - Remove gdata_service_get_password() in favour of GDataClientLoginAuthorizer::password. - Remove GDataServiceClass->service_name in favour of GDataAuthorizationDomain::service-name. - Remove GDataServiceClass->authentication_uri and GDataServiceClass->parse_authentication_response in favour of different GDataAuthorizer implementations. - Add GDataAuthorizer parameters to and remove client_id parameters from: gdata_calendar_service_new(), gdata_contacts_service_new(), gdata_documents_service_new(), gdata_picasaweb_service_new() and gdata_youtube_service_new(). • Add GDataAuthorizationDomain. - Add GDataServiceClass->get_authorization_domains and gdata_service_get_authorization_domains(). - Add auth. domain getters to various GDataService subclasses: gdata_youtube_service_get_primary_authorization_domain(), gdata_contacts_service_get_primary_authorization_domain(), gdata_calendar_service_get_primary_authorization_domain(), gdata_picasaweb_service_get_primary_authorization_domain(), gdata_documents_service_get_primary_authorization_domain() and gdata_documents_service_get_spreadsheet_authorization_domain(). - Add auth. domain properties to various standalone request objects: GDataDownloadStream::authorization-domain with gdata_download_stream_get_authorization_domain(), GDataUploadStream::authorization-domain with gdata_upload_stream_get_authorization_domain() and GDataBatchOperation::authorization-domain with gdata_batch_operation_get_authorization_domain(). - Add GDataAccessHandlerIface->get_authorization_domain. This doesn't have to be implemented by existing GDataAccessHandlers, but it's highly recommended. - Add a GDataAuthorizationDomain parameter to GDataServiceClass->append_query_headers, gdata_service_query(), gdata_service_query_async(), gdata_service_query_single_entry(), gdata_service_query_single_entry_async(), gdata_service_insert_entry(), gdata_service_insert_entry_async(), gdata_service_update_entry(), gdata_service_update_entry_async(), gdata_service_delete_entry(), gdata_service_delete_entry_async(), gdata_batchable_create_operation(), gdata_download_stream_new() and gdata_upload_stream_new(). • Add GDataAuthorizer as described above, implemented by GDataClientLoginAuthorizer. Helps: bgo#646285 Makefile.am | 10 +- docs/reference/gdata-docs.xml | 7 + docs/reference/gdata-sections.txt | 94 ++- gdata/gdata-access-handler.c | 14 +- gdata/gdata-access-handler.h | 9 +- gdata/gdata-authorization-domain.c | 197 ++++ gdata/gdata-authorization-domain.h | 69 ++ gdata/gdata-authorizer.c | 310 +++++ gdata/gdata-authorizer.h | 90 ++ gdata/gdata-batch-operation.c | 66 +- gdata/gdata-batch-operation.h | 2 + gdata/gdata-batchable.c | 18 +- gdata/gdata-batchable.h | 4 +- gdata/gdata-client-login-authorizer.c | 1218 ++++++++++++++++++++ gdata/gdata-client-login-authorizer.h | 130 +++ gdata/gdata-download-stream.c | 79 ++- gdata/gdata-download-stream.h | 3 +- gdata/gdata-private.h | 49 +- gdata/gdata-service.c | 1048 ++++++----------- gdata/gdata-service.h | 101 +-- gdata/gdata-upload-stream.c | 90 ++- gdata/gdata-upload-stream.h | 6 +- gdata/gdata.h | 3 + gdata/gdata.symbols | 46 +- gdata/media/gdata-media-content.c | 2 +- gdata/media/gdata-media-thumbnail.c | 2 +- gdata/services/calendar/gdata-calendar-calendar.c | 11 +- gdata/services/calendar/gdata-calendar-service.c | 88 +- gdata/services/calendar/gdata-calendar-service.h | 4 +- gdata/services/contacts/gdata-contacts-contact.c | 6 +- gdata/services/contacts/gdata-contacts-service.c | 81 +- gdata/services/contacts/gdata-contacts-service.h | 4 +- .../services/documents/gdata-documents-document.c | 18 +- gdata/services/documents/gdata-documents-entry.c | 8 + gdata/services/documents/gdata-documents-service.c | 205 ++-- gdata/services/documents/gdata-documents-service.h | 6 +- .../documents/gdata-documents-spreadsheet.c | 3 +- gdata/services/picasaweb/gdata-picasaweb-service.c | 109 ++- gdata/services/picasaweb/gdata-picasaweb-service.h | 4 +- gdata/services/youtube/gdata-youtube-service.c | 109 ++- gdata/services/youtube/gdata-youtube-service.h | 4 +- gdata/services/youtube/gdata-youtube-video.c | 2 +- gdata/tests/Makefile.am | 6 + gdata/tests/authorization.c | 795 +++++++++++++ gdata/tests/calendar.c | 90 +- gdata/tests/client-login-authorizer.c | 745 ++++++++++++ gdata/tests/common.h | 11 +- gdata/tests/contacts.c | 110 ++- gdata/tests/documents.c | 167 ++- gdata/tests/general.c | 7 +- gdata/tests/memory.c | 7 +- gdata/tests/picasaweb.c | 84 +- gdata/tests/streams.c | 8 +- gdata/tests/youtube.c | 104 ++- po/POTFILES.in | 1 + 55 files changed, 5178 insertions(+), 1286 deletions(-) commit d9add17fb43e405f5c72135cf71952e817f4f968 Author: Carles Ferrando Date: Sun May 29 14:13:55 2011 +0200 [l10n]Updated Catalan (Valencian) translation po/ca@valencia.po | 200 ++++++++++++++++++++++++++++------------------------- 1 files changed, 106 insertions(+), 94 deletions(-) commit 2ef5875aad2d628578c2f6e4c9f01769594acbd1 Author: Philip Withnall Date: Mon May 23 23:08:05 2011 +0100 core: Don't assume that messages can't be cancelled externally In _gdata_service_actually_send_message() we were previously assuming that we were the only code which could cancel an in-progress message's request. This isn't true. soup_session_abort() can be called from anywhere else and will explicitly cancel all in-progress requests. This could happen if the GDataService is disposed of, which would cause the SoupSession to be disposed of, which causes it to abort all in-progress requests. Alternatively, it could happen if the GDataService's (and hence SoupSession's) proxy URI is changed. To fix this, we: • now hold a reference to the session and message in _gdata_service_actually_send_message() so that they're kept alive throughout the request; and we • no longer assume that a cancelled message was cancelled by us, removing the assertion which caused the crash in bgo#650835. Fixes: bgo#650835 gdata/gdata-service.c | 24 +++++++++++++++++++++--- 1 files changed, 21 insertions(+), 3 deletions(-) commit 9615d1d9381724c9af87421289a19470d4e8d7e7 Author: Abduxukur Abdurixit Date: Mon May 2 07:29:19 2011 +0200 Added UG translation po/ug.po | 903 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 473 insertions(+), 430 deletions(-) commit 8762d9f119962eb77808f2ab7357d20e881ba03c Author: Akom Chotiphantawanon Date: Tue Apr 26 00:13:13 2011 +0700 Added Thai translation. po/LINGUAS | 1 + po/th.po | 431 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 432 insertions(+), 0 deletions(-) commit f5779abdbc00a2cd26b858c421f3ba1345334873 Author: Kristjan SCHMIDT Date: Thu Apr 21 20:32:32 2011 +0200 Add Esperanto translation po/LINGUAS | 1 + po/eo.po | 436 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 437 insertions(+), 0 deletions(-) commit 9560c55e2163e15d4b486eaadd6f9f336fa7f816 Author: Philip Withnall Date: Tue Apr 19 09:13:01 2011 +0100 Bug 648058 — Doesn't allow empty names for user defined fields Allow Google Contacts' user defined fields to have empty names. Test cases updated. Closes: bgo#648058 gdata/services/contacts/gdata-contacts-contact.c | 11 ++++++++--- gdata/tests/contacts.c | 6 ++++-- 2 files changed, 12 insertions(+), 5 deletions(-) commit 943a48eb048e3aae0cff9ecc24249757fef189e6