CodedOre (b1851e3c) at 26 Mar 21:07
CodedOre (b1851e3c) at 25 Mar 10:11
Make "An" a "A"
Since Cawbird is no longer a Twitter client, this updates the description to note it's now a Mastodon client.
CodedOre (418a4516) at 25 Mar 10:05
Change description of Cawbird
I have worked on a log-out for my Cawbird rewrite. This requires a call to (in this case) Twitter to ask to revoke the access token, using the oauth2/revoke
1 method. This method requests that additional parameters are passed on under the content type of application/x-www-form-urlencoded
, which is why in the example using curl
the argument --data-urlencode
is used.
Attempting to use a ProxyCall
to call this function results in an Forbidden
. Since Twitter don't provide more information, I assume it has to do with librest
not providing the parameters as the function expects.
So, the question is if there is a way to provide parameters similar to what --data-urlencode
in curl
does.
I have a GtkListView
which contains rows with an GtkLabel
which has the wrap
property set to true.
However, in this case, the additional height from the wrapped label is not taken into account. This results in GtkListView
not displaying the complete content of an row or even hiding rows that are at the end of the list.
You can see in the following video how the first row disappears when making the window width smaller:
The ListView
is a few widget below the ScrolledWindow
, so as I have learned in the Matrix Room, this seems to be the issue then.
Closing it then as this needs to be fixed in my program.
I have a GtkListView
which contains rows with an GtkLabel
which has the wrap
property set to true.
However, in this case, the additional height from the wrapped label is not taken into account. This results in GtkListView
not displaying the complete content of an row or even hiding rows that are at the end of the list.
You can see in the following video how the first row disappears when making the window width smaller:
Running appstream-util validate
results in an SEGFAULT on the current Flatpak SDK with the following error:
(appstream-util:13): GLib-GIO-CRITICAL **: 13:22:58.364: g_proxy_resolver_lookup: assertion 'G_IS_PROXY_RESOLVER (resolver)' failed
Segmentation fault (core dumped)
The issue was originally encountered with the Flatpak Builder Action on GitHub, but I could confirm the issue locally as well after updating the SDK.
Running appstream-util validate
results in an SEGFAULT on the current Flatpak SDK with the following error:
(appstream-util:13): GLib-GIO-CRITICAL **: 13:22:58.364: g_proxy_resolver_lookup: assertion 'G_IS_PROXY_RESOLVER (resolver)' failed
Segmentation fault (core dumped)
The issue was originally encountered with the Flatpak Builder Action on GitHub, but I could confirm the issue locally as well after updating the SDK.
I could confirm that the issue in appstream-glib is resolved by locally building it, but inside flatpak-builder it's still not resolved.
Is there a reason why the SDK doesn't include the fix yet?
Running appstream-util validate
results in an SEGFAULT on the current Flatpak SDK with the following error:
(appstream-util:13): GLib-GIO-CRITICAL **: 13:22:58.364: g_proxy_resolver_lookup: assertion 'G_IS_PROXY_RESOLVER (resolver)' failed
Segmentation fault (core dumped)
The issue was originally encountered with the Flatpak Builder Action on GitHub, but I could confirm the issue locally as well after updating the SDK.
When trying to use Adw.Carousel.scroll_to
in an constructor (for a widget which has a carousel as a child), the scroll action is simply ignored, with the widget showing up with the first item instead of the item one wanted to scroll to.
As an example (code below), I add a few widgets to the carousel in code and then, when the window is shown, want to have the third item on display by default. Running the code however results in the first item shown, as scroll_to
is ignored.
This adds the client secret to the parameters Rest.OAuth2Proxy.fetch_access_token_async
sends to the token url, as some servers, such as Mastodon, requires it to be send with the token request.
Fixes #5 by given the option to generate a VAPI-file for valac
to use.
Probably needs an check that the intropection
is active, but question would be how and where to do this.
Good to know.
I actually already experimented with generating a vapi, so I could make this to an MR.
It was added as a Flatpak module.
While trying to add the master version of librest to my project, valac
complains that it can't find the GIR-file for the dependency:
error: Package `rest-1.0' not found in specified Vala API directories or GObject-Introspection GIR directories
As far as I can tell this comes from the fact that the GIR is using an upper-case "R" (Rest-1.0
), while pkg-config (which is used by meson to tell valac
the package name) is using an lower-case (rest-1.0
).
Not sure if this affects other platforms outside of Vala, but there for valac
it prevents a build.
I think this could be solved by either changing the GIR name to lower-case, or to add an dedicated vapi generation to the build process.