summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests: Fix /documents/folder/parser/normal to work with Drive v2 APIwip/rishi/driveDebarshi Ray2018-08-131-41/+89
| | | | | | | | The gdata_documents_entry_get_path API doesn't work with Drive v2 because each entry's JSON only has its immediate parents, not the full chain. https://bugzilla.gnome.org/show_bug.cgi?id=684920
* tests: Make the cancellation tests work with GTaskDebarshi Ray2018-08-131-0/+18
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=684920
* tests: Update tracesDebarshi Ray2018-08-1338-1673/+48880
|
* tests: GDataDocumentsSpreadsheet is not meant for ODS files in Drive v2Debarshi Ray2018-08-131-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=684920
* tests: ODTs are represented by GDataDocumentsDocument in Drive v2Debarshi Ray2018-08-131-8/+8
| | | | | | | | | | | | | | | | GDataDocumentText is bound to application/vnd.google-apps.document, which represents native Drive-specific text documents. Anything that's not a Drive-specific type, except PDFs, are meant to be represented as GDataDocumentsDocument. Trying to upload an ODT as a GDataDocumentText confuses things. We pass the ODT's MIME type to the GDataUploadStream, which is not the MIME type of the associated entry. The updated GDataEntry that is obtained as a side-effect of the upload is set to match the stream's MIME type. Therefore it is a GDataDocumentDocuments, which isn't the same type as the initial entry we started with. https://bugzilla.gnome.org/show_bug.cgi?id=684920
* tests: ODTs are represented by GDataDocumentsDocument in Drive v2Debarshi Ray2018-08-131-0/+5
| | | | | | | | | | | We are uploading the ODT as a GDataDocumentsDocument, but somehow expect it to become a GDataDocumentsText when downloading. That's a bit bizarre. More importantly, in Drive v2, only PDFs and Drive-specific content types are supposed to be represented by the GDataDocumentsDocument sub-classes. Therefore, it is wrong to expect an ODT to somehow become a GDataDocumentsText. https://bugzilla.gnome.org/show_bug.cgi?id=684920
* tests: Skip UPLOAD_ODT_CONVERTDebarshi Ray2018-08-131-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=684920
* Port the testsDebarshi Ray2018-08-132-9/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=684920
* core: Move the header guards before including other headersDebarshi Ray2018-08-131-3/+3
| | | | | | | Don't attempt including other headers only to be blocked by their individual header guards. https://gitlab.gnome.org/GNOME/libgdata/merge_requests/3
* Merge branch 'wip/use_free_full' into 'master'Philip Withnall2018-08-067-112/+28
|\ | | | | | | | | Remove use of foreach with wrong function prototype and use g_list_free_full See merge request GNOME/libgdata!1
| * Remove use of foreach with wrong function prototype and use g_list_free_fullAlberto Ruiz2018-08-067-112/+28
|/
* Update Romanian translationDaniel Șerbănescu2018-04-081-218/+367
|
* Update Chinese (Taiwan) translationCheng-Chia Tseng2018-03-261-176/+163
|
* Add Croatian translationgogo2018-03-162-0/+581
|
* Update British English translationBruce Cowan2018-03-101-180/+191
|
* build: Add --enable-gtk option to conditionalise GTK+ examplesPhilip Withnall2018-02-142-3/+12
| | | | | | | | | Only build the GTK+ examples if enabled explicitly with --enable-gtk, or if --enable-gtk is not specified and GTK+ is available. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=787210
* documents: Correct the prefix used for resource IDs of foldersDebarshi Ray2018-02-143-7/+43
| | | | | | | | | GDataDocumentsFolders' resource IDs should have the "folder:" prefix, not "documents:". Fallout from d93279623e34c7b275ae3f989b54c6f3a30d5658 https://bugzilla.gnome.org/show_bug.cgi?id=684920
* documents: Expose _gdata_documents_entry_set_resource_id internallyDebarshi Ray2018-02-143-1/+52
| | | | | | | This will be used by GDataDocumentsDocument and GDataDocumentsFolder to set their resource IDs right after parsing the JSON. https://bugzilla.gnome.org/show_bug.cgi?id=684920
* gdata: Add some g_autoptr() declarations for authorizer classesPhilip Withnall2018-02-126-0/+7
| | | | | | Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=793367
* tests: Skip /service/network_error test by defaultPhilip Withnall2018-01-091-0/+6
| | | | | | | | | It requires network access, so is not suitable for running on build machines as per Debian policy. Skip it unless running ‘slow’ tests. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838530 Signed-off-by: Philip Withnall <withnall@endlessm.com>
* contacts: Ignore parse errors from websites in contactsMilan Crha2017-11-272-3/+4
| | | | | | | | | | | | | | | It seems the server permits empty websites (with an empty URI) to be added to contacts. This seems to contradict the specification (or, at least, is not mentioned as allowed). https://developers.google.com/google-apps/contacts/v3/reference#gcWebsite Rather than accepting such nonsensical websites and exposing them to the user of libgdata to deal with, it seems better to drop them from the XML. This means that we don’t round-trip perfectly, but I can’t see how that can cause problems. https://bugzilla.gnome.org/show_bug.cgi?id=790671
* core: Add a GDataParser flag for ignoring erroneous child elementsMilan Crha2017-11-272-2/+18
| | | | | | | | In some situations, it makes sense to ignore child elements if they fail to parse properly, rather than propagating that error up to the parent. See the following commit for an example of such a situation. https://bugzilla.gnome.org/show_bug.cgi?id=790671
* contacts: Fix typo in previous commitPhilip Withnall2017-11-031-1/+1
| | | | | | Do. Not. Push. Without. Compiling. Signed-off-by: Philip Withnall <withnall@endlessm.com>
* contacts: Fix pagination for contact queriesPhilip Withnall2017-11-031-2/+5
| | | | | | | | Use the right pagination type to avoid an assertion failure. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=786532
* Migrate from intltool to gettextNiels De Graef2017-10-305-14/+81
| | | | | | | | See also https://wiki.gnome.org/Initiatives/GnomeGoals/GettextMigration Signed-off-by: Niels De Graef <nielsdegraef@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=787252
* Update git.mk to latest upstreamNiels De Graef2017-10-301-2/+69
| | | | | | Signed-off-by: Niels De Graef <nielsdegraef@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=787252
* Update Dutch translationNathan Follens2017-10-291-152/+285
|
* build: Use AM_DISTCHECK_CONFIGURE_FLAGS not DISTCHECK_CONFIGURE_FLAGSPhilip Withnall2017-10-171-3/+3
| | | | | | | | | | The former is for the build system to use; the latter is for the user to override what the build system says. See https://www.gnu.org/software/automake/manual/html_node/Checking-the-Distribution.html. Signed-off-by: Philip Withnall <withnall@endlessm.com>
* [l10n] Updated Catalan (Valencian) translationXavi Ivars2017-10-051-169/+231
|
* Add Nepali translationPawan Chitrakar2017-09-252-0/+590
|
* tests: Resumable updates haven't been ported to Drive v2Debarshi Ray2017-09-201-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=684920
* tests: Make folder creation work with Drive v2Debarshi Ray2017-09-201-6/+15
| | | | | | See a9c8516b4380a213cd92d83a11f9793414588319 for the rationale. https://bugzilla.gnome.org/show_bug.cgi?id=684920
* tests: Use OAuth2 for authentication instead of ClientLoginDebarshi Ray2017-09-191-19/+82
| | | | | | Based on similar code found elsewhere in the test suite. https://bugzilla.gnome.org/show_bug.cgi?id=684920
* tests: Resumable uploads haven't been ported to Drive v2Debarshi Ray2017-09-191-6/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=684920
* youtube: Don't drop reference we don't own in parse_json()Christophe Fergeau2017-09-191-1/+0
| | | | | | | | | | parse_json() unref's the passed in GDataParsable, but it does not own a reference to it. This was causing runtime warnings/criticals when testing a youtube URL with grilo-test-ui-0.3 Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> https://bugzilla.gnome.org/show_bug.cgi?id=787872
* Update Turkish translationEmin Tufan Çetin2017-09-091-73/+107
|
* Updated Danish translationAsk Hjorth Larsen2017-08-281-22/+26
|
* Revert "tasks: Re-add ISO 8601 formatting workaround for Tasks service"Philip Withnall2017-08-236-148/+27
| | | | | | | | | | This reverts commit d10155034b0fa2e43e2889e55157798ce073f807. It looks like Google may now have fixed the timezone formatting bug in their Tasks services (they had previously fixed it in their other services; see bug #780067). https://bugzilla.gnome.org/show_bug.cgi?id=785952
* Update Catalan translationJordi Mas2017-08-231-165/+225
|
* build: Increment version to 0.17.10Philip Withnall2017-08-231-1/+1
| | | | Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
* Release version 0.17.90.17.9Philip Withnall2017-08-234-2/+31
| | | | Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
* docs: Fix gtk-doc parsing of a function in GDataCalendarServicePhilip Withnall2017-08-231-3/+1
| | | | | | | I don’t think it likes the mixture of attributes after the argument list. Changing the line wrapping seems to fix it. Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
* docs: Add GDataDocumentsMetadata to the documentation indexPhilip Withnall2017-08-232-2/+3
| | | | | | | Also relabel the ‘Documents API’ to ‘Documents/Drive API’ to make it a bit clearer that it now covers Google Drive. Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
* core: Drop an unused variablePhilip Withnall2017-08-221-1/+0
| | | | Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
* documents: Silence a CRITICAL when querying a feed of entriesDebarshi Ray2017-08-141-15/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Querying a feed of Drive entries using Drive v2 leads to: CRITICAL **: _gdata_query_set_next_uri: assertion 'self->priv->pagination_type == GDATA_QUERY_PAGINATION_URIS' failed When the support for pagination using page tokens was landed in commit 38b934a9ef9dab89, the code in GDataDocumentsService::parse_feed that added the next and previous URIs from the feed to the GDataQuery was generalized and moved to GDataService::parse_feed, and GDataDocumentsQuery was set to use pagination tokens. The intention was to use pagination tokens for GDataDocuments* using only the generic parsing code in the base classes. However, the code in GDataDocumentsFeed::parse_json that added the GDataLinks for the next URI to the feed wasn't removed. This tricks GDataService::parse_feed into using pagination URIs with the corresponding query. This reverts commit fa3e219eff1d4617463a86deb14cb3b1f5fb9a19. https://bugzilla.gnome.org/show_bug.cgi?id=684920
* tests: Fix the set up for /documents/folders/remove_from_folderDebarshi Ray2017-08-091-2/+20
| | | | | | | | In Drive v2, we can only remove an entry from a folder if it had multiple parents to start with. If there was only a single parent, then the request is just ignored. https://bugzilla.gnome.org/show_bug.cgi?id=684920
* picasaweb: Port from GSimpleAsyncResult to GTaskPhilip Withnall2017-08-091-35/+19
| | | | | | These are the last instances of GSimpleAsyncResult. Die! Signed-off-by: Philip Withnall <withnall@endlessm.com>
* picasaweb: Add g_autoptr() support for all PicasaWeb classesPhilip Withnall2017-08-097-0/+7
| | | | Signed-off-by: Philip Withnall <withnall@endlessm.com>
* youtube: Port from GSimpleAsyncResult to GTaskPhilip Withnall2017-08-091-26/+15
| | | | Signed-off-by: Philip Withnall <withnall@endlessm.com>
* app: Add g_autoptr() support to all the gdata/app classesPhilip Withnall2017-08-091-0/+1
| | | | Signed-off-by: Philip Withnall <withnall@endlessm.com>