aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-contact-factory.c
Commit message (Collapse)AuthorAgeFilesLines
* Move empathy_tp_contact_factory_set_alias() to EmpathyContactXavier Claessens2010-05-261-46/+0
|
* Kill EmpathyTpContactFactory object. Its API stays as helper code o ↵Xavier Claessens2010-05-261-310/+49
| | | | | | | | | n TpConnection. Note that it uses empathy_contact_dup_from_tp_contact() internally, so we are sure to really have at most one EmpathyContact object per TpContact Fixes bug #619488
* Make use of TP_CONTACT_FEATURE_AVATAR_DATAXavier Claessens2010-05-261-224/+2
| | | | Fixes bug #579812
* Stop getting avatar requirements in EmpathyTpContactFactoryXavier Claessens2010-05-261-133/+0
|
* No need of a contact factory to set locationXavier Claessens2010-05-021-29/+0
|
* tp-contact-factory: stop tracking capabilitiesGuillaume Desmottes2010-04-271-339/+0
| | | | This is done in empathy-contact using TpContact:capabilities now.
* request the TP_CONTACT_FEATURE_CAPABILITIES featureGuillaume Desmottes2010-04-271-0/+1
|
* contact-factory: stop managing locationsGuillaume Desmottes2010-04-061-76/+0
|
* move tp_contact_factory_geocode to empathy-contactGuillaume Desmottes2010-04-061-154/+0
|
* pass Location feature to ContactsGuillaume Desmottes2010-04-061-0/+1
|
* remove empathy_tp_contact_factory_set_avatarGuillaume Desmottes2010-04-061-61/+0
| | | | This is not needed any more.
* No need to get RequestableChannelClasses if ContactCapability is implementedGuillaume Desmottes2010-01-141-15/+23
| | | | We use it only as a fallback if it's not.
* factor out channel_classes_to_capabilitiesGuillaume Desmottes2010-01-141-64/+58
|
* Use ContactCapabilities to get audio/video caps (#599163)Guillaume Desmottes2010-01-141-1/+16
|
* Stop using the old Capabilities iface if ContactCapabilities is implementedGuillaume Desmottes2010-01-141-20/+20
|
* Claim that contacts support stream tube if it's announced in their contact ↵Guillaume Desmottes2010-01-141-7/+10
| | | | capabilities
* Claim that contacts support FT if it's announced in their contact ↵Guillaume Desmottes2010-01-141-0/+91
| | | | capabilities (#599164)
* Don't assume contacts support FT if ContactCapabilities is implementedGuillaume Desmottes2010-01-141-4/+19
|
* empathy_tp_contact_factory_get_from_{id,handle} shouldn't pass the ref of ↵Guillaume Desmottes2009-11-231-0/+7
| | | | | | | the contact to the cb This match the behaviour of empathy_tp_contact_factory_get_from_{ids,handles} and tp_connection_get_contacts_by_handle.
* tp-contact-factory: document that ↵Guillaume Desmottes2009-11-231-0/+2
| | | | empathy_tp_contact_factory_get_from_{ids,handles} don't give a ref to the cb
* empathy-tp-contact-factory: ensure that ↵Guillaume Desmottes2009-11-121-1/+18
| | | | empathy_tp_contact_factory_get_from_handle always return an error if the contact hasn't been created
* TpContactFactory: wait that the connection is ready before using itGuillaume Desmottes2009-11-091-13/+35
|
* empathy-tp-contact-factory.c: fix casting issueGuillaume Desmottes2009-10-221-1/+1
|
* Iterate avatar tokens with a GHashTableIterWill Thompson2009-09-171-30/+19
|
* Get rid of the last two _run_ calls in EmpathyWill Thompson2009-09-171-31/+29
| | | | | | | | Hooray! Also, don't try to get known avatar tokens or capabilities if the CM doesn't support them. This reduces the outrageous Debug spam when I connect to a Haze account or (worse) a big IRC channel. Fixes Gnome bug #532737
* tp-contact-factory: allow _get_from_handles to call with no handles.Jonny Lamb2009-09-071-0/+5
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Merge back from masterSjoerd Simons2009-08-221-7/+7
|\
| * Use tp-glib Location stable API (#585843)Guillaume Desmottes2009-08-171-7/+7
| |
* | Remove last references to mission-control 4Sjoerd Simons2009-07-161-0/+2
|/
* Improve geocoding debugging and add more fieldsPierre-Luc Beaudoin2009-07-011-8/+34
|
* Add the method empathy_contact_can_stream_tubes in the ↵Arnaud Maillet2009-06-011-26/+41
| | | | empathy-tp-contact-factory
* empathy-tp-contact-factory: coding style fixesGuillaume Desmottes2009-05-281-2/+2
|
* Improve code readabilityPierre-Luc Beaudoin2009-05-281-8/+11
| | | | | Rename userdata to contact, wrap at 80 chars
* Don't need to check twice if location has latitudePierre-Luc Beaudoin2009-05-281-6/+1
| | | | | There is no need to check for lon as lat, lon as always set togeter (they are meaningless alone).
* Move the geoclue geocoding in EmpathyTpContactFactoryPierre-Luc Beaudoin2009-05-281-0/+130
| | | | | | 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.
* Copy GHashTable received from Dbus and refactorPierre-Luc Beaudoin2009-05-281-13/+24
| | | | | | | This makes the GHashTable's structure explicit and less error prone when inserting later on. Move the copied code over to a new function.
* empathy-tp-contact-factory: fix coding styleGuillaume Desmottes2009-05-181-3/+3
|
* Use a quark as it is fasterPierre-Luc Beaudoin2009-05-101-2/+2
|
* Drop tp_contact_factory_update_location for code readabilityPierre-Luc Beaudoin2009-05-101-20/+7
| | | | This function is an artefact from previous version of this functionality
* Remove the interface checks as per Zdra commentsPierre-Luc Beaudoin2009-05-101-43/+9
| | | | | | | | | The interface checks were superfluous as the connect_to does nothing if the interface doesn't exist and call methods directly call the callback with an error if such method doesn't exist. That is why I kept the verification there as I didn't want to polute logs with error messages.
* Verify if the connection supports interface Location.DRAFTPierre-Luc Beaudoin2009-05-081-12/+51
| | | | Before calling and adding a call back that depends on the interface
* Remove a trailing space and g_printPierre-Luc Beaudoin2009-05-081-2/+0
|
* Get rid of the run callPierre-Luc Beaudoin2009-05-081-26/+14
| | | | | Also gets rid of the unnecessary GHashTable copying which caused a crash on location_updated
* Use iters on hash tables instead of foreachPierre-Luc Beaudoin2009-05-081-10/+9
|
* Fix review comments on EmpathyTpContactFactory by Guillaume DesmottesPierre-Luc Beaudoin2009-05-081-10/+11
| | | | Mostly coding style and some memory management fixes
* Move get_location to the right placePierre-Luc Beaudoin2009-05-081-0/+53
| | | | This will make the location requested upon contact creation
* Copy the hash table we receivePierre-Luc Beaudoin2009-05-081-1/+17
|
* Set/get location on telepathyPierre-Luc Beaudoin2009-05-081-1/+48
|
* Use tp_connection_get_self_handle where neededXavier Claessens2009-04-221-1/+8
|
* Change EmpathyTpContactFactory API to look more like TpConnection. Add ↵Xavier Claessens2009-04-221-45/+206
| | | | | | function to get only one contact from id/handle.
* EmpathyTpContactFactory don't have a ready property anymore.Xavier Claessens2009-04-221-12/+6
|
* Change API of EmpathyTpContactFactory:Xavier Claessens2009-04-221-765/+291
| | | | | | - Based on TpConnection instead of McAccount. - Drop all code that is now handled in TpContact. - Make it per-connection singleton.
* Simplify how channel classes value is parsed. Fixes bug #577825Xavier Claessens2009-04-031-8/+4
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2759
* Use tp-glib generated code for file transfers rather than extensions.Jonny Lamb2009-02-211-1/+1
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2523
* Renamed G_STR_EMPTY to EMP_STR_EMPTY.Jonny Lamb2009-01-231-4/+4
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2249
* empathy_mission_control_new -> dup_singleton.Xavier Claessens2009-01-161-1/+1
| | | | svn path=/trunk/; revision=2233
* Make existing contact FT capable when the CM supports itSjoerd Simons2009-01-101-1/+0
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2139
* Use new singleton policy for EmpathyAccountManager.Xavier Claessens2009-01-071-1/+1
| | | | svn path=/trunk/; revision=2074
* Port EmpathyTpContactFactory to the new API.Xavier Claessens2009-01-071-19/+23
| | | | svn path=/trunk/; revision=2041
* Make existing contact FT capable when the CM supports itSjoerd Simons2008-12-231-0/+11
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2011
* Fix coding styleXavier Claessens2008-11-221-46/+47
| | | | svn path=/trunk/; revision=1876
* get_requestable_channel_classes_cb: call tp_contact_factory_ready if the ↵Xavier Claessens2008-11-221-0/+1
| | | | | | D-Bus call failed svn path=/trunk/; revision=1864
* empathy-tp-contact-factory: set the FT capability when creating contacts if ↵Xavier Claessens2008-11-221-1/+79
| | | | | | the CM supports it svn path=/trunk/; revision=1854
* empathy-tp-contact-factory: factor out contact_createdXavier Claessens2008-11-221-2/+9
| | | | svn path=/trunk/; revision=1853
* Move code to avoid declaring functions on the top of the file.Xavier Claessens2008-11-111-71/+57
| | | | svn path=/trunk/; revision=1709
* Coding style: only one blank line between functions.Xavier Claessens2008-11-111-3/+0
| | | | svn path=/trunk/; revision=1687
* Add G_PARAM_STATIC_STRINGS to TpContactFactory propertiesXavier Claessens2008-11-111-8/+16
| | | | svn path=/trunk/; revision=1674
* EmpathyTpContactFactory: add properties for avatar requirementsXavier Claessens2008-11-111-3/+91
| | | | svn path=/trunk/; revision=1673
* EmpathyTpContactFactory: get avatar requirements before becoming ready.Xavier Claessens2008-11-111-9/+54
| | | | svn path=/trunk/; revision=1672
* EmpathyTpContactFactory: split on-ready code out of got_self_handle_cbXavier Claessens2008-11-111-4/+22
| | | | svn path=/trunk/; revision=1671
* EmpathyTpContactFactoryPriv: add fields for avatar requirementsXavier Claessens2008-11-111-0/+9
| | | | svn path=/trunk/; revision=1670
* Merge branch 'leak'Xavier Claessens2008-07-141-0/+2
| | | | svn path=/trunk/; revision=1227
* Move avatar cache to ~/.cache and don't mix avatar from different contacts, ↵Xavier Claessens2008-05-281-14/+9
| | | | | | tokens are not garanteed to be different. svn path=/trunk/; revision=1128
* Keep a priv pointer in the object struct instead of using ↵Xavier Claessens2008-05-061-9/+6
| | | | | | G_TYPE_INSTANCE_GET_PRIVATE all the time. svn path=/trunk/; revision=1082
* If self presence message is "" do like if it was NULL.Xavier Claessens2008-05-051-4/+8
| | | | svn path=/trunk/; revision=1081
* Make use of tp-glib debug system.Xavier Claessens2008-05-011-68/+51
| | | | svn path=/trunk/; revision=1066
* If the RequestAliases fails, make sure the name property on all contacts ↵Xavier Claessens2008-04-161-1/+18
| | | | | | becomes ready to avoid waiting infinitely. svn path=/trunk/; revision=952
* Fix disconnection of AccountStatusChanged signal.Xavier Claessens2008-04-131-5/+3
| | | | svn path=/trunk/; revision=932
* We can't use *_run_* API from dbus signal cb or method implementation. To ↵Xavier Claessens2008-04-111-4/+3
| | | | | | avoid problems move the code to a g_idle cb. svn path=/trunk/; revision=922
* Make use of mission_control_get_tpconnection()Xavier Claessens2008-04-111-6/+2
| | | | svn path=/trunk/; revision=888
* Display a warning if used when not ready instead of silently return.Xavier Claessens2008-04-021-11/+3
| | | | svn path=/trunk/; revision=862
* Remove previous hack, it was stupid, we have a param to increase dbus ↵Xavier Claessens2008-03-171-29/+8
| | | | | | timeout now that we use tp-glib API. svn path=/trunk/; revision=812
* Keep the 0 in the end of the array when duping itXavier Claessens2008-03-171-1/+1
| | | | svn path=/trunk/; revision=810
* Make sure the dup_handles array is ended by 0.Xavier Claessens2008-03-171-1/+3
| | | | svn path=/trunk/; revision=809
* Retry requesting aliases if it fails, it can happen if there is too many ↵Xavier Claessens2008-03-161-3/+25
| | | | | | aliases to request and it takes too much time svn path=/trunk/; revision=798
* Emit notify::ready signalsXavier Claessens2008-03-141-0/+3
| | | | svn path=/trunk/; revision=792
* Add a ready property on EmpathyTpContactFactoryXavier Claessens2008-03-141-1/+21
| | | | svn path=/trunk/; revision=790
* Fix coding styleXavier Claessens2008-03-111-2/+2
| | | | svn path=/trunk/; revision=765
* Queue received messages until the sender got his alias.Xavier Claessens2008-03-111-0/+3
| | | | svn path=/trunk/; revision=763
* Don't wait for connection-ready if it was already ready.Xavier Claessens2008-03-111-3/+11
| | | | svn path=/trunk/; revision=761
* Make sure we don't expect contact id and handle to be directly ready. Add ↵Xavier Claessens2008-03-111-0/+2
| | | | | | some _run_until_ready. svn path=/trunk/; revision=755
* Keep EmpathyContact object instead of the self handle, avoid using the ↵Xavier Claessens2008-03-111-98/+141
| | | | | | connection when not ready and request contact info when the connection gets ready. svn path=/trunk/; revision=752
* Make InspectHandles call asyncXavier Claessens2008-03-111-26/+41
| | | | svn path=/trunk/; revision=744
* Set self handle to 0 when connection is invalidatedXavier Claessens2008-03-111-2/+1
| | | | svn path=/trunk/; revision=743
* Use new apiXavier Claessens2008-03-111-381/+303
| | | | svn path=/trunk/; revision=742
* Queue received messages until the sender got his alias.Xavier Claessens2008-03-091-4/+0
| | | | svn path=/trunk/; revision=713
* Remove EMPATHY_CAPABILITIES_UNKNOWN flag when setting capabilitiesXavier Claessens2008-03-051-0/+1
| | | | svn path=/trunk/; revision=699
* Update collabora copyright to 2008Xavier Claessens2008-03-031-1/+1
| | | | svn path=/trunk/; revision=688
* Cleanup code from previous mergeXavier Claessens2008-02-161-2/+3
| | | | svn path=/trunk/; revision=638
* Merge commit 'sjoerd/master'Xavier Claessens2008-02-161-3/+4
| | | | svn path=/trunk/; revision=637
* EmpathyTpContactFactory: If the presence dict doesn't contain a ↵Xavier Claessens2008-02-101-0/+2
| | | | | | presence-message set the presence message to NULL svn path=/trunk/; revision=620
* Remove EmpathyPresence object and have "presence" and "presence-message" ↵Xavier Claessens2008-01-251-34/+13
| | | | | | properties directly in EmpathyContact svn path=/trunk/; revision=601
* Split EmpathyContactFactory to have one EmpathyTpContactFactory per accountXavier Claessens2007-12-121-0/+1307
svn path=/trunk/; revision=472