| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Spotted by Cosimo.
|
|
|
|
|
| |
If flatpak-info exists, but we don't have the shared key, then
the network is not available. Pointed out by Cosimo.
|
|
|
|
| |
Instead of manual path construction. Pointed out by Cosimo.
|
|
|
|
| |
Spotted by Cosimo.
|
|
|
|
| |
Cosimo pointed out that this is unnecessary.
|
|
|
|
|
| |
'has no owner' seems close enough, that is what we are seeing
here.
|
|
|
|
| |
Pointed out by Cosimo Cecchi.
|
|
|
|
|
|
|
|
|
| |
Instead of pulling parent_window out of a copy of the environment
and having it go bad when we free the copy, move the definition
of GAppLaunchContextPrivate up and use the envp member without
copying in.
Pointed out by Cosimo Cecchi.
|
|
|
|
|
|
| |
GIO should not install types whose names don't start with 'g'.
This was causing the xdg-desktop-portal to crash, since it was
also trying to register Xdp types.
|
|
|
|
| |
This will talk to a portal api instead of directly to the shell.
|
|
|
|
|
| |
As Mario pointed out, this is common practice for uses
of the bus singleton inside GIO.
|
|
|
|
|
|
|
| |
It does not really make sense for g_app_info_launch_default_for_uri
to block on an interactive dialog. If we want that, we can should
introduce a proper async variant of this API with a cancellable
and a finish().
|
|
|
|
|
| |
Return an error when we don't have a session bus connection.
Pointed out by Cosimo and Mario.
|
|
|
|
| |
Pointed out by Cosimo Cecchi and Mario Sanchez Prada.
|
|
|
|
|
|
|
| |
Do this more like for the network monitor: We keep using the
portal proxy, but we neuter all results. Eventually, we can
do this on the portal side, but we need some systemd infrastructure
for it.
|
|
|
|
| |
The key might not be present in flatpak-info. Deal with that.
|
|
|
|
|
| |
The backend for this lives in xdg-desktop-portal, and is in turn
using GProxyResolver.
|
|
|
|
|
| |
This is better than copying these utility functions around to
multiple places.
|
|
|
|
|
|
|
| |
When network is not available in the sandbox, there is
no point in reporting accurately about the network
status outside the sandbox. Just return 'no connection'
in this case.
|
|
|
|
|
| |
The backend for this lives in xdg-desktop-portal, and is in turn
using GNetworkMonitor.
|
|
|
|
| |
The portal got renamed to org.freedesktop.portal.OpenURI.
|
|
|
|
| |
This reverts commit c980bd2bc416f6762c49497ddc042cea11a30bf2.
|
|
|
|
| |
This reverts commit 4b44094309efe9a86bc0f3e6e687059ee55a90ab.
|
|
|
|
|
|
|
| |
We need to patch in the portal support at a high enough
level that GAppInfo is not involved - a sandboxed app may
not be able to see any applications, so it can just launch
the defaults.
|
|
|
|
| |
GTK+ will set this for when showing URIs in a sandbox.
|
|
|
|
| |
Call out to the org.freedesktop.portal.AppChooser portal.
|
|
|
|
| |
Add a man page, and integrate it in the reference docs.
|
| |
|
|
|
|
|
|
|
|
| |
This command collects the various commandline utilities that
are currently shipped in gvfs, and unifies them under a single,
command-style binary.
The tools just use GIO APIs, so it makes sense for them to live here.
|
|
|
|
| |
There was a stray 'of' here.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=744456
|
|
|
|
|
|
|
|
| |
This makes them easier to identify when debugging and profiling.
This patch was somewhat less than interesting to write.
https://bugzilla.gnome.org/show_bug.cgi?id=767765
|
|
|
|
|
|
| |
This will be useful for printing out GPids in printf()-style functions.
https://bugzilla.gnome.org/show_bug.cgi?id=767765
|
|
|
|
|
|
|
| |
Apply the same changes as in commit
7563ab473468fecefc388ae2ed06afab8ead6211 to gio/Makefile.am.
https://bugzilla.gnome.org/show_bug.cgi?id=725902
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In a vague attempt at ensuring the .stp scripts can be closely
associated with the .so files which they hard-code references to, rename
the scripts so they include the LT version — so that they are the .so
file name plus .stp.
This does not fix the fact that our .stp scripts will not work on
multiarch systems, as they are installed in an architecture-independent
directory (/usr/share/systemtap/tapset). At the moment, it is
recommended that any distribution who package the .stp files should
install them in the architecture-specific subdirectories of this (for
example, /usr/share/systemtap/tapset/x86-64).
A better long-term solution for this is under discussion upstream:
https://sourceware.org/bugzilla/show_bug.cgi?id=20264
https://bugzilla.gnome.org/show_bug.cgi?id=662802
|
|
|
|
|
|
| |
Even if systemtap is not enabled in configure when running distcheck.
https://bugzilla.gnome.org/show_bug.cgi?id=662802
|
|
|
|
|
|
|
|
| |
The list of supported schemes is not known at compile-time, so it is
wrong to iterate the list with G_N_ELEMENTS() and we miss all but the
first scheme. Fix by checking for the %NULL sentinel instead.
https://bugzilla.gnome.org/show_bug.cgi?id=768119
|
|
|
|
|
|
|
|
| |
The function is expected to return a %NULL-terminated array, but
commit 375b4ca65c dropped the sentinel when adding support for
additional custom schemes. Add it back.
https://bugzilla.gnome.org/show_bug.cgi?id=768119
|
|
|
|
|
|
|
|
|
| |
Add filesystem attribute to detect remote filesystems in order to
replace hardcoded filesystem types in GtkFileSystem. Set this attribute
also for GLocalFile appropriately.
Bump version to 2.49.3, so that early adopters of new API have a version
number to target.
|
|
|
|
|
|
|
|
|
|
|
| |
If none of the closures in the hash table return a non-null value, the
loop never ends. Since the end of the hash table has been reached at
that point, g_hash_table_iter_next() starts asserting.
The possible fix is making the return value of g_hash_table_iter_next()
the condition in the loop.
https://bugzilla.gnome.org/show_bug.cgi?id=768029
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new API to allow clients to register a custom GFile implementation
handling a particular URI scheme.
This can be useful for tests, but also for cases where a different URI
scheme is desired to be used with another custom GFile backend.
As an additional cleanup, we can use this to register the "resource" URI
scheme too.
Based on a patch by Jasper St. Pierre <jstpierre@mecheye.net>.
https://bugzilla.gnome.org/show_bug.cgi?id=767887
|
|
|
|
| |
(cherry picked from commit 7cb5b02e6ab662e6cb384a3d68acdd81a3c15515)
|
|
|
|
|
|
|
|
|
|
|
| |
5cea1c861def0251a10cd4de01908aaf3276c72d introduced accessors for 64bit
ints to gsettings, at which point the testcases were expanded.
Unfortunately, the expanded tests contained a bug: integer constants
passed to g_object_set() for a 64-bit property need an up-cast. Add
that now.
Problem found by Iain Lane.
|
|
|
|
|
|
| |
The probes.d file should be distributed even if GLib is build with
dtrace disabled. This is what’s done in the glib and gobject
directories.
|
|
|
|
|
|
|
|
| |
This makes it easier to use GKeyFile from language bindings, and makes
the API more consistent and modern with the new data type available in
GLib.
https://bugzilla.gnome.org/show_bug.cgi?id=767880
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ability to pass libtool via $(CC) to dtrace and have it respect this
appears to be a feature that is only present in the systemtap version of
the tool. In particular, FreeBSD (which seems to be using a copy of the
tool from Solaris) doesn't support this.
The result is that, with $(CC) ignored, and a .lo file specified in -o,
we get an ELF written to the .lo.
Instead of trying to have dtrace run libtool we can have libtool run
dtrace. dtrace is really just a compiler that produces an object file
here, and it even understands -o, so libtool can make the appropriate
adjustments.
There appears to be some prior art for this approach. A quick search
shows that at least QEMU is using this approach. It also appears to
work on Linux with systemtap's dtrace and on FreeBSD.
This may regress cross-compilation because the dtrace command will have
no way of knowing which compiler we intend for it to use to produce the
object file. I say "may" because I don't know if dtrace ever worked in
the first place under cross-compilation.
https://bugzilla.gnome.org/show_bug.cgi?id=725902
|
| |
|
| |
|
|
|
|
|
| |
The previous update did not account for when no exec_prefix is spcified,
so update that, and use ${prefix} by default. Clean up a bit as well.
|