summaryrefslogtreecommitdiff
path: root/demos
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'drop-deprecated-apis' into 'master'Philip Withnall2021-06-172-56/+57
|\ | | | | | | | | core: Drop ClientLogin authorizer See merge request GNOME/libgdata!40
| * core: Drop ClientLogin authorizerPhilip Withnall2021-06-172-56/+57
| | | | | | | | | | | | | | | | | | | | | | It’s been deprecated by Google for a number of years, and is completely unsupported in all of their newer REST APIs. Its main flaws are that it requires the user’s password to be passed to potentially untrusted code (normalising the user typing their password into any old text entry), and that it can’t support the interactive authentication required for 2FA. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
* | remove deprecated youtube apiDaniel Kolesa2021-06-171-12/+0
|/
* drop usage of deprecated GTimeValDaniel Kolesa2021-06-073-49/+81
|
* build: Add minimum and maximum dependencies for GLibPhilip Withnall2019-08-211-1/+1
| | | | | | | This hides a load of API deprecation warnings from the latest version of GLib, which we’re not ready to adapt to yet. Signed-off-by: Philip Withnall <withnall@endlessm.com>
* build: Improve spelling of a meson variablePhilip Withnall2019-08-211-2/+2
| | | | | | | This introduces no functional changes; just makes the build files a little simpler to understand. Signed-off-by: Philip Withnall <withnall@endlessm.com>
* demos: Work around GoaObject not supporting g_autolist()Philip Withnall2019-07-301-1/+5
| | | | | | | | | | | Work around this bug: https://gitlab.gnome.org/GNOME/gnome-online-accounts/issues/73, which prevents `GoaObject` being used with `g_autolist()` if GOA was compiled with an older version of `gdbus-codegen`. Signed-off-by: Philip Withnall <withnall@endlessm.com> Fixes: #32
* demos: Added a demo to get/set/remove GDataDocumentsProperty in bulkMayank Sharma2019-07-302-1/+258
| | | | | | | | | The demo program uses the newly added GDataDocumentsProperty to create custom properties on GDataDocumentsEntry, based upon the ownership of the file. A full run of docs-property program will firstly set 4 public properties on each file in a user's Google Drive (limited to first 10 files only), and then goes on to unset them all, thereby returning files' metadata to their initial state.
* meson: Fix G_LOG_DOMAIN for shared_library as well as demosMayank Sharma2019-07-161-2/+1
| | | | | | | | | Currently, libgdata's debug output come from empty log domain. This interferes when libgdata's debug output needs to be separate from any client which is trying to use it. This commit fixes G_LOG_DOMAIN for libgdata as well as all the demos (which have their own log domains). Fixes: https://gitlab.gnome.org/GNOME/libgdata/issues/30
* build: Port from Autotools to mesonMayank Sharma2019-06-251-0/+30
| | | | | | | | Automake 1.16.1 has issues with generating a valid Makefile. Since, libgdata is one of the core-deps of GNOME, it should be ported from Autotools + make to meson + ninja. Significant contributions from both Iñigo Martínez and Mayank Sharma.
* Use the correct type for gtk_show_uri_for_window()Emmanuele Bassi2017-03-251-1/+1
|
* demos: Use non-deprecated APIEmmanuele Bassi2017-03-251-1/+1
| | | | Otherwise the build will fail with the default -Werror settings.
* build: Bump minimum GLib dependency to 2.38.0Philip Withnall2017-03-151-3/+0
| | | | | | | | | | | | | | Since the 0.17.7 release, we’ve actually depended on API from GLib 2.38.0 (G_TEST_DIST), so this will just cause earlier build failure than before. This means we can drop some backwards compatibility code for older GLib releases. Spotted by Mart Raudsepp in https://bugzilla.gnome.org/show_bug.cgi?id=780081#c1. Signed-off-by: Philip Withnall <withnall@endlessm.com>
* freebase: Deprecate everything as service was shut downPhilip Withnall2017-03-051-203/+0
| | | | | | | | | | Google shut down the Freebase service in August 2016, permanently; all the APIs now return errors from the server side. Deprecate all of our Freebase API, drop the freebase-cli demo, and drop the unit tests. See: https://developers.google.com/freebase/.
* demos: Add a demo of Google TasksPhilip Withnall2017-02-241-0/+350
| | | | | | | This is a simple read-only demo of the Tasks service, similar to the Calendar demo. https://bugzilla.gnome.org/show_bug.cgi?id=775813
* demos: Return a useful exit code from the docs-list demoPhilip Withnall2017-02-091-1/+8
|
* demos: Add event pagination support to calendar-cli demoPhilip Withnall2017-02-091-21/+37
| | | | Otherwise it will only show the first few entries from a calendar.
* demos: Call setlocale() in docs-list demoPhilip Withnall2017-01-261-0/+3
| | | | | Ensure that our output is encoded correctly for the console, so that the UTF-8 characters appear correctly.
* demos: Fix a shadowed variablePhilip Withnall2017-01-251-3/+3
| | | | | | | `timezone` is already declared by the system’s time.h. Rename our variable to `time_zone` to avoid shadowing it. Spotted by Clang.
* demos: Silence -Wmaybe-uninitializedDebarshi Ray2015-06-031-0/+2
| | | | | | Fall out from 0e42b9d0e64aaf9f4d04eeab29d860a68209ff61 https://bugzilla.gnome.org/show_bug.cgi?id=750335
* demos: Add calendar-cli demoPhilip Withnall2015-05-041-0/+535
| | | | | This is a simple demo to allow querying calendars and events from the command line, and inserting simple new events into a calendar.
* demos: Fix usage documentation in youtube-cliPhilip Withnall2015-05-031-1/+9
| | | | It was outdated.
* demos: Expand youtube-cli functionalityPhilip Withnall2015-04-201-14/+480
| | | | | | | | Add support for all of the major features which our YouTube service currently supports: querying single videos, related videos, standard feeds, categories, and uploading videos. https://bugzilla.gnome.org/show_bug.cgi?id=687597
* demos: Add youtube-cli demoPhilip Withnall2015-04-161-0/+111
| | | | This is a simple demo to search for YouTube videos on the command line.
* demos: Remove use of deprecated GTK+ APIPhilip Withnall2015-02-061-4/+3
| | | | Put the widgets in the content area — they belong there anyway.
* demos: Add a docs-list demoDebarshi Ray2014-12-121-0/+110
| | | | | | | | Adapted from a bug report reproducer program by Debarshi Ray, this lists all the documents in the user’s Google Documents account, getting the account information from GOA. https://bugzilla.gnome.org/show_bug.cgi?id=741345
* demos: Add freebase demoCarlos Garnacho2014-05-271-0/+203
| | | | | | This is a simple command line app that puts some of the api to work. https://bugzilla.gnome.org/show_bug.cgi?id=726486
* demos: Fix GtkStock deprecated functionsFabiano Fidêncio2013-11-191-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=712565
* build: Only call g_type_init() for GLib ≤ 2.35.0Philip Withnall2012-10-211-0/+3
| | | | | GLib master has just deprecated g_type_init() in favour of making it a compiler-supported constructor function.
* demos: Port scrapbook demo to GtkGrid from GtkTablePhilip Withnall2011-10-092-13/+17
| | | | | This fixes compilation against GTK+ with deprecations disabled. This also requires enforcing a minimum version of GTK+ of 2.91.2, which should be fine.
* demos: Fix a potentially uninitialised variable in the scrapbookPhilip Withnall2011-08-151-1/+1
|
* demos: Remove some incorrect unrefsPhilip Withnall2011-07-311-2/+0
| | | | | This doesn't fix the problem of the memory management for widgets being a little broken in the scrapbook, but at least it stops the warnings.
* demos: Fix PicasaWeb searches in the scrapbookPhilip Withnall2011-07-311-5/+2
|
* demos: Add licence headers and a documentation commentPhilip Withnall2011-07-312-0/+51
|
* demos: Fix error handling for photo uploads in the scrapbookPhilip Withnall2011-07-311-2/+7
|
* demos: Use local variables wherever possiblePhilip Withnall2011-07-312-102/+113
| | | | | Move some variables out of malloc()ed structures which needn't have been there.
* demos: Port the scrapbook to GDataAuthorizerPhilip Withnall2011-07-311-33/+30
|
* demos: Port the scrapbook to the GTK+ 3 GtkBox APIPhilip Withnall2011-07-311-9/+9
|
* demos: Fix type of a structPhilip Withnall2011-07-311-3/+4
|
* demos: Remove trailing whitespace from linesPhilip Withnall2011-07-311-54/+54
|
* demos: Add a client ID to requestsPhilip Withnall2011-07-312-2/+3
|
* demos: Fix assignments from invalid pointersPhilip Withnall2011-07-312-9/+12
|
* demos: Remove extraneous title propertyPhilip Withnall2011-07-312-17/+2
|
* demos: Fix window sizesPhilip Withnall2011-07-311-2/+0
|
* demos: Tidy up some of the UI stringsPhilip Withnall2011-07-311-13/+12
|
* demos: Move services into the main application data structPhilip Withnall2011-07-312-13/+15
|
* demos: Ensure results of queries are freed correctlyPhilip Withnall2011-07-311-11/+26
|
* demos: Port to the 0.8 version of the PicasaWeb upload APIPhilip Withnall2011-07-311-3/+26
|
* demos: Port the scrapbook to the GTK+ 3 dialogue APIPhilip Withnall2011-07-311-8/+7
|
* demos: Port the scrapbook from GtkFileSelector to GtkFileChooserPhilip Withnall2011-07-311-13/+13
|