| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
If app provides a reason string in it's desktop file, show that to the
user.
|
|
|
|
|
| |
Let's invent a custom entry in desktop files to set to communicate
reason to access location data for agents.
|
| |
|
| |
|
|
|
|
|
| |
Keep the finalized desktop ID and accuracy level around during the agent
authorization process and use that.
|
| |
|
|
|
|
|
|
|
| |
While we don't have any way to verify if an app running on system is who
they say they are and they can become agents, we can at least be sure
that we don't want an xdg-app to act as an agent so let's always
disallow xdg-app from becoming an agent.
|
| |
|
|
|
|
|
|
| |
xdg-app shows the desktop ID of the apps in name column of
/proc/PID/cgroup file and it can't be faked so let's make use of that
when we are dealing with xdg-app apps.
|
|
|
|
|
|
|
|
|
|
| |
With xdg-app, we will want to bundle the client convenience library with
applications that require GeoClue, without having them ship all the
backend service files, which will be shipped in the core OS.
Introduce a --disable-backend build option that implements this policy.
https://bugs.freedesktop.org/show_bug.cgi?id=93889
|
|
|
|
|
|
|
| |
We're about to make the src directory optional; move this at the
toplevel so that libgeoclue can include it directly.
https://bugs.freedesktop.org/show_bug.cgi?id=93889
|
|
|
|
|
|
|
| |
This is already included in the header so don't include it again in the
C file.
https://bugs.freedesktop.org/show_bug.cgi?id=93889
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Apparently, sometimes avahi_client_new() can simply return a NULL
pointer and you get the real client pointer from the client callback
parameter. Let's initialize our client pointer from client callback
then.
Based on a patch from Ankit <ankitstarski@gmail.com>.
https://bugzilla.redhat.com/show_bug.cgi?id=1281449
|
| |
|
|
|
|
|
|
| |
If geoclue fails to connect to avahi service, the client pointer will be
NULL in that case and therefore geoclue will crash on trying to free
this NULL pointer. Let's only free the pointer if it's not NULL.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By default, glib's GDBusProxy calls org.freedesktop.DBus.Properties.GetAll
to load all properties on a loaded interface - however in this case we
are creating a proxy to the system standard bus interface for the sole
purpose of later calling GetConnectionUnixUser.
GeoClue does not have permission to use the org.freedesktop.DBus.Properties
interface on a proxy to /org/freedesktop/DBus (and there are no properties
to be loaded anyway).
Note that GeoClue works fine without this patch, however this patch
will avoid error messages being logged to the system logs.
https://bugs.freedesktop.org/show_bug.cgi?id=92979
|
|
|
|
|
|
| |
This avoids a crash if we get a NULL as BSS list from wpa_supplicant.
https://bugs.freedesktop.org/show_bug.cgi?id=93008
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This fixes the build on some environments when library is not already
installed.
Based on patch/suggestion from:
Rico Tzschichholz
Simon McVittie <simon.mcvittie@collabora.co.uk>
|
| |
|
|
|
|
|
| |
It doesn't really matter now though, since we don't expose this section
in docs anymore.
|
|
|
|
| |
Move client proxy helpers docs into client proxy section.
|
|
|
|
| |
There is no use for this API now that we have GClueSimple.
|
| |
|
|
|
|
|
|
|
| |
Add new convenience API that does not only make it easy to fetch a
location quickly but also makes it easy to listen to location updates
(by providing a GClueLocationProxy instance, rather than a D-Bus object
path).
|
|
|
|
|
|
| |
There is no need to expose service implementation API to developers. We
can't tell gdbus-codegen to not generate those but we can hide them in
the docs at least.
|
| |
|
|
|
|
|
|
| |
The (now) generated unified interface file, can't simply be a
concatenation of individual interface files. This patches makes the
generated file a valid interface specification XML.
|
|
|
|
|
| |
Let's continue providing a unified interface file for backwards
compatiblity. This is at least needed by gnome-settings-daemon.
|
|
|
|
| |
This is needed to shut gtkdoc about warnings on gir annotations.
|
|
|
|
|
|
|
|
|
|
| |
Instead of keeping symbolic links to src/public-api files, let's just:
1. Make use of the static library we already have in src/public-api.
2. Install the headers from src/public-api from it's own Makefile.
This hopefully fixes the remaining build issues with srcdir != builddir
situation.
|
|
|
|
|
|
| |
This fixes the build when srcdir != builddir (`make distcheck`).
These changes should have been part of commit 388e075.
|
| |
|
|
|
|
| |
This fixes the build when srcdir != builddir (`make distcheck`).
|
|
|
|
| |
Otherwise build fails when builddir != srcdir (`make distcheck`).
|
| |
|
|
|
|
|
|
| |
Without this change, build looks for two of the interface files in build
directory, rather than source directory and build fails if srcdir !=
builddir.
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=68658
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=68658
|
|
|
|
|
|
|
| |
This reduces the code by 50%, thus nicely demonstrating how easy the new
API makes it to get location.
https://bugs.freedesktop.org/show_bug.cgi?id=68658
|
|
|
|
|
|
| |
Add API that makes it dead simple to fetch the location.
https://bugs.freedesktop.org/show_bug.cgi?id=68658
|
|
|
|
|
|
|
| |
Add API that makes creation of new clients slightly easier by hiding
communication with Manager object.
https://bugs.freedesktop.org/show_bug.cgi?id=68658
|
|
|
|
|
|
| |
Currently this is just gdbus-codegen generated code.
https://bugs.freedesktop.org/show_bug.cgi?id=68658
|
|
|
|
|
|
|
|
| |
In a following patch, we'll add a library and install this existing
public API along with it. It'll be easier if all public API is under the
same licence and besides all public API should be LGPL anyway.
https://bugs.freedesktop.org/show_bug.cgi?id=68658
|
|
|
|
|
|
|
|
| |
We are about to add a new public library with the name libgeoclue so
let's rename this internal intermediate library to avoid any
confusions/conflicts.
https://bugs.freedesktop.org/show_bug.cgi?id=68658
|
|
|
|
|
|
|
|
|
| |
This probably makes sense anyway but it will be useful when we add a
convenience library in a following patch so that code for each interface
could be generated in a separate module to be able to have separate
chapters for generated API in the docs.
https://bugs.freedesktop.org/show_bug.cgi?id=68658
|
| |
|
|
|
|
|
|
|
|
|
|
| |
When geoclue switches from one nmea source to another a dangling
on_read_gga_sentence() gets called before the the socket is closed
and the callback shows effect after the socket is closed. This
causes on_read_gga_sentence() to show G_IO_STREAM_CLOSED error as
as warning message. Display a debug message instead.
https://bugs.freedesktop.org/show_bug.cgi?id=91911
|