Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-04-07 | modem-manager: Enable assisted GPS as soon as modem is enabledHEADmaster | Teemu Ikonen | 1 | -27/+56 | |
Skip enabling AGPS if ModemManager does not have a SUPL server configured. Do not clear AGPS caps in gclue_modem_manager_disable_gps(). Geoclue now enables AGPS caps on modem initialization / enablement and never clears them. Remove MM version checks, since we now depend on ModemManager >= 1.12. | |||||
2024-04-07 | meson: Bump ModemManager dependency to version 1.12 | Teemu Ikonen | 1 | -1/+1 | |
2024-04-07 | modem-manager: Read GPS locations from non-enabled modem | Teemu Ikonen | 1 | -19/+36 | |
This is allowed in ModemManager versions >= 1.23.2. A version check is not necessary, on older versions MM will simply not give a MMModemLocation object if the modem is not enabled. | |||||
2024-04-07 | Revert "modem-manager: Only disable the given capability in clear_caps()" | Teemu Ikonen | 1 | -5/+1 | |
mm_modem_location_get_enabled() uses g_dbus_proxy_get_cached_property() under the hood, so the returned value will not be correct if MM caps are updated by more than one source close in time. This can happen for example when a client using both MM GPS and 3G sources quits. The GPS capability is cleared first, but the update is not reflected in the cached 'enabled' property. The 3G cap is cleared next, but it gets an incorrect value from mm_modem_location_get_enabled and turns the GPS back on. This reverts commit a9caa550df128bb04f28b3f3c94d909b0d140e15. | |||||
2024-04-01 | man: Document sending SIGUSR1 to print client list | Teemu Ikonen | 1 | -0/+3 | |
2024-04-01 | man: Remove dangling spaces | Teemu Ikonen | 1 | -9/+9 | |
2024-04-01 | service-manager: Log client list on SIGUSR1 | Teemu Ikonen | 1 | -1/+38 | |
2023-12-25 | modem-manager: Only disable the given capability in clear_caps() | Teemu Ikonen | 1 | -1/+5 | |
Get enabled MM location capabilities just before disabling a capability in clear_caps(). This has a race condition, but is probably the best we can do. | |||||
2023-12-25 | location: RMC sentences before NMEA v2.3 had only 11 parts, accept them | Teemu Ikonen | 1 | -1/+1 | |
2023-10-22 | Add .editorconfig | Teemu Ikonen | 1 | -0/+24 | |
2023-10-22 | Convert tabs to spaces and remove trailing whitespace | Teemu Ikonen | 5 | -34/+34 | |
2023-10-13 | config: Don't warn about missing conf.d directory | Kira Bruneau | 1 | -2/+4 | |
2023-09-03 | Release 2.7.12.7.1 | Teemu Ikonen | 2 | -1/+22 | |
2023-09-02 | simple: Correct gi annotations | Philipp Hörist | 1 | -2/+2 | |
2023-09-01 | HACKING: Remove gio version from dependency list | Teemu Ikonen | 1 | -1/+1 | |
2023-09-01 | meson: Upgrade GLib / Gio dependency to version 2.68.0 | Teemu Ikonen | 1 | -3/+3 | |
Geoclue uses g_string_replace() and also depends on newer GLib versions through libsoup3. | |||||
2023-09-01 | data/meson.build: Install D-Bus policy in /usr/share, not /etc | Gioele Barabucci | 1 | -1/+1 | |
From https://bugs.debian.org/1006631: > dbus supports policy files in both `/usr/share/dbus-1/system.d` and > `/etc/dbus-1/systemd`. [The] recently released dbus 1.14.0, officially > deprecates installing packages' default policies into `/etc/dbus-1/systemd`, > instead reserving it for the sysadmin. This is the same idea as the > difference between `/usr/lib/udev/rules.d` and `/etc/udev/rules.d`. | |||||
2023-08-05 | locator: add a priority source lock to prevent location jumps | Chris Talbot | 1 | -10/+43 | |
2023-07-28 | modem-gps: make priority source true | Chris Talbot | 1 | -1/+3 | |
2023-07-28 | nmea-source: make priority source true | Chris Talbot | 1 | -1/+3 | |
2023-07-28 | location-source: Add priority source property | Chris Talbot | 2 | -0/+40 | |
2023-07-27 | gclue-locator: Delete Trailing Whitespace | Chris Talbot | 1 | -1/+1 | |
2023-07-22 | nmea-source: Don't disconnect when receiving an empty message | Teemu Ikonen | 1 | -4/+9 | |
Convert a NULL message received without an error to an empty string and keep on listening to the NMEA source. See https://gitlab.gnome.org/GNOME/glib/-/issues/655 | |||||
2023-07-17 | location: Warn if NMEA coordinates are invalid | Teemu Ikonen | 1 | -2/+6 | |
2023-07-17 | location: Remove error arg from gclue_location_create_from_nmeas | Teemu Ikonen | 4 | -26/+8 | |
Also adapt callers. | |||||
2023-07-17 | location: Correctly describe combined GGA+RMC locations | Teemu Ikonen | 1 | -0/+1 | |
2023-07-17 | nmea-source: Don't print unknown NMEA sentences twice to debug log | Teemu Ikonen | 1 | -2/+0 | |
2023-07-08 | location: Fix RMC status field check | Teemu Ikonen | 1 | -1/+2 | |
2023-07-08 | gclue-location: remove error from gclue_location_create_from_gga () | Chris Talbot | 1 | -12/+4 | |
2023-07-08 | gclue-location: Don't add any GPS locations if the GGA sentence doesn't show ↵ | Chris Talbot | 1 | -0/+5 | |
a fix | |||||
2023-06-17 | gclue-location: remove error from gclue_location_create_from_rmc () | Chris Talbot | 1 | -13/+7 | |
2023-06-17 | gclue-location: Reject RMC sentence if it is invalid, give bounds for ↵ | Chris Talbot | 1 | -11/+27 | |
accuracy if unknown or old | |||||
2023-06-17 | location: Rewrite parse_nmea_timestamp | Teemu Ikonen | 1 | -39/+26 | |
Use gclue_nmea_timestamp_to_timespan to parse NMEA timestamps. | |||||
2023-06-17 | nmea-utils: Add function gclue_nmea_timestamp_to_timespan | Teemu Ikonen | 2 | -0/+37 | |
2023-05-14 | gclue-locator: Ignore values that have unknown accuracy | Chris Talbot | 1 | -0/+8 | |
2023-05-07 | gclue-web-source: make sure the accuracy is known before sending a ↵ | Chris Talbot | 1 | -0/+2 | |
submission query | |||||
2023-04-29 | mozilla: Add 'age' field to MLS locate queries | Teemu Ikonen | 1 | -1/+7 | |
2023-04-29 | CI: Use detached CI pipelines | Teemu Ikonen | 1 | -2/+4 | |
This should allow running pipelines again per freedesktop/freedesktop#540 | |||||
2023-01-22 | Release 2.7.02.7.0 | Maciej S. Szmigiero | 2 | -1/+30 | |
Thanks to all who contributed to this release! Closes: #172 | |||||
2023-01-22 | config: Debug log config also when conf.d dir is missing | Teemu Ikonen | 1 | -2/+2 | |
2023-01-21 | config: Debug log locate and submit URLs on startup | Teemu Ikonen | 1 | -0/+29 | |
Redact the API key, if a 'key' parameter is found in the URL string. | |||||
2023-01-20 | data: meson: drop deprecated get_pkgconfig_variable() | Dylan Van Assche | 1 | -1/+1 | |
Meson 0.56.0 deprecated get_pkgconfig_variable(), use get_variable() instead. | |||||
2023-01-20 | meson: drop deprecated source_root() | Dylan Van Assche | 1 | -1/+1 | |
Meson 0.56.0 deprecated source_root(), use project_source_root() instead. | |||||
2023-01-20 | data: geoclue.5.in: adjust man page | Dylan Van Assche | 1 | -3/+13 | |
Mention conf.d overwrites in man page | |||||
2023-01-20 | config: print extracted config | Dylan Van Assche | 1 | -0/+51 | |
Print out the extracted config including conf.d overwrites for debugging-only. | |||||
2023-01-20 | meson: install conf.d directory | Dylan Van Assche | 3 | -2/+5 | |
Bump to meson 0.60.0 for install_emptydir support to install conf.d directory. | |||||
2023-01-20 | config: add support for conf.d style | Dylan Van Assche | 1 | -99/+263 | |
Distros may want to overwrite various parameters of GeoClue's config file without shipping a complete config file which may result into out-of-sync config files when newer GeoClue versions are released. Support /etc/geoclue/conf.d/ as a config directory in which distros can place overwrites, the config files are loaded in alphabetic order and overwrite the original config file parameters stored in /etc/geoclue/geoclue.conf | |||||
2023-01-15 | Add static location source | Maciej S. Szmigiero | 11 | -9/+647 | |
There were many requests to provide a static location source for systems which don't normally move but where the existing location sources provide poor location estimate. An example of such system would be a desktop PC without WiFi or 3G modem. So let's add a source that reads location from "geolocation" file in @sysconfdir@ (normally /etc) to cover this use case. This file is constantly monitored for changes during Geoclue operation and the reported static location is updated accordingly. The geoclue(5) man page should be consulted for the format description of this file. | |||||
2023-01-14 | Remove manual GDateTime memory management | Maciej S. Szmigiero | 2 | -10/+10 | |
2023-01-14 | Use automatic char* memory management where possible | Maciej S. Szmigiero | 6 | -24/+17 | |
Remove explicit g_free () calls and convert char* allocations to g_autofree. Fixes at least one memory leak in gclue_service_agent_handle_authorize_app (). |