summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* demo,agent: Show reason when providedwip/xdg-authZeeshan Ali (Khattak)2016-02-111-4/+11
| | | | | If app provides a reason string in it's desktop file, show that to the user.
* demo: Provide reason to access location dataZeeshan Ali (Khattak)2016-02-111-0/+1
| | | | | Let's invent a custom entry in desktop files to set to communicate reason to access location data for agents.
* client,dbus: Add note about xdg-app not needing to set desktop IDZeeshan Ali (Khattak)2016-02-111-1/+2
|
* demo,agent: Critical log message on failing to show notificationZeeshan Ali (Khattak)2016-02-111-0/+1
|
* service-client: Keep auth data aroundZeeshan Ali (Khattak)2016-02-101-22/+20
| | | | | Keep the finalized desktop ID and accuracy level around during the agent authorization process and use that.
* service-client: Improve a debug messageZeeshan Ali (Khattak)2016-02-101-1/+1
|
* service-manager: Don't allow xdg-app agentsZeeshan Ali (Khattak)2016-01-291-5/+9
| | | | | | | 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.
* client: Only require desktop id from non-xdg-app appsZeeshan Ali (Khattak)2016-01-291-1/+5
|
* client-info: Reliable desktop ID for xdg-appZeeshan Ali (Khattak)2016-01-292-4/+98
| | | | | | 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.
* build: Option to disable the backend buildCosimo Cecchi2016-01-283-15/+35
| | | | | | | | | | 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
* Move public-api directory to toplevelCosimo Cecchi2016-01-2811-20/+20
| | | | | | | 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
* gclue-locator: Remove redundant includeCosimo Cecchi2016-01-281-1/+0
| | | | | | | 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
* gir: Correct namespace versionZeeshan Ali (Khattak)2015-12-241-1/+1
|
* Release 2.4.12.4.1Zeeshan Ali (Khattak)2015-12-072-1/+12
|
* nmea-source: Init client from callbackZeeshan Ali (Khattak)2015-11-301-5/+7
| | | | | | | | | | | 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
* nmea-source: Don't access uninitialized pointerSteffen Jaeckel2015-11-251-1/+1
|
* nmea-source: Add a NULL checkSteffen Jaeckel2015-11-251-1/+2
| | | | | | 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.
* client-info: Don't load props of /org/freedesktop/DBusTristan Van Berkom2015-11-191-1/+1
| | | | | | | | | | | | | | | | 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
* wifi: Add a missing NULL checkZeeshan Ali (Khattak)2015-11-191-0/+3
| | | | | | This avoids a crash if we get a NULL as BSS list from wpa_supplicant. https://bugs.freedesktop.org/show_bug.cgi?id=93008
* Release 2.4.02.4.0Zeeshan Ali (Khattak)2015-10-272-1/+11
|
* demo: Directly link to internal libraryZeeshan Ali (Khattak)2015-10-211-4/+2
| | | | | | | | | | 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>
* build: Uninstall unified interface XMLZeeshan Ali (Khattak)2015-10-211-0/+2
|
* lib,docs: Slightly improved title & descriptionZeeshan Ali (Khattak)2015-10-141-2/+2
| | | | | It doesn't really matter now though, since we don't expose this section in docs anymore.
* lib,docs: ClientProxy helpers -> ClientProxy sectionZeeshan Ali (Khattak)2015-10-142-5/+4
| | | | Move client proxy helpers docs into client proxy section.
* lib: Drop gclue_fetch_location*() APIZeeshan Ali (Khattak)2015-10-143-271/+0
| | | | There is no use for this API now that we have GClueSimple.
* demo: Make use of new GClueSimple APIZeeshan Ali (Khattak)2015-10-141-50/+20
|
* lib: Add GClueSimple APIZeeshan Ali (Khattak)2015-10-146-0/+626
| | | | | | | 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).
* docs: Hide service implementation API docsZeeshan Ali (Khattak)2015-10-141-4/+5
| | | | | | 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.
* build,dbus: Respect $DESTDIR on creating unified interfaceZeeshan Ali (Khattak)2015-10-121-5/+9
|
* dbus,build: Correct unified iterface file formatZeeshan Ali (Khattak)2015-10-121-4/+5
| | | | | | 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.
* dbus: Install a unified interface file tooZeeshan Ali (Khattak)2015-10-121-0/+8
| | | | | Let's continue providing a unified interface file for backwards compatiblity. This is at least needed by gnome-settings-daemon.
* docs: Add gir annotation glossaryZeeshan Ali (Khattak)2015-10-091-0/+2
| | | | This is needed to shut gtkdoc about warnings on gir annotations.
* lib: Drop symbolic link solution for common filesZeeshan Ali (Khattak)2015-10-096-11/+19
| | | | | | | | | | 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.
* demo,agent: Look for library files in srcdir as wellZeeshan Ali (Khattak)2015-10-091-1/+4
| | | | | | This fixes the build when srcdir != builddir (`make distcheck`). These changes should have been part of commit 388e075.
* Bump releaseZeeshan Ali (Khattak)2015-10-091-1/+1
|
* demo: Look for library files in srcdir as wellZeeshan Ali (Khattak)2015-10-091-0/+3
| | | | This fixes the build when srcdir != builddir (`make distcheck`).
* lib: Tell g-ir-scanner where to find headersZeeshan Ali (Khattak)2015-10-091-0/+1
| | | | Otherwise build fails when builddir != srcdir (`make distcheck`).
* lib: Pass corrrect pkg file arg to g-ir-scannerZeeshan Ali (Khattak)2015-10-091-1/+1
|
* Generate separate code file for each interfaceZeeshan Ali (Khattak)2015-10-094-14/+41
| | | | | | Without this change, build looks for two of the interface files in build directory, rather than source directory and build fails if srcdir != builddir.
* lib: Generate docsZeeshan Ali (Khattak)2015-10-096-0/+400
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=68658
* lib,build: Build introspection for libraryZeeshan Ali (Khattak)2015-10-092-0/+43
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=68658
* demo: Adapt where-am-i to use convenience APIZeeshan Ali (Khattak)2015-10-092-279/+73
| | | | | | | 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
* lib: Add helper API for quickly fetching locationZeeshan Ali (Khattak)2015-10-092-0/+268
| | | | | | Add API that makes it dead simple to fetch the location. https://bugs.freedesktop.org/show_bug.cgi?id=68658
* lib: Add helper API for easy client creationZeeshan Ali (Khattak)2015-10-094-0/+309
| | | | | | | 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
* Add convenience libraryZeeshan Ali (Khattak)2015-10-099-1/+660
| | | | | | Currently this is just gdbus-codegen generated code. https://bugs.freedesktop.org/show_bug.cgi?id=68658
* public-api: Relicense to LGPLv2Zeeshan Ali (Khattak)2015-10-091-11/+11
| | | | | | | | 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
* build: Rename libgeoclue.la to libgeoclue-internal.laZeeshan Ali (Khattak)2015-10-091-12/+12
| | | | | | | | 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
* dbus: Put each interface in it's own fileZeeshan Ali (Khattak)2015-10-094-117/+141
| | | | | | | | | 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
* Release 2.3.02.3.0Zeeshan Ali (Khattak)2015-09-182-1/+31
|
* nmea-source: Show debug message on source switchingAnkit2015-09-181-1/+3
| | | | | | | | | | 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