summaryrefslogtreecommitdiff
path: root/gdata/gdata.h
Commit message (Collapse)AuthorAgeFilesLines
* documents: Add support for editing ACLs using Drive v2Debarshi Ray2015-06-101-0/+1
| | | | | | | | | | | | | | | 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
* calendar: Re-enable support for ACLs with version 3 of the APIPhilip Withnall2015-05-271-0/+1
| | | | | | | | | | | | 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
* youtube: Add a GDataYouTubeFeed helper class for parsing feedsPhilip Withnall2015-04-221-0/+1
| | | | | | | | | | | | 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
* core: Add a GDataOAuth2Authorizer for OAuth 2.0 supportPhilip Withnall2014-09-211-0/+1
| | | | | | | | | | | | | | | | | 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
* freebase: Add search APICarlos Garnacho2014-05-271-0/+3
| | | | | | | 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
* freebase: Add Topic query APICarlos Garnacho2014-05-271-0/+2
| | | | | | | 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
* Add Freebase serviceCarlos Garnacho2014-05-271-0/+5
| | | | | | | | | | | | | 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
* tasks: Add Google Tasks service supportPeteris Krisjanis2013-10-261-0/+6
| | | | | | | | | | | | | | 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
* Add support for PDF filesWilliam Jon McCann2013-02-161-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693958
* Bug 656976 — Merge eds and GNOME Documents GOA authorisersPhilip Withnall2012-07-161-0/+4
| | | | | | | | | | | | | | | | | | 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
* documents: add support for Google DrawingsCosimo Cecchi2012-06-251-0/+1
| | | | | | Add a GDataDocumentsDocument subclass to handle drawing docs. https://bugzilla.gnome.org/show_bug.cgi?id=633548
* documents: Split upload parameters out into GDataDocumentsUploadQueryPhilip Withnall2012-04-131-0/+1
| | | | | | | | | | | | | | | | | 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
* Add version check preprocessor macrosHolger Berndt2011-09-281-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=660038
* picasaweb: Implement GDataCommentable on GDataPicasaWebFilePhilip Withnall2011-07-091-0/+1
| | | | | | | | | | This adds support for comments to GDataPicasaWebFile, including a GDataComment subclass, GDataPicasaWebComment, and test cases. This adds the following API: • GDataPicasaWebComment Helps: bgo#598752
* youtube: Implement GDataCommentable on GDataYouTubeVideoPhilip Withnall2011-07-091-0/+1
| | | | | | | | | | This adds support for comments to GDataYouTubeVideo, including a GDataComment subclass, GDataYouTubeComment, and test cases. This adds the following API: • GDataYouTubeComment Helps: bgo#598752
* Bug 598752 — Support commentsRichard Schwarting2011-07-091-0/+2
| | | | | | | | | | | | 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
* core: Add an OAuth 1.0 authoriserPhilip Withnall2011-06-051-0/+1
| | | | | | | | | | | | | | 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
* core: Remove the old authentication API in favour of a new GDataAuthorizer APIPhilip Withnall2011-06-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* contacts: Add a GDataContactsGroup classPhilip Withnall2010-10-171-0/+1
| | | | This represents a group of contacts. Test cases included.
* [documents] Add GDataDocumentsDocument below GDataDocumentsEntryPhilip Withnall2010-08-221-0/+1
| | | | | | It's the new parent class of GDataDocumentsPresentation, GDataDocumentsSpreadsheet and GDataDocumentsText. This breaks API. Helps: bgo#607616
* [core] Batch operation supportPhilip Withnall2010-07-121-0/+2
| | | | | | | | | | | 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
* [core] Add a GDataComparable interfacePhilip Withnall2010-06-151-0/+1
| | | | | | 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.
* Bug 615721 — Support listing video categoriesPhilip Withnall2010-06-141-0/+4
| | | | | | | 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
* [gcontact] Add support for GDataGContactLanguage and hobbiesPhilip Withnall2010-04-061-0/+1
| | | | Closes: bgo#613551
* [gcontact] Add GDataGContactExternalIDPhilip Withnall2010-04-061-0/+1
| | | | Helps: bgo#613551
* Bug 613551 — Add gContact namespacePhilip Withnall2010-03-251-0/+7
| | | | | | | | | | | | | 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
* [build] Add missing includes to gdata.hPhilip Withnall2010-03-221-0/+2
|
* Bug 589858 — Handle gphoto XML elements found in 'GDataFeed'Richard Schwarting2009-10-251-0/+1
| | | | | | | | 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
* [gd] Updated the GData namespace to version 3Philip Withnall2009-08-101-0/+1
| | | | | Added structured name and postal address handling from version 3 of the GData namespace, including updated test cases.
* [core] Added GDataUploadStream to allow easy uploading of large filesPhilip Withnall2009-08-051-0/+1
| | | | | | 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.
* [core] Added GDataDownloadStream to allow easy downloading of large filesPhilip Withnall2009-08-031-0/+1
| | | | | | 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.
* Bug 587073 – Add Google Documents serviceThibault Saunier2009-07-171-0/+10
| | | | | Added support for Google Documents, from work done by Thibault Saunier <saunierthibault@gmail.com>. Closes bgo#587073 and bgo#588282.
* [picasaweb] Added a PicasaWeb servicePhilip Withnall2009-06-211-0/+7
| | | | | | 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
* Bug 579170 – Eliminate gdata_parser_error_unhandled_elementPhilip Withnall2009-06-141-1/+1
| | | | | | | | 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
* [core] Converted Media RSS structs to GObjectsPhilip Withnall2009-06-141-2/+8
| | | | | | | | 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
* [core] Converted GData structs to GObjectsPhilip Withnall2009-06-141-2/+11
| | | | | | 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
* [core] Converted Atom structs to GObjectsPhilip Withnall2009-06-141-1/+8
| | | | | | | 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
* [calendar] Added GDataCalendarFeed to parse Calendar-specific feed propertiesPhilip Withnall2009-05-171-0/+1
| | | | | | GDataCalendarFeed is a subclass of GDataFeed, and implements parsing of two Calendar-specific feed properties. Documentation is included, but there are no test cases.
* [core] Abstract XML parsing from GDataFeed and GDataEntry into GDataParsablePhilip Withnall2009-05-171-0/+1
| | | | | | 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.
* Bug 582026 – Access Control List functionalityPhilip Withnall2009-05-171-0/+2
| | | | | | | | | | 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.
* Bug 578367 – Add support for YouTube-specific query parametersPhilip Withnall2009-05-151-0/+1
| | | | | Adds a GDataYouTubeQuery class, implementing the custom query parameters supported by YouTube. A test case is included. Closes: bgo#578367
* [core] Fix a race condition crash when authenticatingPhilip Withnall2009-04-241-1/+0
| | | | | | | | 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 GDataContactsContactPhilip Withnall2009-04-191-0/+1
| | | | | Added support for individual contacts in the contacts backend, including full XML parsing and building support. No documentation or test cases yet.
* Added initial contacts service workPhilip Withnall2009-04-191-0/+4
| | | | | | | 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.
* Fixed licence to consistently be LGPLv2.1.Philip Withnall2009-04-011-9/+9
|
* Release version 0.1.0.LIBGDATA_0_1_0Philip Withnall2009-04-011-0/+5
| | | | Fix a few things breaking the build, and temporarily remove the gtk-doc testsuite.
* Added support for the app:control element.Philip Withnall2009-03-231-1/+2
| | | | | Fixed a crash when executing a query with pagination but without a GDataQuery. Added a testcase for app:control.
* Added the basic framework for a Google Calendar service.Philip Withnall2009-02-241-0/+6
|
* Moved the YouTube service files to a subdirectory, to be built into their ↵Philip Withnall2009-02-221-3/+8
| | | | | | own noinst library. Fixed some bugs causing the general test suite to fail.
* [project @ philip@tecnocode.co.uk-20090122191358-5ko4fx27s8hlmpw7]Philip Withnall2009-01-221-1/+2
| | | | | 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.