1. 06 Jan, 2019 1 commit
  2. 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
  3. 03 Jan, 2019 7 commits
  4. 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
  5. 27 Dec, 2018 6 commits
  6. 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
  7. 21 Dec, 2018 1 commit
  8. 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
  9. 01 Nov, 2018 3 commits
  10. 29 Oct, 2018 2 commits
  11. 22 Oct, 2018 1 commit
  12. 20 Oct, 2018 6 commits
  13. 16 Oct, 2018 1 commit
  14. 15 Oct, 2018 1 commit
    • Zeeshan Ali's avatar
      Re-add gclue_accuracy_level_get_string() · 6d31b9cc
      Zeeshan Ali authored
      This function was being generated when we were using autotools because it
      was part of our template. We unintentially dropped it when we ported to
      meson's gnome.mkenums_simple() as that uses it's own template that doesn't
      include this function.
      
      This broke ABI in 2.5.0 and hence we now re-add it, implementing it
      manually.
      
      Fixes #90.
      6d31b9cc