]> git.0d.be Git - empathy.git/log
empathy.git
14 years agoDon't set NM presence state on connect when it was unset
Sjoerd Simons [Mon, 1 Jun 2009 11:06:50 +0000 (12:06 +0100)]
Don't set NM presence state on connect when it was unset

When the presence state that was saved upon disconnect was _UNSET don't try to
set it when we reconnect.

14 years agoOnly remove the address fields and position fields instead of all
Pierre-Luc Beaudoin [Mon, 1 Jun 2009 15:10:23 +0000 (11:10 -0400)]
Only remove the address fields and position fields instead of all

14 years agoRemove unused var
Pierre-Luc Beaudoin [Mon, 1 Jun 2009 14:43:08 +0000 (10:43 -0400)]
Remove unused var

14 years agoGet rid of McAccount everywhere
Pierre-Luc Beaudoin [Mon, 1 Jun 2009 14:39:26 +0000 (10:39 -0400)]
Get rid of McAccount everywhere

Shouldn't have to care about accounts, just connections.

14 years agoGet rid of Mission Control as EmpathyAccountManager does all that too
Pierre-Luc Beaudoin [Sun, 31 May 2009 19:39:15 +0000 (15:39 -0400)]
Get rid of Mission Control as EmpathyAccountManager does all that too

14 years agoFix inconsistency in preferences and code
Pierre-Luc Beaudoin [Sun, 31 May 2009 16:21:22 +0000 (12:21 -0400)]
Fix inconsistency in preferences and code

14 years agoDon't set priv on a separate line
Pierre-Luc Beaudoin [Sun, 31 May 2009 16:12:34 +0000 (12:12 -0400)]
Don't set priv on a separate line

14 years agoUse tp_g_value_slice_new_double
Pierre-Luc Beaudoin [Sun, 31 May 2009 16:10:02 +0000 (12:10 -0400)]
Use tp_g_value_slice_new_double

tp_asv_* cannot be used as tp_asv does not copy the keys

14 years agoReorder functions to get rid of the function declarations
Pierre-Luc Beaudoin [Sun, 31 May 2009 16:03:36 +0000 (12:03 -0400)]
Reorder functions to get rid of the function declarations

14 years agoReimplement the singleton in the constructor
Pierre-Luc Beaudoin [Sun, 31 May 2009 15:53:18 +0000 (11:53 -0400)]
Reimplement the singleton in the constructor

14 years agoFix errors found by make check
Pierre-Luc Beaudoin [Fri, 29 May 2009 20:09:41 +0000 (16:09 -0400)]
Fix errors found by make check

14 years agoUse timeout instead of idle (and fix the fact that it wasn't actually working)
Pierre-Luc Beaudoin [Fri, 29 May 2009 20:00:00 +0000 (16:00 -0400)]
Use timeout instead of idle (and fix the fact that it wasn't actually working)

14 years agoUse DEBUG instead of printerr
Pierre-Luc Beaudoin [Fri, 29 May 2009 19:51:31 +0000 (15:51 -0400)]
Use DEBUG instead of printerr

14 years agoDon't use foreach to iter over a HashTable
Pierre-Luc Beaudoin [Fri, 29 May 2009 19:44:39 +0000 (15:44 -0400)]
Don't use foreach to iter over a HashTable

14 years agoFix bracket style
Pierre-Luc Beaudoin [Fri, 29 May 2009 19:38:31 +0000 (15:38 -0400)]
Fix bracket style

14 years agoProperly unref objects used by EmpathyLocationManager
Pierre-Luc Beaudoin [Fri, 29 May 2009 19:35:14 +0000 (15:35 -0400)]
Properly unref objects used by EmpathyLocationManager

14 years agoApply style fixes to EmpathyLocationManager
Pierre-Luc Beaudoin [Fri, 29 May 2009 19:27:23 +0000 (15:27 -0400)]
Apply style fixes to EmpathyLocationManager

• 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

14 years agoDon't build the file instead of #if the whole file
Pierre-Luc Beaudoin [Fri, 29 May 2009 19:15:42 +0000 (15:15 -0400)]
Don't build the file instead of #if the whole file

14 years agoFactory is sometimes ref leaked
Pierre-Luc Beaudoin [Fri, 29 May 2009 15:59:31 +0000 (11:59 -0400)]
Factory is sometimes ref leaked

14 years agoQueue location publish requests
Pierre-Luc Beaudoin [Fri, 29 May 2009 18:08:18 +0000 (14:08 -0400)]
Queue location publish requests

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.

14 years agoRename empathy_location_manager_get_default to dup_default
Pierre-Luc Beaudoin [Thu, 28 May 2009 21:03:35 +0000 (17:03 -0400)]
Rename empathy_location_manager_get_default to dup_default

This is more consistent with the rest of Empathy.

14 years agoMore explicit debug message on what is published
Pierre-Luc Beaudoin [Thu, 28 May 2009 18:23:05 +0000 (14:23 -0400)]
More explicit debug message on what is published

14 years agoAny location accuracy will do
Pierre-Luc Beaudoin [Thu, 28 May 2009 01:44:05 +0000 (21:44 -0400)]
Any location accuracy will do

14 years agoDon't use geoclue's timestamp
Pierre-Luc Beaudoin [Thu, 28 May 2009 01:42:47 +0000 (21:42 -0400)]
Don't use geoclue's timestamp

It turns out that the timestamp are not reliable (they
are often set to 0).

14 years agoDon't call geoclue functions if the init failed
Pierre-Luc Beaudoin [Wed, 27 May 2009 16:49:37 +0000 (12:49 -0400)]
Don't call geoclue functions if the init failed

14 years agoFix a warning if McAccount has no TpConnection
Pierre-Luc Beaudoin [Tue, 7 Apr 2009 21:44:18 +0000 (17:44 -0400)]
Fix a warning if McAccount has no TpConnection

14 years agoFix left over issues from rebasing
Pierre-Luc Beaudoin [Tue, 7 Apr 2009 18:38:04 +0000 (14:38 -0400)]
Fix left over issues from rebasing

14 years agoDon't show the location preferences if geoclue not available
Pierre-Luc Beaudoin [Sun, 25 Jan 2009 13:06:13 +0000 (00:06 +1100)]
Don't show the location preferences if geoclue not available

14 years agoFix compilation if geoclue is not enabled
Pierre-Luc Beaudoin [Sun, 25 Jan 2009 13:05:56 +0000 (08:05 -0500)]
Fix compilation if geoclue is not enabled

14 years agoMerge fixes due to API changes
Pierre-Luc Beaudoin [Thu, 22 Jan 2009 05:03:54 +0000 (16:03 +1100)]
Merge fixes due to API changes

14 years agoVarious style fixes
Pierre-Luc Beaudoin [Sat, 17 Jan 2009 14:32:46 +0000 (16:32 +0200)]
Various style fixes

14 years agoSend a int64 timestamp to match the spec
Pierre-Luc Beaudoin [Mon, 12 Jan 2009 23:02:03 +0000 (01:02 +0200)]
Send a int64 timestamp to match the spec

14 years agoClear remote location upon disabling
Pierre-Luc Beaudoin [Fri, 2 Jan 2009 04:34:23 +0000 (23:34 -0500)]
Clear remote location upon disabling

14 years agoFix key freeing
Pierre-Luc Beaudoin [Tue, 30 Dec 2008 18:24:06 +0000 (13:24 -0500)]
Fix key freeing

14 years agoImplement reduced accuracy
Pierre-Luc Beaudoin [Tue, 16 Dec 2008 22:40:49 +0000 (17:40 -0500)]
Implement reduced accuracy

14 years agoSend timestamp
Pierre-Luc Beaudoin [Tue, 16 Dec 2008 20:18:51 +0000 (15:18 -0500)]
Send timestamp

14 years agoWhen updating the resources, check for changed location
Pierre-Luc Beaudoin [Mon, 15 Dec 2008 21:17:45 +0000 (16:17 -0500)]
When updating the resources, check for changed location

14 years agoMore ressource fix
Pierre-Luc Beaudoin [Fri, 12 Dec 2008 23:14:03 +0000 (18:14 -0500)]
More ressource fix

14 years agoInitial position/address and ressource fix
Pierre-Luc Beaudoin [Fri, 12 Dec 2008 22:40:22 +0000 (17:40 -0500)]
Initial position/address and ressource fix

14 years agoShould not be elseif
Pierre-Luc Beaudoin [Fri, 12 Dec 2008 18:56:46 +0000 (13:56 -0500)]
Should not be elseif

14 years agoPublish location when enabling it
Pierre-Luc Beaudoin [Thu, 11 Dec 2008 21:31:52 +0000 (16:31 -0500)]
Publish location when enabling it

14 years agoSupport all position fields
Pierre-Luc Beaudoin [Thu, 11 Dec 2008 21:07:55 +0000 (16:07 -0500)]
Support all position fields

14 years agoSupport address fields
Pierre-Luc Beaudoin [Wed, 10 Dec 2008 22:27:42 +0000 (17:27 -0500)]
Support address fields

14 years agoPublish location after connection and when location changes
Pierre-Luc Beaudoin [Wed, 10 Dec 2008 17:04:30 +0000 (12:04 -0500)]
Publish location after connection and when location changes

14 years agoAdd EmpathyLocationManager
Pierre-Luc Beaudoin [Sat, 29 Nov 2008 04:01:20 +0000 (23:01 -0500)]
Add EmpathyLocationManager

14 years agoAdd a Location tab in preferences
Pierre-Luc Beaudoin [Fri, 29 May 2009 17:53:38 +0000 (13:53 -0400)]
Add a Location tab in preferences

14 years agoConfigure bits for geoclue
Pierre-Luc Beaudoin [Tue, 25 Nov 2008 22:11:29 +0000 (17:11 -0500)]
Configure bits for geoclue

14 years agoMerge commit 'ksz/can_stream_tube'
Guillaume Desmottes [Mon, 1 Jun 2009 14:47:55 +0000 (15:47 +0100)]
Merge commit 'ksz/can_stream_tube'

14 years agoAdd the method empathy_contact_can_stream_tubes in the empathy-tp-contact-factory
Arnaud Maillet [Fri, 29 May 2009 13:18:52 +0000 (15:18 +0200)]
Add the method empathy_contact_can_stream_tubes in the empathy-tp-contact-factory

14 years agoadd chat.freenode.net as default FreeNode server (#584061)
Guillaume Desmottes [Sun, 31 May 2009 11:38:06 +0000 (12:38 +0100)]
add chat.freenode.net as default FreeNode server (#584061)

14 years agoSmall update
Gabor Kelemen [Sat, 30 May 2009 23:03:16 +0000 (01:03 +0200)]
Small update

14 years agoCope with status icon begin NULL
Sjoerd Simons [Sat, 30 May 2009 21:48:46 +0000 (22:48 +0100)]
Cope with status icon begin NULL

14 years agoCope with status being NULL
Sjoerd Simons [Sat, 30 May 2009 21:48:26 +0000 (22:48 +0100)]
Cope with status being NULL

14 years agoRemove usage of McPresence as much as possible
Sjoerd Simons [Sat, 30 May 2009 19:15:31 +0000 (20:15 +0100)]
Remove usage of McPresence as much as possible

14 years agoEnsure a minimum size of tabs in the chat window
Sjoerd Simons [Sat, 30 May 2009 16:00:12 +0000 (17:00 +0100)]
Ensure a minimum size of tabs in the chat window

When there are a lot of tabs in the chat window it's not useful to resize them
such that only the ellipsis is actually visible. To prevent this make the
notebook scrollable and ensure the tabs are width enough to contain
approximately 12 characters.

14 years agofixed bug #548716
Dimitris Zenios [Fri, 29 May 2009 16:09:48 +0000 (19:09 +0300)]
fixed bug #548716

14 years agoFix the python example
Olivier Le Thanh Duong [Thu, 21 May 2009 20:09:41 +0000 (22:09 +0200)]
Fix the python example

14 years agoFix ‘lat’, ‘lon’ may be used uninitialized in this function
Pierre-Luc Beaudoin [Thu, 28 May 2009 18:59:57 +0000 (14:59 -0400)]
Fix ‘lat’, ‘lon’ may be used uninitialized in this function

14 years agoMerge commit 'origin/master'
Davyd Madeley [Thu, 28 May 2009 09:54:30 +0000 (17:54 +0800)]
Merge commit 'origin/master'

14 years agoEmpathyStatusPresetDialog: fix status_preset_add_combo_reset()
Davyd Madeley [Thu, 28 May 2009 09:51:56 +0000 (17:51 +0800)]
EmpathyStatusPresetDialog: fix status_preset_add_combo_reset()

14 years agoHighlight the most recently added entry in the status presets dialog
Davyd Madeley [Thu, 28 May 2009 09:47:09 +0000 (17:47 +0800)]
Highlight the most recently added entry in the status presets dialog

14 years agonew tube API is now stable
Guillaume Desmottes [Tue, 26 May 2009 14:38:56 +0000 (15:38 +0100)]
new tube API is now stable

14 years agobump tp-glib dep to 0.7.31 as we need it for tube new API
Guillaume Desmottes [Thu, 28 May 2009 09:01:31 +0000 (10:01 +0100)]
bump tp-glib dep to 0.7.31 as we need it for tube new API

14 years agostop to generate tube new API extensions
Guillaume Desmottes [Tue, 26 May 2009 14:26:33 +0000 (15:26 +0100)]
stop to generate tube new API extensions

14 years agoempathy-call-window: coding style fix
Guillaume Desmottes [Thu, 28 May 2009 09:06:21 +0000 (10:06 +0100)]
empathy-call-window: coding style fix

14 years agoempathy-tp-contact-factory: coding style fixes
Guillaume Desmottes [Thu, 28 May 2009 09:06:11 +0000 (10:06 +0100)]
empathy-tp-contact-factory: coding style fixes

14 years agoempathy-time.c now contains translatable strings
Guillaume Desmottes [Thu, 28 May 2009 09:04:33 +0000 (10:04 +0100)]
empathy-time.c now contains translatable strings

14 years agoupdating Punjabi Translation
A S Alam [Thu, 28 May 2009 03:41:36 +0000 (09:11 +0530)]
updating Punjabi Translation

14 years agoOnly do sounds/notifications for text messages when they involve the user
Sjoerd Simons [Wed, 27 May 2009 22:56:37 +0000 (23:56 +0100)]
Only do sounds/notifications for text messages when they involve the user

When in a chatroom notifications and sounds should only happen when the users
is part of the message (either someone is speaking to them or referring to
them), otherwise the user will go crazy when in a lot of different muc
channels. For a peer to peer text channel, all messages sent are targetted at
the user so always do sounds/notifications in that case.

14 years agoCorrectly set the is_member flag when members are added
Sjoerd Simons [Wed, 27 May 2009 21:48:33 +0000 (22:48 +0100)]
Correctly set the is_member flag when members are added

14 years agoTreat TP_CONNECTION_PRESENCE_TYPE_UNSET as _AVAILABLE
Sjoerd Simons [Wed, 27 May 2009 21:30:36 +0000 (22:30 +0100)]
Treat TP_CONNECTION_PRESENCE_TYPE_UNSET as _AVAILABLE

In case a CM doesn't have the presence interface a contacts presence will be
reported as _UNSET. Treating this as _AVAILABLE causes these contacts to
show up in the UI

14 years agoAdd sections to the configure report
Pierre-Luc Beaudoin [Wed, 27 May 2009 17:24:47 +0000 (13:24 -0400)]
Add sections to the configure report

14 years agoShould check for enable location and not map (bad copy/paste)
Pierre-Luc Beaudoin [Wed, 27 May 2009 16:23:33 +0000 (12:23 -0400)]
Should check for enable location and not map (bad copy/paste)

14 years agoImprove code readability
Pierre-Luc Beaudoin [Wed, 27 May 2009 16:10:31 +0000 (12:10 -0400)]
Improve code readability

Rename userdata to contact,
wrap at 80 chars

14 years agoDon't need to check twice if location has latitude
Pierre-Luc Beaudoin [Wed, 27 May 2009 16:09:52 +0000 (12:09 -0400)]
Don't need to check twice if location has latitude

There is no need to check for lon as lat, lon as always set togeter (they
are meaningless alone).

14 years agoFix English label for Location's date
Pierre-Luc Beaudoin [Wed, 27 May 2009 16:04:03 +0000 (12:04 -0400)]
Fix English label for Location's date

14 years agoUse the layer to list the markers
Pierre-Luc Beaudoin [Wed, 27 May 2009 00:44:25 +0000 (20:44 -0400)]
Use the layer to list the markers

There was no need to add an extra list as the layer already has
a list of the markers.

14 years agoMove the geoclue geocoding in EmpathyTpContactFactory
Pierre-Luc Beaudoin [Wed, 27 May 2009 15:57:14 +0000 (11:57 -0400)]
Move the geoclue geocoding in EmpathyTpContactFactory

This code needs to be run when ever there is a new location available
It makes more sens for it to be there. This makes the geolocation informtion
ritcher as it can be displayed on a map.

14 years agoFix memory leak
Pierre-Luc Beaudoin [Tue, 26 May 2009 22:33:32 +0000 (18:33 -0400)]
Fix memory leak

14 years agoFix translation and value errors for relative time
Pierre-Luc Beaudoin [Tue, 26 May 2009 22:26:38 +0000 (18:26 -0400)]
Fix translation and value errors for relative time

14 years agoDisconnect from notify::location
Pierre-Luc Beaudoin [Tue, 26 May 2009 22:12:09 +0000 (18:12 -0400)]
Disconnect from notify::location

Since the list of EmpathyContact can change at anytime, it can't
be iterated to disconnect the handlers.  Instead, a ref is
added to the markers.

14 years agoMove the geocoding to when the location is updated
Pierre-Luc Beaudoin [Tue, 26 May 2009 20:52:48 +0000 (16:52 -0400)]
Move the geocoding to when the location is updated

This way, when the location is updated, the lat,lon is fetched too
(not only upon showing the map).

14 years agoAvatar was leaked
Pierre-Luc Beaudoin [Tue, 26 May 2009 20:17:17 +0000 (16:17 -0400)]
Avatar was leaked

14 years agoDon't need to keep the address around
Pierre-Luc Beaudoin [Tue, 26 May 2009 20:14:38 +0000 (16:14 -0400)]
Don't need to keep the address around

Since Geoclue is passing the address to dbus, we don't
need to keep the address around as it'll be copied anyway.

14 years agoDon't need to set back if it is the same hashtable
Pierre-Luc Beaudoin [Tue, 26 May 2009 20:09:37 +0000 (16:09 -0400)]
Don't need to set back if it is the same hashtable

This code was ugly, by removing the ref, unref and the set call,
the code is much simpler.  The other objects will still be notified
of the changes.

14 years agoDisplay relative time to user
Pierre-Luc Beaudoin [Tue, 26 May 2009 19:38:32 +0000 (15:38 -0400)]
Display relative time to user

The time of the geolocation update is displayed relatively to
current time (1 min ago, 3 hours ago).

The function just prints ("in the future") for debugging purpuses
for time in the future.

14 years agoFix possible compilation error
Pierre-Luc Beaudoin [Tue, 26 May 2009 16:45:19 +0000 (12:45 -0400)]
Fix possible compilation error

14 years agoSimplify the #if by isolating the content
Pierre-Luc Beaudoin [Tue, 26 May 2009 16:44:38 +0000 (12:44 -0400)]
Simplify the #if by isolating the content

14 years agoSimplifly the logic on when to display the location
Pierre-Luc Beaudoin [Tue, 26 May 2009 16:42:10 +0000 (12:42 -0400)]
Simplifly the logic on when to display the location

By verifying earlier on

14 years agoGeoclue is not used in libempathy-gtk
Pierre-Luc Beaudoin [Tue, 26 May 2009 16:28:04 +0000 (12:28 -0400)]
Geoclue is not used in libempathy-gtk

14 years agoUse empathy_time_to_string_local
Pierre-Luc Beaudoin [Tue, 26 May 2009 16:27:25 +0000 (12:27 -0400)]
Use empathy_time_to_string_local

14 years agoRemove unneeded elses
Pierre-Luc Beaudoin [Tue, 26 May 2009 16:05:11 +0000 (12:05 -0400)]
Remove unneeded elses

As the vars will already be to no.

14 years agoPrint library usage in new configure report
Pierre-Luc Beaudoin [Mon, 25 May 2009 18:55:25 +0000 (14:55 -0400)]
Print library usage in new configure report

14 years agoDon't create a marker if the user has no location
Pierre-Luc Beaudoin [Mon, 25 May 2009 18:53:42 +0000 (14:53 -0400)]
Don't create a marker if the user has no location

14 years agoDon't list timestamp in the location fields as it is already included in the header
Pierre-Luc Beaudoin [Fri, 22 May 2009 22:51:57 +0000 (18:51 -0400)]
Don't list timestamp in the location fields as it is already included in the header

14 years agoUse tp_strdiff instead of strcmp
Pierre-Luc Beaudoin [Fri, 22 May 2009 17:42:05 +0000 (13:42 -0400)]
Use tp_strdiff instead of strcmp

14 years agoHave better user labels for location values
Pierre-Luc Beaudoin [Thu, 21 May 2009 16:25:55 +0000 (12:25 -0400)]
Have better user labels for location values

And have them better placed (with labels on left not expand).

14 years agoFix double border issue in the Map View
Pierre-Luc Beaudoin [Wed, 20 May 2009 20:33:07 +0000 (16:33 -0400)]
Fix double border issue in the Map View

By replace the scrolled view by a viewport, anyway, there can't
be scrollbars with libchamplain

14 years agoMove geocoding in a place where we can have better memory management
Pierre-Luc Beaudoin [Wed, 20 May 2009 20:11:40 +0000 (16:11 -0400)]
Move geocoding in a place where we can have better memory management

14 years agoDisplay user textual location even if it doesn't include a lat,lon
Pierre-Luc Beaudoin [Wed, 20 May 2009 18:17:35 +0000 (14:17 -0400)]
Display user textual location even if it doesn't include a lat,lon