aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact.c
Commit message (Collapse)AuthorAgeFilesLines
* Added functions to determine if a contact has video capabilitiesJonathan Tellier2009-07-031-0/+24
| | | | | | | Activating the "Video Call" button only if the remote contact support video. The call window's "Send Video" is only sensitive if the contact has video capabilities.
* Port libempathy to EmpathyAccountSjoerd Simons2009-07-011-7/+6
|
* Introduce empathy_contact_equal, adapt themesPatryk Zawadzki2009-06-161-0/+37
| | | | | Fixed adium and boxes theme engines to check if contacts refer to the same id instead of comparing pointers. This fixes bug #585885.
* Add doc for empathy_avatar_new()Xavier Claessens2009-06-121-0/+13
|
* Add the filename in EmpathyAvatar and fallback to stock_personXavier Claessens2009-06-121-20/+7
|
* Add initial adium theme support: Load the template and append messages.Xavier Claessens2009-06-121-0/+12
|
* contact_get_avatar_filename: remove unused priv pointerGuillaume Desmottes2009-06-091-1/+0
|
* contact_get_avatar_filename: use empathy_contact_get_id instead of priv->id ↵Guillaume Desmottes2009-06-091-2/+2
| | | | | | | directly priv->id is not supposed to be set for not log contacts so the avatar cache was broken for all TpContact.
* Coding style fixes.Jonny Lamb2009-06-041-1/+1
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Add the method empathy_contact_can_stream_tubes in the ↵Arnaud Maillet2009-06-011-0/+12
| | | | empathy-tp-contact-factory
* Remove usage of McPresence as much as possibleSjoerd Simons2009-05-311-43/+25
|
* Treat TP_CONNECTION_PRESENCE_TYPE_UNSET as _AVAILABLESjoerd Simons2009-05-281-1/+1
| | | | | | 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
* empathy-contact: fix coding styleGuillaume Desmottes2009-05-181-1/+1
|
* Don't ref the returned hash tablePierre-Luc Beaudoin2009-05-101-2/+2
|
* Don't create an unused hashtable and free location on finalizePierre-Luc Beaudoin2009-05-101-5/+7
|
* Remove a trailing space and g_printPierre-Luc Beaudoin2009-05-081-1/+1
|
* Fix doc's consistencyPierre-Luc Beaudoin2009-05-081-2/+2
|
* Fix review comments on EmpathyContact by Guillaume DesmottesPierre-Luc Beaudoin2009-05-081-4/+18
| | | | Mostly coding style fixes and documentation
* Add Location to EmpathyContactPierre-Luc Beaudoin2009-05-081-0/+60
|
* Rename empathy_contact_new_static to empathy_contact_new_for_logXavier Claessens2009-04-221-4/+4
|
* Add empathy_contact_new_static() to create a contact that comes from logsXavier Claessens2009-04-221-0/+17
|
* Add G_PARAM_STATIC_STRINGS to EmpathyContact propertiesXavier Claessens2009-04-221-10/+10
|
* Cleanup authors of EmpathyContact. It has nothing to do with Gossip code ↵Xavier Claessens2009-04-221-1/+0
| | | | anymore. All code is mine.
* Use tp_connection_get_self_handle where neededXavier Claessens2009-04-221-14/+0
|
* Simplify empathy_contact_get_accountXavier Claessens2009-04-221-7/+3
|
* Add commented out code to set the _is_ready property of EmpathyContactXavier Claessens2009-04-221-0/+14
|
* If presence message is "", get the default message.Xavier Claessens2009-04-221-1/+1
|
* Make sure to not ref a NULL objectXavier Claessens2009-04-221-0/+3
|
* CONSTRUCT_ONLY properties must be writableXavier Claessens2009-04-221-3/+5
|
* Turn EmpathyContact into a TpContact wrapperXavier Claessens2009-04-221-349/+199
|
* empathy_contact_set_handle: remove the handle ready flag when the handle is ↵Guillaume Desmottes2009-03-201-1/+19
| | | | | | | | set to 0 From: Guillaume Desmottes <gdesmott@gnome.org> svn path=/trunk/; revision=2719
* Renamed G_STR_EMPTY to EMP_STR_EMPTY.Jonny Lamb2009-01-231-6/+6
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2249
* EmpathyContact keeps a ref to the factory.Xavier Claessens2009-01-131-3/+23
| | | | svn path=/trunk/; revision=2228
* Make the error in the call_when_ready callback constSjoerd Simons2009-01-101-1/+1
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2192
* Free ready callbacks in finalizeSjoerd Simons2009-01-101-1/+17
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2191
* Add weak object, destroy notify and error reporting to ↵Sjoerd Simons2009-01-101-7/+53
| | | | | | | | empathy_contact_call_when_ready Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2190
* Add empathy_contact_call_when_readySjoerd Simons2009-01-101-11/+63
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2126
* Add a "presence-changed" signal so that we can keep track of theXavier Claessens2009-01-071-1/+25
| | | | | | previous presence of a contact when it changes. svn path=/trunk/; revision=2051
* Use gi18n-lib.h instead of gi18n.h for libraries.Xavier Claessens2008-12-121-1/+1
| | | | svn path=/trunk/; revision=1967
* empathy-contact: no need to inspect the RequestableChannelClasses property ↵Xavier Claessens2008-11-221-71/+0
| | | | | | anymore, empathy-tp-contact-factory does it for us now svn path=/trunk/; revision=1855
* remove blank lineXavier Claessens2008-11-221-1/+0
| | | | svn path=/trunk/; revision=1847
* Use the RequestableChannelClasses property instead of hardcoding salut to ↵Xavier Claessens2008-11-221-20/+65
| | | | | | check if we can send file or not svn path=/trunk/; revision=1846
* Moved capabilities hack to empathy_contact_set_account. (Jonny Lamb)Jonny Lamb2008-11-221-27/+27
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1830
* Renamed is_salut to contact_is_salut. (Jonny Lamb)Jonny Lamb2008-11-221-2/+2
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1829
* Added ft-related functions to EmpathyContact. (Jonny Lamb)Jonny Lamb2008-11-221-0/+39
| | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1733
* Fix some coding styleXavier Claessens2008-07-091-91/+79
| | | | svn path=/trunk/; revision=1218
* empath-contact: remove tabs (Guillaume Desmottes)Xavier Claessens2008-07-091-389/+389
| | | | svn path=/trunk/; revision=1217
* switch empathy-contact to Collabora coding style (Guillaume Desmottes)Xavier Claessens2008-07-091-254/+264
| | | | svn path=/trunk/; revision=1214
* Document empathy_avatar_save_to_file (Guillaume Desmottes)Xavier Claessens2008-07-091-0/+10
| | | | svn path=/trunk/; revision=1210
* add empathy_avatar_save_to_file (Guillaume Desmottes)Xavier Claessens2008-07-091-1/+8
| | | | svn path=/trunk/; revision=1209
* Make empathy_contact_equal NULL-safe for the contact ID and use the ^ ↵Xavier Claessens2008-07-081-2/+4
| | | | | | operator to concat 2 hashs values instead of +. svn path=/trunk/; revision=1202
* Fix coding styleXavier Claessens2008-06-191-6/+6
| | | | svn path=/trunk/; revision=1183
* "ready & EMPATHY_CONTACT_READY_NAME" instead of ready | ↵Xavier Claessens2008-06-191-1/+1
| | | | | | EMPATHY_CONTACT_READY_NAME svn path=/trunk/; revision=1182
* Fix coding styleXavier Claessens2008-06-191-3/+1
| | | | svn path=/trunk/; revision=1181
* Move contact_set_ready_flag() in _set_name() and _set_handle().Xavier Claessens2008-06-191-2/+2
| | | | svn path=/trunk/; revision=1180
* Fix the bug "Incoming call from (null)" (Alban Crequy)Xavier Claessens2008-06-191-0/+9
| | | | | | | | | | | The status icon uses empathy_contact_get_name() to print the name of the calling contact. It uses empathy_contact_run_until_ready() to wait the return of GetAliases(). If GetAliases() failed for whatever reason, the name will be NULL and empathy_contact_get_name() will fallback to the id. If GetHandle() has not yet returned, the id is not ready and empathy_contact_run_until_ready() must wait the id to be available. svn path=/trunk/; revision=1179
* don't set the flag to ready if we are not yet ready, especially when we send ↵Xavier Claessens2008-06-191-1/+1
| | | | | | a glib signal meanwhile, letting the opportunity to enter in the mainloop svn path=/trunk/; revision=1178
* Do not warning if we try to load the avatar of a contact that does not yet ↵Xavier Claessens2008-05-281-14/+14
| | | | | | have its id. svn path=/trunk/; revision=1129
* Move avatar cache to ~/.cache and don't mix avatar from different contacts, ↵Xavier Claessens2008-05-281-0/+163
| | | | | | 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-8/+7
| | | | | | G_TYPE_INSTANCE_GET_PRIVATE all the time. svn path=/trunk/; revision=1082
* Make use of tp-glib debug system.Xavier Claessens2008-05-011-3/+3
| | | | svn path=/trunk/; revision=1066
* If the RequestAliases fails, make sure the name property on all contacts ↵Xavier Claessens2008-04-161-39/+25
| | | | | | becomes ready to avoid waiting infinitely. svn path=/trunk/; revision=952
* Make use of empathy_run_until_ready_fullXavier Claessens2008-04-111-45/+10
| | | | svn path=/trunk/; revision=893
* ref the contact temporally when setting properties because it could destroy ↵Xavier Claessens2008-04-021-3/+8
| | | | | | the object. svn path=/trunk/; revision=855
* Retry requesting aliases if it fails, it can happen if there is too many ↵Xavier Claessens2008-03-161-1/+1
| | | | | | aliases to request and it takes too much time svn path=/trunk/; revision=798
* Improve a bit the test and fix empathy_contact_run_until, data.ready was not ↵Xavier Claessens2008-03-111-1/+2
| | | | | | set. svn path=/trunk/; revision=760
* Add debug messages in _run_until_readyXavier Claessens2008-03-111-0/+5
| | | | svn path=/trunk/; revision=753
* Add empathy_contact_run_until_ready()Xavier Claessens2008-03-111-1/+77
| | | | svn path=/trunk/; revision=749
* Ready property on EmpathyContact is not a boolean but flags for each property.Xavier Claessens2008-03-111-9/+10
| | | | svn path=/trunk/; revision=748
* Add a ready property on EmpathyContact and make use of tp_strdiff.Xavier Claessens2008-03-111-13/+32
| | | | svn path=/trunk/; revision=747
* Lazy init of contact hash.Xavier Claessens2008-03-111-4/+5
| | | | svn path=/trunk/; revision=746
* If we set contact's id and name is still empty, emit notify::name.Xavier Claessens2008-03-111-0/+3
| | | | svn path=/trunk/; revision=745
* Update collabora copyright to 2008Xavier Claessens2008-03-031-1/+1
| | | | svn path=/trunk/; revision=688
* EmpathyContact: Set G_PARAM_CONSTRUCT on the capabilities property. (Sjoerd)Xavier Claessens2008-02-181-1/+1
| | | | svn path=/trunk/; revision=646
* Remove unused PROP_SUBSCRIPTIONXavier Claessens2008-02-161-1/+0
| | | | svn path=/trunk/; revision=642
* Removed unused PROP_GROUPSXavier Claessens2008-02-161-1/+0
| | | | svn path=/trunk/; revision=640
* Cleanup code from previous mergeXavier Claessens2008-02-161-5/+1
| | | | svn path=/trunk/; revision=638
* Merge commit 'sjoerd/master'Xavier Claessens2008-02-161-0/+4
| | | | svn path=/trunk/; revision=637
* Remove EmpathyPresence object and have "presence" and "presence-message" ↵Xavier Claessens2008-01-251-41/+67
| | | | | | properties directly in EmpathyContact svn path=/trunk/; revision=601
* Adding UI to start a VoIP call. It does nothing yet. Most of the code isXavier Claessens2007-09-091-0/+13
| | | | | | | | | | | | | | | | | | | 2007-09-08 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-images.h: * libempathy-gtk/empathy-chat.glade: * libempathy-gtk/empathy-contact-list-view.c: * libempathy-gtk/empathy-contact-list-store.c: * libempathy-gtk/empathy-contact-list-store.h: * libempathy-gtk/Makefile.am: * libempathy-gtk/empathy-chat-window.c: * libempathy/empathy-contact.c: * libempathy/empathy-contact.h: Adding UI to start a VoIP call. It does nothing yet. Most of the code is ported from Gossip patch (Raphael Slinckx, Xavier Claessens). svn path=/trunk/; revision=292
* Adding capabilities contact property.Xavier Claessens2007-09-091-0/+50
| | | | | | | | | | | | 2007-09-08 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-contact.c: * libempathy/empathy-contact.h: * libempathy/empathy-contact-factory.c: Adding capabilities contact property. svn path=/trunk/; revision=291
* Completely reworked ContactList API. Fixes bug #471611, bug #467280, bug ↵Xavier Claessens2007-08-311-277/+90
| | | | | | #459540 and bug #462907. svn path=/trunk/; revision=280
* Remove empathy-marshal-main.c and include empathy-marshal.h fromMarco Barisione2007-08-081-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-08-07 Marco Barisione <marco@barisione.org> * libempathy/Makefile.am: * libempathy/empathy-marshal-main.c: Remove empathy-marshal-main.c and include empathy-marshal.h from empathy-marshal.c. * libempathy/Makefile.am: * libempathy-gtk/Makefile.am: Generate files for enum types with glib-mkenums. * libempathy/empathy-contact.c: * libempathy/empathy-idle.c: * libempathy/empathy-message.c: * libempathy/empathy-presence.c: * libempathy-gtk/empathy-main-window.c: * libempathy-gtk/empathy-preferences.c: * doc/libempathy-gtk/libempathy-gtk.types: * doc/libempathy-gtk/tmpl/empathy-contact-list-store.sgml: Use g_param_spec_enum() and g_param_spec_flags() instead of g_param_spec_(u)int. Fixes bug #462465. * libempathy-gtk/empathy-contact-list-store.c: * libempathy-gtk/empathy-contact-list-store.h: Remove empathy_contact_list_store_sort_get_type() as it's now auto-generated by glib-mkenums. svn path=/trunk/; revision=234
* Rename all filenames starting with "gossip" by "empathy", change namespaceXavier Claessens2007-06-221-0/+800
2007-06-22 Xavier Claessens <xclaesse@gmail.com> * libempathy/*.[ch]: * libempathy-gtk/*.[ch]: * src/*.[ch]: Rename all filenames starting with "gossip" by "empathy", change namespace of all gossip_*() functions to empathy_*(). Fixes bug #444490 (Mario Danic, Xavier Claessens). svn path=/trunk/; revision=170