1. 17 Jun, 2014 1 commit
  2. 10 Jun, 2014 2 commits
    • Zeeshan Ali's avatar
      Drop now redundant GClueModemSource class · 61568c2a
      Zeeshan Ali authored
      Modem classes now directly use GClueModem and therefore not inherit from
      GClueModemSource anymore.
      61568c2a
    • Zeeshan Ali's avatar
      Add GClueModem class · 9231e644
      Zeeshan Ali authored
      Add a new class which is going to be responsible for dealing with
      ModemManager for us. This is so that:
      
      * We have ModemManager code isolated from rest of the code so its easy to
        add support for other backends (e.g ofono) in future.
      
      * We have only one entity dealing with modem. In the following patch(es),
        we'll drop GClueModemSource baseclass and, GClueModemGPS and GClue3G
        will just use GClueModem for talking to modem.
        * GClue3G can then derive from GClueWebSource instead and be more
          easily modified to submit cell tower data to Mozilla Location
          Service.
        * GClueModemGPS can be easily generalized so that it can be more easily
          modifed to talk to standalone GPS devices too in future (we'll
          probably want to change it's name to GClueGPS then).
      9231e644
  3. 06 Jun, 2014 1 commit
  4. 25 May, 2014 1 commit
  5. 24 May, 2014 1 commit
  6. 17 Apr, 2014 1 commit
    • Zeeshan Ali's avatar
      Remove redundant test-data · a8b4db2c
      Zeeshan Ali authored
      This was used for testing geoip client against our own and fedora's
      server but we dont use any of them anymore and those tests have been
      removed already so this data is very much redundant.
      a8b4db2c
  7. 09 Apr, 2014 3 commits
    • Zeeshan Ali's avatar
      wifi: Make geoip work for non-Linux · a25084f6
      Zeeshan Ali authored
      NetworkManager is Linux specific and to be able to build geoclue, other
      platforms (BSD) build with WiFi source disabled. Now that we don't have
      a separate geoip source, geoclue will be completely useless on those
      platforms.
      
      This patch replaces '--disable-wifi-source' configure option with
      '--disable-network-manager'. i-e now you disable usage of NetworkManger
      explicitly rather than wifi source, which is now always built and
      enabled.
      a25084f6
    • Zeeshan Ali's avatar
      Drop now redundant geoip server · 3037dea7
      Zeeshan Ali authored
      The plan was to put this server running on a GNOME server but Mozilla
      Location Service starting to support geoip as well, made us change that
      plan. Now that we are using that and have dropped our standalone
      ipclient, we can't even use this server readily any ways so there is no
      point in keeping it around.
      3037dea7
    • Zeeshan Ali's avatar
      Drop now redundant ipclient · b6563179
      Zeeshan Ali authored
      b6563179
  8. 11 Mar, 2014 1 commit
  9. 16 Feb, 2014 2 commits
  10. 15 Feb, 2014 1 commit
  11. 13 Feb, 2014 2 commits
  12. 05 Feb, 2014 1 commit
  13. 02 Feb, 2014 1 commit
    • Allison Lortie's avatar
      Add support for disabling some sources · c94e9cc8
      Allison Lortie authored
      Introduce configure options --disable-wifi-source, --disable-3g-source
      and --disable-modem-gps-source to allow disabling of backends that
      depend on NetworkManager and ModemManager (since these components are
      not widely ported).
      
      There is no "auto detect" -- the options must be explicitly specified in
      order to disable the feature.  This prevents a quiet reduction in
      functionality just because the right headers didn't happen to be
      installed at configure time, which should help prevent packaging
      mistakes.
      
      https://bugs.freedesktop.org/show_bug.cgi?id=73961
      c94e9cc8
  14. 30 Jan, 2014 1 commit
    • Zeeshan Ali's avatar
      build: Include public-api dir · fe2aa609
      Zeeshan Ali authored
      This shouldn't be needed AFAICT but Colin said that its needed to fix
      the build under gnome-continuous so lets do this.
      fe2aa609
  15. 29 Jan, 2014 2 commits
  16. 28 Jan, 2014 1 commit
  17. 26 Jan, 2014 1 commit
  18. 25 Jan, 2014 2 commits
  19. 23 Jan, 2014 1 commit
    • Zeeshan Ali's avatar
      Import all geocode-glib sources · e8c8fc35
      Zeeshan Ali authored
      Instead of just importing geocode-location, we now import all its
      sources into a subdir. Not only latest geocode-location needs a few
      other files but also is the fact that we'll likely need to use more of
      geocode-glib API in geoclue.
      
      This commit also updates geocode-location.
      e8c8fc35
  20. 21 Jan, 2014 1 commit
  21. 19 Jan, 2014 1 commit
    • Zeeshan Ali's avatar
      Add wifi-based geolocation source · 2b338e8b
      Zeeshan Ali authored
      Add a new geolocation source that makes use of Mozilla Location Service[1] to
      determine location based on nearby WiFi networks.
      
      Unfortunately it also introduces a bunch of ugly warnings from
      libnm-glib & libjson usage that are at the moment a bit beyond me but it
      works:
      
      ** (geoclue:13207): WARNING **: Could not create object for
      /org/freedesktop/NetworkManager/Settings/2: No session found for uid 101
      (unknown)
      
      ** (geoclue:13207): WARNING **: handle_property_changed: failed to
      update property 'available-connections' of object type NMDeviceWifi.
      
      (geoclue:13207): Json-CRITICAL **: json_object_get_object_member:
      assertion 'node != NULL' failed
      
      [1] https://wiki.mozilla.org/CloudServices/Location
      2b338e8b
  22. 18 Jan, 2014 1 commit
  23. 17 Jan, 2014 2 commits
  24. 13 Jan, 2014 2 commits
  25. 11 Jan, 2014 1 commit
  26. 04 Dec, 2013 1 commit
  27. 26 Sep, 2013 2 commits
  28. 25 Sep, 2013 1 commit
    • Zeeshan Ali's avatar
      service: Add a ClientInfo class · 5f92b19a
      Zeeshan Ali authored
      This will be used to detect and carry around client info such as:
      
      * Unique bus name
      * Commandline
      * ID of user client is running as
      
      Also it emits 'peer-vanished' signal when the client disapears from bus.
      5f92b19a
  29. 18 Sep, 2013 1 commit
  30. 16 Sep, 2013 1 commit