| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a new GDataAuthorizer subclass to support OAuth 2.0
authorisation, which is needed for the Google Tasks unit tests.
This includes support for all Google OAuth 2.0 features (note that
Google’s implementation of OAuth 2.0 is not entirely standard, so this
OAuth 2.0 authoriser cannot be used outside of Google’s services). It
includes full unit tests too.
New API:
• GDATA_OAUTH2_REDIRECT_URI_OOB
• GDATA_OAUTH2_REDIRECT_URI_OOB_AUTO
• GDataOAuth2Authorizer
https://bugzilla.gnome.org/show_bug.cgi?id=646285
|
|
|
|
|
|
|
| |
This API enables searching for search terms, returning amongst other
info the Freebase IDs usable on the topic API.
https://bugzilla.gnome.org/show_bug.cgi?id=726486
|
|
|
|
|
|
|
| |
With this API, structured data can be obtained about any Freebase
ID, including localized text and references to images.
https://bugzilla.gnome.org/show_bug.cgi?id=726486
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This service is, according to the main site, a "A community-curated
database of well-known people, places, and things", it allows searching
for and offering information about a wide range of topics, in a
well-structured and uniform manner.
The most low-level API is the MQL query interface, that is a JSON-based
language, queries consist of a data graph (according to their data schema)
with blank places, that will be filled in in the reply.
https://bugzilla.gnome.org/show_bug.cgi?id=726486
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds GDataTasks classes to libgdata:
• GDataTasksService
• GDataTasksQuery
• GDataTasksTasklist
• GDataTasksTask
This includes full documentation, but no test cases. No new dependencies
have been added to libgdata, as all the necessary ones were added with the
core JSON work.
https://bugzilla.gnome.org/show_bug.cgi?id=657539
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=693958
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Copy the GOA authoriser from EDS into libgdata, modifying it a bit to add
support for non-Contacts services and remove use of the liboauth HMAC function
in favour of GLib’s implementation.
This is essentially the same code as used by GNOME Documents. Originally
written by Matthew Barnes. He’s given permission for it to be relicenced from
LGPL v2 or v3 to LGPL v2.1+. (See the bug report.)
This adds the following API:
• GDataGoaAuthorizer
This is currently untested; waiting to port EDS and GNOME Documents to it
to test it.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=656976
|
|
|
|
|
|
| |
Add a GDataDocumentsDocument subclass to handle drawing docs.
https://bugzilla.gnome.org/show_bug.cgi?id=633548
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=660038
|
|
|
|
|
|
|
|
|
|
| |
This adds support for comments to GDataPicasaWebFile, including a GDataComment
subclass, GDataPicasaWebComment, and test cases.
This adds the following API:
• GDataPicasaWebComment
Helps: bgo#598752
|
|
|
|
|
|
|
|
|
|
| |
This adds support for comments to GDataYouTubeVideo, including a GDataComment
subclass, GDataYouTubeComment, and test cases.
This adds the following API:
• GDataYouTubeComment
Helps: bgo#598752
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds GDataCommentable, an interface to be implemented by GDataEntry
subclasses which support comments being added to them; and GDataComment,
an abstract base class for all types of comments to inherit from.
This adds the following API:
• GDataCommentable
• GDataComment
Closes: bgo#598752
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a GDataAuthorizer implementation for OAuth 1.0, the current
favourite authentication/authorization protocol in Google-land.
This includes full documentation and a test suite.
This makes the following API changes:
• Add GDataOAuth1Authorizer and all its properties and methods.
It also adds a dependency on liboauth ≥ 0.9.4.
Helps: bgo#646285
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This separates authentication and authorisation from the services themselves,
allowing authorisation schemes to be plugged in as they pop into and out of
fashion.
This removes the old gdata_service_authenticate() methods, replacing
them with an equivalent GDataClientLoginAuthorizer.
Full test cases are provided, covering everything except parsing of error
responses from the server by GDataClientLoginAuthorizer.
This makes the following API changes:
• Rename GDataAuthenticationError to GDataClientLoginAuthorizerError
Rename GDATA_AUTHENTICATION_ERROR and gdata_authentication_error_quark()
similarly.
• Remove gdata_service_authenticate() in favour of
using GDataClientLoginAuthorizer with GDataService::authorizer:
- Remove gdata_service_authenticate(),
gdata_service_authenticate_async() and
gdata_service_authenticate_finish().
- Replace gdata_service_is_authenticated() by
gdata_service_is_authorized() with much the same functionality.
- Add GDataService::authorizer, gdata_service_get_authorizer(),
gdata_service_set_authorizer() and
gdata_service_get_authorization_domains().
- Remove gdata_service_get_client_id() in favour of
GDataClientLoginAuthorizer::client-id.
- Remove gdata_service_get_username() in favour of
GDataClientLoginAuthorizer::username.
- Remove gdata_service_get_password() in favour of
GDataClientLoginAuthorizer::password.
- Remove GDataServiceClass->service_name in favour of
GDataAuthorizationDomain::service-name.
- Remove GDataServiceClass->authentication_uri and
GDataServiceClass->parse_authentication_response in favour of
different GDataAuthorizer implementations.
- Add GDataAuthorizer parameters to and remove client_id parameters from:
gdata_calendar_service_new(), gdata_contacts_service_new(),
gdata_documents_service_new(), gdata_picasaweb_service_new() and
gdata_youtube_service_new().
• Add GDataAuthorizationDomain.
- Add GDataServiceClass->get_authorization_domains and
gdata_service_get_authorization_domains().
- Add auth. domain getters to various GDataService subclasses:
gdata_youtube_service_get_primary_authorization_domain(),
gdata_contacts_service_get_primary_authorization_domain(),
gdata_calendar_service_get_primary_authorization_domain(),
gdata_picasaweb_service_get_primary_authorization_domain(),
gdata_documents_service_get_primary_authorization_domain() and
gdata_documents_service_get_spreadsheet_authorization_domain().
- Add auth. domain properties to various standalone request objects:
GDataDownloadStream::authorization-domain with
gdata_download_stream_get_authorization_domain(),
GDataUploadStream::authorization-domain with
gdata_upload_stream_get_authorization_domain() and
GDataBatchOperation::authorization-domain with
gdata_batch_operation_get_authorization_domain().
- Add GDataAccessHandlerIface->get_authorization_domain. This doesn't
have to be implemented by existing GDataAccessHandlers, but it's
highly recommended.
- Add a GDataAuthorizationDomain parameter to
GDataServiceClass->append_query_headers,
gdata_service_query(), gdata_service_query_async(),
gdata_service_query_single_entry(),
gdata_service_query_single_entry_async(), gdata_service_insert_entry(),
gdata_service_insert_entry_async(), gdata_service_update_entry(),
gdata_service_update_entry_async(), gdata_service_delete_entry(),
gdata_service_delete_entry_async(),
gdata_batchable_create_operation(),
gdata_download_stream_new() and gdata_upload_stream_new().
• Add GDataAuthorizer as described above, implemented by
GDataClientLoginAuthorizer.
Helps: bgo#646285
|
|
|
|
| |
This represents a group of contacts. Test cases included.
|
|
|
|
|
|
| |
It's the new parent class of GDataDocumentsPresentation,
GDataDocumentsSpreadsheet and GDataDocumentsText. This breaks API.
Helps: bgo#607616
|
|
|
|
|
|
|
|
|
|
|
| |
Add batch operation support. Batch operations are executed by creating a new
GDataBatchOperation, adding the required operations to it, then running it
(sync or async). Batch operations are only supported by services which
implement GDataBatchable.
This includes full test cases and documentation.
Closes: bgo#579169
|
|
|
|
|
|
| |
Add a GDataComparable interface and use it to replace all the tiny *_compare()
functions for various classes. They've consequently been removed from the API
in a pretty massive API break.
|
|
|
|
|
|
|
| |
Add support for listing the categories currently available on YouTube, along
with whether they're assignable, browsable or deprecated. Coupled with locale
support, this provides for localised category listings, too.
Closes: bgo#615721
|
|
|
|
| |
Closes: bgo#613551
|
|
|
|
| |
Helps: bgo#613551
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for various elements from the gContact namespace, and implement
them in #GDataContactsContact. There is now support for contact:
* nicknames
* birthdays
* jots (notes about a contact)
* relations (with other people, not necessarily family)
* websites
* events (anniversaries, important dates, etc.)
* calendar links
Helps: bgo#613551
|
| |
|
|
|
|
|
|
|
|
| |
Adds a GDataPicasaWebUser, which exposes information about each
registered user on PicasaWeb, queryable from the PicasaWeb service. The
patch also suppresses gphoto XML elements on PicasaWeb feeds, since
they duplicate data available in other, better places.
Closes: bgo#589858
|
|
|
|
|
| |
Added structured name and postal address handling from version 3 of the
GData namespace, including updated test cases.
|
|
|
|
|
|
| |
GDataUploadStream is a subclass of GOutputStream designed to allow easy
uploading of files (with or without an associated entry) to a service using
streaming I/O.
|
|
|
|
|
|
| |
GDataDownloadStream is a subclass of GInputStream which allows large files to
be downloaded in a more controlled manner than by just specifying the
file to save them to.
|
|
|
|
|
| |
Added support for Google Documents, from work done by Thibault Saunier
<saunierthibault@gmail.com>. Closes bgo#587073 and bgo#588282.
|
|
|
|
|
|
| |
Originally written by Richard Schwarting <aquarichy@gmail.com>, the PicasaWeb
service has decent test suite coverage, decent documentation, and support for
common PicasaWeb operations. Closes: bgo#580375
|
|
|
|
|
|
|
|
| |
Split parsing of app:control elements in GDataYouTubeVideo out into
GDataYouTubeControl, and converted the GDataYouTubeState struct to a GObject.
All instances of gdata_parser_error_unhandled_element are now banished.
Closes: bgo#579170
|
|
|
|
|
|
|
|
| |
Converted all the Media RSS structs to GObjects, and moved them to a "media"
directory. The documentation for the new objects is mostly complete, but no
new test cases have been added.
A few of the new classes had to be subclassed to add YouTube-specific
properties to them. Helps: bgo#579170
|
|
|
|
|
|
| |
Converted all the GData structs to GObjects, and moved them to a "gd"
directory. The documentation for the new objects is mostly complete, but
no new test cases have been added. Helps: bgo#579170
|
|
|
|
|
|
|
| |
Converted all the Atom structs to GObjects, and moved them to an "atom"
directory. This entailed moving get_xml and get_namespaces to GDataParsable,
which simplifies things anyway. The documentation for the new Atom objects
is mostly complete, but no new test cases have been added. Helps: bgo#579170
|
|
|
|
|
|
| |
GDataCalendarFeed is a subclass of GDataFeed, and implements parsing of two
Calendar-specific feed properties. Documentation is included, but there are
no test cases.
|
|
|
|
|
|
| |
Adds a new abstract class, GDataParsable, which adds extensible XML parsing
functionality to inheriting classes. A little documentation is included, but
there is no real public API for the class.
|
|
|
|
|
|
|
|
|
|
| |
This adds a framework for controlling access control lists (ACLs). It
includes GDataAccessHandler, an interface to be implemented by any GDataEntry
which has an ACL. It also includes GDataAccessRule, a GDataEntry representing
a single access control rule, initially written by Thibault Saunier
<saunierthibault@gmail.com>.
Full documentation is included, and test cases will be added per-service.
|
|
|
|
|
| |
Adds a GDataYouTubeQuery class, implementing the custom query parameters
supported by YouTube. A test case is included. Closes: bgo#578367
|
|
|
|
|
|
|
|
| |
Fixed a race condition crash when authenticating asynchronously, where the
authentication struct would sometimes get freed before the username and
password were saved from it.
Also removed gdata-marshal.h from gdata.h.
|
|
|
|
|
| |
Added support for individual contacts in the contacts backend, including
full XML parsing and building support. No documentation or test cases yet.
|
|
|
|
|
|
|
| |
Added GDataContactsService with skeleton code for querying for contacts.
Added the necessary support for more elements in the GData namespace to
gdata-gdata.[ch], and also added a GDataContactsQuery with contact-specific
query parameters.
|
| |
|
|
|
|
| |
Fix a few things breaking the build, and temporarily remove the gtk-doc testsuite.
|
|
|
|
|
| |
Fixed a crash when executing a query with pagination but without a GDataQuery.
Added a testcase for app:control.
|
| |
|
|
|
|
|
|
| |
own noinst library.
Fixed some bugs causing the general test suite to fail.
|
|
|
|
|
| |
Cleaned up parsing of numbers a little, and cleaned up parsing error handling.
Also tidied up feed creation, and removed the now-redundant GDataYouTubeVideoFeed object.
|