aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-location-manager.c
Commit message (Collapse)AuthorAgeFilesLines
* location-manager: include telepathy-glib-dbus.hGuillaume Desmottes2013-10-231-0/+2
|
* location-manager: use Geoclue 2Guillaume Desmottes2013-09-031-371/+72
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=706627
* time: move from Empathy to tp-account-widgetsMarco Barisione2013-08-201-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=699492
* Reorder header inclusions accordingly to the Telepathy coding styleEmanuele Aina2013-04-021-2/+1
| | | | | | | | | | | | Sort by: • "config.h" • API declarations, if any • public libraries • internal headers, alphabetically sorted (mostly) http://telepathy.freedesktop.org/wiki/Style#A.23includes https://bugzilla.gnome.org/show_bug.cgi?id=697076
* Use a flat namespace for internal includesEmanuele Aina2013-04-011-4/+4
| | | | | | | | Directly add the libempathy, libempathy-gtk and extensions directories to the include search path. This decouples header inclusions from their location and helps when reorganizing the source files layout. https://bugzilla.gnome.org/show_bug.cgi?id=696950
* Drop unused/redundant header inclusionsEmanuele Aina2013-03-281-11/+0
| | | | | | | With the help of the script posted at http://stackoverflow.com/a/7135530 and some manual fixes, drop the unused or redundant #include directives. https://bugzilla.gnome.org/show_bug.cgi?id=696718
* include telepathy-glib.hGuillaume Desmottes2012-09-171-2/+1
| | | | | tp-glib 1.0 will enforce to only include telepathy-glib.h so best doing it to reduce the delta with the future stable branch.
* use tp_account_manager_dup_valid_accounts()Guillaume Desmottes2012-09-111-4/+4
| | | | | | tp_account_manager_get_valid_accounts() has been deprecated. Fix an accounts list leak in empathy-sanity-cleaning.
* Free the GError in Geoclue callbacksGuillaume Desmottes2012-03-151-0/+4
|
* location-manager: use geoclue_master_client_create_address_async()Guillaume Desmottes2012-03-151-13/+24
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671994
* location-manager: use geoclue_master_client_create_position_async()Guillaume Desmottes2012-03-151-11/+23
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671994
* location-manager: use geoclue_master_client_set_requirements_async()Guillaume Desmottes2012-03-151-27/+44
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671994
* location-manager: use geoclue_master_create_client_async()Guillaume Desmottes2012-03-151-12/+27
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671994
* Use tp_proxy_prepare_async instead of tp_account_manager_prepare_asyncGuillaume Desmottes2011-09-191-4/+4
|
* Include gi18n-lib.h in library sources, not gi18n.h.Gabor Kelemen2011-05-051-1/+1
| | | | Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=649379
* location-manager: use tp_asv_*Guillaume Desmottes2011-04-201-19/+10
|
* location-manager: use the self->priv patternGuillaume Desmottes2011-04-201-102/+92
|
* location-manager: remove useless propety getter and setterGuillaume Desmottes2011-04-201-34/+0
|
* location_manager_dispose: use tp_clear_*Guillaume Desmottes2011-04-201-35/+6
|
* Port all timestamps from time_t to gint64 (#648188)Guillaume Desmottes2011-04-191-10/+7
|
* Port Empathy code to GSettings, remove EmpathyConfDanielle Madeley2010-06-181-44/+40
|
* factor out set_requirementsGuillaume Desmottes2010-06-091-14/+22
|
* Call geoclue_master_client_set_requirements before asking for position/addressLaurent Bigonville2010-06-091-1/+7
| | | | | Be sure geoclue_master_client_set_requirements() is called in setup_geoclue() otherwise no provider will be selected (#621023)
* Do not require geoclue provider to support updatesLaurent Bigonville2010-06-071-1/+1
| | | | | Requiring that provider supports updates reduce the choice to almost zero (#620657).
* No need of a contact factory to set locationXavier Claessens2010-05-021-5/+12
|
* libempathy-gtk/empathy-location-manager.c: use tp_g_signal_connect_object ↵Guillaume Desmottes2010-04-091-2/+2
| | | | instead of empathy_signal_connect_weak
* location_manager_dispose: chain up to the parent's dispose, not the parent's ↵Simon McVittie2010-04-071-1/+4
| | | | | | | finalize This leads to crashes when other code is relying on weak reference notifications happening in the right order.
* location-manager: keep a ref to self during preparation to make sure we stay ↵Jonny Lamb2009-10-301-1/+2
| | | | | | alive Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* all: log error messages if preparing the account manager failsJonny Lamb2009-10-301-4/+14
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* location-manager: port to new tp-glib account APIJonny Lamb2009-10-241-16/+77
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* empathy-location-manager.c: fix shadow declarationsGuillaume Desmottes2009-10-211-45/+45
|
* Do not use math.h for trunc(). It is useless and it does not build because ↵Xavier Claessens2009-09-221-6/+2
| | | | we don't link with -lm.
* Remove redundant == TRUE/FALSEPierre-Luc Beaudoin2009-08-061-9/+9
|
* Fix reduced accuracy concernsPierre-Luc Beaudoin2009-08-061-18/+18
| | | | | | | | As pointed out by users, the previous reduced accuracy mode was not the best. It is better to trunkate the coordinates rather than adding a random value to it. This patch also replaces strcmp by tp_strdiff
* Fix 585887: "Publish my location" causes a crashPierre-Luc Beaudoin2009-06-181-4/+11
| | | | | Adds more error handling on geoclue init and the geoclue_is_setup check was too late in update_resources
* empathy-location-manager: remove a trailing spaceGuillaume Desmottes2009-06-121-1/+1
|
* Geoclue doesn't like NONE as an accuracy levelPierre-Luc Beaudoin2009-06-101-2/+8
| | | | | | Possibly a bug in Geoclue, but passing COUNTRY instead of NONE as the minimum accuracy required gives better results (ie more providers are possible).
* Fix Bug 584830: Invalid read in new_connection_cbPierre-Luc Beaudoin2009-06-041-1/+1
| | | | | There is a manager and a location_manager pointer in that function. The wrong one was used in the cast.
* Fix Bug 584518: Critical error in publish_to_all_connectionsPierre-Luc Beaudoin2009-06-021-6/+6
| | | | The account_manager was initialised after the callbacks were.
* Level is used before initPierre-Luc Beaudoin2009-06-021-1/+2
|
* Only remove the address fields and position fields instead of allPierre-Luc Beaudoin2009-06-011-4/+28
|
* Remove unused varPierre-Luc Beaudoin2009-06-011-1/+0
|
* Get rid of McAccount everywherePierre-Luc Beaudoin2009-06-011-25/+24
| | | | Shouldn't have to care about accounts, just connections.
* Get rid of Mission Control as EmpathyAccountManager does all that tooPierre-Luc Beaudoin2009-06-011-12/+10
|
* Fix inconsistency in preferences and codePierre-Luc Beaudoin2009-06-011-2/+0
|
* Don't set priv on a separate linePierre-Luc Beaudoin2009-06-011-26/+11
|
* Use tp_g_value_slice_new_doublePierre-Luc Beaudoin2009-06-011-14/+7
| | | | tp_asv_* cannot be used as tp_asv does not copy the keys
* Reorder functions to get rid of the function declarationsPierre-Luc Beaudoin2009-06-011-241/+214
|
* Reimplement the singleton in the constructorPierre-Luc Beaudoin2009-06-011-9/+28
|
* Fix errors found by make checkPierre-Luc Beaudoin2009-06-011-4/+4
|
* Use timeout instead of idle (and fix the fact that it wasn't actually working)Pierre-Luc Beaudoin2009-06-011-13/+9
|
* Use DEBUG instead of printerrPierre-Luc Beaudoin2009-06-011-3/+3
|
* Don't use foreach to iter over a HashTablePierre-Luc Beaudoin2009-06-011-24/+17
|
* Fix bracket stylePierre-Luc Beaudoin2009-06-011-4/+10
|
* Properly unref objects used by EmpathyLocationManagerPierre-Luc Beaudoin2009-06-011-6/+32
|
* Apply style fixes to EmpathyLocationManagerPierre-Luc Beaudoin2009-06-011-18/+17
| | | | | | | | • update the copyright • EmpathyLocationManagerPriv: document the hash table • is_setup seems a poor name. geoclue_is_setup? • remove PROP_0 we don't need/use it • Don't use C++ comments
* Don't build the file instead of #if the whole filePierre-Luc Beaudoin2009-06-011-3/+0
|
* Factory is sometimes ref leakedPierre-Luc Beaudoin2009-06-011-2/+1
|
* Queue location publish requestsPierre-Luc Beaudoin2009-06-011-7/+23
| | | | | | | Using an idle callback makes it less probable that the location will be updated twice in a very short time. This scenario is common is the address_cb and position_cb got a reply from geocluse almost at the sametime.
* Rename empathy_location_manager_get_default to dup_defaultPierre-Luc Beaudoin2009-06-011-3/+7
| | | | This is more consistent with the rest of Empathy.
* More explicit debug message on what is publishedPierre-Luc Beaudoin2009-06-011-2/+2
|
* Any location accuracy will doPierre-Luc Beaudoin2009-06-011-2/+2
|
* Don't use geoclue's timestampPierre-Luc Beaudoin2009-06-011-5/+10
| | | | | It turns out that the timestamp are not reliable (they are often set to 0).
* Don't call geoclue functions if the init failedPierre-Luc Beaudoin2009-06-011-3/+9
|
* Fix a warning if McAccount has no TpConnectionPierre-Luc Beaudoin2009-06-011-0/+3
|
* Fix left over issues from rebasingPierre-Luc Beaudoin2009-06-011-3/+8
|
* Fix compilation if geoclue is not enabledPierre-Luc Beaudoin2009-06-011-6/+2
|
* Merge fixes due to API changesPierre-Luc Beaudoin2009-06-011-13/+23
|
* Various style fixesPierre-Luc Beaudoin2009-06-011-11/+20
|
* Send a int64 timestamp to match the specPierre-Luc Beaudoin2009-06-011-10/+6
|
* Clear remote location upon disablingPierre-Luc Beaudoin2009-06-011-17/+31
|
* Fix key freeingPierre-Luc Beaudoin2009-06-011-6/+6
|
* Implement reduced accuracyPierre-Luc Beaudoin2009-06-011-1/+49
|
* Send timestampPierre-Luc Beaudoin2009-06-011-0/+22
|
* When updating the resources, check for changed locationPierre-Luc Beaudoin2009-06-011-1/+14
|
* More ressource fixPierre-Luc Beaudoin2009-06-011-20/+22
|
* Initial position/address and ressource fixPierre-Luc Beaudoin2009-06-011-10/+48
|
* Should not be elseifPierre-Luc Beaudoin2009-06-011-3/+3
|
* Publish location when enabling itPierre-Luc Beaudoin2009-06-011-2/+6
|
* Support all position fieldsPierre-Luc Beaudoin2009-06-011-9/+42
|
* Support address fieldsPierre-Luc Beaudoin2009-06-011-4/+28
|
* Publish location after connection and when location changesPierre-Luc Beaudoin2009-06-011-12/+82
|
* Add EmpathyLocationManagerPierre-Luc Beaudoin2009-06-011-0/+339