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
Marco Barisione [Mon, 8 Nov 2010 14:02:30 +0000 (14:02 +0000)]
libsocialweb: Make Sw.Persona implement the NameDetails interface instead of Aliasable
Marco Barisione [Mon, 1 Nov 2010 13:58:08 +0000 (13:58 +0000)]
libsocialweb: add new backend
Based on patches from:
Marco Barisione <marco@barisione.org>
Reworked by:
Alban Crequy <alban.crequy@collabora.co.uk>
Raul Gutierrez Segales [Mon, 4 Apr 2011 20:47:11 +0000 (21:47 +0100)]
Fix make distcheck by including tracker files in EXTRA_DIST
Travis Reitter [Sat, 2 Apr 2011 19:51:27 +0000 (12:51 -0700)]
Make Folks.PersonaStore.detail_key() static.
Travis Reitter [Sat, 2 Apr 2011 19:51:08 +0000 (12:51 -0700)]
Don't remove our generated gconf.path during 'make all'
Travis Reitter [Fri, 1 Apr 2011 23:21:01 +0000 (16:21 -0700)]
Distribute the gconf path files.
Travis Reitter [Fri, 1 Apr 2011 23:00:05 +0000 (16:00 -0700)]
Include GConf when building docs.
Raul Gutierrez Segales [Fri, 1 Apr 2011 21:00:27 +0000 (22:00 +0100)]
Add NEWS entry about support to switch primary store
Closes: bgo#645441 - Mechanism to specify primary backend
Raul Gutierrez Segales [Mon, 28 Mar 2011 10:52:08 +0000 (11:52 +0100)]
Add test for linking personas using the Tracker backend
Raul Gutierrez Segales [Mon, 28 Mar 2011 10:51:43 +0000 (11:51 +0100)]
Implemented linkable_property_to_links in Trf.Persona
Raul Gutierrez Segales [Mon, 28 Mar 2011 10:49:44 +0000 (11:49 +0100)]
Add support to switch primary backend either by GConf or an env var
Travis Reitter [Fri, 14 Jan 2011 22:50:43 +0000 (14:50 -0800)]
Make tests use local GConf config and store.
This avoids reading or writing the user's GConf store and lets us start from a
consistent state when running tests (required for repeatability).
Travis Reitter [Fri, 1 Apr 2011 19:08:36 +0000 (12:08 -0700)]
Label trf-persona-store as translatable.
Raul Gutierrez Segales [Fri, 18 Mar 2011 14:45:23 +0000 (14:45 +0000)]
Add write support for Tracker
Closes: bgo#645413
Raul Gutierrez Segales [Thu, 31 Mar 2011 14:37:21 +0000 (15:37 +0100)]
Access detail_key via `this` since its an instance method
Raul Gutierrez Segales [Wed, 30 Mar 2011 16:49:10 +0000 (17:49 +0100)]
Update Kf.PersonaStore.add_persona_from_details to use defined constants
Raul Gutierrez Segales [Mon, 28 Mar 2011 17:52:08 +0000 (18:52 +0100)]
Helpers to check add_persona_from_details' compliance with basic attributes.
The detail_key () method (along with the PersonaDetail enum) allows
us to easily check the default attributes that should be handled
in the HashTable received by add_persona_from_details.
Raul Gutierrez Segales [Tue, 22 Mar 2011 21:35:57 +0000 (21:35 +0000)]
Fix checks for empty and equal StructuredNames
Philip Withnall [Tue, 29 Mar 2011 23:00:44 +0000 (00:00 +0100)]
Bug 645475 — Linker warnings for Tracker backend tests
Fix the Tracker test helper library (libtracker-test.so) with the libfolks
Tracker helper library (libfolks-tracker.so) rather than the loadable Tracker
libfolks backend module (libfolks-backend-tracker.so).
Also, add the Tracker SPARQL LIBS variable to libtracker_test_la_LIBADD, which
was missing.
Closes: bgo#645475
Raul Gutierrez Segales [Tue, 29 Mar 2011 22:37:57 +0000 (23:37 +0100)]
Add missing backslash to EXTRA_DIST list
Philip Withnall [Mon, 17 Jan 2011 15:42:24 +0000 (15:42 +0000)]
Bug 645680 — Use random integer IDs for Kf.Personas
Using consecutive integer IDs meant that IDs often got re-used as Personas
were deleted and added, meaning that the same ID could, over time, be applied
to several different Personas which contained completely different IM
addresses. Any external references to such IDs which weren't updated over
time with the IDs themselves (such as the to-be-added anti-links) would end
up pointing to effectively the wrong Persona.
A perfect solution would be to hash the IM addresses in each Persona and use
that as the Persona's ID, but that's not possible as the set of IM addresses
in a Kf.Persona can change over time, while the ID has to remain constant.
Consequently, the use of a random integer evenly distributed over the space of
unsigned 32-bit integers will do.
Closes: bgo#645680
Philip Withnall [Sun, 21 Nov 2010 14:15:36 +0000 (14:15 +0000)]
Clarify immutability of Persona.uid
Travis Reitter [Thu, 17 Mar 2011 18:00:24 +0000 (11:00 -0700)]
Distribute (but not install) internal .gir and .vapi files
Travis Reitter [Thu, 17 Mar 2011 17:50:20 +0000 (10:50 -0700)]
Cut unused automake variables.
Raul Gutierrez Segales [Tue, 22 Mar 2011 21:16:28 +0000 (21:16 +0000)]
Add equal method to StructuredName
Travis Reitter [Fri, 18 Mar 2011 19:07:42 +0000 (12:07 -0700)]
Disconnect from 'invalidated' on proxies we abandon.
This prevents a crasher in the Telepathy backend where:
1. We hit _reset() and set this._subscribe, etc., to null.
2. Each of these proxies gets disposed and emits 'invalidated'
3. Our 'invalidated' handler ends up unrefing each proxy an extra time, which
ends up in some ugly dispose -> unref -> dispose recursion, which continues
after it's finalized, leading to bad/undefined behavior (usually, but not
always, a crasher).
Sjoerd Simons [Wed, 23 Mar 2011 09:33:43 +0000 (09:33 +0000)]
When removing, use a local copy of the personas
Removing personas from folks will change our individuals persona list,
so we need to make a copy to be able to safely iterate it.
Raul Gutierrez Segales [Tue, 22 Mar 2011 13:40:18 +0000 (13:40 +0000)]
EXTRA_DIST in tests/tools was missing a few files
Travis Reitter [Mon, 21 Mar 2011 17:42:40 +0000 (10:42 -0700)]
Update folks-import to the current API for ImDetails.im_addresses.
Fixes bgo#645411 - folks-import segfaults on startup
Raul Gutierrez Segales [Mon, 21 Mar 2011 18:36:01 +0000 (18:36 +0000)]
Fix entries in the NEWS file
Raul Gutierrez Segales [Mon, 21 Mar 2011 18:03:58 +0000 (18:03 +0000)]
folks-inspect: use LinkedHashSet to access im-addresses
Raul Gutierrez Segales [Tue, 15 Feb 2011 17:13:30 +0000 (17:13 +0000)]
Initial implementation of the tracker backend
Raul Gutierrez Segales [Sun, 20 Mar 2011 22:57:46 +0000 (22:57 +0000)]
Ensure we are only testing the built-in backends
Raul Gutierrez Segales [Thu, 17 Mar 2011 14:28:02 +0000 (14:28 +0000)]
Factor out common dbus wrapper code into sourceable files
Raul Gutierrez Segales [Wed, 16 Mar 2011 22:04:50 +0000 (22:04 +0000)]
Copy new PhoneDetails for individuals, don't hold stale pointers.
Fixed bgo#644968 - _update_phone_numbers () needs to create copies
of each List<FieldDetails>
Raul Gutierrez Segales [Wed, 16 Mar 2011 21:51:57 +0000 (21:51 +0000)]
Copy new Emails for individuals, don't hold stale pointers.
Fixed bgo#644966 - _update_emails () needs to create copies of each
List<FieldDetails>
Travis Reitter [Mon, 14 Mar 2011 19:27:22 +0000 (12:27 -0700)]
Post-release version bump.
Travis Reitter [Mon, 14 Mar 2011 18:24:20 +0000 (11:24 -0700)]
Release Folks 0.4.0
Travis Reitter [Mon, 14 Mar 2011 14:58:37 +0000 (07:58 -0700)]
Don't overwrite an Individual's avatar with null.
(unlike the previous commit, this one actually...)
Fixes: bgo#644165 - An individual's avatar shouldn't be replaced by a null
avatar
Raul Gutierrez Segales [Fri, 11 Mar 2011 00:40:14 +0000 (00:40 +0000)]
folks-inspect: print an Avatar's uri
Fixes: bgo#644165 - An individual's avatar shouldn't be replaced by a null
avatar
Raul Gutierrez Segales [Fri, 11 Mar 2011 21:54:03 +0000 (13:54 -0800)]
folks-inspect: handle Structured Names
Fixes: bgo#644457 - Handle structured names
Raul Gutierrez Segales [Sat, 5 Mar 2011 15:06:55 +0000 (15:06 +0000)]
folks-inspect: handle birthday/postal-addresses
Fixes: bgo#643957 - Deal handle birthday and postal-addresses.
Travis Reitter [Fri, 11 Mar 2011 19:40:32 +0000 (11:40 -0800)]
Don't note API changes which have happened to new interfaces.
Travis Reitter [Fri, 11 Mar 2011 01:11:48 +0000 (17:11 -0800)]
Rename Urlable -> UrlDetails
Fixes bgo#642513 - Folks "Owner" interfaces are awkwardly-named
Travis Reitter [Fri, 11 Mar 2011 01:04:55 +0000 (17:04 -0800)]
Rename RoleOwner -> RoleDetails
Helps bgo#642513 - Folks "Owner" interfaces are awkwardly-named
Travis Reitter [Fri, 11 Mar 2011 00:59:25 +0000 (16:59 -0800)]
Rename PresenceOwner -> PresenceDetails
Helps bgo#642513 - Folks "Owner" interfaces are awkwardly-named
Travis Reitter [Fri, 11 Mar 2011 00:46:11 +0000 (16:46 -0800)]
Rename PostalAddressOwner -> PostalAddressDetails
Helps bgo#642513 - Folks "Owner" interfaces are awkwardly-named
Travis Reitter [Fri, 11 Mar 2011 00:40:50 +0000 (16:40 -0800)]
Rename Phoneable -> PhoneDetails
Helps bgo#642513 - Folks "Owner" interfaces are awkwardly-named
Travis Reitter [Fri, 11 Mar 2011 00:34:44 +0000 (16:34 -0800)]
Rename NoteOwner -> NoteDetails
Helps bgo#642513 - Folks "Owner" interfaces are awkwardly-named
Travis Reitter [Fri, 11 Mar 2011 00:30:05 +0000 (16:30 -0800)]
Rename NameOwner -> NameDetails
Helps bgo#642513 - Folks "Owner" interfaces are awkwardly-named
Travis Reitter [Fri, 11 Mar 2011 00:23:55 +0000 (16:23 -0800)]
Rename IMable -> ImDetails
Helps bgo#642513 - Folks "Owner" interfaces are awkwardly-named
Travis Reitter [Thu, 10 Mar 2011 23:11:27 +0000 (15:11 -0800)]
Rename Groupable -> GroupDetails
Helps bgo#642513 - Folks "Owner" interfaces are awkwardly-named
Travis Reitter [Thu, 10 Mar 2011 23:14:26 +0000 (15:14 -0800)]
Rename GenderOwner -> GenderDetails
Helps bgo#642513 - Folks "Owner" interfaces are awkwardly-named
Travis Reitter [Thu, 10 Mar 2011 22:53:06 +0000 (14:53 -0800)]
Rename Favouritable -> FavouriteDetails
Helps bgo#642513 - Folks "Owner" interfaces are awkwardly-named
Travis Reitter [Thu, 10 Mar 2011 19:59:25 +0000 (11:59 -0800)]
Rename Emailable -> EmailDetails
Helps bgo#642513 - Folks "Owner" interfaces are awkwardly-named
Travis Reitter [Thu, 10 Mar 2011 23:52:50 +0000 (15:52 -0800)]
Rename BirthdayOwner -> BirthdayDetails
Helps bgo#642513 - Folks "Owner" interfaces are awkwardly-named
Travis Reitter [Thu, 10 Mar 2011 23:32:27 +0000 (15:32 -0800)]
Rename AvatarOwner -> AvatarDetails
Helps bgo#642513 - Folks "Owner" interfaces are awkwardly-named
Travis Reitter [Thu, 10 Mar 2011 19:55:07 +0000 (11:55 -0800)]
Rename Aliasable -> AliasDetails
Helps bgo#642513 - Folks "Owner" interfaces are awkwardly-named
Travis Reitter [Wed, 9 Mar 2011 19:30:20 +0000 (11:30 -0800)]
Update listed translations.
Raul Gutierrez Segales [Sat, 5 Mar 2011 15:03:23 +0000 (15:03 +0000)]
Add to_string () method to RoleOwner
Raul Gutierrez Segales [Sat, 5 Mar 2011 15:02:59 +0000 (15:02 +0000)]
Add to_string () method to PostalAddress
Raul Gutierrez Segales [Sat, 5 Mar 2011 15:04:41 +0000 (15:04 +0000)]
Use the correct signal name for postal addresses
Raul Gutierrez Segales [Fri, 4 Mar 2011 21:56:33 +0000 (21:56 +0000)]
Added equal method to PostalAddress
Raul Gutierrez Segales [Fri, 4 Mar 2011 16:39:45 +0000 (16:39 +0000)]
Add uid to PostalAddress to facilitate tracking
Travis Reitter [Fri, 4 Mar 2011 20:03:26 +0000 (12:03 -0800)]
Don't drop Individuals' initial set of notes.
Travis Reitter [Thu, 3 Mar 2011 19:53:45 +0000 (11:53 -0800)]
Add API change notes for our newer interfaces.
Travis Reitter [Thu, 3 Mar 2011 19:50:06 +0000 (11:50 -0800)]
Add NEWS entry for postal address interface
Fixes: bgo#641210 - Add interface for postal addresses
Marco Barisione [Tue, 28 Dec 2010 16:28:12 +0000 (17:28 +0100)]
Make Individual implement the PostalAddressOwner interface
Marco Barisione [Tue, 28 Dec 2010 16:27:38 +0000 (17:27 +0100)]
Add PostalAddressOwner for contacts with postal addresses
Travis Reitter [Thu, 3 Mar 2011 17:47:22 +0000 (09:47 -0800)]
Check FieldDetails values before storing to avoid segfaults.
This protects against backends storing some bogus data in their Personas (in
this case, value-less URL, Phone Number, or Email Address fields).
Raul Gutierrez Segales [Thu, 3 Mar 2011 17:23:07 +0000 (17:23 +0000)]
Ensure we update an Individual's notes along with the other fields.
Raul Gutierrez Segales [Thu, 3 Mar 2011 17:20:16 +0000 (17:20 +0000)]
Ensure we update an Individual's birthday along with the other fields.
Raul Gutierrez Segales [Thu, 3 Mar 2011 01:17:38 +0000 (01:17 +0000)]
Add NoteOwner interface
Fixes: bgo#642501 - Folks needs API for attaching notes to a Contact
Raul Gutierrez Segales [Wed, 2 Mar 2011 18:44:37 +0000 (18:44 +0000)]
Add BirthdayOwner interface
Fixes: bgo#642500 - Folks needs API for specifying a contact's birthday
Travis Reitter [Thu, 3 Mar 2011 00:10:27 +0000 (16:10 -0800)]
Update NEWS for RoleOwner.
Raul Gutierrez Segales [Tue, 1 Mar 2011 19:09:14 +0000 (19:09 +0000)]
Add RoleOwner interface for contacts that belong to an Organisation
Raul Gutierrez Segales [Tue, 1 Mar 2011 19:49:45 +0000 (19:49 +0000)]
List the implemented interfaces in alphabetical order
Travis Reitter [Wed, 2 Mar 2011 02:45:24 +0000 (18:45 -0800)]
Distribute test data files
Philip Withnall [Sun, 27 Feb 2011 20:19:03 +0000 (20:19 +0000)]
Bug 642861 — FolksLinkedHashSet still alive when exiting Empathy
A self-referencing closure was prevent all Tpf.Personas from being finalised,
which was in turn causing a load of owned objects (such as LinkedHashSets)
from being finalised. Spotted by Guillaume Desmottes <gdesmott@gnome.org>.
Closes: bgo#642861
Philip Withnall [Sun, 27 Feb 2011 16:34:06 +0000 (16:34 +0000)]
Bug 642866 — tp-lowlevel leaks TpChannel
Fix a leak of TpChannels from tp-lowlevel.c, spotted by Guillaume Desmottes
<gdesmott@gnome.org>. Closes: bgo#642866
Raul Gutierrez Segales [Thu, 24 Feb 2011 15:21:36 +0000 (15:21 +0000)]
folks-inspect: handle emails/urls/phone-numbers
Travis Reitter [Thu, 24 Feb 2011 23:46:35 +0000 (15:46 -0800)]
Point valadoc to the C headers so it doesn't fail on "missing" symbols.
Scanning directories (with -b) is no longer supported. See bgo#629531,
comment#7.
Fixes bgo#643247 - Folks needs C API documentation
Travis Reitter [Thu, 24 Feb 2011 20:54:01 +0000 (12:54 -0800)]
Re-enable gtk-docs, now that valadoc is fixed.
Helps bgo#643247 - Folks needs C API documentation
Travis Reitter [Fri, 25 Feb 2011 00:42:48 +0000 (16:42 -0800)]
Copy new URLs for individuals, don't hold stale pointers.
Fixes bgo#Bug 643241 - _update_urls () needs to create copies of each
List<FieldDetails>
Code by Raul Gutierrez Segales.
Travis Reitter [Wed, 23 Feb 2011 20:45:58 +0000 (12:45 -0800)]
Disable build gtk-docs, since valadoc crashes on them.
This is related to, but not exactly, bgo#629531.
Philip Withnall [Sun, 20 Feb 2011 11:15:23 +0000 (11:15 +0000)]
Ignore tp-lowlevel when building the folks-tp documentation
Philip Withnall [Sun, 20 Feb 2011 11:14:04 +0000 (11:14 +0000)]
Correctly pass linking flags to valadoc when building the folks-tp docs
It turns out that bgo#637090 was just us not passing the flags correctly
(one has to pass two flags to valadoc to get it to pass a single flag to
the doclet). See: bgo#637090
Travis Reitter [Tue, 15 Feb 2011 07:26:26 +0000 (23:26 -0800)]
Use the 'all-others' BackendStore key file group for backend tests.
Fixes bgo#642351 - BACKEND_STORE_KEY_FILE format should support a wildcard entry
Travis Reitter [Tue, 15 Feb 2011 07:25:33 +0000 (23:25 -0800)]
Support the 'all-others' wildcard group in BACKEND_STORE_KEY_FILE.
Helps bgo#642351 - BACKEND_STORE_KEY_FILE format should support a wildcard entry
Philip Withnall [Mon, 14 Feb 2011 23:29:24 +0000 (23:29 +0000)]
Remove support for building with Vala < 0.11
Philip Withnall [Mon, 14 Feb 2011 23:28:59 +0000 (23:28 +0000)]
Fix srcdir != builddir problem in the documentation makefile
Philip Withnall [Mon, 14 Feb 2011 23:18:02 +0000 (23:18 +0000)]
Post-release version bump
Philip Withnall [Mon, 14 Feb 2011 23:17:21 +0000 (23:17 +0000)]
Release version 0.3.6
Philip Withnall [Mon, 14 Feb 2011 23:06:02 +0000 (23:06 +0000)]
Fix the documentation version tags
I fail at doing releases.
Philip Withnall [Mon, 14 Feb 2011 23:05:57 +0000 (23:05 +0000)]
Post-release version bump