platform/upstream/folks.git
13 years agoDon't build dbus-glib into Telepathy backend.
Travis Reitter [Tue, 7 Jun 2011 18:16:21 +0000 (11:16 -0700)]
Don't build dbus-glib into Telepathy backend.

Helps: bgo#629716 - Migrate Folks to GDBus

13 years agoBug 652472 — Handle failure in getting the logger service better
Philip Withnall [Mon, 13 Jun 2011 16:20:34 +0000 (17:20 +0100)]
Bug 652472 — Handle failure in getting the logger service better

If we fail to get the logger from the bus, get_object() may return NULL. If
we check for this, we don't then try and connect a signal to a NULL object
instance and emit criticals.

Closes: bgo#652472

13 years agoFix the link within the PresenceDetails.presence_status docs
Travis Reitter [Wed, 22 Jun 2011 23:39:35 +0000 (16:39 -0700)]
Fix the link within the PresenceDetails.presence_status docs

13 years agoBug 648071 — Add support for presence status from Telepathy
Philip Withnall [Tue, 14 Jun 2011 14:21:29 +0000 (15:21 +0100)]
Bug 648071 — Add support for presence status from Telepathy

Add a presence_status property to PresenceDetails to expose the detailed
presence status string that Telepathy exposes.

Closes: bgo#648071

13 years agoDon't crash if a provided TpContact ID is NULL.
Travis Reitter [Tue, 21 Jun 2011 22:08:45 +0000 (15:08 -0700)]
Don't crash if a provided TpContact ID is NULL.

13 years agoDon't add null Personas in personas-changed signal arguments.
Travis Reitter [Tue, 21 Jun 2011 21:43:06 +0000 (14:43 -0700)]
Don't add null Personas in personas-changed signal arguments.

13 years agoNote closing of bgo#652434 — Add ability to run any tests through gdb
Travis Reitter [Tue, 21 Jun 2011 21:08:47 +0000 (14:08 -0700)]
Note closing of bgo#652434 — Add ability to run any tests through gdb

Closes: bgo#652434

13 years agoAdd ability to run any of our tests through gdb
Travis Reitter [Fri, 10 Jun 2011 17:39:27 +0000 (10:39 -0700)]
Add ability to run any of our tests through gdb

Run a test through gdb with:

    make -C tests/<dir> <test name>.gdb

13 years agoCut redundant EXTRA_DIST entry.
Travis Reitter [Fri, 17 Jun 2011 15:06:22 +0000 (16:06 +0100)]
Cut redundant EXTRA_DIST entry.

13 years agoMore-cleanly define gir and vapi files.
Travis Reitter [Fri, 17 Jun 2011 15:05:38 +0000 (16:05 +0100)]
More-cleanly define gir and vapi files.

13 years agoAdd Make rule for generating tracker-test.vapi.
Travis Reitter [Fri, 17 Jun 2011 14:15:44 +0000 (15:15 +0100)]
Add Make rule for generating tracker-test.vapi.

After a maintainer-clean, Make doesn't know how to generate this file otherwise.

13 years agoDist but don't include the tracker-test vapi files.
Travis Reitter [Fri, 17 Jun 2011 12:58:47 +0000 (13:58 +0100)]
Dist but don't include the tracker-test vapi files.

13 years agoBug 652463 — Tidy up CLEANFILES
Philip Withnall [Mon, 13 Jun 2011 14:20:55 +0000 (15:20 +0100)]
Bug 652463 — Tidy up CLEANFILES

Tidy up pkg-config and configure-generated files in CLEANFILES and
DISTCLEANFILES.

Closes: bgo#652463

13 years agoBug 646244 — Incomplete logic to handle attribute updates in Folks.Individual
Philip Withnall [Mon, 13 Jun 2011 11:09:34 +0000 (12:09 +0100)]
Bug 646244 — Incomplete logic to handle attribute updates in Folks.Individual

Tidy up some of the update methods in Folks.Individual to handle null values
a little better.

Closes: bgo#646244

13 years agoDon't delete tp-test-contactlist.deps when maintainer-cleaning.
Travis Reitter [Thu, 9 Jun 2011 22:29:53 +0000 (15:29 -0700)]
Don't delete tp-test-contactlist.deps when maintainer-cleaning.

This fixes a bug introduced by b983fee7

13 years agoHandle ownership of TpContact.connection automatically.
Travis Reitter [Thu, 9 Jun 2011 15:43:54 +0000 (08:43 -0700)]
Handle ownership of TpContact.connection automatically.

It recently changed in telepathy-glib and/or Vala 0.14.x finally detected that
the TpContact.connection property returns an owned TpConnection (making our use
of "unowned Connection connection = contact.connection" invalid).

13 years agoDist the tp-test-contactlist.deps file
Emilio Pozuelo Monfort [Wed, 8 Jun 2011 11:17:43 +0000 (12:17 +0100)]
Dist the tp-test-contactlist.deps file

It was missing from tarballs, which causes folks to fail to build
in some circumstances.

13 years agoMove tracker's test image to a common location
Raul Gutierrez Segales [Sun, 5 Jun 2011 10:49:20 +0000 (11:49 +0100)]
Move tracker's test image to a common location

Moving this to tests/data so it can be shared by other
backends.

13 years agoPlay nicely with new API in Vala 0.14
Raul Gutierrez Segales [Tue, 24 May 2011 17:56:12 +0000 (18:56 +0100)]
Play nicely with new API in Vala 0.14

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=650997

13 years agolibsocialweb: Swf.Persona stores SocialWebClient.Contact
Alban Crequy [Wed, 11 May 2011 13:19:46 +0000 (14:19 +0100)]
libsocialweb: Swf.Persona stores SocialWebClient.Contact

Closes: bgo#649925 - expose SocialWebClient.Contact in Swf.Persona

13 years agoPost-release bump.
Travis Reitter [Wed, 1 Jun 2011 18:07:14 +0000 (11:07 -0700)]
Post-release bump.

13 years agoRelease version 0.5.2. FOLKS_0_5_2
Travis Reitter [Wed, 1 Jun 2011 16:14:09 +0000 (09:14 -0700)]
Release version 0.5.2.

13 years agoNote fix for bgo#650268 build failure in NEWS.
Travis Reitter [Wed, 1 Jun 2011 16:06:48 +0000 (09:06 -0700)]
Note fix for bgo#650268 build failure in NEWS.

13 years agoFix location of NEWS entry for bgo#650067 fix.
Travis Reitter [Wed, 1 Jun 2011 16:05:22 +0000 (09:05 -0700)]
Fix location of NEWS entry for bgo#650067 fix.

13 years agoDefine the proper autoconf constant when enabling the libsocialweb backend.
Travis Reitter [Wed, 1 Jun 2011 16:01:57 +0000 (09:01 -0700)]
Define the proper autoconf constant when enabling the libsocialweb backend.

13 years agoDon't re-build the vapi files unless we've been configured with Vala.
Travis Reitter [Tue, 31 May 2011 23:21:33 +0000 (16:21 -0700)]
Don't re-build the vapi files unless we've been configured with Vala.

13 years agoDon't require [lib]valadoc to build docs.
Travis Reitter [Tue, 31 May 2011 22:28:38 +0000 (15:28 -0700)]
Don't require [lib]valadoc to build docs.

13 years agoOnly check for libsocialweb Vala deps if Vala is enabled.
Travis Reitter [Tue, 31 May 2011 22:04:48 +0000 (15:04 -0700)]
Only check for libsocialweb Vala deps if Vala is enabled.

13 years agoCheck for folks-telepathy.h in the proper dir when building docs.
Travis Reitter [Tue, 31 May 2011 23:40:53 +0000 (16:40 -0700)]
Check for folks-telepathy.h in the proper dir when building docs.

13 years ago[tracker] Deal with null Avatars being set on a Trf.Persona
Raul Gutierrez Segales [Tue, 24 May 2011 17:11:49 +0000 (18:11 +0100)]
[tracker] Deal with null Avatars being set on a Trf.Persona

Fixes: bgo#650067 - Tracker backend warns when setting a NULL
avatar (ie, unsetting the avatar)

13 years agoPost-release version bump.
Travis Reitter [Fri, 13 May 2011 19:16:26 +0000 (12:16 -0700)]
Post-release version bump.

13 years agoRelease Folks 0.5.1. FOLKS_0_5_1
Travis Reitter [Thu, 12 May 2011 22:51:20 +0000 (15:51 -0700)]
Release Folks 0.5.1.

13 years agoGenerate backend library headers in folks/ subdirs.
Travis Reitter [Fri, 13 May 2011 16:35:13 +0000 (09:35 -0700)]
Generate backend library headers in folks/ subdirs.

This is to allow in-tree building, since we changed the includedir, which
makes the vapi files include headers as <folks/header.h>. Outputting our
headers in a folks/ subdir works around this issue by making the
backend/*/lib dir match the expected includedir layout.

13 years agoDon't depend upon removed LinkedHashSet stamp file.
Travis Reitter [Fri, 13 May 2011 05:20:40 +0000 (22:20 -0700)]
Don't depend upon removed LinkedHashSet stamp file.

13 years agoStrip tab characters from valadocs to unbreak doc building.
Travis Reitter [Thu, 12 May 2011 23:36:22 +0000 (16:36 -0700)]
Strip tab characters from valadocs to unbreak doc building.

13 years agoProperly distribute the typelib file.
Travis Reitter [Fri, 13 May 2011 05:59:17 +0000 (22:59 -0700)]
Properly distribute the typelib file.

13 years agoDistribute Folks-*.gir and Folks-*.typelib
Travis Reitter [Fri, 13 May 2011 05:55:49 +0000 (22:55 -0700)]
Distribute Folks-*.gir and Folks-*.typelib

13 years agoAllow generated source files to exist after distcleancheck.
Travis Reitter [Fri, 13 May 2011 05:54:35 +0000 (22:54 -0700)]
Allow generated source files to exist after distcleancheck.

It turns out to be nearly impossible to satisfy a standard distcleancheck
with Vala and its automake support. This is specifically a work-around
because there doesn't seem to be any obvious way to satisfy these
requirements:

  * the release tarball can be built without gobject-introspection, valac,
    or vapigen

  * it's safe to run "make distclean" in the release tarball without
    suddenly requiring the tools listed above (due to generated files
    being removed)

  * "make distcheck" doesn't fail its "distcleancheck" phase due to the
    following files remaining after distclean:

    - tests/lib/telepathy/contactlist/tp-test-contactlist.gir
    - tests/lib/telepathy/contactlist/tp-test-contactlist.vapi
    - backends/telepathy/lib/tp-lowlevel.gir
    - backends/telepathy/lib/tp-lowlevel.vapi

We've hit this last issue multiple times, and no fix seems to stick. So
stripping out this check seems to be the best option (until we can
remove the Vala/GObject-Introspection-free build requirement, when
they've stabilized more and we don't depend upon the latest versions which
may not be in all the major distros).

13 years agoAllow the types argument for PostalAddress() to be null.
Travis Reitter [Thu, 12 May 2011 21:00:02 +0000 (14:00 -0700)]
Allow the types argument for PostalAddress() to be null.

13 years agoBug 649088 — Combining contacts doesn't work with german Umlauts
Philip Withnall [Sun, 1 May 2011 21:12:47 +0000 (22:12 +0100)]
Bug 649088 — Combining contacts doesn't work with german Umlauts

Fix normalisation of Jabber IDs to use the correct Unicode normalisation mode
as described in RFC 3920, §A.4. Closes: bgo#649088

13 years agoEnsure includes are done with <folks/*.h>
Alexander Larsson [Tue, 10 May 2011 11:11:05 +0000 (13:11 +0200)]
Ensure includes are done with <folks/*.h>

This changes all pc files to not include -I$incdir/folks and fixes
the vapi files to add the folks/ part to the includes.

https://bugzilla.gnome.org/show_bug.cgi?id=649790

13 years agoAdd a “debug” command to folks-inspect to print status information
Philip Withnall [Tue, 26 Apr 2011 22:56:41 +0000 (23:56 +0100)]
Add a “debug” command to folks-inspect to print status information

When executed, it simply calls Folks.Debug.emit_print_status().

Closes: bgo#648533

13 years agoAllow printing out status information at runtime
Philip Withnall [Sat, 23 Apr 2011 00:14:20 +0000 (01:14 +0100)]
Allow printing out status information at runtime

When Folks.Debug.print-status is emitted, BackendStore, IndividualAggregator
and Tpf.PersonaStore will now print out their status, including a list
of all the loaded backends, persona stores, aggregated individuals and their
personas.

Folks.Debug.print-status could be emitted as a result of the client process
receiving SIGUSR2, for example.

Helps: bgo#648533

13 years agoAdd debug printing and formatting methods to Debug
Philip Withnall [Sat, 23 Apr 2011 23:22:19 +0000 (00:22 +0100)]
Add debug printing and formatting methods to Debug

This includes indentation and output colouring support.

Helps: bgo#648533

13 years agoAllow the singleton Debug instance to be retrieved without setting its flags
Philip Withnall [Sat, 23 Apr 2011 00:10:50 +0000 (01:10 +0100)]
Allow the singleton Debug instance to be retrieved without setting its flags

Helps: bgo#648533

13 years agoAllow enabling/disabling output of debug messages at runtime
Philip Withnall [Fri, 22 Apr 2011 23:58:54 +0000 (00:58 +0100)]
Allow enabling/disabling output of debug messages at runtime

Helps: bgo#648533

13 years agoMake Debug public and restrict it to being a singleton
Philip Withnall [Mon, 25 Apr 2011 20:07:38 +0000 (21:07 +0100)]
Make Debug public and restrict it to being a singleton

Also add some API documentation to its newly-public members and make it
thread-safe.

13 years agoBug 648767 — Return read-only views of Sets and Maps where possible
Philip Withnall [Wed, 27 Apr 2011 14:49:33 +0000 (15:49 +0100)]
Bug 648767 — Return read-only views of Sets and Maps where possible

This prevents clients from messing up libfolks' state by modifying Sets or
Maps returned to them by libfolks when those Sets or Maps are just references
to the ones used internally by libfolks, as is the case with many
properties.

Closes: bgo#648767

13 years agoTidy up signal disconnections in IndividualAggregator
Philip Withnall [Fri, 22 Apr 2011 21:47:49 +0000 (22:47 +0100)]
Tidy up signal disconnections in IndividualAggregator

Closes: bgo#645186

13 years agoTidy up channel signal disconnections in Tpf.PersonaStore
Philip Withnall [Fri, 22 Apr 2011 21:36:13 +0000 (22:36 +0100)]
Tidy up channel signal disconnections in Tpf.PersonaStore

Helps: bgo#645186

13 years agoAdd a missing signal disconnection to Tr.Backend
Philip Withnall [Fri, 22 Apr 2011 21:13:42 +0000 (22:13 +0100)]
Add a missing signal disconnection to Tr.Backend

Helps: bgo#645186

13 years agoAdd a missing signal disconnection to Tp.Backend
Philip Withnall [Fri, 22 Apr 2011 21:02:59 +0000 (22:02 +0100)]
Add a missing signal disconnection to Tp.Backend

Helps: bgo#645186

13 years agoAdd a missing signal disconnection to Kf.Backend
Philip Withnall [Fri, 22 Apr 2011 21:01:38 +0000 (22:01 +0100)]
Add a missing signal disconnection to Kf.Backend

Helps: bgo#645186

13 years agoFix a potential crash in Swf.PersonaStore on destruction before preparation
Philip Withnall [Fri, 22 Apr 2011 20:59:14 +0000 (21:59 +0100)]
Fix a potential crash in Swf.PersonaStore on destruction before preparation

If a Swf.PersonaStore is finalised before .prepare() is called, its
_contact_view member will be null, so it shouldn't try and disconnect from
signals from it.

13 years agoAdd GObject Introspection Support
Maxim Ermilov [Thu, 21 Apr 2011 23:06:51 +0000 (03:06 +0400)]
Add GObject Introspection Support

Closes: bgo#648161

13 years agoAdd a NEWS entry for fixing bgo#640092.
Travis Reitter [Tue, 26 Apr 2011 16:59:29 +0000 (09:59 -0700)]
Add a NEWS entry for fixing bgo#640092.

13 years agoChange PostalAddress.types to be a Set<string>
Philip Withnall [Wed, 20 Apr 2011 10:22:18 +0000 (11:22 +0100)]
Change PostalAddress.types to be a Set<string>

Helps: bgo#640092

13 years agoChange PotentialMatch.known_email_aliases to be of type Set<string>
Philip Withnall [Wed, 20 Apr 2011 00:41:57 +0000 (01:41 +0100)]
Change PotentialMatch.known_email_aliases to be of type Set<string>

Helps: bgo#640092

13 years agoChange RoleDetails.roles to be of type Set<Role>
Philip Withnall [Wed, 20 Apr 2011 00:41:20 +0000 (01:41 +0100)]
Change RoleDetails.roles to be of type Set<Role>

Helps: bgo#640092

13 years agoChange NoteDetails.notes to be of type Set<Note>
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

13 years agoChange LocalIdDetails.local_ids to be of type Set<string>
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

13 years agoChange PersonaStore.personas to be a Map<string, Persona>
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

13 years agoChange IndividualAggregator.individuals to be a Map<string, Individual>
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

13 years agoChange IndividualAggregator.get_[all_]potential_matches() to return a Map
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

13 years agoChange IndividualAggregator.link_personas() to take a Set<Persona>
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

13 years agoPort IndividualAggregator.individuals_changed to use Set<Individual>
Philip Withnall [Thu, 24 Mar 2011 16:40:07 +0000 (16:40 +0000)]
Port IndividualAggregator.individuals_changed to use Set<Individual>

Helps: bgo#640092

13 years agoFix a race condition in Tpf.PersonaStore
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

13 years agoRemove unused code from Tpf.PersonaStore
Philip Withnall [Thu, 24 Mar 2011 16:09:21 +0000 (16:09 +0000)]
Remove unused code from Tpf.PersonaStore

13 years agoPort PersonaStore.personas_changed to Set<Persona>
Philip Withnall [Thu, 24 Mar 2011 16:07:55 +0000 (16:07 +0000)]
Port PersonaStore.personas_changed to Set<Persona>

Helps: bgo#640092

13 years agoPort Individual.personas_changed to use Set<Persona>
Philip Withnall [Thu, 24 Mar 2011 15:12:00 +0000 (15:12 +0000)]
Port Individual.personas_changed to use Set<Persona>

Helps: bgo#640092

13 years agoPort Individual.personas to be a Set<Persona>
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

13 years agoConvert the internal store of Personas in Individual to use HashSet
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

13 years agoRemove use of GLib.List in public BackendStore API.
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)

13 years agoUse just a HashSet in IndividualAggregator._add_personas()
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

13 years agoChange UrlDetails.urls to be a Set<FieldDetails>
Philip Withnall [Tue, 19 Apr 2011 21:27:27 +0000 (22:27 +0100)]
Change UrlDetails.urls to be a Set<FieldDetails>

Helps: bgo#640092

13 years agoChange PhoneDetails.phone_numbers to be a Set<FieldDetails>
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

13 years agoChange EmailDetails.email_addresses to be a Set<FieldDetails>
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

13 years agoChange PostalAddressDetails.postal_addresses to be a Set<PostalAddress>
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

13 years agoChange FieldDetails.parameters to be a MultiMap<string, string>
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

13 years agoChange GroupDetails.groups to be a Set<string>
Philip Withnall [Tue, 19 Apr 2011 19:29:12 +0000 (20:29 +0100)]
Change GroupDetails.groups to be a Set<string>

Helps: bgo#640092

13 years agoChange Backend.persona_stores to be a Map<string, PersonaStore>
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

13 years agoRemove LinkedHashSet in favour of Gee.HashSet
Philip Withnall [Tue, 19 Apr 2011 17:57:46 +0000 (18:57 +0100)]
Remove LinkedHashSet in favour of Gee.HashSet

Helps: bgo#640092

13 years agoChange WebServiceDetails.…addresses to be a MultiMap<string, string>
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

13 years agoChange ImDetails.im_addresses to be a MultiMap<string, string>
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

13 years agoAdd navigation tests for LinkedHashSet.Iterator
Philip Withnall [Thu, 24 Mar 2011 13:19:12 +0000 (13:19 +0000)]
Add navigation tests for LinkedHashSet.Iterator

Helps: bgo#645684

13 years agoImplement an Iterator for LinkedHashSet
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

13 years agoAdd stamping to LinkedHashSet
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

13 years agoRemove implementation of LinkedHashSet.list_iterator()
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

13 years agoAdd tests for LinkedHashSet.iterator()
Philip Withnall [Thu, 24 Mar 2011 11:57:24 +0000 (11:57 +0000)]
Add tests for LinkedHashSet.iterator()

Helps: bgo#645684

13 years agoDon't remove the wrong Individuals from IndividualAggregator
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

13 years agoFix Tpf.Persona to use its store's ID in persona UIDs
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

13 years agoBug 647562 — Don't crash on duplicate group channels
Philip Withnall [Tue, 12 Apr 2011 15:08:40 +0000 (16:08 +0100)]
Bug 647562 — Don't crash on duplicate group channels

13 years agoAdd download-page and bug-database entries to DOAP file.
Travis Reitter [Fri, 15 Apr 2011 23:53:03 +0000 (16:53 -0700)]
Add download-page and bug-database entries to DOAP file.

13 years agoAdd a (long) description to the DOAP file.
Travis Reitter [Fri, 15 Apr 2011 23:51:36 +0000 (16:51 -0700)]
Add a (long) description to the DOAP file.

13 years agoBug 645388 — Group channels are leaked
Guillaume Desmottes [Tue, 12 Apr 2011 14:00:38 +0000 (15:00 +0100)]
Bug 645388 — Group channels are leaked

13 years agoPost-release version bump.
Travis Reitter [Tue, 12 Apr 2011 08:26:29 +0000 (01:26 -0700)]
Post-release version bump.

13 years agoRelease version 0.5.0 FOLKS_0_5_0
Travis Reitter [Tue, 12 Apr 2011 07:39:35 +0000 (00:39 -0700)]
Release version 0.5.0

13 years agoAdd NEWS entry for potential matches.
Travis Reitter [Tue, 12 Apr 2011 07:43:51 +0000 (00:43 -0700)]
Add NEWS entry for potential matches.

13 years agoAdd NEWS entry for the WebServiceDetails interface.
Travis Reitter [Tue, 12 Apr 2011 07:46:55 +0000 (00:46 -0700)]
Add NEWS entry for the WebServiceDetails interface.

13 years agoAdd NEWS entry for LocalIdDetails interface
Travis Reitter [Tue, 12 Apr 2011 07:49:21 +0000 (00:49 -0700)]
Add NEWS entry for LocalIdDetails interface