Philip Withnall [Wed, 20 Apr 2011 00:40:50 +0000 (01:40 +0100)]
Change NoteDetails.notes to be of type Set<Note>
Helps: bgo#640092
Philip Withnall [Wed, 20 Apr 2011 00:40:10 +0000 (01:40 +0100)]
Change LocalIdDetails.local_ids to be of type Set<string>
Helps: bgo#640092
Philip Withnall [Wed, 20 Apr 2011 00:31:54 +0000 (01:31 +0100)]
Change PersonaStore.personas to be a Map<string, Persona>
This helps in our quest to get rid of HashTable.
Helps: bgo#640092
Philip Withnall [Wed, 20 Apr 2011 00:14:05 +0000 (01:14 +0100)]
Change IndividualAggregator.individuals to be a Map<string, Individual>
This helps in our quest to get rid of HashTable.
Helps: bgo#640092
Philip Withnall [Wed, 20 Apr 2011 00:02:54 +0000 (01:02 +0100)]
Change IndividualAggregator.get_[all_]potential_matches() to return a Map
We don't want to expose the fact that we're using a *hash* map internally.
Helps: bgo#640092
Philip Withnall [Tue, 19 Apr 2011 23:58:00 +0000 (00:58 +0100)]
Change IndividualAggregator.link_personas() to take a Set<Persona>
Helps: bgo#640092
Philip Withnall [Thu, 24 Mar 2011 16:40:07 +0000 (16:40 +0000)]
Port IndividualAggregator.individuals_changed to use Set<Individual>
Helps: bgo#640092
Philip Withnall [Thu, 24 Mar 2011 16:11:09 +0000 (16:11 +0000)]
Fix a race condition in Tpf.PersonaStore
The /IndividualRetrieval/aggregator:add test can execute multiple calls to
Tpf.PersonaStore.add_persona_from_details() with the same contact ID
simultaneously. Since the change to use sets, the fact that only one
of the adds is succeeding is no longer hidden by our use of GLib.List.
This commit fixes the error handling in
Tpf.PersonaStore.add_persona_from_details() to be more resilient to the
contact already existing.
Helps: bgo#640092
Philip Withnall [Thu, 24 Mar 2011 16:09:21 +0000 (16:09 +0000)]
Remove unused code from Tpf.PersonaStore
Philip Withnall [Thu, 24 Mar 2011 16:07:55 +0000 (16:07 +0000)]
Port PersonaStore.personas_changed to Set<Persona>
Helps: bgo#640092
Philip Withnall [Thu, 24 Mar 2011 15:12:00 +0000 (15:12 +0000)]
Port Individual.personas_changed to use Set<Persona>
Helps: bgo#640092
Philip Withnall [Thu, 24 Mar 2011 11:40:45 +0000 (11:40 +0000)]
Port Individual.personas to be a Set<Persona>
This is a major user of GLib.List, and porting it should make porting a lot
of other stuff a lot easier.
Helps: bgo#640092
Philip Withnall [Thu, 24 Mar 2011 11:00:27 +0000 (11:00 +0000)]
Convert the internal store of Personas in Individual to use HashSet
This converts the private variables in Individual which store its set of
Personas to use a single HashSet instead of a separate GLib.List and HashSet.
This won't compile, but making all the necessary adjustments to
Individual.personas to make it compile would've made the commit too complex
to review. The next commit will update Individual.personas.
Helps: bgo#640092
Travis Reitter [Thu, 3 Feb 2011 19:41:38 +0000 (11:41 -0800)]
Remove use of GLib.List in public BackendStore API.
Helps bgo#640092 - Folks should minimize use of GLib.List (including its public
API)
Philip Withnall [Thu, 24 Mar 2011 10:05:48 +0000 (10:05 +0000)]
Use just a HashSet in IndividualAggregator._add_personas()
Remove use of GLib.List. Helps: bgo#640092
Philip Withnall [Tue, 19 Apr 2011 21:27:27 +0000 (22:27 +0100)]
Change UrlDetails.urls to be a Set<FieldDetails>
Helps: bgo#640092
Philip Withnall [Tue, 19 Apr 2011 21:13:01 +0000 (22:13 +0100)]
Change PhoneDetails.phone_numbers to be a Set<FieldDetails>
Helps: bgo#640092
Philip Withnall [Tue, 19 Apr 2011 20:55:06 +0000 (21:55 +0100)]
Change EmailDetails.email_addresses to be a Set<FieldDetails>
Helps: bgo#640092
Philip Withnall [Tue, 19 Apr 2011 20:41:20 +0000 (21:41 +0100)]
Change PostalAddressDetails.postal_addresses to be a Set<PostalAddress>
Helps: bgo#640092
Philip Withnall [Tue, 19 Apr 2011 19:59:18 +0000 (20:59 +0100)]
Change FieldDetails.parameters to be a MultiMap<string, string>
Helps: bgo#640092
Philip Withnall [Tue, 19 Apr 2011 19:29:12 +0000 (20:29 +0100)]
Change GroupDetails.groups to be a Set<string>
Helps: bgo#640092
Philip Withnall [Tue, 19 Apr 2011 18:13:30 +0000 (19:13 +0100)]
Change Backend.persona_stores to be a Map<string, PersonaStore>
Helps: bgo#640092
Philip Withnall [Tue, 19 Apr 2011 17:57:46 +0000 (18:57 +0100)]
Remove LinkedHashSet in favour of Gee.HashSet
Helps: bgo#640092
Philip Withnall [Tue, 19 Apr 2011 17:43:18 +0000 (18:43 +0100)]
Change WebServiceDetails.…addresses to be a MultiMap<string, string>
Helps: bgo#640092
Philip Withnall [Tue, 19 Apr 2011 17:12:15 +0000 (18:12 +0100)]
Change ImDetails.im_addresses to be a MultiMap<string, string>
Helps: bgo#640092
Philip Withnall [Thu, 24 Mar 2011 13:19:12 +0000 (13:19 +0000)]
Add navigation tests for LinkedHashSet.Iterator
Helps: bgo#645684
Philip Withnall [Thu, 24 Mar 2011 12:31:42 +0000 (12:31 +0000)]
Implement an Iterator for LinkedHashSet
In order to ensure that calling Iterator.remove() on an iterator returned by
LinkedHashSet.iterator() actually removes the item from both the linked list
and hash set in the LinkedHashSet, we have to subclass Iterator ourselves.
This means that all the LinkedHashSet tests pass once more.
Closes: bgo#645684
Philip Withnall [Thu, 24 Mar 2011 12:19:32 +0000 (12:19 +0000)]
Add stamping to LinkedHashSet
Since we don't have access to the stamps in the LinkedHashSet's linked list
or hash set, we have to maintain our own. This is necessary for implementing
our own Iterator. (See next commit.)
Helps: bgo#645684
Philip Withnall [Thu, 24 Mar 2011 12:08:28 +0000 (12:08 +0000)]
Remove implementation of LinkedHashSet.list_iterator()
The extra methods provided by ListIterator are all incompatible with the
set qualities of LinkedHashSet, and would allow duplicate entries to be
introduced into the set.
LinkedHashSet.iterator() continues to return an iterator which uses the
links in LinkedHashSet to provide fast iteration.
Helps: bgo#645684
Philip Withnall [Thu, 24 Mar 2011 11:57:24 +0000 (11:57 +0000)]
Add tests for LinkedHashSet.iterator()
Helps: bgo#645684
Philip Withnall [Tue, 12 Apr 2011 19:42:06 +0000 (20:42 +0100)]
Don't remove the wrong Individuals from IndividualAggregator
In IndividualAggregator._individual_removed_cb(), don't remove the individual
from IndividualAggregator.individuals unless it is actually the individual
which is emitting the "removed" signal.
Closes: bgo#647121
Philip Withnall [Sat, 22 Jan 2011 11:34:53 +0000 (11:34 +0000)]
Fix Tpf.Persona to use its store's ID in persona UIDs
It was previously (incorrectly) not using the PersonaStore's ID as the middle
component in its UID, which meant that the same IM address as added on two
different accounts using the same protocol would have the same UID,
undermining the concept of a UID as a globally unique identifier for a
Persona.
Closes: bgo#647121
Philip Withnall [Tue, 12 Apr 2011 15:08:40 +0000 (16:08 +0100)]
Bug 647562 — Don't crash on duplicate group channels
Travis Reitter [Fri, 15 Apr 2011 23:53:03 +0000 (16:53 -0700)]
Add download-page and bug-database entries to DOAP file.
Travis Reitter [Fri, 15 Apr 2011 23:51:36 +0000 (16:51 -0700)]
Add a (long) description to the DOAP file.
Guillaume Desmottes [Tue, 12 Apr 2011 14:00:38 +0000 (15:00 +0100)]
Bug 645388 — Group channels are leaked
Travis Reitter [Tue, 12 Apr 2011 08:26:29 +0000 (01:26 -0700)]
Post-release version bump.
Travis Reitter [Tue, 12 Apr 2011 07:39:35 +0000 (00:39 -0700)]
Release version 0.5.0
Travis Reitter [Tue, 12 Apr 2011 07:43:51 +0000 (00:43 -0700)]
Add NEWS entry for potential matches.
Travis Reitter [Tue, 12 Apr 2011 07:46:55 +0000 (00:46 -0700)]
Add NEWS entry for the WebServiceDetails interface.
Travis Reitter [Tue, 12 Apr 2011 07:49:21 +0000 (00:49 -0700)]
Add NEWS entry for LocalIdDetails interface
Raul Gutierrez Segales [Sat, 9 Apr 2011 17:29:54 +0000 (18:29 +0100)]
folks-inspect: Fix crashes when trying auto completion with parameters
Drop CCode since Vala uses null terminated arrays by default.
Closes: bgo#647298
Raul Gutierrez Segales [Sun, 10 Apr 2011 14:18:02 +0000 (15:18 +0100)]
Add test for setting an existing email an a Trf.Persona
Raul Gutierrez Segales [Sun, 10 Apr 2011 14:17:30 +0000 (15:17 +0100)]
Handle setting existing emails/phones in a Trf.Persona
Alban Crequy [Mon, 11 Apr 2011 12:22:15 +0000 (13:22 +0100)]
linking: check if details contain im-addresses or web-service-addresses
It fixes a regression in add_persona_from_details introduced by this commit:
commit
4a8b46e6b7afd314807865586a60995dfe52896f
Author: Raul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk>
Date: Fri Apr 8 16:03:11 2011 +0100
Only add available properties when linking Personas
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=647200
Alban Crequy [Mon, 11 Apr 2011 11:57:26 +0000 (12:57 +0100)]
Revert "Temporarily disable lsw aggregation test. See bgo#647200"
This reverts commit
bf218ed4ae92158e676c73ee15b774b41e0a8993.
Alban Crequy [Mon, 11 Apr 2011 13:37:03 +0000 (14:37 +0100)]
phone-details: move a comment to make valadoc happy
Alban Crequy [Mon, 11 Apr 2011 13:36:24 +0000 (14:36 +0100)]
tracker tests: fix Makefile.am
Raul Gutierrez Segales [Sat, 9 Apr 2011 16:30:47 +0000 (17:30 +0100)]
Fixed problem with saving results in get_all_potential_matches
Raul Gutierrez Segales [Sat, 9 Apr 2011 16:12:30 +0000 (17:12 +0100)]
PotentialMatch: make result_to_string a class method
Raul Gutierrez Segales [Sat, 9 Apr 2011 15:26:32 +0000 (16:26 +0100)]
String should be `very low` instead of `very unlikely`
Raul Gutierrez Segales [Fri, 8 Apr 2011 22:59:46 +0000 (23:59 +0100)]
Add test for get_{all}_potential_matches APIs
Raul Gutierrez Segales [Fri, 8 Apr 2011 22:59:00 +0000 (23:59 +0100)]
Add test to match via name similarity
Raul Gutierrez Segales [Fri, 8 Apr 2011 22:58:18 +0000 (23:58 +0100)]
Add test to match via phone numbers
Raul Gutierrez Segales [Fri, 8 Apr 2011 22:57:10 +0000 (23:57 +0100)]
Add test to avoid matching known e-mail addresses
Raul Gutierrez Segales [Fri, 8 Apr 2011 22:56:09 +0000 (23:56 +0100)]
Add test to match via e-mail addresses
Raul Gutierrez Segales [Fri, 8 Apr 2011 22:55:19 +0000 (23:55 +0100)]
Add test to match via IM Addresses
Raul Gutierrez Segales [Fri, 8 Apr 2011 22:52:54 +0000 (23:52 +0100)]
Add support to perform potential matches among Individuals
Raul Gutierrez Segales [Mon, 4 Apr 2011 14:51:49 +0000 (15:51 +0100)]
Add helper method to normalise and compare phone numbers
Raul Gutierrez Segales [Fri, 8 Apr 2011 19:51:32 +0000 (20:51 +0100)]
Add Folks.Utils to group helper methods
Travis Reitter [Fri, 8 Apr 2011 18:43:49 +0000 (11:43 -0700)]
Temporarily disable lsw aggregation test. See bgo#647200
Travis Reitter [Fri, 8 Apr 2011 18:44:23 +0000 (11:44 -0700)]
Bump libsocialweb version.
This version is required so we can rely upon correct D-Bus signaling from
libsocialweb.
Raul Gutierrez Segales [Fri, 8 Apr 2011 15:02:20 +0000 (16:02 +0100)]
Implement web-service-details for Trf.Personas
Raul Gutierrez Segales [Thu, 7 Apr 2011 16:37:13 +0000 (17:37 +0100)]
Add test for linking 2 Trf.Personas via local_ids
Raul Gutierrez Segales [Thu, 7 Apr 2011 16:36:11 +0000 (17:36 +0100)]
Extend IndividualAggregator to support linking via local_ids
Raul Gutierrez Segales [Thu, 7 Apr 2011 16:35:48 +0000 (17:35 +0100)]
Implement LocalIDDetails for Folks.Individual
Raul Gutierrez Segales [Thu, 7 Apr 2011 16:35:10 +0000 (17:35 +0100)]
[Tracker] Implement support for LocalIDDetails
Raul Gutierrez Segales [Thu, 7 Apr 2011 16:32:59 +0000 (17:32 +0100)]
Add LOCAL_IDS to the known defined keys for add_persona_from_details
Raul Gutierrez Segales [Thu, 7 Apr 2011 16:32:18 +0000 (17:32 +0100)]
Add LocalIdDetails interface to link Personas from Tracker
Raul Gutierrez Segales [Fri, 8 Apr 2011 15:28:07 +0000 (16:28 +0100)]
Remove a print statement that was used for debugging
Raul Gutierrez Segales [Fri, 8 Apr 2011 11:30:55 +0000 (12:30 +0100)]
List Folks.PersonaDetail in alphabetical order
Raul Gutierrez Segales [Fri, 8 Apr 2011 15:03:11 +0000 (16:03 +0100)]
Only add available properties when linking Personas
Raul Gutierrez Segales [Fri, 8 Apr 2011 15:08:44 +0000 (16:08 +0100)]
key-file: Make Kf.Persona implement WebServiceDetails interface
Alban Crequy [Fri, 8 Apr 2011 13:25:45 +0000 (14:25 +0100)]
folks-inspect: print "web-service-addresses" property correctly
https://bugzilla.gnome.org/show_bug.cgi?id=647168
Alban Crequy [Thu, 7 Apr 2011 17:56:36 +0000 (18:56 +0100)]
NEWS: add references to the last libsocialweb bugs
Alban Crequy [Wed, 30 Mar 2011 17:01:10 +0000 (18:01 +0100)]
tests: linking: libsocialweb
Alban Crequy [Tue, 29 Mar 2011 18:13:19 +0000 (19:13 +0100)]
linking: add interface for linkable web service contact UIDs
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=644867
Alban Crequy [Wed, 6 Apr 2011 18:11:32 +0000 (19:11 +0100)]
libsocialweb: fix: update and delete contacts
Unit test updated
https://bugzilla.gnome.org/show_bug.cgi?id=646944
Alban Crequy [Tue, 5 Apr 2011 14:06:24 +0000 (15:06 +0100)]
vala: require version 0.12.0
valac 0.12.0 has a fix for this bug:
https://bugzilla.gnome.org/show_bug.cgi?id=646345
Raul Gutierrez Segales [Tue, 5 Apr 2011 13:47:59 +0000 (14:47 +0100)]
[Tracker] Add test for duplicated phone numbers
Raul Gutierrez Segales [Tue, 5 Apr 2011 13:11:21 +0000 (14:11 +0100)]
[Tracker] Add test for duplicated e-mail addresses
Raul Gutierrez Segales [Tue, 5 Apr 2011 12:15:45 +0000 (13:15 +0100)]
[Tracker] Re-use phone-numbers/emails if they already exist
Alban Crequy [Mon, 4 Apr 2011 12:53:20 +0000 (13:53 +0100)]
libsocialweb: update NEWS
Alban Crequy [Fri, 1 Apr 2011 17:02:33 +0000 (18:02 +0100)]
libsocialweb: conditional compilation
Introduces --enable-libsocialweb-backend=[yes/no/auto] (default: auto). Unless
`no' is used, it checks the dependencies for the libsocialweb backend and
automatically compiles it when possible. Configure fails if `yes' is used and
the required dependencies are not available.
Alban Crequy [Fri, 1 Apr 2011 10:47:49 +0000 (11:47 +0100)]
libsocialweb: update dependency on libsocialweb-client 0.25.14
libsocialweb 0.25.14 contains the new contacts interface. It is announed here:
http://mail.gnome.org/archives/ftp-release-list/2011-March/msg00299.html
Alban Crequy [Mon, 14 Mar 2011 11:49:56 +0000 (11:49 +0000)]
tests: libsocialweb: new test infrastructure for libsocialweb
Alban Crequy [Mon, 28 Mar 2011 14:43:57 +0000 (15:43 +0100)]
libsocialweb: check contacts capabilities and disconnect signals
Alban Crequy [Mon, 28 Mar 2011 11:00:24 +0000 (12:00 +0100)]
libsocialweb: factor build_facebook_jid and build_iid
Alban Crequy [Mon, 28 Mar 2011 10:39:56 +0000 (11:39 +0100)]
libsocialweb: make gender_string lowercase before comparing with "male" and "female"
Alban Crequy [Fri, 25 Mar 2011 15:54:08 +0000 (15:54 +0000)]
libsocialweb: use BACKEND_NAME in build_uid
Alban Crequy [Fri, 25 Mar 2011 15:28:52 +0000 (15:28 +0000)]
libsocialweb: fix error PersonaStoreError.UNSUPPORTED_ON_USER
Alban Crequy [Fri, 25 Mar 2011 15:27:07 +0000 (15:27 +0000)]
libsocialweb: fix @since
Alban Crequy [Wed, 16 Mar 2011 16:35:20 +0000 (16:35 +0000)]
libsocialweb: use the new Contacts interface
Alban Crequy [Mon, 21 Mar 2011 16:54:03 +0000 (16:54 +0000)]
libsocialweb: convert GenericArray to LinkedHashSet
Alban Crequy [Fri, 18 Mar 2011 14:22:27 +0000 (14:22 +0000)]
libsocialweb: prepare code to receive several urls. Blocked on bug #645139
Alban Crequy [Tue, 29 Mar 2011 13:18:32 +0000 (14:18 +0100)]
libsocialweb: create a separate library folks-libsocialweb
Based on initial work from:
Thomas Thurman <thomas@thurman.org.uk>
Reworked by:
Alban Crequy <alban.crequy@collabora.co.uk>
Alban Crequy [Mon, 7 Mar 2011 18:31:40 +0000 (18:31 +0000)]
libsocialweb: Don't crash when D-Bus method Query.OpenView() returns an error
Marco Barisione [Mon, 20 Dec 2010 10:57:13 +0000 (10:57 +0000)]
libsocialweb: Print debugging info after initializing a Sw.Persona and not before
Marco Barisione [Wed, 10 Nov 2010 15:22:08 +0000 (15:22 +0000)]
libsocialweb: Automatically merge Facebook XMPP contacts with the libsocialweb ones
Marco Barisione [Wed, 10 Nov 2010 11:57:40 +0000 (11:57 +0000)]
libsocialweb: Make Sw.Persona retrieve gender and URLs from libsocialweb