aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact.c
Commit message (Collapse)AuthorAgeFilesLines
* tpaw-utils: move EMP_STR_EMPTY to tp-aw and rename itMarco Barisione2013-08-201-7/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=699492
* Add missing includeEmilio Pozuelo Monfort2013-08-191-0/+1
| | | | | | | | Needed for EMPATHY_LOCATION_*. Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> https://bugzilla.gnome.org/show_bug.cgi?id=706125
* Use new GeocodeLocation API in geocode-glib 0.99.1Andreas Henriksson2013-08-151-6/+5
| | | | | | | | | | | | Use new accessor functions. The location structure members has been hidden. Use regular g_object_unref, since the geocode_location_free has been removed. See: https://git.gnome.org/browse/geocode-glib/commit?id=5372f2f7ff97707dcc839bd3ed79ea9f289f7409 "lib: Turn GeocodeLocation into a proper GObject" https://bugzilla.gnome.org/show_bug.cgi?id=706020
* Reorder header inclusions accordingly to the Telepathy coding styleEmanuele Aina2013-04-021-0/+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
* 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
* Revert "Go back to libgee 0.6.x"Guillaume Desmottes2013-02-191-1/+1
| | | | | | This reverts commit 670aec4ba8b16fbf35afdf65b65c1904872286dc. https://bugzilla.gnome.org/show_bug.cgi?id=680152
* More geocode-glib porting workRyan Lortie2012-11-281-2/+2
| | | | | Fix a couple of small details missed by the last commit so that things compile again.
* Port EmpathyContact to geocode-glib >= 0.99.1Bastien Nocera2012-11-281-11/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=689056
* include telepathy-glib.hGuillaume Desmottes2012-09-171-4/+0
| | | | | 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.
* empathy-contact: fix priv->logged_alias leakGuillaume Desmottes2012-09-131-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683864
* Go back to libgee 0.6.xGuillaume Desmottes2012-07-231-1/+1
| | | | | | | | | | | | | | It's not clear if 0.8 will be released for GNOME 3.6 so the release team prefers to stick with 0.6 for now. And yeah, gee-1.0 is the 0.6.x series and gee-0.8 the 0.7.x, nice work guys... Revert "gee_iterator_first is no more in libgee 0.8" This reverts commit 24d30e15b34b654eff96f4a358801290ebe09ec0. Revert "libempathy: Port empathy to libgee 0.8." This reverts commit d563fa078b2a13b3c06b1de626105e0510568e57.
* libempathy: Port empathy to libgee 0.8.Jeremy Whiting2012-07-191-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=680152
* Use new tp_account_* gettersGuillaume Desmottes2012-07-161-2/+2
|
* Remove unused field hash from EmpathyContactChandni Verma2012-06-031-1/+0
|
* contact: use tp_connection_dup_contact_by_id_async()Guillaume Desmottes2012-05-111-19/+24
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675808
* use tp_capabilities_supports_sms()Guillaume Desmottes2012-05-101-32/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673846
* contact: compare TpContact objects rather than handlesGuillaume Desmottes2012-05-031-5/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675229
* Use more tp_capabilities_ methodsGuillaume Desmottes2012-04-101-58/+18
| | | | | | | | Makes code easier and would allow us to stop using a GValueArray once we'll have API to check if SMS are supported. This may break StreamedMedia only CM but we are not going to support those in 3.5 anyway.
* include logger single headerGuillaume Desmottes2012-04-041-2/+0
|
* Remove tp-yell and use TpCallChannelXavier Claessens2012-01-101-9/+6
|
* empathy_contact_get_persona: use tpf_persona_dup_for_contact()Guillaume Desmottes2011-12-141-37/+5
| | | | | | | We can finally get rid of this horrible code iterating over all the individuals. \o/ https://bugzilla.gnome.org/show_bug.cgi?id=665853
* try requesting a TpContact when creating a contact from the loggerGuillaume Desmottes2011-12-061-1/+48
| | | | | | | | This is useful when displaying a contact which is not in our roster in the logger (typically a PSTN number). Having a TpContact allow us to call him if that's supported by the CM. https://bugzilla.gnome.org/show_bug.cgi?id=665592
* coding style fixesGuillaume Desmottes2011-11-141-4/+4
|
* add empathy_contact_remove_from_contact_list()Guillaume Desmottes2011-11-081-0/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=663327
* add empathy_contact_add_to_contact_list()Guillaume Desmottes2011-11-081-0/+38
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=663327
* Use g_cclosure_marshal_generic for all signalsXavier Claessens2011-09-281-2/+1
| | | | No more ugly marshallers \o/
* update_geocode: don't try to get position if location is emptyGuillaume Desmottes2011-09-071-1/+2
| | | | geocode-glib won't be able to much if contact's location dict is empty.
* geocode: fix uninitialized variable (-Werror=uninitialized)Alban Crequy2011-08-231-1/+1
|
* contact_set_avatar_from_tp_contact: don't crash if we failed to load the avatarGuillaume Desmottes2011-08-221-1/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656829
* Don't assume that all TpfPersonas contain valid TpContactsTravis Reitter2011-08-221-0/+3
| | | | | | | Helps: bgo#653599 - Empathy shouldn't assume all TpfPersonas contain a valid TpContact Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Port to new tp-glib client factoryGuillaume Desmottes2011-08-181-1/+1
| | | | | | | | | | | | | | | | | - EmpathyChannelFactory has been changed to EmpathyClientFactory and inherit from TpAutomaticClientFactory. - We now always use the _with_am variant of TpSimple* constructors - We define our own factory as default. - Replace empathy_get_account_for_connection() by tp_connection_get_account() - The factory is passed to EmpathyTpChat and TpyCallChannel - Use tp_simple_client_factory_ensure_account() instead of tp_account_manager_ensure_account(). - Rely on the factory to prepare connection features. This should ensure that all the TpProxy and TpContact objects created in Empathy are shared and use EmpathyClientFactory. https://bugzilla.gnome.org/show_bug.cgi?id=655799
* Only follow available cameras if the contact can do Video callsEmilio Pozuelo Monfort2011-07-121-12/+2
|
* A contact doesn't support video if we have no cameraEmilio Pozuelo Monfort2011-07-121-2/+13
|
* EmpathyContact: don't crash if a contact doesn't have an accountEmilio Pozuelo Monfort2011-07-121-3/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=654256
* empathy_contact_from_tpl_contact: don't override the aliasEmilio Pozuelo Monfort2011-07-051-11/+34
| | | | | | | Add a logged-alias property instead, which can be used by those who need the old alias. And use it in chat themes for the backlog.
* geocode_cb: actually destroy the resolved hash table, not the GAsyncResult ↵Guillaume Desmottes2011-06-161-1/+1
| | | | result...
* cope with geocode_object_new_for_params returning NULLGuillaume Desmottes2011-06-161-0/+2
|
* empathy_contact_from_tpl_contact: check the accounts matchEmilio Pozuelo Monfort2011-06-101-6/+22
| | | | | | | | | Two contacts may not be the same if only their ids match, so also check the accounts. This was causing us to return the same contact from another account, which would cause "is-user" to not be properly set, confusing the log viewer.
* Don't reset the alias when using empathy_contact_from_tpl_contactEmilio Pozuelo Monfort2011-06-091-1/+11
| | | | | | | contact_set_property() calls empathy_contact_set_alias(), which tries to set the alias on the FolksPersona, but we don't want to do that when creating an EmpathyContact from a TplEntity. So just set priv->alias instead of passing it to g_object_new() instead.
* Use a weak ref to remove the tpcontact from the hashtableEmilio Pozuelo Monfort2011-06-091-11/+14
| | | | | | Conflicts: libempathy/empathy-contact.c
* empathy_contact_from_tpl_contact: set the TpContactEmilio Pozuelo Monfort2011-06-091-15/+50
| | | | | | | | | | If available, so we get extra info like capabilities. Based on a patch from Nicolas Dufresne. Conflicts: libempathy/empathy-contact.c
* Merge branch 'call'Emilio Pozuelo Monfort2011-06-091-0/+24
|\
| * Recognize Call channel capabilitiesSjoerd Simons2011-06-091-0/+24
| |
* | use geocode-glib instead of geoclueGuillaume Desmottes2011-06-081-118/+28
|/
* Change the type of EmpathyContact.priv.groups to GeeHashSet.Travis Reitter2011-06-071-9/+7
| | | | | | | This is to adjust to the newer API for folks_group_details_set_groups(). It's also slightly cleaner than using a hash table to implement a set. Helps: bgo#648822 - Port Empathy to Folks 0.5.1
* Adapt to API break in folks_individual_get_personas.Travis Reitter2011-06-071-18/+26
| | | | Helps: bgo#648822 - Port Empathy to Folks 0.5.1
* empathy_avatar_new: stop stealing strings (#650939)Guillaume Desmottes2011-06-011-15/+18
| | | | It was pretty confusing when reading/reviewing code.
* contact: fix typo when creating new contact from logger entityJonny Lamb2011-05-111-2/+2
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Add SMS entry to empathy-individual-menuDanielle Madeley2011-05-051-0/+21
|
* Enable audio/video capabilities if InitialAudio/Video is in the fixed props ↵Youness Alaoui2011-04-131-0/+7
| | | | for StreamedMedia channels If a connection manager puts InitialAudio=TRUE or InitialVideo=TRUE in the fixed properties, empathy thinks the CM doesn't support audio/video.
* Adjust for Folks PresenceOwner -> PresenceDetails renameTravis Reitter2011-03-151-10/+10
| | | | | Fixes bgo#644470 - Empathy needs to catch up with Folks interface name change (API/ABI breaks)
* Adjust for Folks Groupable -> GroupDetails renameTravis Reitter2011-03-151-6/+7
| | | | | Helps bgo#644470 - Empathy needs to catch up with Folks interface name change (API/ABI breaks)
* Adjust for Folks Aliasable -> AliasDetails renameTravis Reitter2011-03-151-2/+2
| | | | | Helps bgo#644470 - Empathy needs to catch up with Folks interface name change (API/ABI breaks)
* Port empathy to Telepathy logger 0.2.0Nicolas Dufresne2011-02-251-2/+7
|
* Bug 637151 — Hide the user Individual from the contact listPhilip Withnall2011-02-181-2/+2
| | | | | | | | | | Generalise the mechanism used to determine whether a persona is to be displayed by Empathy to also take into account whether the persona is the user and, if so, whether they're in the contact list. This bumps the libfolks dependency to 0.3.5. Closes: bgo#637151
* empathy_contact_get_presence_message: use the tp_contact if there is no ↵Guillaume Desmottes2011-02-011-4/+5
| | | | | | | persona for the contact This is needed in muc as channel specific contacts don't have a persona associated with them (#640914).
* Adjust for FolksHasPresence -> FolksPresenceOwnerTravis Reitter2011-02-011-10/+10
| | | | Fixes bgo#637847.
* Bug 637097 — Port to latest folks API changesPhilip Withnall2010-12-141-8/+12
| | | | | Catch up with three interface renamings which have happened in folks master. This bumps Empathy's folks dependency to 0.3.3. Closes: bgo#637097
* contact: enable showing a phone next to contacts who are on phonesJonny Lamb2010-11-161-1/+51
| | | | | | The future! Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Add missing #include.Travis Reitter2010-10-161-0/+1
|
* Port Empathy to use FolksAliasable and FolksGroupablePhilip Withnall2010-10-051-7/+7
| | | | | FolksAliasable is the new name for FolksAlias, and FolksGroupable is the new name for FolksGroups.
* voip_cmp_func: first check if we support and then audioGuillaume Desmottes2010-09-271-9/+19
| | | | | | This doesn't change anything when doing audio/video calls as we know for sure that the individials support the capabilities. But when doing chat, we first want to use the individial supporting video and then audio in case of a tie.
* Prioritize default individual for chats using capabilities (#629912)Guillaume Desmottes2010-09-271-0/+62
|
* rename presence_sort_func to presence_cmp_funcGuillaume Desmottes2010-09-271-11/+20
| | | | | cmp_func() compare one feature (presence in this case) while sort_func() uses different cmp_func() to implement a feature specific sort.
* Add a heuristic to prefer audio- and video-capable Personas when callingPhilip Withnall2010-09-031-1/+27
| | | | | | | | | When choosing which Persona out of an Individual to start an audio or video call to, given a choice between two Personas of equal presence, choose the one which is capable of both audio and video calls over the one which is capable of only one of the two. This is because clients which can do both types of call are generally more featureful than those which can only do one type. Helps: bgo#628338
* Add empathy_contact_dup_best_for_action()Philip Withnall2010-09-031-0/+140
| | | | | | This takes a FolksIndividual and returns an EmpathyContact corresponding to the FolksPersona in the Individual which is most suited to having a given action performed on it. Helps: bgo#628338
* contact: get info from the tp-contact in constructed (#628315)Guillaume Desmottes2010-09-011-38/+37
| | | | | | | | Doing it in set_property is racy: - The tp-contact property is set. We use the contact to set the capabilities of the contact - The "capabilities" property has not be defined so GLib sets its default value (unknown) and so override the real capabilities of the contact.
* contact: make some setters staticGuillaume Desmottes2010-09-011-101/+101
|
* When setting an EmpathyContact's Persona, disconnect existing signal handlerTravis Reitter2010-08-241-1/+5
|
* Remove EmpathyAvatar->tokenPhilip Withnall2010-08-241-10/+3
|
* Remove empathy_contact_new_for_log()Philip Withnall2010-08-241-17/+0
| | | | It was unused.
* Make empathy_contact_load_avatar_cache() privatePhilip Withnall2010-08-241-4/+6
|
* Make empathy_contact_set_avatar() privatePhilip Withnall2010-08-241-10/+9
|
* Consider contact without presence as online (#627587)Guillaume Desmottes2010-08-231-1/+3
| | | | | | That what we use to do but f8c37da731af9f6cd74e7a0ef08fa02059d981ac breaked it. If we don't consider such contacts as online, IRC contacts don't appear in the room contact list.
* empathy_contact_new can be static nowGuillaume Desmottes2010-08-131-1/+1
| | | | Everyone should use empathy_contact_dup_from_tp_contact()
* Fix missing entries in switch statementsPhilip Withnall2010-08-051-0/+6
| | | | Added missing default cases and missing enum cases.
* Use #ifdef instead of #if to avoid warnings of undefined symbolsPhilip Withnall2010-08-051-4/+4
|
* Ensure contacts have a persona setPhilip Withnall2010-08-031-1/+2
| | | | | | | | Ensure that contacts created by empathy_contact_dup_from_folks_individual() have a persona set, so that things like custom presence messages in contact tooltips work again. This requires that we don't set the alias on the contacts during the initial contact population period, or we'll end up with duplicates of each contact in the list. Closes: bgo#625828
* contact: coding style fixGuillaume Desmottes2010-08-031-1/+1
|
* Maintain a list of Individuals which have EmpathyContacts in the managerPhilip Withnall2010-08-031-1/+2
| | | | | | | This is necessary so that Individuals can be tracked as EmpathyContact-carrying Personas are added and removed from them, and to ensure that the IndividualManager doesn't use Individuals without EmpathyContacts.
* Adjust for signature change in folks_groups_change_group()Travis Reitter2010-07-271-1/+18
|
* Use presence message from FolksPersona rather than TpContactPhilip Withnall2010-07-221-15/+25
|
* Enforce use only of TpfPersonasPhilip Withnall2010-07-221-4/+2
| | | | | | If we only allow EmpathyContacts to be linked to TpfPersonas, we can make some assumptions about which interfaces are available on the personas for efficiency purposes.
* Re-enable setting of groups for newly-added contactsPhilip Withnall2010-07-221-0/+47
| | | | | | Changes to groups made while adding a contact need to be cached up until the contact's FolksPersona is set, when they can be flushed to the libfolks backend.
* Update FolksPersona:alias when updating EmpathyContact:aliasPhilip Withnall2010-07-221-0/+15
|
* Merge EmpathyContact:name and *_set_alias() to EmpathyContact:aliasPhilip Withnall2010-07-221-43/+28
| | | | The "name" API was a relic of Gossip.
* Remove folks_individual_dup_from_empathy_contact()Philip Withnall2010-07-221-28/+8
| | | | | As EmpathyContact is now a wrapper around FolksPersona, we can mutate the persona instead of acquiring an individual and mutating that instead.
* Add a link between EmpathyContact and FolksPersonaPhilip Withnall2010-07-221-0/+95
| | | | EmpathyContact should eventually just be a thin wrapper over FolksPersona.
* Fix a memory leak in EmpathyAvatar (#624054)Philip Withnall2010-07-121-0/+1
| | | | The avatar filename was being leaked.
* replace empathy_contact_can_use_stream_tube by ↵Guillaume Desmottes2010-06-211-3/+9
| | | | | | | | empathy_contact_can_use_rfb_stream_tube That's the only type of tube we care about and that allows us to enable the 'Share my Desktop' option only with contacts having a tube enabled Vinagre installed (#589225).
* Depend on telepathy-logger (#610956)Guillaume Desmottes2010-06-181-5/+0
|
* TplContact has been renamed to TplEntityGuillaume Desmottes2010-06-181-7/+7
|
* Move empathy_tp_contact_factory_set_alias() to EmpathyContactXavier Claessens2010-05-261-0/+38
|
* Make clear that contacts_table doesn't keep any refXavier Claessens2010-05-261-1/+1
|
* Add empathy_contact_dup_from_tp_contact()Xavier Claessens2010-05-261-0/+43
| | | | This API make sure to return a singleton EmpathyContact for any TpContact
* Make use of TP_CONTACT_FEATURE_AVATAR_DATAXavier Claessens2010-05-261-38/+39
| | | | Fixes bug #579812
* use TP_PROP_* constantsGuillaume Desmottes2010-04-271-10/+11
|
* use tp_value_array_unpackGuillaume Desmottes2010-04-271-3/+3
|
* contact: get capabilities from TpContact if available (#579813)Guillaume Desmottes2010-04-271-0/+82
|
* look for the right key when checking if altitude is setGuillaume Desmottes2010-04-081-1/+1
|
* use tp_asv_set_doubleGuillaume Desmottes2010-04-081-2/+2
|
* geocode_cb: create a new location hash table instead of modifying the ↵Guillaume Desmottes2010-04-081-12/+21
| | | | | | | | | current one The location we receive from tp-glib should be considered as read-only as we don't have any guarantee about the way keys and values are freed. Should hopefully fix (#615135).
* geocode_cb: don't update location if we didn't get the full positionGuillaume Desmottes2010-04-081-17/+15
|
* update_geocode: don't search for position if we already have lat or lonGuillaume Desmottes2010-04-081-3/+3
| | | | | If contact publishes his position, it's fair to assume it publishes lat and lon.
* don't start geocode search if the address is emptyGuillaume Desmottes2010-04-081-3/+7
|
* unref avatar and location in dispose rather than finalizeGuillaume Desmottes2010-04-081-6/+12
|
* fix coding styleGuillaume Desmottes2010-04-071-112/+127
|
* don't define update_geocode if geoclue is not enabledGuillaume Desmottes2010-04-071-5/+5
|
* Get location update from TpContact (#599162)Guillaume Desmottes2010-04-061-2/+21
|
* move tp_contact_factory_geocode to empathy-contactGuillaume Desmottes2010-04-061-0/+156
|
* fallback to JID if alias is emptyFelix Kaser2010-03-291-5/+8
| | | | if the alias is empty, contact_get_name should fallback to the jabber id. this fixes bug #614162
* TPL Enabling patch, all-in-one.Cosimo Alfarano2010-02-261-0/+30
| | | | By default TPL is disabled, use --enable-tpl configure option to enable it.
* contact: port to new tp-glib account APIJonny Lamb2009-10-241-14/+10
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* empathy-contact: cast data pointersGuillaume Desmottes2009-10-211-2/+4
|
* Fix indentation of previous patchXavier Claessens2009-09-161-1/+3
|
* empathy_avatar_new takes ownership of arguments. Do not free filename.Xavier Claessens2009-09-161-2/+2
|
* Plug some leaksCosimo Cecchi2009-09-141-0/+2
|
* Assert that we get a non-null account passed when creating a contact for a logSjoerd Simons2009-09-141-0/+1
|
* Use better avatar location: ~/.cache/<cm>/<protocol>/<token>Xavier Claessens2009-08-241-7/+3
|
* Chang the API of AccountManager to have the get lookup the account by nameSjoerd Simons2009-07-301-1/+2
| | | | | | | | EmpathyAccountManager used to have a _lookup function that looked up accounts by name and a _get function that lookup up accounts by connection. This is confusing, as looking up an account for a connection is less common rename have the _get_account be the same _lookup (but without returning a ref) and add a _get_account_for_connection function lookup by account
* 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