commit 66a9d2b4d9c6a45bb231549caabf0d1a1446ae5f Author: Philip Withnall Date: Sat Apr 14 12:14:43 2012 +0100 l10n: Update British English translation po/en_GB.po | 132 +++++++++++++++++++++++++++++++---------------------------- 1 files changed, 69 insertions(+), 63 deletions(-) commit dc298f4f5123ba62df56ae1e4ece08d6055eb2bb Author: Philip Withnall Date: Sat Apr 14 11:08:30 2012 +0100 documents: Add an XML parsing test for GDataDocumentsFolder This includes a test for GDataDocumentsEntry:quota-used. Helps: https://bugzilla.gnome.org/show_bug.cgi?id=588714 gdata/tests/documents.c | 73 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 73 insertions(+), 0 deletions(-) commit 3ee77832b4dcfdb83a5e653760eeece34d68c045 Author: Philip Withnall Date: Sat Apr 14 11:00:35 2012 +0100 Bug 588714 — handling in GDataDocumentsEntry Add support for to GDataDocumentsEntry. API additions: • GDataDocumentsEntry:quota-used and gdata_documents_entry_get_quota_used() Closes: https://bugzilla.gnome.org/show_bug.cgi?id=588714 docs/reference/gdata-sections.txt | 1 + gdata/gdata.symbols | 1 + gdata/services/documents/gdata-documents-entry.c | 45 +++++++++++++++++++++- gdata/services/documents/gdata-documents-entry.h | 2 + 4 files changed, 48 insertions(+), 1 deletions(-) commit 72464c86e970f205ae6bad765f65839cc9da46dd Author: Philip Withnall Date: Sat Apr 14 11:26:40 2012 +0100 core: Add gdata_parser_int64_from_element() to parse long numbers In comparison to the old version, this handles normal integers rather than dates. This also ports some uses of g_ascii_strtoll() in GDataPicasaWebUser to the new API. gdata/gdata-parser.c | 77 +++++++++++++++++++++++ gdata/gdata-parser.h | 2 + gdata/services/picasaweb/gdata-picasaweb-user.c | 14 +--- 3 files changed, 82 insertions(+), 11 deletions(-) commit 282d44478b67a7c86f92fb4fa416c47c1cdc101a Author: Philip Withnall Date: Sat Apr 14 11:13:40 2012 +0100 core: Rename gdata_parser_int64_from_element() So that a new int64 parsing method can be added. gdata/gdata-access-rule.c | 2 +- gdata/gdata-entry.c | 4 ++-- gdata/gdata-feed.c | 4 ++-- gdata/gdata-parser.c | 10 +++++----- gdata/gdata-parser.h | 4 ++-- gdata/services/calendar/gdata-calendar-calendar.c | 2 +- gdata/services/calendar/gdata-calendar-event.c | 2 +- gdata/services/contacts/gdata-contacts-contact.c | 2 +- gdata/services/contacts/gdata-contacts-group.c | 2 +- gdata/services/documents/gdata-documents-entry.c | 6 +++--- gdata/services/picasaweb/gdata-picasaweb-album.c | 2 +- gdata/services/picasaweb/gdata-picasaweb-file.c | 2 +- gdata/services/youtube/gdata-youtube-group.c | 4 ++-- 13 files changed, 23 insertions(+), 23 deletions(-) commit c31f3d6e8955c37c1351644527917bd9cb082623 Author: Philip Withnall Date: Sat Apr 14 10:27:18 2012 +0100 documents: Fix support for downloading arbitrary documents This adds a new authorization domain necessary for downloading arbitrary files. I can’t test this at the moment, though, due to Google breaking the workaround we were using for uploading metadata-only documents. (See: http://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=3033) Thanks Google. Thoogle. gdata/services/documents/gdata-documents-service.c | 2 ++ gdata/tests/documents.c | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 0 deletions(-) commit 8f084ed2f1d8f3256c12ad7184639d0dd2c68ccd Author: Philip Withnall Date: Sat Apr 14 09:52:40 2012 +0100 documents: Add GDATA_DOCUMENTS_TEXT_JPEG export format API additions: • GDATA_DOCUMENTS_TEXT_JPEG docs/reference/gdata-sections.txt | 1 + gdata/services/documents/gdata-documents-text.h | 13 +++++++++++++ 2 files changed, 14 insertions(+), 0 deletions(-) commit 5cbd5e7e61000f3170bb25dcdd8e316b1208e9c2 Author: Philip Withnall Date: Sat Apr 14 09:50:29 2012 +0100 documents: Tidy up GDataDocumentsFeed a little gdata/services/documents/gdata-documents-feed.c | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) commit 4617666c239d268b5a90ac3e3dd5b24445e0c878 Author: Philip Withnall Date: Sat Apr 14 09:47:52 2012 +0100 documents: Add arbitrary file support to GDataDocumentsFeed gdata/services/documents/gdata-documents-feed.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 8fd2cf3963d25eb97014ddb3f234c2bf8cad6261 Author: Philip Withnall Date: Fri Apr 13 13:14:54 2012 +0100 Bug 607616 — Permit the uploading of documents of any type Add support to GDataDocumentsUploadQuery for specifying that documents shouldn’t be converted to common formats on being uploaded. This permits arbitrary files to be uploaded. This includes test cases. API additions: • GDataDocumentsUploadQuery:convert, gdata_documents_upload_query_get_convert and gdata_documents_upload_query_set_convert Closes: https://bugzilla.gnome.org/show_bug.cgi?id=607616 docs/reference/gdata-sections.txt | 2 + gdata/gdata.symbols | 2 + gdata/services/documents/gdata-documents-service.c | 54 +++--- .../documents/gdata-documents-upload-query.c | 189 +++++++++++++++++++- .../documents/gdata-documents-upload-query.h | 3 + gdata/tests/documents.c | 152 ++++++++++++---- 6 files changed, 341 insertions(+), 61 deletions(-) commit e1f77430461ea48917a87aa2050d4f91a9440c9f Author: Philip Withnall Date: Fri Apr 13 13:52:00 2012 +0100 tests: Move check_kind() from contacts tests to gdata_test_compare_kind() gdata/tests/common.c | 20 ++++++++++++++++++++ gdata/tests/common.h | 2 ++ gdata/tests/contacts.c | 48 +++++++++++++++--------------------------------- 3 files changed, 37 insertions(+), 33 deletions(-) commit 1d0e74eeb0851d5be40b5d79d153682d52712180 Author: Philip Withnall Date: Fri Apr 13 13:20:00 2012 +0100 documents: Make GDataDocumentsDocument non-abstract It now represents arbitrary files, so that Google Documents can be used as a kind of remote filesystem. This shouldn’t be an API break. Helps: https://bugzilla.gnome.org/show_bug.cgi?id=656971 docs/reference/gdata-sections.txt | 1 + gdata/gdata.symbols | 1 + .../services/documents/gdata-documents-document.c | 34 +++++++++++++++++-- .../services/documents/gdata-documents-document.h | 2 + 4 files changed, 34 insertions(+), 4 deletions(-) commit c8eca065e5f3f11d0ec8c7aac497e19f7d07469e Author: Philip Withnall Date: Fri Apr 13 00:21:51 2012 +0100 documents: Split upload parameters out into GDataDocumentsUploadQuery This new object currently only specifies the destination folder for an upload (replacing the folder argument to gdata_documents_service_upload_document_resumable()), but will in future allow specifying things like the ‘convert’ and OCR parameters for uploads. API additions: • GDataDocumentsUploadQuery and its methods API breaks: • gdata_documents_service_upload_document_resumable() (Note that this API hasn’t yet been in a libgdata release, so this isn’t a real API break.) Helps: https://bugzilla.gnome.org/show_bug.cgi?id=656971 Makefile.am | 4 +- docs/reference/gdata-docs.xml | 1 + docs/reference/gdata-sections.txt | 21 ++ gdata/gdata.h | 1 + gdata/gdata.symbols | 5 + gdata/services/documents/gdata-documents-service.c | 48 +++-- gdata/services/documents/gdata-documents-service.h | 4 +- .../documents/gdata-documents-upload-query.c | 235 ++++++++++++++++++++ .../documents/gdata-documents-upload-query.h | 75 +++++++ gdata/tests/documents.c | 13 +- 10 files changed, 381 insertions(+), 26 deletions(-) commit 5eea510bb492e62e76e515534f4f02be85caac81 Author: Philip Withnall Date: Fri Apr 13 00:09:38 2012 +0100 documents: Tidy up URI escaping a little gdata/services/documents/gdata-documents-service.c | 35 ++++---------------- 1 files changed, 7 insertions(+), 28 deletions(-) commit 50e671a77fff86641a211ea1434b067d35e359db Author: Philip Withnall Date: Fri Apr 13 00:04:09 2012 +0100 docs: Fix some documentation comment syntax gdata/services/documents/gdata-documents-entry.c | 10 +++++----- gdata/services/picasaweb/gdata-picasaweb-album.c | 18 +++++++++--------- 2 files changed, 14 insertions(+), 14 deletions(-) commit b5b93cee8fc3210ac96c40051b14695846ca2f9d Author: Yaron Shahrabani Date: Fri Apr 13 01:03:15 2012 +0300 Updated Hebrew translation. po/he.po | 167 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 86 insertions(+), 81 deletions(-) commit 37a2d6e5802bdadfc1c2f7190d9a75cdfae6f03f Author: Carles Ferrando Date: Wed Apr 11 00:22:39 2012 +0200 [l10n]Updated Catalan (Valencian) translation po/ca@valencia.po | 119 ++++++++++++++++++++++++++++------------------------- 1 files changed, 63 insertions(+), 56 deletions(-) commit 98cd05d04c5ebb9c4e9355d989932b46b3ca5f22 Author: Jordi Serratosa Date: Wed Apr 11 00:22:19 2012 +0200 [l10n] Fixes on Catalan translation po/ca.po | 123 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 62 insertions(+), 61 deletions(-) commit 820216f8a6acb6a3b5ecdcb7a2d076db86109509 Author: Daniel Mustieles Date: Sun Apr 8 13:25:48 2012 +0200 Updated Spanish translation po/es.po | 125 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 65 insertions(+), 60 deletions(-) commit 611ab8efbc5eaa9884e6217f19c15ae885323f74 Author: Daniel Nylander Date: Mon Apr 2 18:45:17 2012 +0200 Updated Swedish translation po/sv.po | 133 ++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 70 insertions(+), 63 deletions(-) commit 96ab38cf45dcf07eb9b125106548a2343457be19 Author: Philip Withnall Date: Mon Apr 2 16:39:26 2012 +0100 build: Increment version to 0.13.0 This also fixes the ‘Since’ lines of documentation comments which referred to the (now non-existent) 0.11.2 release. This will actually be the 0.13.0 release. configure.ac | 4 ++-- gdata/gdata-upload-stream.c | 6 +++--- gdata/gdata-upload-stream.h | 4 ++-- gdata/services/documents/gdata-documents-service.c | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) commit 1f847d3e53e4c1a326f7920e1651e5a4573a990f Author: Philip Withnall 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 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 6e8499dfbdb6029b7797ae31957b87f688a88482 Author: Philip Withnall Date: Mon Apr 2 15:12:35 2012 +0100 documents: Add support for resumable uploads and updates This adds support for resumable uploads and updates to the Documents API. In doing so, it was necessary to wade through a sea of bugs and documentation inadequacies in the GData protocol (thanks, Google). In the end, it all seems to work (ignoring the pile of hacks to handle differences between non-resumable and resumable uploads’ handling of metadata; and the bugs in content-only uploads). It’s worth noting that this is only a basic implementation of resumable upload/update. It does not, for example, automatically retry chunks of uploads which fail. That can come later. A new, expanded set of test cases for uploads/updates is included. New API: • gdata_documents_service_upload_document_resumable() • gdata_documents_service_update_document_resumable() Helps: https://bugzilla.gnome.org/show_bug.cgi?id=607272 Helps: https://bugzilla.gnome.org/show_bug.cgi?id=593537 docs/reference/gdata-sections.txt | 2 + gdata/gdata-upload-stream.c | 26 +- gdata/gdata.symbols | 2 + gdata/services/documents/gdata-documents-service.c | 289 +++++++- gdata/services/documents/gdata-documents-service.h | 8 + gdata/tests/documents.c | 807 +++++++++++--------- 6 files changed, 742 insertions(+), 392 deletions(-) commit c472db8b6cd12c02d4182e4d2f36aa2ae8dcdac2 Author: Philip Withnall 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 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 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(-) commit f91c994f0f6f5f96ea7765e75ecc1ce393f9b61b Author: Philip Withnall Date: Tue Dec 20 20:40:16 2011 +0000 core: Extend GDataUploadStream with support for resumable uploads This adds the following API: • gdata_upload_stream_new_resumable() • GDataUploadStream:content-length, gdata_upload_stream_get_content_length() Helps: https://bugzilla.gnome.org/show_bug.cgi?id=607272 docs/reference/gdata-sections.txt | 4 + gdata/gdata-upload-stream.c | 515 ++++++++++++++++++++++++++++++------- gdata/gdata-upload-stream.h | 30 +++ gdata/gdata.symbols | 2 + gdata/tests/common.c | 19 +- gdata/tests/common.h | 1 + gdata/tests/streams.c | 443 +++++++++++++++++++++++++++++++ 7 files changed, 920 insertions(+), 94 deletions(-) commit c755ad77704e7d1a7cac3bb7d4e4371c5da9a234 Author: Philip Withnall Date: Sat Mar 31 17:20:59 2012 +0100 core: Bump GLib requirement to ≥ 2.31.0 This allows us to drop the conditional threading code and just use GLib’s new threading primitives. configure.ac | 2 +- gdata/gdata-buffer.c | 55 ---------- gdata/gdata-buffer.h | 5 - gdata/gdata-client-login-authorizer.c | 54 ---------- gdata/gdata-download-stream.c | 100 ----------------- gdata/gdata-oauth1-authorizer.c | 43 -------- gdata/gdata-service.c | 26 ----- gdata/gdata-upload-stream.c | 188 --------------------------------- gdata/tests/common.c | 3 - gdata/tests/memory.c | 3 - gdata/tests/perf.c | 3 - gdata/tests/streams.c | 4 - 12 files changed, 1 insertions(+), 485 deletions(-)