commit f6340dafe5b5ac872d48aeb3b4cb42f594d3cee4 Author: Philip Withnall Date: Fri Apr 24 02:35:28 2015 +0100 tests: Temporarily disable a few tests which have not been updated Disable the Drive and YouTube unit tests, as they have not been updated from master to match the new JSON APIs (vs the old XML ones). gdata/tests/Makefile.am | 10 +++++----- gdata/tests/general.c | 3 ++- gdata/tests/picasaweb.c | 4 ++-- 3 files changed, 9 insertions(+), 8 deletions(-) commit 8b448859ffb635b1de66bcf5fe51bf4d95c2c419 Author: Philip Withnall Date: Fri Apr 24 01:38:18 2015 +0100 docs: Add missing Freebase symbol to sections.txt docs/reference/gdata-sections.txt | 1 + 1 file changed, 1 insertion(+) commit c3f35353ec030d7e54aa496d9c0d5ca6af6ec401 Author: Philip Withnall Date: Fri Apr 24 01:35:37 2015 +0100 youtube: Remove some G_GNUC_DEPRECATED to un-break gtk-doc gtk-doc apparently cannot parse G_GNUC_DEPRECATED applied after struct typedefs, so remove them. gdata/services/youtube/gdata-youtube-content.h | 8 +++----- gdata/services/youtube/gdata-youtube-credit.h | 6 ++---- gdata/services/youtube/gdata-youtube-query.h | 4 ++-- 3 files changed, 7 insertions(+), 11 deletions(-) commit 92c9c1b488a5da38a100ddc19b3544e702bd3cd8 Author: Philip Withnall Date: Fri Apr 24 01:15:41 2015 +0100 documents: Use standard ‘Deprecated’ syntax in gtk-doc comments Standardise with the rest of libgdata, and the gtk-doc manual. gdata/services/documents/gdata-documents-entry.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit d6e64a18cc28b6d8feb62d739d8b3d1eedf392d4 Author: Philip Withnall Date: Fri Apr 24 01:14:29 2015 +0100 core: Use standard ‘Deprecated’ syntax in gtk-doc comments Standardise with the rest of libgdata, and the gtk-doc manual. gdata/gdata-client-login-authorizer.c | 6 +++--- gdata/gdata-oauth1-authorizer.c | 6 +++--- gdata/gdata-service.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) commit 598cac2f34b5265d541131942fc75467ddbdaeef Author: Piotr Drąg Date: Thu Apr 23 23:09:38 2015 +0200 Updated POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 6be3965c97cc3af1ea783166dd7c700129abe67a Author: Debarshi Ray Date: Thu Apr 23 13:22:03 2015 +0200 documents: Parse lastViewedByMeDate as GDataDocumentsEntry:last-viewed https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/services/documents/gdata-documents-entry.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 232c559afd9da9c21733ae77b6bdc357d63673a8 Author: Debarshi Ray Date: Thu Apr 16 20:10:05 2015 +0200 documents: Support thumbnails and downloads using Drive v2 https://bugzilla.gnome.org/show_bug.cgi?id=684920 .../services/documents/gdata-documents-document.c | 122 ++++++++++++++++++++- 1 file changed, 120 insertions(+), 2 deletions(-) commit d93279623e34c7b275ae3f989b54c6f3a30d5658 Author: Debarshi Ray Date: Tue Mar 31 16:04:33 2015 +0200 documents: Add support for parsing Drive v2 files We don't override GDataEntry:id any more. It is now identical to GDataDocumentsEntry:document-id. https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/services/documents/gdata-documents-entry.c | 454 +++++++++++++++++------ 1 file changed, 350 insertions(+), 104 deletions(-) commit 3bb5feaaf360fd946b5bd89a3a1345309a4d8d77 Author: Debarshi Ray Date: Mon Mar 30 18:39:47 2015 +0200 documents: Add support for parsing Drive v2 file lists https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/services/documents/gdata-documents-feed.c | 175 ++++++++++++++++-------- 1 file changed, 121 insertions(+), 54 deletions(-) commit 72c1ae9fa445aca7cc24573e4d381cf66d17c704 Author: Debarshi Ray Date: Thu Apr 23 13:06:09 2015 +0200 documents: Deprecate GDataDocumentsEntry:edited The Drive v2 API does not have the concept of ‘significant changes’, so GDataDocumentsEntry:edited is now identical to GDataEntry:updated. https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/services/documents/gdata-documents-entry.c | 37 ++++-------------------- gdata/services/documents/gdata-documents-entry.h | 2 +- gdata/tests/documents.c | 2 ++ 3 files changed, 8 insertions(+), 33 deletions(-) commit 4d2dce3539a40a93b0db3a6aad62aa04c005276f Author: Debarshi Ray Date: Fri Apr 17 12:51:53 2015 +0200 documents: Use Drive v2 scopes https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/services/documents/gdata-documents-service.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 54da3958675d2b8cdd0cedf19e5a5b5ffc7c6d92 Author: Debarshi Ray Date: Thu Apr 16 18:48:16 2015 +0200 documents: Point the entry URI at the Drive v2 API https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/services/documents/gdata-documents-entry.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) commit ac384ef8538871ee7e52fbfcb4e989c0a04a8aae Author: Debarshi Ray Date: Mon Mar 30 20:03:20 2015 +0200 documents: Point the request uri at the Drive v2 API https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/services/documents/gdata-documents-service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9c996d5789107fdfc56a3cfff8264a978ac95123 Author: Philip Withnall Date: Wed Apr 22 00:46:58 2015 +0100 app: Remove unused XML parsing code from GDataAPPCategories No longer needed after porting the YouTube API to v3, which uses JSON. https://bugzilla.gnome.org/show_bug.cgi?id=687597 gdata/app/gdata-app-categories.c | 66 +--------------------------------------- 1 file changed, 1 insertion(+), 65 deletions(-) commit 727c13a632fbc6a9fd60d9b66921e12b618b55f5 Author: Philip Withnall Date: Sun Apr 19 20:43:17 2015 +0100 youtube: Port to the YouTube API version 3 Deprecated API: • GDataYouTubeQuery:format, gdata_youtube_query_get_format(), gdata_youtube_query_set_format() • GDataYouTubeQuery:has-location • GDataYouTubeQuery:language, gdata_youtube_query_get_language(), gdata_youtube_query_set_language() • GDataYouTubeQuery:sort-order, gdata_youtube_query_get_sort_order(), gdata_youtube_query_set_sort_order() • GDataYouTubeQuery:uploader, gdata_youtube_query_get_uploader(), gdata_youtube_query_set_uploader() • GDataYouTubeSortOrder • GDataYouTubeUploader • GDataYouTubeContent • GDataYouTubeFormat • GDataYouTubeVideo:video-id, gdata_youtube_video_get_video_id() • gdata_youtube_video_look_up_content() (use gdata_youtube_video_get_player_uri() instead) • GDATA_YOUTUBE_RATING_TYPE_SIMPLE • GDataYouTubeCredit, GDATA_YOUTUBE_CREDIT_ENTITY_PARTNER • GDataYouTubeVideo:credit, gdata_youtube_video_get_credit() • GDataYouTubeVideo:is-draft, gdata_youtube_video_is_draft(), gdata_youtube_video_set_is_draft() • GDATA_YOUTUBE_*_FEED except GDATA_YOUTUBE_MOST_POPULAR_FEED (all others have been deprecated online and will transparently return the most popular videos from the past 24 hours) API changes: • GDataYouTubeQuery:restriction no longer accepts IP addresses • All GDataCommentable functionality on GDataYouTubeVideo is disabled at runtime until the v3 YouTube API for comments is finished online • Not all properties of a GDataYouTubeVideo may be retrieved when doing searches, retrieving related videos, or listing standard feeds — to guarantee getting all properties, use gdata_service_query_single_entry() for the video in question; common properties such as title, description, player URI and thumbnails will always be retrieved Internally, the GDataYouTubeControl and GDataYouTubeGroup APIs have been removed, but they were never visible publicly, so this is not an API break. Due to the transition from v2 to v3 of the YouTube API, your client’s developer key may stop working. Refresh it here: https://developers.google.com/youtube/registering_an_application https://bugzilla.gnome.org/show_bug.cgi?id=687597 Makefile.am | 5 - docs/reference/Makefile.am | 2 - gdata/services/youtube/gdata-youtube-content.c | 15 +- gdata/services/youtube/gdata-youtube-content.h | 31 +- gdata/services/youtube/gdata-youtube-control.c | 183 --- gdata/services/youtube/gdata-youtube-control.h | 75 -- gdata/services/youtube/gdata-youtube-credit.c | 14 +- gdata/services/youtube/gdata-youtube-credit.h | 28 +- gdata/services/youtube/gdata-youtube-group.c | 261 ----- gdata/services/youtube/gdata-youtube-group.h | 80 -- gdata/services/youtube/gdata-youtube-query.c | 276 ++++- gdata/services/youtube/gdata-youtube-query.h | 37 +- gdata/services/youtube/gdata-youtube-service.c | 511 +++++--- gdata/services/youtube/gdata-youtube-service.h | 59 +- gdata/services/youtube/gdata-youtube-state.c | 50 +- gdata/services/youtube/gdata-youtube-video.c | 1495 ++++++++++++++++++------ gdata/services/youtube/gdata-youtube-video.h | 22 +- gdata/tests/youtube.c | 20 + 18 files changed, 1823 insertions(+), 1341 deletions(-) commit 4cf196ef256c2869a35bfdd086e2fdf0ee1da64e Author: Philip Withnall Date: Sun Apr 19 18:24:22 2015 +0100 youtube: Add a GDataYouTubeFeed helper class for parsing feeds This parses YouTube-specific properties of the feed — specifically, the total-results and items-per-page, which were previously handled in a service-agnostic manner by GDataFeed, but YouTube doesn’t conform to that. This adds the following new API: • GDataYouTubeFeed https://bugzilla.gnome.org/show_bug.cgi?id=687597 Makefile.am | 4 +- docs/reference/gdata-docs.xml | 1 + docs/reference/gdata-sections.txt | 17 +++++ gdata/gdata.h | 1 + gdata/gdata.symbols | 1 + gdata/services/youtube/gdata-youtube-feed.c | 102 +++++++++++++++++++++++++ gdata/services/youtube/gdata-youtube-feed.h | 74 ++++++++++++++++++ gdata/services/youtube/gdata-youtube-service.c | 2 + 8 files changed, 201 insertions(+), 1 deletion(-) commit 53ae5fcdd66378e1d3d4fd64588f71a49bda7694 Author: Debarshi Ray Date: Fri Apr 17 15:14:08 2015 +0200 documents: Deprecate document-id GDataDocumentsEntry:document-id was actually already deprecated (in the gtk-doc comment); it just wasn’t marked with G_PARAM_DEPRECATED. https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/services/documents/gdata-documents-entry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5fd7761658607ac97f752d9bee98be6c3de09499 Author: Philip Withnall Date: Sun Apr 19 20:33:28 2015 +0100 tests: Allow use of deprecated API in unit tests We need to test that the behaviour of deprecated API doesn’t change across the versions of libgdata, which requires it to be accessible in the headers, and hence LIBGDATA_DISABLE_DEPRECATED cannot be defined. All deprecated API is marked with G_GNUC_DEPRECATED anyway, and the tests can explicitly disable this with G_GNUC_BEGIN_IGNORE_DEPRECATIONS. https://bugzilla.gnome.org/show_bug.cgi?id=687597 gdata/tests/Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 750bb7ffe6395d85d930948eaf93c0f323f3ef8d Author: Philip Withnall Date: Sun Apr 19 18:39:20 2015 +0100 core: Add new JSON internal parser helper methods New internal API: • gdata_parser_int_from_json_member() • gdata_parser_strv_from_json_member() These will be useful in upcoming changes to port to v3 of the YouTube API. https://bugzilla.gnome.org/show_bug.cgi?id=687597 gdata/gdata-parser.c | 169 +++++++++++++++++++++++++++++++++++++++++++++++++++ gdata/gdata-parser.h | 12 ++++ 2 files changed, 181 insertions(+) commit d8a40c6e4172ba26f57e65041667b5266f88fed1 Author: Philip Withnall Date: Sun Apr 19 18:34:16 2015 +0100 core: Add JSON support to GDataUploadStream Add support for JSON to the non-resumable and resumable code paths, so that GDataEntrys which specify application/json as their content type have JSON generated and uploaded, rather than XML. This will be useful for the upcoming port to v3 of the YouTube API. https://bugzilla.gnome.org/show_bug.cgi?id=687597 gdata/gdata-upload-stream.c | 79 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 61 insertions(+), 18 deletions(-) commit de74263ff38a9d3e9672b833e5883393b3a9854c Author: Philip Withnall Date: Sun Apr 19 18:29:29 2015 +0100 media: Add JSON support to GDataMediaThumbnail This will be used in the upcoming port to v3 of the YouTube API. https://bugzilla.gnome.org/show_bug.cgi?id=687597 gdata/media/gdata-media-thumbnail.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) commit 9dc3981167a70c404a236aeb368dc441e9f9714c Author: Philip Withnall Date: Sun Apr 19 18:23:16 2015 +0100 core: Add internal API for setting GDataFeed:total-results This will be useful in adding GDataYouTubeFeed, shortly. https://bugzilla.gnome.org/show_bug.cgi?id=687597 gdata/gdata-feed.c | 11 +++++++++++ gdata/gdata-private.h | 3 +++ 2 files changed, 14 insertions(+) commit f89b123bf15dc1f4eee107b6a65a2a6bd1273253 Author: Philip Withnall Date: Sun Apr 19 18:02:03 2015 +0100 app: Add support for JSON to GDataAPPCategories This allows downloading the YouTube category list with v3 of the YouTube API. https://bugzilla.gnome.org/show_bug.cgi?id=687597 gdata/app/gdata-app-categories.c | 76 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) commit b354ff4c392c6adf65ccb5340dfb17c0dbab8363 Author: Philip Withnall Date: Sun Apr 19 18:36:16 2015 +0100 core: Expose gdata_parser_error_from_json_error() internally Expose this as an internal helper function, which will be useful in upcoming commits. https://bugzilla.gnome.org/show_bug.cgi?id=687597 gdata/gdata-parser.c | 17 ++++++++++++----- gdata/gdata-parser.h | 3 +++ 2 files changed, 15 insertions(+), 5 deletions(-) commit 7fc7b3ad68ddca2c838651734b0c8a1d32da8449 Author: Philip Withnall Date: Sun Apr 19 20:44:14 2015 +0100 youtube: Fix default values of GDataYouTubeQuery location properties The latitude and longitude properties previously had 0.0 as their default value, which is a valid location. They should instead have G_MAXDOUBLE as their default, which is not a valid location — and hence doesn’t affect query results before the properties are set explicitly. https://bugzilla.gnome.org/show_bug.cgi?id=687597 gdata/services/youtube/gdata-youtube-query.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 7887424aed686642fa1ed61dff1409fb89eab7e1 Author: Philip Withnall Date: Sun Apr 19 17:59:18 2015 +0100 demos: Expand youtube-cli functionality Add support for all of the major features which our YouTube service currently supports: querying single videos, related videos, standard feeds, categories, and uploading videos. https://bugzilla.gnome.org/show_bug.cgi?id=687597 demos/youtube/youtube-cli.c | 494 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 480 insertions(+), 14 deletions(-) commit f35706c5057d948e468f93c57ffba4f415124c2b Author: Piotr Drąg Date: Fri Apr 17 19:47:40 2015 +0200 Updated POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 87389a294276de50db8e71eb35cd663b7266970d Author: Debarshi Ray Date: Thu Apr 16 18:51:57 2015 +0200 core: Get the content type from the response instead of hard coding it There are places where we need to hard code the content type used by a specific service API. eg., when we want to upload and need to know whether to send JSON or XML. However, in this case, we have the response from the server and we can find the content type from that. We are already doing it in a few other places, so let's do it here too. https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/gdata-service.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit c8b45de97cd6c975659a4fbb477c065bb64002a4 Author: Debarshi Ray Date: Thu Apr 16 15:14:22 2015 +0200 core: Add support for JSON to GDataAccessRule The ‘edited’ property is left unused. https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/gdata-access-rule.c | 69 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) commit 565bb3a7ffd945f4ee39ca4091be100f505a74ac Author: Debarshi Ray Date: Thu Apr 16 13:23:15 2015 +0200 core: Add support for JSON to GDataAccessHandler This includes initial code for detection of the Content Type of received messages, and parsing JSON or XML depending on that. https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/gdata-access-handler.c | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) commit d82abd75899683bfb5e9f677e8ca640fefe85efa Author: Debarshi Ray Date: Thu Apr 2 18:05:37 2015 +0200 core: Parse description from JSON https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/gdata-entry.c | 1 + 1 file changed, 1 insertion(+) commit b0d0c9dd7cecd2c43e559215b14a082999d5a917 Author: Philip Withnall Date: Thu Apr 16 00:47:14 2015 +0100 core: Add internal helper API for setting GDataEntry:id This will be used in the upcoming ports of various services to JSON. https://bugzilla.gnome.org/show_bug.cgi?id=687597 gdata/gdata-entry.c | 18 ++++++++++++++++++ gdata/gdata-private.h | 1 + 2 files changed, 19 insertions(+) commit c975b7b55a7c32f5d4146b1b799ad4c6456c7b17 Author: Philip Withnall Date: Thu Apr 16 00:46:32 2015 +0100 core: Add internal helper API for setting GDataEntry:published This will be used in the upcoming ports of services to JSON. https://bugzilla.gnome.org/show_bug.cgi?id=687597 gdata/gdata-entry.c | 16 ++++++++++++++++ gdata/gdata-private.h | 1 + 2 files changed, 17 insertions(+) commit d6ddcbfe28f236f3f6a17fd980f03b2306135ec8 Author: Philip Withnall Date: Tue Apr 14 00:50:19 2015 +0100 demos: Add youtube-cli demo This is a simple demo to search for YouTube videos on the command line. Makefile.am | 29 +++++++++++- demos/youtube/youtube-cli.c | 111 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 139 insertions(+), 1 deletion(-) commit c8c56eec911d58e167d3772dbc10f4e4242c10c0 Author: Philip Withnall Date: Mon Apr 13 23:57:55 2015 +0100 core: Correctly track JSON reader state when cloning nodes It is not safe to call json_reader_get_member_name() after recursing the parser state, so we have to copy the list of member names before iterating. gdata/gdata-parsable.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 94e5b8355ee3eda717c1a5e8d391478dd99a851a Author: Philip Withnall Date: Mon Apr 13 23:55:59 2015 +0100 core: Handle malformed OAuth2 grant response bodies It’s possible for the server to return an empty error response, which we must handle gracefully. gdata/gdata-oauth2-authorizer.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 220b4671bc4a8f503b4fdbebb06c01dd6c016b80 Author: Philip Withnall Date: Mon Apr 13 23:54:16 2015 +0100 core: Fix JSON parser state on hitting an error Close the entry element on error, otherwise the JsonParser stays in its error state. gdata/gdata-feed.c | 4 +++- gdata/gdata-parsable.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) commit 4496726447dd431004ccf872c45db6538df62fc2 Author: Carlos Garnacho Date: Tue Jan 6 18:35:38 2015 +0100 goa-authorizer: Set Authorization header as "Bearer ..." Starting with "OAuth..." seems a CnP/leftover from OAuth1 support. RFC 6750 only observes the "Bearer" keyword though. This also seems consistent with GDataOAuth2Authorizer. https://bugzilla.gnome.org/show_bug.cgi?id=742473 gdata/gdata-goa-authorizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit aab9947e41a1084ead6b8c82082a855656dd3e00 Author: Carlos Garnacho Date: Tue Jan 6 18:34:36 2015 +0100 goa-authorizer: Add freebase domain This is necessary for authorizers to correctly authorize freebase queries. https://bugzilla.gnome.org/show_bug.cgi?id=742473 gdata/gdata-goa-authorizer.c | 3 +++ 1 file changed, 3 insertions(+) commit 5b34fea33d00695c993e637bc1c4f823a32133f1 Author: Carlos Garnacho Date: Tue Jan 6 18:33:29 2015 +0100 freebase: Fix authorization domain Set up as per https://developers.google.com/freebase/v1/how-tos/authorizing#AboutAuthorization. https://bugzilla.gnome.org/show_bug.cgi?id=742473 gdata/services/freebase/gdata-freebase-service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 847f568fa01803cd386b1f096597b7cdd9aa9397 Author: Debarshi Ray Date: Thu Apr 2 15:05:46 2015 +0200 atom: Add macros for shared and viewed Having pre-defined and documented macros demystifies these strange URL-like strings for the application developer. This adds the following new API: • GDATA_CATEGORY_SCHEMA_LABELS_SHARED • GDATA_CATEGORY_SCHEMA_LABELS_VIEWED docs/reference/gdata-sections.txt | 2 ++ gdata/atom/gdata-category.h | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) commit 42a826fb41b3a7d41ece055b37eeca44ccaedab1 Author: Alexander Shopov Date: Sat Apr 11 14:03:58 2015 +0300 Updated Bulgarian translation po/bg.po | 308 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 193 insertions(+), 115 deletions(-) commit 2ae605eb932c288e539e695ac9bd817d4c57757c Author: Mattias Põldaru Date: Wed Apr 8 20:28:32 2015 +0300 [l10n] Updated Estonian translation po/et.po | 40 +++++++++++++++++++++++++--------------- 1 file changed, 25 insertions(+), 15 deletions(-) commit eeff9f9117a9a6cd79dfb8236b506896af60d815 Author: Samir Ribic Date: Fri Mar 13 21:01:58 2015 +0000 Added Bosnian translation po/LINGUAS | 1 + po/bs.po | 570 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 571 insertions(+) commit 044a2a93c97efa426e14a5317eeeccb97efae3a0 Author: Carlos Garnacho Date: Tue Jan 6 18:31:29 2015 +0100 tests: Indirectly test API keys Set a fake one on the service, so it can be checked when comparing with traces. https://bugzilla.gnome.org/show_bug.cgi?id=742472 gdata/tests/freebase.c | 2 +- gdata/tests/traces/freebase/search | 2 +- gdata/tests/traces/freebase/search-complex | 2 +- gdata/tests/traces/freebase/topic | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 540e624309b030af0e33ff1e43e278f9abcf4087 Author: Carlos Garnacho Date: Tue Jan 6 18:26:21 2015 +0100 freebase: Pass API key as a GET variable This needs including on every freebase request if a developer key is set by the caller. https://bugzilla.gnome.org/show_bug.cgi?id=742472 gdata/services/freebase/gdata-freebase-service.c | 34 ++++++++++++++++++++++++ 1 file changed, 34 insertions(+) commit 29ed453ec5328ac757313763b5ca9d3580d3c664 Author: Мирослав Николић Date: Wed Mar 4 20:44:46 2015 +0100 Updated Serbian translation po/sr.po | 164 ++++++++++++++++++++++++++++++++------------------------- po/sr@latin.po | 164 ++++++++++++++++++++++++++++++++------------------------- 2 files changed, 182 insertions(+), 146 deletions(-) commit 73031a3e21cd8c82f1465ba9e26c3c57781c67dd Author: Dušan Kazik Date: Sat Feb 28 16:19:07 2015 +0000 Updated Slovak translation po/sk.po | 224 +++++++++++++++++++++++++++------------------------------------ 1 file changed, 96 insertions(+), 128 deletions(-) commit 15f0272672b7f75071a0b83df6779ba974b1a6c1 Author: Philip Withnall Date: Fri Feb 6 13:58:28 2015 +0000 demos: Remove use of deprecated GTK+ API Put the widgets in the content area — they belong there anyway. demos/scrapbook/scrapbook.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 8400bc61775511ed7b4fbdeb4922f13824b2b65a Author: Carlos Garnacho Date: Sun Oct 5 18:38:24 2014 +0200 tests: Add tests for Freebase search API https://bugzilla.gnome.org/show_bug.cgi?id=737541 gdata/tests/freebase.c | 139 +++++++++++++++++++++++++++++ gdata/tests/traces/freebase/search | 28 ++++++ gdata/tests/traces/freebase/search-complex | 28 ++++++ 3 files changed, 195 insertions(+) commit 021370e3bf24ffdbf22e7d168a7487d51c519d93 Author: Carlos Garnacho Date: Sun Sep 28 19:18:04 2014 +0200 freebase: Fix locale-dependent issues in geolocated queries Latitude/longitude are really expected with a '.' decimal point by the service, breaking on locales that would use anything different. Use g_ascii_formatd which always uses the '.' decimal point. https://bugzilla.gnome.org/show_bug.cgi?id=737541 gdata/services/freebase/gdata-freebase-search-query.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 43dd1889c41286b0bce6dd3f1ff86716f9f79775 Author: Carlos Garnacho Date: Sun Sep 28 18:25:09 2014 +0200 freebase: Fix typo in search query The string array matches the GDataFreebaseSearchFilterType, using the FilterNodeType was unintended, and TYPE_CONTAINER happened to match GDATA_FREEBASE_SEARCH_FILTER_ALL. https://bugzilla.gnome.org/show_bug.cgi?id=737541 gdata/services/freebase/gdata-freebase-search-query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0e3915c67150dfdbc17305ec39cbebb244e3f31c Author: Carlos Garnacho Date: Sun Sep 28 18:37:26 2014 +0200 freebase: Create async topic replies with the correct GType The async version was wrongly using the parent type, so the returned object wasn't a GDataFreebaseTopicResult at all. https://bugzilla.gnome.org/show_bug.cgi?id=737540 gdata/services/freebase/gdata-freebase-service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2a939fd913db3ade85e7f71850bbd009690273d4 Author: Carlos Garnacho Date: Sun Oct 5 19:26:59 2014 +0200 freebase: Add GType for GDataFreebaseSearchResultItem Making it a boxed type makes it friendly to bindings, as there's some more embedded knowledge about how to deal with this type memory-wise. https://bugzilla.gnome.org/show_bug.cgi?id=737936 docs/reference/gdata-sections.txt | 1 + gdata/gdata.symbols | 1 + .../freebase/gdata-freebase-search-result.c | 21 +++++++++++++++++++++ .../freebase/gdata-freebase-search-result.h | 2 ++ 4 files changed, 25 insertions(+) commit 5c598dce8f092395c04d3b097669231c01cc0dc9 Author: Carlos Garnacho Date: Sun Oct 5 17:59:04 2014 +0200 tests: Add tests for freebase topic API https://bugzilla.gnome.org/show_bug.cgi?id=737539 gdata/tests/Makefile.am | 1 + gdata/tests/freebase.c | 304 +++ gdata/tests/traces/freebase/topic | 3758 +++++++++++++++++++++++++++++++++++++ 3 files changed, 4063 insertions(+) commit 460c79a61b727e21246b463c930d020aa1d482ec Author: Carlos Garnacho Date: Sun Sep 28 18:34:30 2014 +0200 freebase: Fix thinko when creating compound GDataFreebaseTopicObjects The check was actually inverted, receiving a newly created object is obviously the expected condition. This made the parsing of compound objects a lot more shallower than the received data. https://bugzilla.gnome.org/show_bug.cgi?id=737539 gdata/services/freebase/gdata-freebase-topic-result.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c28a745ad8cbd4e22dccee1c2921e062f39b09db Author: Carlos Garnacho Date: Sun Sep 28 18:29:40 2014 +0200 freebase: reader_fill_object_gvalue() is only meant for "object" types Compound types are only meant to be handled through reader_fill_compound_gvalue(), which will iterate through its "property" array. Otherwise, compound elements with an ID (which is not mandatory, but ok for these to have) would be created as shallow objects instead of containers of further objects/values. https://bugzilla.gnome.org/show_bug.cgi?id=737539 gdata/services/freebase/gdata-freebase-topic-result.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d848eb308c84d8bd2139618bad5197d83fd81fae Author: Debarshi Ray Date: Fri Dec 12 23:57:08 2014 +0000 demos: Add a docs-list demo Adapted from a bug report reproducer program by Debarshi Ray, this lists all the documents in the user’s Google Documents account, getting the account information from GOA. https://bugzilla.gnome.org/show_bug.cgi?id=741345 Makefile.am | 31 +++++++++++++ demos/docs-list/docs-list.c | 110 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 141 insertions(+) commit 42fe3139568ded6cdeb4f69410a893448c2ba516 Author: Philip Withnall Date: Fri Dec 12 23:45:11 2014 +0000 build: Fix some whitespace in Makefile.am Makefile.am | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) commit f08951ebf95977ece665636a5cf423a7bc4252d2 Author: Philip Withnall Date: Fri Dec 12 23:20:50 2014 +0000 documents: Handle final page pagination in GDataDocumentsService The Google Documents servers always return a next page URI in a GDataFeed unless on the final page of results, in which case no URI is returned. Pass that information through to the GDataQuery so that pagination works correctly for Google Documents. https://bugzilla.gnome.org/show_bug.cgi?id=741345 gdata/services/documents/gdata-documents-service.c | 60 +++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) commit b449554962090aed5500a6fd10cd04a7bb27c6d7 Author: Philip Withnall Date: Fri Dec 12 23:18:05 2014 +0000 core: Explicitly support a final page in GDataQuery pagination The pagination model previously used by GDataQuery was to assume that the server would return an empty GDataFeed once the final page was passed by calling gdata_query_next_page(). Unfortunately, the Google Documents servers don’t do that — instead, they provide a next page URI in each GDataFeed, and don’t provide one on the final page. GDataQuery did not support this kind of explicit knowledge about the current page being the final one. Add support for it with a delightful set of hacky internal functions. Return a dummy empty feed from GDataService if passed a GDataQuery which is flagged as having reached the end of its pagination. https://bugzilla.gnome.org/show_bug.cgi?id=741345 gdata/gdata-private.h | 3 +++ gdata/gdata-query.c | 45 ++++++++++++++++++++++++++++++++++++++++++++- gdata/gdata-service.c | 15 ++++++++++++++- 3 files changed, 61 insertions(+), 2 deletions(-) commit 18edbc4e90f582bc67b08f6158c97666ebd8acaf Author: Philip Withnall Date: Fri Dec 12 23:15:45 2014 +0000 core: Allow the GDataFeed type to be passed to _gdata_feed_new() This will be used internally later to support constructing custom empty feeds for pagination purposes. https://bugzilla.gnome.org/show_bug.cgi?id=741345 gdata/gdata-batch-operation.c | 3 ++- gdata/gdata-feed.c | 14 ++++++++++---- gdata/gdata-private.h | 5 ++++- 3 files changed, 16 insertions(+), 6 deletions(-) commit 1e5e69909cec7cc4d75c8ac2ae326b29795f01a8 Author: Philip Withnall Date: Fri Dec 12 19:45:40 2014 +0000 core: Virtualise feed parsing in GDataService Split the bulk of feed parsing out into a virtual method on GDataService. This will allow subclasses of GDataService to implement service-specific tweaks to feed parsing, which is required for pagination handling with Google Documents. New API: • GDataServiceClass.parse_feed This does not break ABI — it consumes one of the struct’s expansion slots. https://bugzilla.gnome.org/show_bug.cgi?id=741345 gdata/gdata-service.c | 49 ++++++++++++++++++++++++++++++++++++++++--------- gdata/gdata-service.h | 15 +++++++++++++-- 2 files changed, 53 insertions(+), 11 deletions(-) commit 52e05dd978ff111ad154b01d0bb3f241b3600325 Author: Philip Withnall Date: Fri Dec 12 19:44:12 2014 +0000 core: Eliminate unnecessary is_async argument from parser functions Instead, use g_main_context_invoke(), which guarantees to call the callback synchronously if the GMainContext is owned, and in an idle callback otherwise. This is exactly what we want for implementing callbacks which could come from this thread or a worker thread. https://bugzilla.gnome.org/show_bug.cgi?id=741345 gdata/gdata-access-handler.c | 8 ++++---- gdata/gdata-feed.c | 34 ++++++++++++++++++---------------- gdata/gdata-private.h | 7 +++---- gdata/gdata-service.c | 13 ++++++------- 4 files changed, 31 insertions(+), 31 deletions(-) commit b74bc65d31e2d52eec4fb9ba2296b6ef64f40a72 Author: Philip Withnall Date: Fri Dec 12 19:36:05 2014 +0000 core: Use correct relation URI for next/previous feed links GDataLink enforces that all relations are proper URIs, prefixing iana.org to those which aren’t — so we need to do the same when calling gdata_feed_look_up_link(). https://bugzilla.gnome.org/show_bug.cgi?id=741345 gdata/gdata-service.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1b5919570fb8b16c25ccc11204ab763f11d97003 Author: Philip Withnall Date: Fri Dec 12 17:31:29 2014 +0000 tests: Switch to non-interactive tests by default This fixes `make check` stalling forever on requesting user input. To run the interactive tests, the programs now need to be run with --interactive. gdata/tests/common.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit c87a112246e0bcbd5c3a8aa484a50c617d710dbf Author: Philip Withnall Date: Fri Dec 12 17:31:01 2014 +0000 tests: Eliminate ISO 8601 formatting workaround for dates Follow up to commit 732017e4e5235e28c578cc3367fa0c4548b65495732017e4e5235e28c578cc3367fa0c4548b65495. https://bugzilla.gnome.org/show_bug.cgi?id=739956 gdata/tests/calendar.c | 20 ++++++++++---------- gdata/tests/general.c | 34 +++++++++++++++++----------------- gdata/tests/tasks.c | 34 +++++++++++++++++----------------- gdata/tests/youtube.c | 16 ++++++++-------- 4 files changed, 52 insertions(+), 52 deletions(-) commit 9e854ae61e898083a1792b13b6359d375b8fa0ef Author: Yaşar Şentürk Date: Thu Dec 4 21:26:38 2014 +0000 Updated Turkish translation po/tr.po | 238 ++++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 158 insertions(+), 80 deletions(-) commit 08f31ef1d7e92671dc13a3c8494f9e3ae20e9b90