commit 6056e5fdcfe8d08fcf158633cca8633162d022b9 Author: Philip Withnall Date: Fri Jul 10 13:42:07 2015 +0100 build: Add freebase test traces to dist_test_data Otherwise installed-tests fails on the freebase tests. gdata/tests/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) commit b63fc7063d6b62c9f4f7ba745c94060546bb06c8 Author: Philip Withnall Date: Fri Jul 10 12:49:35 2015 +0100 tests: Mark some unused functions as unused After porting all of the YouTube tests, the Contacts and PicasaWeb tests need a bit more love to get them working. Because time is short, just mark these ones as __attribute__((unused)), or comment them out, and I will come back to them later. FIXMEs added. https://bugzilla.gnome.org/show_bug.cgi?id=750914 gdata/tests/contacts.c | 4 ++++ gdata/tests/picasaweb.c | 3 +++ 2 files changed, 7 insertions(+) commit 942b85f82461d3b70c9fcaa95ba389f1ff3beba0 Author: Philip Withnall Date: Fri Jul 10 12:43:15 2015 +0100 tests: Delete client-login-authorizer tests The ClientLogin authorizer is completely deprecated now, and all requests to it return an error requesting the user to log in online. The libgdata code will no longer be maintained, and it is not possible to test it sensibly any more. gdata/tests/Makefile.am | 10 - gdata/tests/client-login-authorizer.c | 820 --------------------- .../client-login-authorizer-authenticate-async | 27 - ...ogin-authorizer-authenticate-async-cancellation | 0 ...-authorizer-authenticate-async-multiple-domains | 54 -- .../client-login-authorizer-authenticate-sync | 27 - ...login-authorizer-authenticate-sync-bad-password | 25 - ...login-authorizer-authenticate-sync-cancellation | 0 ...n-authorizer-authenticate-sync-multiple-domains | 54 -- ...etup-client-login-authorizer-data-authenticated | 27 - 10 files changed, 1044 deletions(-) commit 4f598da08f9db641e2710c80d0604e7251c62cf7 Author: Philip Withnall Date: Fri Jul 10 12:21:56 2015 +0100 tests: Fix some compiler warnings in the YouTube tests gdata/tests/youtube.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit c5ced0ac8d6736b3214ebe27f3207e06e46722f5 Author: Philip Withnall Date: Fri Jul 10 12:20:45 2015 +0100 tests: Remove outdated async authentication tests from YouTube These were using the unsupported ClientLogin API. The OAuth2 authoriser has its own async authorisation tests, so porting the existing YouTube tests would gain us nothing. gdata/tests/youtube.c | 189 -------------------------------------------------- 1 file changed, 189 deletions(-) commit 00ec26d6c1e0c29ea09c89df3d3667e329bc6008 Author: Philip Withnall Date: Fri Jul 10 12:20:13 2015 +0100 youtube: Fix a potential NULL object dereference gdata/services/youtube/gdata-youtube-video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bcdf3c9f4dc59774f733c1cdcb7ca30d465bc1b9 Author: Philip Withnall Date: Fri Jul 10 12:19:59 2015 +0100 tests: Port and re-enable YouTube upload tests gdata/tests/traces/youtube/teardown-upload | 39 +++++---- gdata/tests/traces/youtube/upload-async | 91 +++++++++++++++------ .../tests/traces/youtube/upload-async-cancellation | 92 ++++++++++++++++------ gdata/tests/traces/youtube/upload-simple | 92 ++++++++++++++++------ gdata/tests/youtube.c | 5 +- 5 files changed, 225 insertions(+), 94 deletions(-) commit 383af36165d0454de695f1b8cce6feccb3432353 Author: Philip Withnall Date: Fri Jul 10 12:18:33 2015 +0100 youtube: Re-enable video uploads using the v3 API This required a way of deleting videos once we’re done with them, plus a tweak to the upload parts parameter. gdata/services/youtube/gdata-youtube-service.c | 5 +---- gdata/services/youtube/gdata-youtube-video.c | 28 ++++++++++++++++++++++++++ gdata/tests/youtube.c | 4 ++++ 3 files changed, 33 insertions(+), 4 deletions(-) commit ebee2ee23960c532a4e24046b517afcfe5fee2cf Author: Philip Withnall Date: Fri Jul 10 11:43:03 2015 +0100 tests: Port and re-enable online YouTube comment tests gdata/tests/traces/youtube/comment-insert | 80 ++- gdata/tests/traces/youtube/comment-query | 711 +++++++++++++++++++- .../youtube/comment-query-async-progress-closure | 713 ++++++++++++++++++++- gdata/tests/traces/youtube/comment_insert-async | 80 ++- .../youtube/comment_insert-async-cancellation | 80 ++- gdata/tests/traces/youtube/comment_query-async | 713 ++++++++++++++++++++- .../youtube/comment_query-async-cancellation | 713 ++++++++++++++++++++- gdata/tests/traces/youtube/setup-comment | 103 ++- gdata/tests/youtube.c | 25 +- 9 files changed, 3045 insertions(+), 173 deletions(-) commit 3ff3df2a5c290eebd0479b8b65f9e197af17e492 Author: Philip Withnall Date: Fri Jul 10 10:35:43 2015 +0100 tests: Port and re-enable offline YouTube comment tests gdata/tests/youtube.c | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) commit 62714bce9ca0b7c8c292fdf916f658bbe7b6f35e Author: Philip Withnall Date: Fri Jul 10 10:34:47 2015 +0100 youtube: Remove a small amount of dead code Set but unused variables. gdata/services/youtube/gdata-youtube-video.c | 4 ---- 1 file changed, 4 deletions(-) commit 687c2768c3585da9c2e5878c9377f7f9a7f08a19 Author: Philip Withnall Date: Fri Jul 10 10:38:11 2015 +0100 youtube: Port YouTube comments to the v3 API This should make YouTube comments work again. They have been ported to JSON from XML, and the GDataCommentable implementations updated to use the correct comment URIs. gdata/services/youtube/gdata-youtube-comment.c | 375 ++++++++++++++++++++++++- gdata/services/youtube/gdata-youtube-service.c | 9 +- gdata/services/youtube/gdata-youtube-video.c | 53 +++- 3 files changed, 421 insertions(+), 16 deletions(-) commit b37f185f7a24ec0ff87e4acadeb90ab2fd556382 Author: Philip Withnall Date: Fri Jul 10 10:32:56 2015 +0100 core: Add a new internal method for setting GDataEntry:etag This will be useful for YouTube comments, coming up shortly. gdata/gdata-entry.c | 18 ++++++++++++++++++ gdata/gdata-private.h | 1 + 2 files changed, 19 insertions(+) commit b5262ecca7237c414dcd6dc59ae0ba244c628242 Author: Philip Withnall Date: Fri Jul 10 10:31:07 2015 +0100 tests: Remove an unused YouTube test From way back in 2009. Time flies! gdata/tests/youtube.c | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) commit 3ca4fbcc88dbf26a1edda79fbad9e819a11ae82d Author: Philip Withnall Date: Wed Jul 8 15:31:53 2015 +0100 youtube: Simplify video ratings handling code This simplifies the code and fixes a problem where if both region_restriction_allowed and region_restriction_blocked were not spcified, the GDataYouTubeVideo would behave as if restricted for all regions, which is most likely not the intention. gdata/services/youtube/gdata-youtube-video.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) commit d7a3fcefedca016c785541bedbef36e239970c01 Author: Philip Withnall Date: Wed Jul 8 15:30:07 2015 +0100 tests: Port and re-enable YouTube video rating tests A lot of the media:group parsing stuff has gone, and was not tested properly to begin with, so that test can be dropped. Similarly, the error handling test can be dropped because the JSON parser code is deliberately a lot more tolerant now that arbitrary ratings boards are supported. gdata/tests/youtube.c | 170 +++++++++----------------------------------------- 1 file changed, 28 insertions(+), 142 deletions(-) commit 8ecba5f3241e19e797a39fdc269e064a077515fd Author: Philip Withnall Date: Wed Jul 8 09:48:31 2015 +0100 tests: Port and re-enable YouTube category tests Unfortunately the YouTube category list is no longer localised to the region passed in to the query — the category names are now always in English. So the only way we can detect differences caused by changing region is to look at how many categories are returned. gdata/tests/traces/youtube/categories | 710 ++++++++++++++++++++- gdata/tests/traces/youtube/categories-async | 359 ++++++++++- .../traces/youtube/categories-async-cancellation | 359 ++++++++++- gdata/tests/youtube.c | 16 +- 4 files changed, 1375 insertions(+), 69 deletions(-) commit 6d66dcb54b4919a3a0f7cb1600c218e0199bfa1f Author: Philip Withnall Date: Wed Jul 8 09:46:15 2015 +0100 app: Fix parsing of YouTube categories The GDataAPPCategories parser used to take in the GType of the GDataCategory subclass to construct when parsing its category list; in the port to JSON, it was accidentally changed to always construct GDataCategory instances. This broke the YouTube code, which was hoping to see GDataYouTubeCategory instances be constructed. gdata/app/gdata-app-categories.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 34d139a4d7b036c4bb65cb66c594ff4957e8a056 Author: Philip Withnall Date: Wed Jul 8 08:45:53 2015 +0100 docs: Add gdata-documents-utils.h to IGNORE_HFILES It’s a private header and shouldn’t be in the documentation. docs/reference/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 2aa0d42f2fea61005a1c1c159fc8e7c4c8604c04 Author: Philip Withnall Date: Wed Jul 8 00:29:03 2015 +0100 tests: Port and re-enable several YouTube parsing tests gdata/tests/youtube.c | 281 +++++++++++++++++--------------------------------- 1 file changed, 96 insertions(+), 185 deletions(-) commit 3177f27b6fc5637463a4400c27789ebcfa5ed441 Author: Philip Withnall Date: Wed Jul 8 00:28:00 2015 +0100 youtube: Fix parsing videos which have no recordingDate If they have a recordingDetails section, but no recordingDate, the parser was crashing. gdata/services/youtube/gdata-youtube-video.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit bda4a259f6f246f5813659cb1aa2617623a700eb Author: Pedro Albuquerque Date: Mon Jul 6 09:58:48 2015 +0000 Updated Portuguese translation po/pt.po | 106 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 56 insertions(+), 50 deletions(-) commit 755d96754ad1a4f2e32b832c4726288d255851a4 Author: Piotr Drąg Date: Sun Jul 5 20:24:35 2015 +0200 Updated Polish translation po/pl.po | 293 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 154 insertions(+), 139 deletions(-) commit f23574101c9c423598566771cd69c78beb90f422 Author: Piotr Drąg Date: Sun Jul 5 20:22:19 2015 +0200 Updated POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 3663353499edf0a11cfcf5c82b3c83c2cf53e1c5 Author: Philip Withnall Date: Sun Jul 5 14:06:58 2015 +0100 tests: Port and re-enable the YouTube batch API tests Now testing that GDataYouTubeService no longer claims to support batch operations, rather than testing that they work. https://developers.google.com/youtube/v3/guides/implementation/deprecated#Batch_Processing https://bugzilla.gnome.org/show_bug.cgi?id=750914 gdata/tests/traces/youtube/batch | 60 ---------- gdata/tests/traces/youtube/batch-async | 30 ----- gdata/tests/traces/youtube/setup-batch | 206 +++++++++++++++++++++++++++------ gdata/tests/youtube.c | 29 +++-- 4 files changed, 188 insertions(+), 137 deletions(-) commit 2b1823af2ee212bc4079f42dd432b89089ae6f47 Author: Philip Withnall Date: Sun Jul 5 14:04:14 2015 +0100 youtube: Mark GDataBatchable as unsupported by YouTube any more It is no longer supported in version 3 of the API, so implement the new GDataBatchable.is_supported API and return FALSE for everything, meaning that all batchable operations on GDataYouTubeService will now fail with GDATA_SERVICE_ERROR_WITH_BATCH_OPERATION. gdata/services/youtube/gdata-youtube-service.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit 322328769d8347d2d0621d6eccd0f029390654c1 Author: Philip Withnall Date: Sun Jul 5 14:02:47 2015 +0100 core: Add GDataBatchable.is_supported virtual method This new API is intended to be used by GDataYouTubeService to allow it to indicate which batch operations it supports (since this has changed since v3 of the API — now batch operations are no longer supported). gdata/gdata-batch-operation.c | 26 ++++++++++++++++++++++++++ gdata/gdata-batchable.h | 10 ++++++++++ 2 files changed, 36 insertions(+) commit 33a76e0c55bc012ec1ed3fda62ea13075bdc437e Author: Philip Withnall Date: Sun Jul 5 14:00:12 2015 +0100 tests: Port and re-enable the YouTube query URI tests https://bugzilla.gnome.org/show_bug.cgi?id=750914 gdata/tests/youtube.c | 48 +++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 39 insertions(+), 9 deletions(-) commit 718513ef649b7af7d15e76432eef72180012c08b Author: Philip Withnall Date: Sun Jul 5 12:49:44 2015 +0100 tests: Fix query parameter comparisons involving dates in YouTube tests The only way to implement some of the standard feeds in the YouTube service is now to query filtering against the current date, which means that a custom message comparison function has to be installed into the uhttpmock code to ignore that query parameter when replacing HTTP traces. Use some new convenience API in libuhttpmock to achieve this. Dependency changes: • libuhttpmock ≥ 0.5.0 https://bugzilla.gnome.org/show_bug.cgi?id=750914 configure.ac | 2 +- gdata/tests/traces/youtube/query-standard-feed | 761 ++--- .../query-standard-feed-async-progress-closure | 761 ++--- .../traces/youtube/query-standard-feed-with-query | 333 ++- gdata/tests/traces/youtube/query-standard-feeds | 3098 +++++++++----------- .../tests/traces/youtube/query_standard_feed-async | 761 ++--- .../youtube/query_standard_feed-async-cancellation | 761 ++--- gdata/tests/youtube.c | 114 +- 8 files changed, 2990 insertions(+), 3601 deletions(-) commit b53780890f548b8fbbc4cf30d1aafd1b61cc4b8d Author: Philip Withnall Date: Sun Jul 5 14:05:41 2015 +0100 youtube: Reduce assumed accuracy of time query parameters There is no point in sending microsecond datestamps to the server. This also makes the API more testable, since the unit tests no longer need to guess the date stamp with microsecond accuracy. (They are still open to second-accuracy race conditions, though.) gdata/services/youtube/gdata-youtube-query.c | 3 +++ 1 file changed, 3 insertions(+) commit c9f3f74b87a8bbceac442cc62de7db485ed718c4 Author: Philip Withnall Date: Sat Jul 4 11:17:34 2015 +0100 tests: Port and re-enable a few more YoUTube unit tests gdata/tests/traces/youtube/query-related | 187 +- .../youtube/query-related-async-progress-closure | 187 +- gdata/tests/traces/youtube/query-single | 111 +- gdata/tests/traces/youtube/query-standard-feeds | 6201 ++++++++++++-------- gdata/tests/traces/youtube/query_related-async | 187 +- .../youtube/query_related-async-cancellation | 187 +- gdata/tests/traces/youtube/query_single-async | 111 +- .../traces/youtube/query_single-async-cancellation | 111 +- gdata/tests/youtube.c | 104 +- 9 files changed, 4561 insertions(+), 2825 deletions(-) commit de1dab37b889abe568981436042c21ea816fd1d6 Author: Philip Withnall Date: Sat Jul 4 11:16:42 2015 +0100 core: Add a missing NULL terminator to parsed JSON string arrays This fixes a crash on finalisation of GDataYouTubeVideo if it has keywords set. gdata/gdata-parser.c | 3 +++ 1 file changed, 3 insertions(+) commit 778fcb4b8681ad5a614ffe2db45c0a1850b4e2ce Author: Philip Withnall Date: Thu Jul 2 08:17:53 2015 +0100 docs: Fix multiply-defined index IDs The api-index-full.xml and api-index-deprecated.xml files already define those two IDs, so we can’t define them again in gdata-docs.xml. Use role instead, whatever that is. docs/reference/gdata-docs.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a9e28e1be944743c6da71f0c6230f45b81fae44f Author: Pedro Albuquerque Date: Wed Jul 1 22:01:12 2015 +0000 Updated Portuguese translation po/pt.po | 358 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 196 insertions(+), 162 deletions(-) commit e76c6257448c826a249f8315cb20a5cd5dd06090 Author: Debarshi Ray Date: Wed Jul 1 15:26:34 2015 +0200 goa-authorizer: Add domains for documents if "files" is on The new gvfs backend will enable nautilus and the gtk+ file chooser to interact with Google Drive. This means that GOA accounts in Google will get a "files" switch, which we should check when deciding whether to enable the documents service. https://bugzilla.gnome.org/show_bug.cgi?id=751782 gdata/gdata-goa-authorizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 47b4df3a1eaf9dae4c18ffd3f779604a81c62282 Author: Debarshi Ray Date: Tue Jun 30 15:02:52 2015 +0200 documents: Add support for updating content using Drive v2 There is a bug in the Drive web UI where the preview doesn't get updated with the new content, but if you download or go through the revisions then things are as they should be. I could reliably reproduce it with plain/text content. https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/services/documents/gdata-documents-service.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) commit 015de8f078a6b1352c61393008e9dbc8570f03c4 Author: Philip Withnall Date: Wed Jun 24 23:49:58 2015 +0100 tests: Add a test for location presence in default YouTube video JSON This is a unit test for the fix in commit 5ca05e195f7cecd63d6616aeef8410df8eee978c. gdata/tests/youtube.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) commit 033b6c8e718c6698f0e4c808e919b3b60202368e Author: Debarshi Ray Date: Tue Jun 16 18:22:13 2015 +0200 documents: Split out the code to add a parent folder's link to an entry We will need this for creating folders and copying files. https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/services/documents/gdata-documents-service.c | 31 +++++++++++++--------- 1 file changed, 18 insertions(+), 13 deletions(-) commit 656207baff1e288c0c7d6020555316a53b9faa1c Author: Debarshi Ray Date: Tue Jun 16 15:06:51 2015 +0200 documents: Set mimeType in JSON A Drive v2 folder is a file with the MIME type application/vnd.google-apps.folder (and with no extension). Therefore, setting the MIME type is crucial for creating new folders. https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/services/documents/gdata-documents-entry.c | 18 ++++++++++++++++++ gdata/services/documents/gdata-documents-folder.c | 20 ++++++++++++++++++++ 2 files changed, 38 insertions(+) commit 9fc2d52a30e7325957624d75bbbf939cc4e0d978 Author: Debarshi Ray Date: Mon Jun 15 15:56:53 2015 +0200 documents: Support uploads to a specific location using Drive v2 https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/services/documents/gdata-documents-entry.c | 47 ++++++++++++++++++++++ gdata/services/documents/gdata-documents-service.c | 25 +++++++++--- gdata/services/documents/gdata-documents-utils.h | 3 ++ 3 files changed, 70 insertions(+), 5 deletions(-) commit ed09ec21c25e0ed1c596d2982e3b6e3e0e9636fd Author: Debarshi Ray Date: Fri Jun 12 17:21:08 2015 +0200 core: Use constructed instead of constructor The constructed vfunc is the idiomatic place to access construct properties, which is what we are doing in this case. The constructor is more intrusive and is usually used for implementing things like singletons. https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/gdata-upload-stream.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) commit b80f8883dd7c15a62ae9756f34c8f3155d557a32 Author: Philip Withnall Date: Sun Jun 14 15:51:48 2015 +0100 core: Add GDataOAuth2Authorizer:refresh-token API Add new API to allow the refresh token from an OAuth 2 authorizer to be stored by an application and restored into a new GDataOAuth2Authorizer instance (a cold start). This adds the following new API: • GDataOAuth2Authorizer:refresh-token • gdata_oauth2_authorizer_dup_refresh_token() • gdata_oauth2_authorizer_set_refresh_token() It does not add any new tests. https://bugzilla.gnome.org/show_bug.cgi?id=750746 docs/reference/gdata-sections.txt | 2 + gdata/gdata-oauth2-authorizer.c | 119 ++++++++++++++++++++++++++++++++++++-- gdata/gdata-oauth2-authorizer.h | 5 +- gdata/gdata.symbols | 2 + 4 files changed, 123 insertions(+), 5 deletions(-) commit 0080aee2b88cd5ff24624c8c41d998e0bd5e9356 Author: Debarshi Ray Date: Fri Jun 12 17:10:50 2015 +0200 tests: Use GDataDocumentsAccessRule for documents ACLs https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/tests/documents.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit f38a3f3e2b04d34838d4931fddad5a7d5492be76 Author: Debarshi Ray Date: Fri Jun 12 13:27:04 2015 +0200 documents: Add support for uploads using Drive v2 This is enough to upload a file to the root folder, but you can't select a specific location. https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/services/documents/gdata-documents-entry.c | 8 +++ gdata/services/documents/gdata-documents-service.c | 67 +++++----------------- 2 files changed, 22 insertions(+), 53 deletions(-) commit 49f3b9d86f6f21bc2414fd18cebbedfa551c29a3 Author: Debarshi Ray Date: Fri Jun 12 16:04:44 2015 +0200 documents: Split out the code to map a content type to a GType We will need this in gdata_documents_service_finish_upload. https://bugzilla.gnome.org/show_bug.cgi?id=684920 Makefile.am | 2 + gdata/services/documents/gdata-documents-feed.c | 27 +--------- gdata/services/documents/gdata-documents-utils.c | 64 ++++++++++++++++++++++++ gdata/services/documents/gdata-documents-utils.h | 32 ++++++++++++ 4 files changed, 100 insertions(+), 25 deletions(-) commit fd46c2cbe130db4f7158762d5f88923c39c77382 Author: Debarshi Ray Date: Wed Jun 10 19:30:39 2015 +0200 documents: Support searching for readers using Drive v2 queries https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/services/documents/gdata-documents-query.c | 33 ++++++++++++++---------- 1 file changed, 20 insertions(+), 13 deletions(-) commit 19e91a0bfae358caf04b1522cc01ce64347caef7 Author: Debarshi Ray Date: Wed Jun 10 13:52:39 2015 +0200 core: Read-only properties are not going to be set via the public API https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/gdata-access-rule.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 360db0c60127c7bbd4dd26f2ab83b21a138f68ce Author: Debarshi Ray Date: Fri Jun 5 13:05:05 2015 +0200 calendar: Fix a path in the GDataCalendarAccessRule documentation https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/services/calendar/gdata-calendar-access-rule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e2ab462d63e81a32dcca842bccfdd753bd5dd55f Author: Debarshi Ray Date: Fri Jun 5 11:54:41 2015 +0200 documents: Add support for editing ACLs using Drive v2 A new sub-class was introduced to set JSON as the content-type for Drive v2. It was a good opportunity to move the Drive-specific JSON parsing code from the base class. New API added: • GDataDocumentsAccessRule This new class must be used in place of GDataAccessRule for any interactions with the Drive API. This is essentially a soft API break, but it’s unavoidable. https://bugzilla.gnome.org/show_bug.cgi?id=684920 Makefile.am | 4 +- docs/reference/gdata-docs.xml | 1 + docs/reference/gdata-sections.txt | 18 ++ gdata/gdata-access-rule.c | 69 ------- gdata/gdata.h | 1 + gdata/gdata.symbols | 2 + .../documents/gdata-documents-access-rule.c | 230 +++++++++++++++++++++ .../documents/gdata-documents-access-rule.h | 74 +++++++ gdata/services/documents/gdata-documents-entry.c | 39 ++++ po/POTFILES.in | 2 +- 10 files changed, 369 insertions(+), 71 deletions(-) commit f2459b4beb654cd6a789b594bb3c4e79de7aae2e Author: Debarshi Ray Date: Wed Jun 10 14:15:58 2015 +0200 core: Expose _gdata_access_rule_set_key() internally This will be used by GDataDocumentsAccessRule when parsing the JSON. https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/gdata-access-rule.c | 14 ++++++++++++++ gdata/gdata-private.h | 3 +++ 2 files changed, 17 insertions(+) commit 10802aec3d4207e6c5520ec677649b9d57ee2838 Author: Debarshi Ray Date: Thu Jun 4 15:03:39 2015 +0200 core: Fix the GDataAccessRule example We need to pass the a GDataAuthorizationDomain to gdata_service_insert_entry, and we should not unref the GDataLink returned by gdata_entry_look_up_link. https://bugzilla.gnome.org/show_bug.cgi?id=750395 gdata/gdata-access-rule.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 1dd92748d8bdb5bb538c6701db4857e18e842ff8 Author: Ting-Wei Lan Date: Tue Jun 9 16:00:09 2015 +0800 build: Fix -Werror build for clang This fixes implicit enumeration type conversion. https://bugzilla.gnome.org/show_bug.cgi?id=750480 gdata/gdata-batch-feed.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c4f9bdedcdad0c392c1b2e854179213fa0e0c52b Author: Debarshi Ray Date: Wed Jun 3 14:04:29 2015 +0200 tests: Silence -Wunsafe-loop-optimizations We can end up with an infinite loop if end_num is G_MAXUINT. Let's use ‘<’ instead of ‘<=’ to avoid this. https://bugzilla.gnome.org/show_bug.cgi?id=750335 gdata/tests/streams.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit c601fc4c4e9ba4fa071c3d1ff3bac7cf28f10747 Author: Debarshi Ray Date: Wed Jun 3 15:41:16 2015 +0200 tests: Use GDataCalendarAccessRule for calendar ACLs Fall out from 68ed77fbafaa1403e924ae9f9a06ebc8d159fcaa https://bugzilla.gnome.org/show_bug.cgi?id=750335 gdata/tests/calendar.c | 64 +++++++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) commit d5447497569ad720096828705de48bffe860bf9a Author: Debarshi Ray Date: Wed Jun 3 14:07:47 2015 +0200 demos: Silence -Wmaybe-uninitialized Fall out from 0e42b9d0e64aaf9f4d04eeab29d860a68209ff61 https://bugzilla.gnome.org/show_bug.cgi?id=750335 demos/calendar/calendar-cli.c | 2 ++ 1 file changed, 2 insertions(+) commit 68ed77fbafaa1403e924ae9f9a06ebc8d159fcaa Author: Philip Withnall Date: Thu May 14 13:42:55 2015 +0100 calendar: Re-enable support for ACLs with version 3 of the API This was non-trivial. New API added: • GDataCalendarAccessRule Due to how this new class overrides GDataAccessRule, it must be used in place of GDataAccessRule for any interactions with the Calendar API. This is essentially a soft API break for anyone who uses calendars. It’s unavoidable. https://bugzilla.gnome.org/show_bug.cgi?id=664353 Makefile.am | 5 +- docs/reference/gdata-docs.xml | 1 + docs/reference/gdata-sections.txt | 28 ++- gdata/gdata.h | 1 + gdata/gdata.symbols | 2 + .../services/calendar/gdata-calendar-access-rule.c | 277 +++++++++++++++++++++ .../services/calendar/gdata-calendar-access-rule.h | 125 ++++++++++ gdata/services/calendar/gdata-calendar-calendar.c | 89 ++++++- gdata/services/calendar/gdata-calendar-calendar.h | 46 ---- gdata/tests/calendar.c | 80 ++++-- gdata/tests/traces/calendar/access-rule-delete | 72 ++---- gdata/tests/traces/calendar/access-rule-get | 108 ++++---- gdata/tests/traces/calendar/access-rule-insert | 94 +++---- gdata/tests/traces/calendar/access-rule-update | 89 +++---- gdata/tests/traces/calendar/global-authentication | 16 +- gdata/tests/traces/calendar/setup-temp-calendar | 16 +- .../tests/traces/calendar/setup-temp-calendar-acls | 94 +++---- gdata/tests/traces/calendar/teardown-temp-calendar | 12 +- .../traces/calendar/teardown-temp-calendar-acls | 72 ++---- 19 files changed, 772 insertions(+), 455 deletions(-) commit 76562aeb1a3ed10ce35c2c746dc10de9efffc347 Author: Philip Withnall Date: Wed May 27 21:52:38 2015 +0100 build: Remove local copy of ax_code_coverage.m4 Since we now depend on other macros from autoconf-archive, remove the local copy of this one. When building from git, autoconf-archive will need to be available. When building from a tarball, the macros will have been copied into the tarball during dist, so autoconf-archive is unnecessary. When building from git via JHBuild, m4-common (a wrapper for autoconf-archive) is used automatically. Makefile.am | 1 - m4/ax_code_coverage.m4 | 180 ------------------------------------------------- 2 files changed, 181 deletions(-) commit c55e32182522377c2af195fcee50e185b8a7246d Author: Philip Withnall Date: Wed May 27 21:51:38 2015 +0100 build: Use AX_COMPILER_FLAGS Switch from GNOME_COMPILE_WARNINGS to AX_COMPILER_FLAGS. This integrates better with CI systems, allows easy disabling of -Werror, and integrates with AX_IS_RELEASE to automatically disable errors when building releases. https://wiki.gnome.org/Projects/GnomeCommon/Migration Makefile.am | 31 +++++++- configure.ac | 29 +------- gdata/tests/Makefile.am | 3 + m4/gnome-compiler-flags.m4 | 177 --------------------------------------------- 4 files changed, 34 insertions(+), 206 deletions(-) commit 6949c1d5ce1d5801bf21032a5be3ec4375997241 Author: Philip Withnall Date: Tue May 26 18:45:34 2015 +0100 build: Update autogen.sh to no longer hard-code the project name Use the recommended autogen.sh from https://wiki.gnome.org/Projects/GnomeCommon/Migration autogen.sh | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) commit 6666a7ac6f24e788bca84ba9d1bda35dfd4d10d1 Author: Philip Withnall Date: Tue May 26 18:43:49 2015 +0100 build: Use AX_IS_RELEASE Check for the presence of a git repository to determine whether things like compiler warnings should be fatal. The warnings themselves will be hooked up later. This adds an implicit dependency on autoconf-archive or GNOME’s m4-common. These are pulled in by JHBuild, and the relevant macros are automatically distributed in tarballs — so the dependencies only need to be explicitly installed if you are building from git without using JHBuild. This is an unsupported use case. Note that AC_CONFIG_MACRO_DIR() has already been added to configure.ac. https://wiki.gnome.org/Projects/GnomeCommon/Migration configure.ac | 1 + 1 file changed, 1 insertion(+) commit dac4f090da5f57dbd4de316e75fb2dbf5408102e Author: Philip Withnall Date: Tue May 26 18:42:55 2015 +0100 build: Update ACLOCAL_AMFLAGS to install third-party macros So that they are carried around in the distributed tarball, and there are no dependencies on things like autoconf-archive. https://wiki.gnome.org/Projects/GnomeCommon/Migration Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7e5325f4d658536cc9ffccbf5832d420e3b31801 Author: Akom Chotiphantawanon Date: Sun May 24 17:52:12 2015 +0700 Updated Thai translation po/th.po | 303 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 169 insertions(+), 134 deletions(-) commit 982536bcc2d5042eff023aefe8d4bd5698f5cfb6 Author: Cédric Valmary Date: Fri May 22 21:17:21 2015 +0000 Added Occitan translation po/LINGUAS | 1 + po/oc.po | 568 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 569 insertions(+) commit 746739fab55dbc0493ea4a29d68cf545e3f151dc Author: Philip Withnall Date: Tue May 12 20:11:20 2015 +0100 core: Virtualise gdata_access_handler_get_rules() Add new API: • GDataAccessHandlerIface.get_rules as a virtual method backing gdata_access_handler_get_rules(). This does not break ABI as it uses one of the reserved slots in GDataAccessHandlerIface. https://bugzilla.gnome.org/show_bug.cgi?id=664353 gdata/gdata-access-handler.c | 53 ++++++++++++++++++++++++++++++-------------- gdata/gdata-access-handler.h | 13 +++++++++-- 2 files changed, 47 insertions(+), 19 deletions(-) commit 62163529e974304933208a73bca98fe9f6a4484b Author: Philip Withnall Date: Wed May 6 23:22:34 2015 +0100 tests: Update and re-enable the majority of Calendar unit tests The ACL tests remain disabled, pending porting the ACL implementation to v3 of the API. The batch tests have been removed completely, as the API no longer supports batch operations. gdata/tests/Makefile.am | 5 - gdata/tests/calendar.c | 264 +------------ gdata/tests/traces/calendar/authentication | 38 +- gdata/tests/traces/calendar/batch | 284 -------------- gdata/tests/traces/calendar/batch-async | 71 ---- .../tests/traces/calendar/batch-async-cancellation | 0 gdata/tests/traces/calendar/event-insert | 127 +++--- gdata/tests/traces/calendar/event_insert-async | 127 +++--- .../calendar/event_insert-async-cancellation | 218 ++++------- gdata/tests/traces/calendar/global-authentication | 38 +- gdata/tests/traces/calendar/query-all-calendars | 188 ++++++--- .../query-all-calendars-async-progress-closure | 188 ++++++--- gdata/tests/traces/calendar/query-events | 183 ++++++--- .../calendar/query-events-async-progress-closure | 183 ++++++--- gdata/tests/traces/calendar/query-own-calendars | 160 +++++--- .../query-own-calendars-async-progress-closure | 160 +++++--- .../traces/calendar/query_all_calendars-async | 188 ++++++--- .../query_all_calendars-async-cancellation | 425 +++++++-------------- gdata/tests/traces/calendar/query_events-async | 183 ++++++--- .../calendar/query_events-async-cancellation | 353 +++++++---------- .../traces/calendar/query_own_calendars-async | 160 +++++--- .../query_own_calendars-async-cancellation | 397 +++++-------------- gdata/tests/traces/calendar/setup-batch-async | 75 ---- gdata/tests/traces/calendar/setup-query-calendars | 180 +++------ gdata/tests/traces/calendar/setup-query-events | 352 ++++++++--------- gdata/tests/traces/calendar/setup-temp-calendar | 90 ++--- gdata/tests/traces/calendar/teardown-batch-async | 65 ---- gdata/tests/traces/calendar/teardown-insert-event | 75 +--- .../tests/traces/calendar/teardown-query-calendars | 146 ++----- gdata/tests/traces/calendar/teardown-query-events | 225 +++-------- gdata/tests/traces/calendar/teardown-temp-calendar | 73 +--- 31 files changed, 2070 insertions(+), 3151 deletions(-) commit e24d9c4ceb2638d85e09fcdc6b9f39fc4c1579da Author: Philip Withnall Date: Wed May 6 23:24:51 2015 +0100 calendar: Set the self link for each GDataCalendarEvent Previously, this was partially solved in GDataCalendarService by constructing the link after each query or insertion. However, this could not work well for async operations. Instead, it appears to be possible to build the self link from within GDataCalendarEvent, as the calendar ID is apparently available as the organiser’s e-mail address. gdata/services/calendar/gdata-calendar-event.c | 56 +++++++++++++++++++++++- gdata/services/calendar/gdata-calendar-service.c | 39 ----------------- 2 files changed, 54 insertions(+), 41 deletions(-) commit df0fef97fe680062870a01b7d06472eba25c3fb7 Author: Philip Withnall Date: Wed May 6 23:23:55 2015 +0100 core: Disable the warning about mismatched kinds As explained in the comment in the commit, kind mismatches are a lot more common (legitimately), and a lot less avoidable, in the new JSON APIs. Give in and stop warning about them. gdata/gdata-entry.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 047e41692df42599268aabb2ec91c4b7b10e5b8b Author: Philip Withnall Date: Wed May 6 08:24:31 2015 +0100 tests: Update perf test to use GTest It now asserts that the performance is above some lower bound, and can output in TAP format correctly. gdata/tests/perf.c | 40 ++++++++++++++++++++++++++++------------ 1 file changed, 28 insertions(+), 12 deletions(-) commit d301544d823bdeabc2e9d424b3481cbdac311187 Author: Philip Withnall Date: Wed May 6 00:44:52 2015 +0100 build: Update git.mk from upstream git.mk | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) commit 802fad787566223913bd03e39c60b7b6c1baa9f7 Author: Philip Withnall Date: Wed May 6 00:22:47 2015 +0100 tests: Port to use installed-tests Port the unit tests to follow the installed-tests standard, installing the test binaries and generated .test metadata files. This removes the existing --enable-tests configure option, replacing it with the standard: • --enable-always-build-tests • --enable-installed-tests options. --enable-always-build-tests is a direct replacement for --enable-tests, controlling whether tests are built at compile time, or only when run under `make check`. --enable-installed-tests controls whether tests will be installed on the system. If the tests are installed, use gnome-desktop-testing-runner libgdata to run them all. https://wiki.gnome.org/Initiatives/GnomeGoals/InstalledTests Makefile.am | 9 +- configure.ac | 29 ++- gdata/tests/Makefile.am | 17 +- gdata/tests/common.c | 28 ++- glib-tap.mk | 135 ++++++++++ tap-driver.sh | 652 ++++++++++++++++++++++++++++++++++++++++++++++++ tap-test | 5 + 7 files changed, 852 insertions(+), 23 deletions(-) commit 10f67845a07c75bf92f1128d949edae75d645ec7 Author: Philip Withnall Date: Wed May 6 00:21:17 2015 +0100 tests: Use g_test_build_filename() to load test data files Rather than TEST_FILE_DIR, which is completely non-relocatable and a bit of a hack. This is one step towards supporting installed-tests. https://wiki.gnome.org/Initiatives/GnomeGoals/InstalledTests gdata/tests/Makefile.am | 1 - gdata/tests/calendar.c | 5 ++- gdata/tests/client-login-authorizer.c | 5 ++- gdata/tests/common.c | 10 +++++- gdata/tests/contacts.c | 20 +++++++++--- gdata/tests/documents.c | 24 ++++++++++---- gdata/tests/freebase.c | 5 ++- gdata/tests/oauth1-authorizer.c | 5 ++- gdata/tests/oauth2-authorizer.c | 5 ++- gdata/tests/picasaweb.c | 15 +++++++-- gdata/tests/tasks.c | 5 ++- gdata/tests/youtube.c | 10 ++++-- gtester.mk | 60 ----------------------------------- 13 files changed, 86 insertions(+), 84 deletions(-) commit 0e42b9d0e64aaf9f4d04eeab29d860a68209ff61 Author: Philip Withnall Date: Mon May 4 00:11:34 2015 +0100 demos: Add calendar-cli demo This is a simple demo to allow querying calendars and events from the command line, and inserting simple new events into a calendar. Makefile.am | 32 ++- demos/calendar/calendar-cli.c | 535 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 566 insertions(+), 1 deletion(-) commit 83d215b9d2bb7e7b1547986c23277b370fce215f Author: Philip Withnall Date: Mon May 4 00:08:50 2015 +0100 calendar: Port to the Calendar API version 3 Deprecated API: • GDataCalendarFeed:timezone, gdata_calendar_feed_get_timezone() • GDataCalendarFeed:times-cleaned, gdata_calendar_feed_get_times_cleaned() • GDataBatchable implementation in GDataCalendarService • gdata_calendar_service_insert_event(), gdata_calendar_service_insert_event_async() • GDataCalendarCalendar:times-cleaned, gdata_calendar_calendar_get_times_cleaned() • GDataCalendarCalendar:edited, gdata_calendar_calendar_get_edited() API changes: • GDataBatchable implementation in GDataCalendarService will now always fail • ACLs are temporarily not supported; support for them will be re-added in future when they have been ported to the new API • Add gdata_calendar_service_insert_calendar_event(), gdata_calendar_service_insert_calendar_event_async() This includes a partial update of the unit tests, but most of them have been disabled pending updates. https://bugzilla.gnome.org/show_bug.cgi?id=664353 docs/reference/gdata-sections.txt | 2 + gdata/gdata.symbols | 2 + gdata/services/calendar/gdata-calendar-calendar.c | 311 ++++---- gdata/services/calendar/gdata-calendar-calendar.h | 9 +- gdata/services/calendar/gdata-calendar-event.c | 846 ++++++++++++++++++---- gdata/services/calendar/gdata-calendar-feed.c | 91 +-- gdata/services/calendar/gdata-calendar-feed.h | 8 +- gdata/services/calendar/gdata-calendar-query.c | 3 +- gdata/services/calendar/gdata-calendar-service.c | 514 ++++++++++--- gdata/services/calendar/gdata-calendar-service.h | 36 +- gdata/tests/calendar.c | 696 +++++++++++------- 11 files changed, 1775 insertions(+), 743 deletions(-) commit 69d181787f4ed92690130d50858dc856c462585a Author: Philip Withnall Date: Sun May 3 23:51:59 2015 +0100 demos: Fix usage documentation in youtube-cli It was outdated. demos/youtube/youtube-cli.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 03e5b84ec166d67e1f32a51dc6727a75fe826198 Author: Philip Withnall Date: Sun May 3 23:49:00 2015 +0100 core: Update reference link in GDataAccessRule documentation Haven’t yet checked if the implementation still matches the documentation. gdata/gdata-access-rule.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit f5f4d75bc63fb57bf344ff1018731e12d695772e Author: Philip Withnall Date: Sun May 3 23:48:35 2015 +0100 docs: Remove a dead link from the HACKING file https://bugzilla.gnome.org/show_bug.cgi?id=664353 HACKING | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f73d69de95bb934a34b20644de5e84854d046284 Author: Philip Withnall Date: Sun May 3 23:34:32 2015 +0100 core: Clarify that GDataFeed:total-results may be zero for unknown The v3 Calendar API doesn’t report the total number of results for calendar lists, even though it supports pagination. Clarify the documentation about this. https://bugzilla.gnome.org/show_bug.cgi?id=664353 gdata/gdata-feed.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d7f93942811ba761cfb16430744a40e89a5bf5b6 Author: Philip Withnall Date: Sun May 3 16:21:30 2015 +0100 core: Add an internal parser for hexadecimal colours in JSON members This will be used for v3 of the Calendar API. https://bugzilla.gnome.org/show_bug.cgi?id=664353 gdata/gdata-parser.c | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++ gdata/gdata-parser.h | 8 +++++ 2 files changed, 106 insertions(+) commit e98aabd114aa5d86d41b0da50c720fda58cd3b1e Author: Philip Withnall Date: Sun May 3 12:09:22 2015 +0100 documents: Assert that parsing a known JSON string member succeeds gdata_parser_string_from_json_member() should return TRUE iff it matched the given member (even if parsing fails). Since the member name comes from a loop over the existing members, this should always succeed. Spotted by Coverity. CID: #109873 gdata/services/documents/gdata-documents-document.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f6f4e3e5eb75d1f17eb1fa9cc8aa3c9b31bb38f1 Author: Philip Withnall Date: Sun May 3 12:07:59 2015 +0100 youtube: Add a missing strv NULL dereference check Spotted by Coverity. CID: #109874 gdata/services/youtube/gdata-youtube-video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f2d18cbcc9e33d4e3a92abde8cdad428c031dd7e Author: Philip Withnall Date: Thu Apr 30 21:31:01 2015 +0100 tests: Partially port and re-enable the YouTube test suite Re-enable a couple of the tests. There’s still a long way to go before they’re all re-enabled though. gdata/tests/Makefile.am | 3 +- gdata/tests/traces/youtube/authentication | 38 +- gdata/tests/traces/youtube/global-authentication | 38 +- gdata/tests/youtube.c | 588 ++++++++++++++++++----- 4 files changed, 518 insertions(+), 149 deletions(-) commit e49a9d92120da3a77817c77577859be53c7cd081 Author: Philip Withnall Date: Thu Apr 30 21:32:55 2015 +0100 youtube: Remove processingDetails part from single video query URI We can only query the processingDetails if we are the video owner, which basically means we can only (reliably) do it in the upload code, after uploading the video. Attempting to retrieve the processingDetails for any other video (we don’t own) results in an access denied error response from the server. gdata/services/youtube/gdata-youtube-video.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit f21f169ea15fd30cd74b32a0100d6ae96300c53e Author: Philip Withnall Date: Thu Apr 30 21:32:20 2015 +0100 youtube: Fix freeing static strings in GDataYouTubeVideo The access control keys are all allocated, not static. This fixes a crash when parsing some videos. gdata/services/youtube/gdata-youtube-video.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 0f9ff5f12cf65c9a779f87f1e15ffb62c565c295 Author: Philip Withnall Date: Thu Apr 30 21:31:39 2015 +0100 youtube: Add property setters in GDataYouTubeState So that it can actually be constructed from gdata_youtube_video_get_state(). gdata/services/youtube/gdata-youtube-state.c | 50 +++++++++++++++++++++++++--- 1 file changed, 46 insertions(+), 4 deletions(-) commit 55494a86848d6ba164a72c8c57adf8360a3ed26d Author: Philip Withnall Date: Thu Apr 30 20:29:22 2015 +0100 tests: Re-enable Freebase tests They seem to pass now; don’t know what changed to cause them to stop failing. gdata/tests/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c7445fc6f30befbf19dfbf60b81053259aae9804 Author: Philip Withnall Date: Thu Apr 30 20:22:08 2015 +0100 tests: Re-enable the general /app/categories after porting to YouTube v3 Port the test to use the new JSON-style GDataAPPCategories (which is completely non-standards-compliant, but hey) and re-enable it. gdata/tests/general.c | 52 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 39 insertions(+), 13 deletions(-) commit fa663d6504ceecb7cf9202f0de178b0915694e66 Author: Philip Withnall Date: Thu Apr 30 20:11:44 2015 +0100 tests: Update and re-enable the streams test It needed to be updated to check YouTube JSON, rather than XML. No other changes. gdata/tests/Makefile.am | 3 +- gdata/tests/streams.c | 103 ++++++++++++++++++++---------------------------- 2 files changed, 45 insertions(+), 61 deletions(-) commit 7d58b5d78d1a69cf7a6d7957d31382b91f2ee6ae Author: Philip Withnall Date: Thu Apr 30 20:11:18 2015 +0100 youtube: Fix an error return value type gdata/services/youtube/gdata-youtube-video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5ca05e195f7cecd63d6616aeef8410df8eee978c Author: Philip Withnall Date: Thu Apr 30 20:10:10 2015 +0100 youtube: Allow location to be unset in GDataYouTubeVideo Previously, whether the location was set was controlled by another property, but that’s gone now. Relax the bounds on the latitude and longitude properties, and treat all out-of-bounds values as an unset location. This fixes the problem of a new GDataYouTubeVideo saying its location is (0.0, 0.0) (which is a valid location). gdata/services/youtube/gdata-youtube-video.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit 2fe7f6305063b6c300cac15e3abff738d41dba0c Author: Philip Withnall Date: Thu Apr 30 19:38:15 2015 +0100 media: Fix a strict aliasing problem with a cast Fixes a compiler warning. Potentially unbreaks libgdata on architectures which care about pointer alignment. (I’m looking at you, ARM.) gdata/media/gdata-media-thumbnail.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit 320bd70b5d285c9f3a336de94e1e771dffbfaea9 Author: Debarshi Ray Date: Mon Apr 27 18:23:57 2015 +0200 core: Set description in JSON https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/gdata-entry.c | 5 +++++ 1 file changed, 5 insertions(+) commit 6e0b3d1f14e0c290670fd595ace3bf48dd26e714 Author: Debarshi Ray Date: Fri Apr 24 17:01:42 2015 +0200 documents: Add support for Drive v2 query properties https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/services/documents/gdata-documents-query.c | 59 ++++++++++++++++-------- 1 file changed, 39 insertions(+), 20 deletions(-) commit a246f3bf5f22fcde438e916764a5bca61c9f1a90 Author: Debarshi Ray Date: Fri Apr 24 11:31:16 2015 +0200 core: Add internal helper API for adding query strings In the Drive v2 API, certain GDataDocumentsQuery properties like show-deleted and show-folders no longer have their own parameters, but have to be specified as a search clause in the query string. This will be used internally by child classes of GDataQuery to add search clauses that represent service-specific query properties. https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/gdata-private.h | 2 ++ gdata/gdata-query.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 49 insertions(+), 2 deletions(-) commit fa3e219eff1d4617463a86deb14cb3b1f5fb9a19 Author: Debarshi Ray Date: Fri Apr 24 11:35:22 2015 +0200 documents: Add support for paging through Drive v2 file lists The server does not offer a ‘previous’ URI. https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/services/documents/gdata-documents-feed.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) commit a7a92287d7fd592d8fb2ae466ab91b869c2c7a19 Author: Debarshi Ray Date: Thu Apr 23 14:37:12 2015 +0200 core: Expose _gdata_feed_add_link() internally This will be used by GDataDocumentsFeed to add a link for nextLink. https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/gdata-feed.c | 3 +-- gdata/gdata-private.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) commit cb60cd24c2baea7c8b068114411b776db55b6bb5 Author: Debarshi Ray Date: Thu Apr 23 14:25:18 2015 +0200 core: Parse selfLink from JSON for GDataFeed https://bugzilla.gnome.org/show_bug.cgi?id=684920 gdata/gdata-feed.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit f05a94d4ddbad9b9f1dff58c8a6a68505f49cd35 Author: Philip Withnall Date: Fri Apr 24 03:50:45 2015 +0100 build: Increment version to 0.17.2 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a032226ce2312753e4fa50a77c401cdd4ff82a3d Author: Philip Withnall Date: Fri Apr 24 03:49:26 2015 +0100 Release version 0.17.1 NEWS | 7 +++++++ configure.ac | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-)