aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-individual-manager.c
Commit message (Collapse)AuthorAgeFilesLines
* remove useless includes of empathy-contact-manager.hGuillaume Desmottes2011-12-141-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=660547
* Use _unref instead of _free _destroy when possible.unrefXavier Claessens2011-11-161-2/+2
| | | | | | | | | | | Replace g_(ptr_)array_free (foo, TRUE) and g_hash_table_destroy with respectively g_(ptr_)array_unref (foo) and g_hash_table_unref. I used this command to generate this patch: for f in `find -name "*.c"`; do sed -i $f -re 's/g_ptr_array_free \(([^ ,]+), TRUE\)/g_ptr_array_unref \(\1\)/'; done See Danielle's blog for explanation of possible bug _free can do: http://blogs.gnome.org/danni/2011/11/16/mistakes-with-g_value_set_boxed/
* individual-manager: use tp-glib blocking APIGuillaume Desmottes2011-11-081-26/+16
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=661805
* Use g_cclosure_marshal_generic for all signalsXavier Claessens2011-09-281-4/+3
| | | | No more ugly marshallers \o/
* individual-manager: Port to the new individuals_changed_detailed signalPhilip Withnall2011-09-131-9/+26
| | | | Closes: bgo#657746
* individual-manager: dup the Individual ID instead of borrowing itGuillaume Desmottes2011-09-121-2/+2
| | | | | | It's not immutable any more so we have to copy the string. https://bugzilla.gnome.org/show_bug.cgi?id=658573
* IndividualManager: disconnect handler from aggregatorWill Thompson2011-09-071-0/+3
| | | | | | | | | Previously, the handler for FolksIndividualAggregator::individuals-changed was never disconnected; thus it could be called after EmpathyIndividualManager dies (if its aggregator outlives it), and crash us. https://bugzilla.gnome.org/show_bug.cgi?id=658340
* Don't assume that all TpfPersonas contain valid TpContactsTravis Reitter2011-08-221-20/+32
| | | | | | | Helps: bgo#653599 - Empathy shouldn't assume all TpfPersonas contain a valid TpContact Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Adapt to API change in FolksIndividualAggregator::individuals-changed.Travis Reitter2011-06-071-9/+22
| | | | Helps: bgo#648822 - Port Empathy to Folks 0.5.1
* Adapt to API change in folks_backend_get_persona_stores().Travis Reitter2011-06-071-2/+4
| | | | Helps: bgo#648822 - Port Empathy to Folks 0.5.1
* Adapt to API break in folks_individual_get_personas.Travis Reitter2011-06-071-37/+45
| | | | Helps: bgo#648822 - Port Empathy to Folks 0.5.1
* Don't try to block personas that don't support blockingEmilio Pozuelo Monfort2011-03-221-3/+8
|
* Fix warnings from GCC 4.6 about variables that are set but not used.Kjartan Maraas2011-03-171-6/+0
|
* Adjust for Folks Groupable -> GroupDetails renameTravis Reitter2011-03-151-4/+4
| | | | | Helps bgo#644470 - Empathy needs to catch up with Folks interface name change (API/ABI breaks)
* Adjust for Folks Favouritable -> FavouriteDetails renameTravis Reitter2011-03-151-2/+2
| | | | | 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-1/+1
| | | | | Helps bgo#644470 - Empathy needs to catch up with Folks interface name change (API/ABI breaks)
* Add FIXME to empathy_individual_manager_supports_blocking()Chandni Verma2011-03-111-0/+2
| | | | | | The parameter @self is not required and the method can be placed in utility. I left it as it is to stay coherent with empathy-2.34 and attached a FIXME to be fixed after empathy 2.x is done.
* Hook up abusive argument into TpContactList backendDanielle Madeley2011-03-111-2/+3
|
* Use Contact Manager flags instead of Individual Manager flagsChandni Verma2011-03-091-37/+11
|
* Add confirmation dialog to RemoveDanielle Madeley2011-03-081-0/+2
| | | | | Also includes the future Report Abusive check box, so that all the strings are in place now.
* Don't leak EmpathyContactDanielle Madeley2011-03-081-0/+2
|
* Add contact blocking support to EmpathyIndividualManagerDanielle Madeley2011-03-081-0/+104
|
* Bug 641662 — Update for libfolks API changes to IndividualAggregatorPhilip Withnall2011-02-181-2/+31
| | | | | | Update EmpathyIndividualManager re. changes to IndividualAggregator.add_persona_from_details, BackendStore.enabled_backends and BackendStore.get_backend_by_name in libfolks. Closes: bgo#641662
* Bug 637097 — Port to latest folks API changesPhilip Withnall2010-12-141-2/+2
| | | | | 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
* Stop using removed Individual convenience methods from folksPhilip Withnall2010-11-131-1/+1
| | | | | | | They were removed from folks with commit def47dffa31a95ec6bd333f43c69822416098283. This doesn't require a dependency bump, since they're being replaced with calls to methods which exist in folks 0.3.1. See: bgo#629078. Closes: bgo#634754
* Remove obsolete ContactManager from IndividualManager.Travis Reitter2010-10-161-5/+0
| | | | Helps bgo#625969.
* Cut obsolete IndividualManagerFlags.Travis Reitter2010-10-161-30/+0
| | | | Helps bgo#625969.
* Port Empathy to use FolksAliasable and FolksGroupablePhilip Withnall2010-10-051-3/+3
| | | | | FolksAliasable is the new name for FolksAlias, and FolksGroupable is the new name for FolksGroups.
* fixed typo in empathy utilsFelix Kaser2010-09-131-1/+1
|
* Don't unnecessarily remove Individuals if Individual IDs have been reusedPhilip Withnall2010-09-021-12/+14
| | | | | | | | | | When linking and unlinking, it's possible for the linked Individual to have the same ID as one of its component Individuals (before linked or once unlinked). If two such Individuals with the same ID are added and removed at the same time (as could [only] happen during linking or unlinking), EmpathyIndividualManager should do the Individual removals before the additions, in order to prevent one of the Individuals getting clobbered. Closes: bgo#627819
* Don't filter out Individual removal at the IndividualManager level.Travis Reitter2010-08-271-9/+4
| | | | | | The IndividualManager sometimes falsely filters out members of FolksIndividualAggregator:individuals-changed:removed that should be passed along to its users.
* Allow unlinking individuals through EmpathyIndividualManagerPhilip Withnall2010-08-201-0/+34
| | | | | | Wrap the FolksIndividualAggregator individual unlinking API in EmpathyIndividualManager with some basic error reporting (it isn't expected that unlinking will fail).
* Allow linking personas through EmpathyIndividualManagerPhilip Withnall2010-08-121-0/+34
| | | | | | Wrap the FolksIndividualAggregator persona linking API in EmpathyIndividualManager with some basic error reporting (it isn't expected that linking will fail).
* Maintain a list of Individuals which have EmpathyContacts in the managerPhilip Withnall2010-08-031-24/+113
| | | | | | | 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.
* Don't warn when adding an existing contactPhilip Withnall2010-08-031-4/+8
| | | | Closes: bgo#625830
* Adjust for signature change in folks_groups_change_group()Travis Reitter2010-07-271-1/+18
|
* Adjust for signature change in folks_individual_aggregator_remove_individual()Travis Reitter2010-07-271-1/+19
|
* Use the new IndividualAggregator.prepare() methodPhilip Withnall2010-07-271-0/+1
| | | | This avoids races when connecting to signals from the IndividualAggregator.
* Merge EmpathyContact:name and *_set_alias() to EmpathyContact:aliasPhilip Withnall2010-07-221-1/+1
| | | | The "name" API was a relic of Gossip.
* Add a link between EmpathyContact and FolksPersonaPhilip Withnall2010-07-221-0/+3
| | | | EmpathyContact should eventually just be a thin wrapper over FolksPersona.
* Merge remote branch 'pwith/folks-integ-rebase1-fixes-rebase1' into folks-fixesTravis Reitter2010-07-221-0/+1
|
* Take advantage of tp_asv_new().Travis Reitter2010-07-211-5/+3
|
* Adjust to the new add_persona_from_details() API.Travis Reitter2010-07-211-2/+4
|
* Update to the FolksIndividualAggregator:individuals-changed signal.Travis Reitter2010-07-211-23/+14
|
* Only have one parameter per function definition line.Travis Reitter2010-07-211-1/+2
|
* Cut excessive G_STRLOC in DEBUG statements.Travis Reitter2010-07-211-3/+3
|
* Chain up IndividualManager's dispose() to call its parent's dispose().Travis Reitter2010-07-211-0/+2
|
* Perform the IndividualManager dispose work in a dispose() function, not ↵Travis Reitter2010-07-211-2/+2
| | | | finalize.
* Add a comment about the IndividualManager's general memory management policy.Travis Reitter2010-07-211-0/+6
|
* Use the more-conventional approach to signal emission in IndividualManager.Travis Reitter2010-07-211-32/+44
|
* Take advantage of the tp_clear_* utility functions.Travis Reitter2010-07-211-5/+2
|
* Hold a reference to the contact we're adding as an individualPhilip Withnall2010-07-211-4/+11
| | | | | | | In empathy_individual_manager_add_from_contact(), we must hold a reference to the contact we're adding throughout the entire async process, or the TpHandle which represents the contact could get unreffed and destroyed. This causes the new contact to get lost.
* Fix trivial casting error.Travis Reitter2010-07-211-1/+2
|
* Support removing groupsPhilip Withnall2010-07-211-0/+26
|
* Remove an unused connection to the telepathy-logger servicePhilip Withnall2010-07-211-24/+0
|
* Cut outdated comment.Travis Reitter2010-07-211-2/+0
|
* Finish adding favourites supportPhilip Withnall2010-07-211-0/+22
|
* Support contact removalTravis Reitter2010-07-211-2/+16
|
* Support contact addingTravis Reitter2010-07-211-0/+50
|
* Use the new FolksFavourite interface for favourites supportPhilip Withnall2010-07-211-24/+4
|
* Re-implement the context menu for IndividualsTravis Reitter2010-07-211-0/+30
|
* Base the contact list around libfolks metacontacts. Not yet to feature-parityTravis Reitter2010-07-211-0/+290
with mainline Empathy.