GNOME Bugzilla – Bug 593537
Upgrade Documents service to version 3.0
Last modified: 2012-04-02 14:35:56 UTC
See http://code.google.com/apis/documents/changelog.html#release-Version-3.0 and http://googledataapis.blogspot.com/2009/08/pdfs-revisions-folder-sharing-in.html
Also, error handling and exponential backoff is covered here: http://googleappsdeveloper.blogspot.com/2011/12/documents-list-api-best-practices.html
Finally fixed in master. There are a load of workarounds for bugs in Google's API, but it all seems to work, and without the need for any API breaks! I'm sure there will be some bugs to shake out, though. Error handling didn't need any changes. Exponential backoff has been punted to bug #673367. commit 1f847d3e53e4c1a326f7920e1651e5a4573a990f Author: Philip Withnall <philip@tecnocode.co.uk> Date: Mon Apr 2 15:18:21 2012 +0100 documents: Fix batch operation tests for v3 of the API Closes: https://bugzilla.gnome.org/show_bug.cgi?id=593537 gdata/tests/documents.c | 26 ++++++++++++++------------ 1 files changed, 14 insertions(+), 12 deletions(-) commit c0358261b2c897c8daacab1be58d63a63b9f4394 Author: Philip Withnall <philip@tecnocode.co.uk> Date: Mon Apr 2 15:17:42 2012 +0100 documents: Fix adding to/removing from folders with v3 of the API Helps: https://bugzilla.gnome.org/show_bug.cgi?id=593537 gdata/services/documents/gdata-documents-service.c | 21 +++++++++++-------- 1 files changed, 12 insertions(+), 9 deletions(-) commit c472db8b6cd12c02d4182e4d2f36aa2ae8dcdac2 Author: Philip Withnall <philip@tecnocode.co.uk> Date: Fri Oct 28 09:31:24 2011 +0100 documents: Add basic support for version 3 of the Google Documents API Support for v3 of the API will replace support for v2, given that v3 is now stable and v2 is no longer recommended. Helps: https://bugzilla.gnome.org/show_bug.cgi?id=593537 gdata/services/documents/gdata-documents-service.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 3ff70e3824980996b8c0e3b0f1917144783945d0 Author: Philip Withnall <philip@tecnocode.co.uk> Date: Sun Nov 6 23:27:43 2011 +0000 documents: Changes to IDs for v3 support Helps: https://bugzilla.gnome.org/show_bug.cgi?id=593537 gdata/services/documents/gdata-documents-entry.c | 72 ++++++++++++++------ gdata/services/documents/gdata-documents-service.c | 28 +++----- 2 files changed, 63 insertions(+), 37 deletions(-) commit 6c4a2b36627a5ceec91d6979eca61ef27ee3ea1f Author: Philip Withnall <philip@tecnocode.co.uk> Date: Mon Apr 2 15:06:41 2012 +0100 documents: Update links in the documentation Google have helpfully moved the GData documentation and not put any redirects in place, so we have to update all the links for v3 of the Documents API. Helps: https://bugzilla.gnome.org/show_bug.cgi?id=593537 .../services/documents/gdata-documents-document.c | 10 +++++----- gdata/services/documents/gdata-documents-entry.c | 2 +- gdata/services/documents/gdata-documents-folder.c | 2 +- .../documents/gdata-documents-presentation.c | 2 +- .../documents/gdata-documents-presentation.h | 10 +++++----- gdata/services/documents/gdata-documents-query.c | 2 +- gdata/services/documents/gdata-documents-service.c | 2 +- .../documents/gdata-documents-spreadsheet.c | 2 +- .../documents/gdata-documents-spreadsheet.h | 12 ++++++------ gdata/services/documents/gdata-documents-text.c | 2 +- gdata/services/documents/gdata-documents-text.h | 16 ++++++++-------- 11 files changed, 31 insertions(+), 31 deletions(-)