1. 11 Mar, 2019 4 commits
  2. 09 Mar, 2019 4 commits
  3. 07 Mar, 2019 3 commits
    • Benjamin Berg's avatar
      lib: Avoid linking to system-installed library · 0f96290f
      Benjamin Berg authored
      When building geoclue, in some cases the already installed library is
      prefered for linking rather than the one from the build directory. This
      causes problems when an old version is already installed and one is
      adding new API.
      
      This commit partially adresses this issue. A similar issue appears to
      exist when building the documentation though.
      0f96290f
    • Benjamin Berg's avatar
      lib: Automatically delete client on server when using GClueSimple · bfb01552
      Benjamin Berg authored
      When using GClueSimple, the user will not be managing the
      GClueClientProxy directly. In this case, it makes sense to set things up
      so that the client is deleted from the server again on object
      destruction.
      
      Fixes: #102
      bfb01552
    • Benjamin Berg's avatar
      Add new API to allow automatic server side deletion of client · 044418f5
      Benjamin Berg authored
      If gclue_client_proxy_create_full is called with the corresponding flag
      set, then the newly created GClueClientProxy will be set up so that
      DeleteClient is automatically called on the server when the object is
      destroyed.
      
      See #102
      044418f5
  4. 05 Mar, 2019 1 commit
    • Iqbal Inzamam's avatar
      nmea: Add support for GGA messages from more NMEA sources · b3fe46d4
      Iqbal Inzamam authored
      Based on patch from Daniel Aleksandersen <code@daniel.priv.no>
      Expands GPS specific GGA test with tests for GGA messages from other
      well-known Talker IDs in NMEA 4.1 including Galieo, BeiDou, GLONASS,
      and GNSS (generic/mixed source mode).
      GGA messages use the same format regardless of the Talker ID.
      
      * Improves device and GNSS network support.
      * Improves accuracy for users in Europe, Russia, China, and elsewhere.
      * Resolves compatibility problem with GPS devices that only report in
        GNGGA and not GPGGA even in single-network mode.
      
      Fixes:#60
      b3fe46d4
  5. 06 Jan, 2019 1 commit
  6. 04 Jan, 2019 4 commits
    • Zeeshan Ali's avatar
      service: Drop geocode-glib copy · 813ed186
      Zeeshan Ali authored
      The geocode-glib copy is out-of-date and updating it is not as trivial as
      it used to be since geocode-location module is not so independent of the
      rest of the code any more. Also geocode-glib doesn't see much changes
      these days, especially to the geocode-location module so the effort to
      port the code, isn't really worth it.
      
      We already copied over the needed code in a previous commit and now we
      ditch our geode-glib internal copy and dependency.
      
      Fixes #88.
      813ed186
    • Zeeshan Ali's avatar
      service: Standalone GClueLocation class · ca15136c
      Zeeshan Ali authored
      GClueLocation does not inherit from and therefore does not depend on
      GeocodeLocation class anymore. This is in preparation for dropping the
      internal geocode-glib copy in a following patch.
      ca15136c
    • Zeeshan Ali's avatar
      service: Drop a redundant 'const' · e00c54c1
      Zeeshan Ali authored
      This was generating a warning from gcc.
      e00c54c1
    • Zeeshan Ali's avatar
      Drop use of deprecated g_type_class_add_private() · 179a8e59
      Zeeshan Ali authored
      Use the G_ADD_PRIVATE() macro instead.
      
      This doesn't fix the issue in geocode-glib but that's not an issue since
      we plan to drop geocode-glib (#88).
      
      Fixes #98.
      179a8e59
  7. 03 Jan, 2019 7 commits
  8. 31 Dec, 2018 2 commits
    • Zeeshan Ali's avatar
      service,manager: New API for mult-client apps · edfc62a9
      Zeeshan Ali authored
      We modified `Manager.GetClient` method in 3e1d9bf4 (service: Allow
      multiple clients on the same connection) and while that made things
      possible for the Flatpak location portal, it meant us creating
      redundant clients for existing system apps (e.g gnome-settings-daemon) and
      we don't want that.
      
      This patch changes `GetClient` to the old behaviour of reusing existing
      clients and adds a new method `CreateClient` that always creates a new
      client object.
      
      Fixes #96.
      Also related: #79.
      edfc62a9
    • Zeeshan Ali's avatar
      386a6a57
  9. 27 Dec, 2018 6 commits
  10. 22 Dec, 2018 1 commit
    • Zeeshan Ali's avatar
      wifi: Tell wpa_supplicant to keep scanning · 8e1ed80a
      Zeeshan Ali authored
      It seems by default, wpa_supplicant won't keep a list of BSS around but
      only if it has done a scan recently. This means we currently end up with
      very bad accuracy since we only send out the ESSID of the currently
      connected WiFi (if any).
      
      To fix this, we'll now tell wpa_supplicant to start a scan when the source is
      started. We keep doing that continuously if accuracy is street level or higher,
      but wait 5 minutues between scans if requested accuracy is lower than that.
      
      Fixes #91.
      8e1ed80a
  11. 21 Dec, 2018 1 commit
  12. 06 Nov, 2018 4 commits
    • Will Thompson's avatar
      web-source: fix type mismatch on unused parameter · 97969289
      Will Thompson authored
      src/gclue-web-source.c:181:35: warning: passing argument 2 of ‘on_network_changed’ makes integer from pointer without a cast [-Wint-conversion]
               on_network_changed (NULL, NULL, user_data);
                                         ^~~~
      src/freedesktop/geoclue/geoclue/src/gclue-web-source.c:135:38: note: expected ‘gboolean’ {aka ‘int’} but argument is of type ‘void *’
                           gboolean         available G_GNUC_UNUSED,
      97969289
    • Will Thompson's avatar
      web-source: drop GLib < 2.44 fallback path · 2d4f3d56
      Will Thompson authored
      Since 5ae45631, GLib 2.44 has been a
      hard dependency.
      2d4f3d56
    • Will Thompson's avatar
      meson: require GLib >= 2.44 · 3eceb820
      Will Thompson authored
      This matches the Autotools change in
      5ae45631. Even though the Autotools
      build was subsequently dropped, the use of g_autofree remains.
      3eceb820
    • Valentin Blot's avatar
      build: restore support for modem gps locations · 225d5f96
      Valentin Blot authored
      Macros GCLUE_USE_3G_SOURCE, GCLUE_USE_CDMA_SOURCE,
      GCLUE_USE_MODEM_GPS_SOURCE and GCLUE_USE_NMEA_SOURCE are not defined
      anymore since the move to meson build system, therefore location through
      modem gps is unavailable. This commit adds the macro definitions when the
      corresponding options are enabled.
      225d5f96
  13. 01 Nov, 2018 2 commits