summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'tintou/annotations' into 'master'HEADmasterGünther Wagner2022-08-147-20/+69
|\ | | | | | | | | Several consumer-oriented fixes See merge request GNOME/librest!27
| * Name the RestOAuth2Error enumCorentin Noël2022-08-091-2/+2
| | | | | | | | This allows it to be used in the GObject introspection
| * vala: Add Rest-1.0.metadataCorentin Noël2022-08-092-0/+32
| | | | | | | | | | Fixes some missing symbols that are supported by Vala but not by the GObject introspection yet.
| * Make the single-header usableCorentin Noël2022-08-094-11/+15
| | | | | | | | | | | | | | The pkg-config is only declaring the rest-1.0 directory so we always need to use rest/rest-foo.h and not rest-foo.h Also make sure to include all the headers.
| * params: Fix annotations with rest_params_iter_nextCorentin Noël2022-08-091-7/+19
| | | | | | | | | | | | The parameters are not optional as they are always accessed. They can be NULL when the iter is finished, actually always set it so that we are sure to always have an initialized variable
| * meson: Add rest header to generate_girCorentin Noël2022-08-091-0/+1
|/ | | | Allows bindings to use the single header
* docs: add section about migrating from 0.7 to 1.0Günther Wagner2022-07-032-0/+29
|
* Merge branch 'release_0_9_1' into 'master'Günther Wagner2022-06-1917-1924/+12
|\ | | | | | | | | Release 0.9.1 See merge request GNOME/librest!26
| * introduce expected ABI break0.9.1Günther Wagner2022-06-191-2/+2
| |
| * Remove oauth1 proxyGünther Wagner2022-06-1914-1921/+3
| | | | | | | | | | | | | | OAuth1 is discouraged to be used nowadays. Only flickr is the only service we used in the past which needed oauth1. They probably won't update their API to OAuth2 and therefore it was dropped in GOA. Following this example, dropping OAuth1 support too for librest.
| * Release 0.9.1Günther Wagner2022-06-194-2/+8
|/
* Merge branch 'gwagner/soupapiversion' into 'master'Günther Wagner2022-06-171-0/+2
|\ | | | | | | | | | | | | meson: Add soupapiversion to pkg-config file Closes #12 See merge request GNOME/librest!25
| * meson: Add soupapiversion to pkg-config fileGünther Wagner2022-06-181-0/+2
| | | | | | | | Fixes https://gitlab.gnome.org/GNOME/librest/-/issues/12
* | Merge branch 'gwagner/default_soup3' into 'master'Günther Wagner2022-06-175-8/+9
|\ \ | |/ | | | | | | | | | | meson: build with soup3 by default Closes #11 See merge request GNOME/librest!24
| * meson: build with soup3 by defaultGünther Wagner2022-06-185-8/+9
|/ | | | Fixes https://gitlab.gnome.org/GNOME/librest/-/issues/11
* Merge branch 'ebassi/subproject-override' into 'master'Günther Wagner2022-06-171-0/+2
|\ | | | | | | | | Allow convenient use of librest as a subproject See merge request GNOME/librest!23
| * Allow convenient use of librest as a subprojectEmmanuele Bassi2022-06-161-0/+2
|/ | | | | | | | Meson allows projects to specify the dependency object when used as subprojects; this avoids having to know the variable name to import into the superproject. See: https://mesonbuild.com/Reference-manual_builtin_meson.html#mesonoverride_dependency
* utils: Change alloc function to mallocGünther Wagner2022-03-281-2/+2
| | | | This fixes problems with bindings if they want to free resources
* Merge branch 'wip/hadess/upstream-check-abi' into 'master'Günther Wagner2022-03-282-114/+2
|\ | | | | | | | | ci: Use upstream check-abi See merge request GNOME/librest!21
| * ci: Use upstream check-abiBastien Nocera2022-03-282-114/+2
|/
* Merge branch 'client_secret_on_access_token_fetch' into 'master'Günther Wagner2022-03-081-0/+1
|\ | | | | | | | | OAuth2Proxy.fetch_access_token: Provide client secret See merge request GNOME/librest!20
| * OAuth2Proxy.fetch_access_token: Provide client secretCodedOre2022-03-071-0/+1
|/
* Merge branch 'wip/jtojnar/build-typo' into 'master'Günther Wagner2022-02-161-1/+1
|\ | | | | | | | | build: Fix typo See merge request GNOME/librest!19
| * build: Fix typoJan Tojnar2022-02-161-1/+1
|/
* Merge branch 'gwagner/demo-oauth-status' into 'master'Günther Wagner2022-02-141-3/+56
|\ | | | | | | | | demo: add status to oauth buttons See merge request GNOME/librest!18
| * demo: add status to oauth buttonsgwagner/demo-oauth-statusGünther Wagner2022-02-141-3/+56
|/
* Merge branch 'gwagner/ci' into 'master'Günther Wagner2022-02-031-1/+1
|\ | | | | | | | | ci: fix path to check-api script See merge request GNOME/librest!17
| * ci: fix path to check-api scriptGünther Wagner2022-02-031-1/+1
| |
* | Update AUTHORSGünther Wagner2022-02-031-1/+1
|/
* build: add abi-check to check for abi stabilityGünther Wagner2022-02-032-1/+116
|
* auth: document auth as deprecatedGünther Wagner2022-02-032-0/+9
|
* restore ABIGünther Wagner2022-02-021-0/+2
|
* doc: add Bastian to AUTHORS and fix README (markdown now)Günther Wagner2022-02-022-16/+13
|
* Merge branch 'wip/hadess/compilation-fixes' into 'master'Günther Wagner2022-02-024-5/+10
|\ | | | | | | | | Some build fixes See merge request GNOME/librest!16
| * ci: Enable examplesBastien Nocera2022-02-021-2/+3
| | | | | | | | This tests the libsoup2 build of the examples.
| * demo: Fix compilation with libsoup2Bastien Nocera2022-02-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | librest/examples/demo/demo-rest-page.c: In function ‘on_send_clicked’: librest/examples/demo/demo-rest-page.c:498:24: error: too few arguments to function ‘soup_logger_new’ 498 | SoupLogger *logger = soup_logger_new (SOUP_LOGGER_LOG_BODY); | ^~~~~~~~~~~~~~~ In file included from /usr/include/libsoup-2.4/libsoup/soup.h:31, from librest/examples/demo/demo-rest-page.c:23: /usr/include/libsoup-2.4/libsoup/soup-logger.h:59:13: note: declared here 59 | SoupLogger *soup_logger_new (SoupLoggerLogLevel level, | ^~~~~~~~~~~~~~~
| * docs: Fix gtk-doc warningBastien Nocera2022-02-021-1/+1
| | | | | | | | ../rest/rest-params.c:224: Warning: Rest: rest_params_as_string_hash_table: unknown parameter 'self' in documentation comment, should be 'params'
| * auth: Fix compile-time warningsBastien Nocera2022-02-021-2/+2
|/ | | | | | | | | | | | | | | | | | ../rest/rest-oauth2-proxy.c: In function ‘rest_oauth2_proxy_build_authorization_url’: /usr/include/glib-2.0/glib/glib-autocleanups.h:28:3: warning: ‘params_string’ may be used uninitialized [-Wmaybe-uninitialized] 28 | g_free (*pp); | ^~~~~~~~~~~~ ../rest/rest-oauth2-proxy.c:355:21: note: ‘params_string’ was declared here 355 | g_autofree gchar *params_string; | ^~~~~~~~~~~~~ ../rest/rest-oauth2-proxy.c: In function ‘rest_oauth2_proxy_new_call’: /usr/include/glib-2.0/glib/glib-autocleanups.h:28:3: warning: ‘auth’ may be used uninitialized in this function [-Wmaybe-uninitialized] 28 | g_free (*pp); | ^~~~~~~~~~~~ ../rest/rest-oauth2-proxy.c:114:21: note: ‘auth’ was declared here 114 | g_autofree gchar *auth; | ^~~~
* Merge branch 'gwagner/flatpak-demo-build' into 'master'Günther Wagner2022-02-014-0/+47
|\ | | | | | | | | Flatpak demo build See merge request GNOME/librest!15
| * demo: added desktop fileGünther Wagner2022-02-013-0/+29
| |
| * demo: add flatpak build to gitlab ciGünther Wagner2022-02-011-0/+18
|/
* demo: add info-popovers for oauth authenticationGünther Wagner2022-02-011-2/+24
|
* news: added news about restauth and demoGünther Wagner2022-02-011-0/+5
|
* demo: add authentication methodsGünther Wagner2022-02-0113-12/+1255
|
* demo: add about dialogGünther Wagner2022-02-012-1/+55
|
* auth: remove auth from proxy and callGünther Wagner2022-02-014-82/+21
| | | | | Currently it has not practical use. I will rethink how to implement this in nicer way in order to make one-request basic auths possible.
* proxy-call: prevent message form if no params availableGünther Wagner2022-02-011-6/+12
|
* Merge branch 'bilelmoussaoui/docs' into 'master'Günther Wagner2022-01-291-0/+3
|\ | | | | | | | | readme: add a link to the docs See merge request GNOME/librest!14
| * readme: add a link to the docsbilelmoussaoui/docsBilal Elmoussaoui2022-01-291-0/+3
|/
* Merge branch 'baarkerlounger-master-patch-70333' into 'master'Günther Wagner2022-01-192-1/+25
|\ | | | | | | | | RestDemo flatpak build See merge request GNOME/librest!13