Bruno Brouard [Sun, 8 Jul 2012 09:28:19 +0000 (11:28 +0200)]
New French translation
Piotr Drąg [Sat, 7 Jul 2012 20:58:13 +0000 (22:58 +0200)]
Updated POTFILES.in and POTFILES.skip
Philip Withnall [Sun, 6 May 2012 21:59:45 +0000 (22:59 +0100)]
key-file: Add anti-linking support
Helps: https://bugzilla.gnome.org/show_bug.cgi?id=629537
Philip Withnall [Sun, 6 May 2012 21:59:34 +0000 (22:59 +0100)]
eds: Add anti-linking support
Helps: https://bugzilla.gnome.org/show_bug.cgi?id=629537
Philip Withnall [Mon, 25 Jul 2011 19:27:29 +0000 (20:27 +0100)]
core: Add core anti-linking support
This adds the core of the anti-linking support, based around a new
AntiLinkable interface. This will be implemented by Persona subclasses which
can store anti-linking information (in the form of a set of Persona UIDs
which the given Persona should never be linked to).
This approach allows anti-linking information to be stored with the personas
(presumably in the primary persona store) and thus it should be network
transparent. i.e. Using folks on two different computers with a Google
Contacts address book as primary should cause the anti-linking data to be
shared.
This also includes the necessary IndividualAggregator changes.
Sadly, no unit tests are included.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=629537
Philip Withnall [Mon, 7 May 2012 23:01:42 +0000 (00:01 +0100)]
core: Replace the linking step in IA.ensure_individual_property_writeable()
It’s a waste of time to create a new Persona to ensure the property is
writeable, then create _another_ new Persona to link it to the Individual.
Why not just create the writeable Persona so that it’s automatically linked
to the Individual?
Helps: https://bugzilla.gnome.org/show_bug.cgi?id=629537
Philip Withnall [Mon, 7 May 2012 22:59:56 +0000 (23:59 +0100)]
core: Split details table code out of IA.link_personas()
Helps: https://bugzilla.gnome.org/show_bug.cgi?id=629537
Philip Withnall [Thu, 8 Dec 2011 10:18:25 +0000 (10:18 +0000)]
aggregator: Convert the link map to use a MultiMap
When it's possible to have personas sharing IM addresses but not being
linked (due to anti-links), the link map's assumption that one IM address
(or other linkable property) maps to one individual will be invalid. This
commit converts the link map to be a HashMultiMap, effectively changing it
from a mapping of string → Individual to a mapping of
string → Set<Individual>.
Helps: bgo#629537
Jeremy Whiting [Fri, 6 Jul 2012 20:23:59 +0000 (14:23 -0600)]
Change urls to links in doc comments, fixes doc creation.
Jeremy Whiting [Fri, 6 Jul 2012 15:22:56 +0000 (09:22 -0600)]
Add bugfix and dependency change to NEWS.
Jeremy Whiting [Fri, 6 Jul 2012 15:18:51 +0000 (09:18 -0600)]
Merge branch libgeetest which upgrades our libgee dependency.
Fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=673918
Jeremy Whiting [Wed, 4 Jul 2012 19:11:48 +0000 (13:11 -0600)]
Port folks to libgee 0.8.
Added hash_static and equal_static to AbstractFieldDetails.
Use AbstractFieldDetails hash_static and equal_static where needed.
Guillaume Desmottes [Mon, 2 Jul 2012 07:01:36 +0000 (09:01 +0200)]
backend-store: never translate warning messages
Most of them were not translated.
https://bugzilla.gnome.org/show_bug.cgi?id=679116
Guillaume Desmottes [Fri, 29 Jun 2012 09:54:57 +0000 (11:54 +0200)]
backend-store: output a debug message if mime type of potential backends looks weird
Will make my life much easier next time I'm wondering why nothing is working.
https://bugzilla.gnome.org/show_bug.cgi?id=679116
Khaled Hosny [Fri, 6 Jul 2012 04:02:13 +0000 (06:02 +0200)]
Arabic translation
Jeremy Whiting [Wed, 4 Jul 2012 15:37:47 +0000 (09:37 -0600)]
Change libgee dependency from 0.6 to 0.8.
Jeremy Whiting [Wed, 4 Jul 2012 23:10:27 +0000 (17:10 -0600)]
Port away from tp_connection_new since it has been deprecated.
Synced some sources from telepathy-glib/tests/lib/.
Jeremy Whiting [Wed, 4 Jul 2012 15:38:52 +0000 (09:38 -0600)]
Get libexecdir from libedata-book-1.2.pc.
Jeremy Whiting [Tue, 3 Jul 2012 16:23:05 +0000 (10:23 -0600)]
Bump released bit back to 0.
Change dependency in NEWS from 3.5.4 to 3.5.3.1
Jeremy Whiting [Mon, 2 Jul 2012 20:38:25 +0000 (14:38 -0600)]
Fix eds dependency to 3.5.3.1.
Bump release numbers for 0.7.2.2 release.
Jeremy Whiting [Mon, 2 Jul 2012 20:38:02 +0000 (14:38 -0600)]
Change UNRELEASED to 0.7.2.
Nguyễn Thái Ngọc Duy [Sat, 30 Jun 2012 13:26:13 +0000 (20:26 +0700)]
Updated Vietnamese translation
Jeremy Whiting [Thu, 28 Jun 2012 22:20:55 +0000 (16:20 -0600)]
Post 0.7.2.1 release version bump.
Added 0.7.2 to 0.7.3 section to NEWS.
Jeremy Whiting [Thu, 28 Jun 2012 21:34:55 +0000 (15:34 -0600)]
Add Profiling api to NEWS file.
Bump soname numbers in configure.ac for Folks 0.7.2.1 release.
Jeremy Whiting [Thu, 28 Jun 2012 20:40:49 +0000 (14:40 -0600)]
Bump nano version and revert released bit.
Add 0.7.3 section to the top of NEWS.
Jeremy Whiting [Thu, 28 Jun 2012 19:49:50 +0000 (13:49 -0600)]
Use async creation of Source Registry in eds test backend.
Jeremy Whiting [Thu, 28 Jun 2012 19:49:00 +0000 (13:49 -0600)]
Start eds source-registry and addressbook-factory ourselves.
Jeremy Whiting [Thu, 28 Jun 2012 19:47:32 +0000 (13:47 -0600)]
Add test.source and other.source to EXTRA_DIST.
Jeremy Whiting [Thu, 28 Jun 2012 19:46:57 +0000 (13:46 -0600)]
Add Bugfix to NEWS.
Jeremy Whiting [Thu, 28 Jun 2012 18:17:52 +0000 (12:17 -0600)]
Add folks-internal to libsocialweb backend library vapi.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679020
Jeremy Whiting [Thu, 28 Jun 2012 17:41:15 +0000 (11:41 -0600)]
Add folks-internal to make docs dependencies for profiling symbols.
Jeremy Whiting [Thu, 28 Jun 2012 16:53:58 +0000 (10:53 -0600)]
Default to xz tarballs for distribution.
Jeremy Whiting [Wed, 27 Jun 2012 17:22:18 +0000 (11:22 -0600)]
Remove individual-zeitgeist from make check targets.
Jeremy Whiting [Wed, 27 Jun 2012 03:48:45 +0000 (21:48 -0600)]
Folks 0.7.2 release.
Philip Withnall [Sun, 24 Jun 2012 19:21:55 +0000 (20:21 +0100)]
tracker: Unmark a method as asynchronous
Private method, didn’t need to be asynchronous.
Philip Withnall [Sun, 24 Jun 2012 17:33:49 +0000 (18:33 +0100)]
eds: Share a single E.SourceRegistry between all Edsf.PersonaStores
Turns out a single E.SourceRegistry takes about 200ms to construct, due to
involving D-Bus round trips, so sharing the existing SourceRegistry from the
Eds.Backend to all its Edsf.PersonaStores is a big win.
Philip Withnall [Sun, 24 Jun 2012 17:15:41 +0000 (18:15 +0100)]
aggregator: Don’t prematurely reach quiescence
If one of the backends loads very fast, but doesn’t signal the addition of
any persona stores for a while, the IndividualAggregator will prematurely
reach quiescence. We now force quiescence to be reached at least after all
the backends have finished loading.
Philip Withnall [Sun, 24 Jun 2012 16:55:43 +0000 (17:55 +0100)]
core: Add a profiling API and implement some profiling points
The API outputs messages in the format accepted by Federico’s
plot-timeline.py (http://people.gnome.org/~federico/news-2006-03.html#timeline-tools)
so graphs can easily be generated by running:
strace -ttt -f -o /tmp/logfile folks-inspect
python plot-timeline.py -o graph.png /tmp/logfile
So far, the BackendStore, IndividualAggregator and Backend and PersonaStore
classes for all the backends have been annotated.
Jeremy Whiting [Mon, 25 Jun 2012 22:01:19 +0000 (16:01 -0600)]
Add bug fix to NEWS file.
Jeremy Whiting [Mon, 25 Jun 2012 21:55:22 +0000 (15:55 -0600)]
Fix style issues as noted in https://bugzilla.gnome.org/show_bug.cgi?id=678811.
Use _addressbook_name to ref the test source.
Remove unused _source_name.
Jeremy Whiting [Mon, 25 Jun 2012 19:07:49 +0000 (13:07 -0600)]
Remove GConf stop from eds test harness, since it's not needed.
Jeremy Whiting [Mon, 25 Jun 2012 19:06:26 +0000 (13:06 -0600)]
Add mainloop to eds test backend tear_down to wait for addressbook removal.
Jeremy Whiting [Mon, 25 Jun 2012 19:01:49 +0000 (13:01 -0600)]
Fix link-personas-diff-stores test.
Need to use both test and other addressbooks.
Jeremy Whiting [Mon, 25 Jun 2012 19:00:15 +0000 (13:00 -0600)]
Use ESource display_name instead of uid.
Jeremy Whiting [Thu, 21 Jun 2012 18:36:27 +0000 (12:36 -0600)]
Use async addressbook remove method, since sync method hangs currently.
Jeremy Whiting [Wed, 20 Jun 2012 18:19:19 +0000 (12:19 -0600)]
Fix link-personas-diff-stores unit test.
Remove obsolete EDS TestBackend address_uri.
Allow choosing other or test source in set_up method.
Jeremy Whiting [Wed, 20 Jun 2012 18:18:42 +0000 (12:18 -0600)]
Create another other.source for eds unit tests.
Jeremy Whiting [Tue, 19 Jun 2012 17:54:05 +0000 (11:54 -0600)]
Port test eds backend to eds api changes.
Add test.source keyfile for unit tests.
Jeremy Whiting [Tue, 19 Jun 2012 17:52:13 +0000 (11:52 -0600)]
Re-enable eds backend unit tests.
Philip Withnall [Mon, 25 Jun 2012 19:07:21 +0000 (20:07 +0100)]
core: Replace symbols with spaces when matching names in PotentialMatch
This allows, for example, “Alice Badger” and “alice.badger” to have a HIGH
match. This is a common situation when trying to pair up IM personas with
other personas.
This also includes a test case.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=678474
Philip Withnall [Mon, 25 Jun 2012 20:47:55 +0000 (21:47 +0100)]
eds: Fix memory leaks in EDS backend
These were unavoidably caused by a problem with the EDS Vala bindings. This
will be fixed in EDS 3.5.4, so our dependency has been bumped.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=678781
Philip Withnall [Sat, 23 Jun 2012 10:24:53 +0000 (11:24 +0100)]
core: Fix indexing for unichars in PotentialMatch’s Jaro distance function
The indexing was getting out of sync between the two strings if one contained
a different number of non-ASCII characters to the other (as the indexing was
done in terms of bytes, rather than characters). This re-works the Jaro
distance function to operate on unichar arrays, and index in terms of
characters. This also means that exact matches now work over stripped non-ASCII
characters, which they didn’t before.
This adds a new test case. Yay.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=678474
Philip Withnall [Sat, 23 Jun 2012 09:09:14 +0000 (10:09 +0100)]
core: Tidy up MatchResult usage in PotentialMatch a little
There’s no need for the result to be an instance variable.
Florian Müllner [Mon, 25 Jun 2012 13:41:44 +0000 (15:41 +0200)]
eds: Adjust to e-d-s API break
Address books are now referenced by UID instead of URI, and the API
has been updated to reflect this.
A S Alam [Mon, 25 Jun 2012 01:15:20 +0000 (06:45 +0530)]
Update Punjabi Translation
Fran Diéguez [Sun, 24 Jun 2012 22:05:55 +0000 (00:05 +0200)]
Updated Galician translations
Philip Withnall [Sat, 23 Jun 2012 11:17:23 +0000 (12:17 +0100)]
eds: Fix warnings about empty postal addresses
Philip Withnall [Sat, 23 Jun 2012 11:04:38 +0000 (12:04 +0100)]
eds: Revert checks for empty properties
These are in the wrong place and duplicate checks further down those code
paths.
Dimitris Spingos [Fri, 22 Jun 2012 13:34:04 +0000 (16:34 +0300)]
Updated Greek translation
Dimitris Spingos [Fri, 22 Jun 2012 13:15:38 +0000 (16:15 +0300)]
Added Greek translation
Daniel Mustieles [Fri, 22 Jun 2012 11:49:25 +0000 (13:49 +0200)]
Updated Spanish translation
Philip Withnall [Tue, 19 Jun 2012 10:25:06 +0000 (11:25 +0100)]
telepathy: Remove unused variable
Philip Withnall [Mon, 18 Jun 2012 11:11:39 +0000 (12:11 +0100)]
core: Change default EDS PersonaStore ID to ‘system-address-book’
The new version of EDS uses that instead of ‘system’. This shouldn’t pose
upgrade problems (e.g. if a user has ‘system’ stored in GSettings), since in
that case the ‘system’ persona store wouldn’t be found, and the fallback
would be to use the persona store marked as the system-set default — which
is the ‘system-address-book’ persona store, as required.
Philip Withnall [Mon, 18 Jun 2012 11:09:58 +0000 (12:09 +0100)]
eds: Fix invalid cast in Edsf.PersonaStore
E.SourceRegistry.find_extension() always returns an E.Source — we must then
call get_extension() on that E.Source to get the relevant extension. This
commit fixes an invalid cast here and factors out code to check for backend
name matches for things like the ‘google’ and ‘ldap’ address book backends.
Note that this depends on a new GIR annotation in EDataServer.
Philip Withnall [Mon, 18 Jun 2012 11:09:08 +0000 (12:09 +0100)]
eds: Handle the possibility of E.SourceRegistry being null
Several functions can be called before E.SourceRegistry is set in prepare(),
so they must cope with it potentially being null.
Jeremy Whiting [Tue, 19 Jun 2012 14:51:09 +0000 (08:51 -0600)]
Get E.SourceAddressBook extensions from the source.
Fix eds backend warnings.
Philip Withnall [Mon, 18 Jun 2012 10:08:59 +0000 (11:08 +0100)]
telepathy: Don’t create PersonaStores for disabled accounts
We shouldn’t create persona stores for disabled accounts, as they just sit
there looking lonely and empty. Persona stores should be created for enabled
and valid accounts, and should be removed when those accounts are disabled
or become invalid.
Philip Withnall [Mon, 18 Jun 2012 10:04:57 +0000 (11:04 +0100)]
Bug 677166 — Salut personas survive disconnection
Handle TpAccounts being disabled by listening for
TpAccountManager::account-disabled rather than (erroneously) assuming that
TpAccount:enabled will have been changed by the time the corresponding
TpConnection is disconnected.
This fixes a race condition when accounts are disabled, where the account’s
personas would persist if TpAccount:enabled hadn’t changed by the time the
connection was disconnected.
This comes at the cost of potentially storing and re-loading the set of
personas for that account to the cache, only to later delete the cache file
when TpAccount:enabled changes. I can’t think of a simple fix for this.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=677166
Philip Withnall [Mon, 18 Jun 2012 09:32:49 +0000 (10:32 +0100)]
inspect: Implement pretty printing of GDateTime
The new Zeitgeist work in the Telepathy backend makes use of nullable
GDateTimes, so this implements pretty printing of them in folks-inspect.
Everyone prefers reading well-formatted ISO 8601 date/times over reading
error messages saying the conversion wasn’t possible, right?
Philip Withnall [Mon, 18 Jun 2012 09:31:54 +0000 (10:31 +0100)]
telepathy: Set some missing properties on cached TpfPersonas
Recently-added properties needed implementing for cached personas.
Jeremy Whiting [Fri, 15 Jun 2012 16:10:32 +0000 (10:10 -0600)]
Bump version number post 0.7.1 release.
Add a new section to NEWS for 0.7.1 -> 0.7.2 changes.
Jeremy Whiting [Thu, 14 Jun 2012 19:55:26 +0000 (13:55 -0600)]
Add evolution-data-server dependency version change to NEWS.
Jeremy Whiting [Thu, 14 Jun 2012 19:50:49 +0000 (13:50 -0600)]
Add libzeitgeist requirement to NEWS.
Remove duplicate API change in NEWS.
Jeremy Whiting [Thu, 14 Jun 2012 18:44:13 +0000 (12:44 -0600)]
Add myself to folks.doap file.
Jeremy Whiting [Thu, 14 Jun 2012 18:40:43 +0000 (12:40 -0600)]
Add myself to MAINTAINERS file.
Jeremy Whiting [Thu, 14 Jun 2012 17:31:13 +0000 (11:31 -0600)]
Remove wrong entry in NEWS file.
Jeremy Whiting [Thu, 14 Jun 2012 15:56:00 +0000 (09:56 -0600)]
Remove eds test from dist target until it is ported to eds api changes.
Jeremy Whiting [Wed, 13 Jun 2012 18:15:12 +0000 (12:15 -0600)]
Remove ENABLE_ZEITGEIST macro from Makefile and sources.
Jeremy Whiting [Wed, 13 Jun 2012 18:14:42 +0000 (12:14 -0600)]
Add zeitgeist-1.0 as vala dependency in docs Makefile.am.
Jeremy Whiting [Tue, 12 Jun 2012 20:26:25 +0000 (14:26 -0600)]
Make libzeitgeist a hard dependency of folks.
As discussed here: https://bugzilla.gnome.org/show_bug.cgi?id=677428
Travis Reitter [Mon, 4 Jun 2012 22:07:34 +0000 (15:07 -0700)]
Release version 0.7.1
Travis Reitter [Mon, 4 Jun 2012 22:17:45 +0000 (15:17 -0700)]
Downgrade missing Zeitgeist events to debug, as we do with TpLogger.
Travis Reitter [Mon, 4 Jun 2012 15:20:36 +0000 (08:20 -0700)]
Don't expect a tp-lowlevel stamp file vapigen no longer generates.
Travis Reitter [Mon, 4 Jun 2012 15:04:15 +0000 (08:04 -0700)]
Enable all optional features when distchecking.
Travis Reitter [Mon, 4 Jun 2012 14:55:41 +0000 (07:55 -0700)]
Note InteractionDetails in NEWS.
Travis Reitter [Mon, 4 Jun 2012 14:56:12 +0000 (07:56 -0700)]
Add missing bullet in NEWS.
Jeremy Whiting [Wed, 13 Jun 2012 20:21:29 +0000 (14:21 -0600)]
Disable eds unit tests in distcheck target.
Seif Lotfy [Tue, 12 Jun 2012 20:35:02 +0000 (22:35 +0200)]
Fix bug number for last bug fix in NEWS
Jeremy Whiting [Tue, 12 Jun 2012 18:22:01 +0000 (12:22 -0600)]
Update mkdir macro to use autoconf version.
Seif Lotfy [Tue, 12 Jun 2012 18:04:44 +0000 (20:04 +0200)]
Update NEWS to inform about the new InteractionDetails
Jeremy Whiting [Tue, 12 Jun 2012 16:40:43 +0000 (10:40 -0600)]
Add bug number to comment about create_source_registry.
Jeremy Whiting [Tue, 12 Jun 2012 16:20:18 +0000 (10:20 -0600)]
Merge branch 'edsport'
Reviewed-by: Philip Withnall
Jeremy Whiting [Tue, 12 Jun 2012 15:49:27 +0000 (09:49 -0600)]
Add eds port description to NEWS file.
Jeremy Whiting [Tue, 12 Jun 2012 15:43:26 +0000 (09:43 -0600)]
Add comment about async create_source_registry method.
Jeremy Whiting [Tue, 12 Jun 2012 15:41:52 +0000 (09:41 -0600)]
Bump eds and ebook dependency versions.
Jeremy Whiting [Tue, 12 Jun 2012 14:48:54 +0000 (08:48 -0600)]
Add fixme comment to commented out tests in makefile.
Jeremy Whiting [Mon, 11 Jun 2012 15:49:09 +0000 (09:49 -0600)]
Fix items noted in bug https://bugzilla.gnome.org/show_bug.cgi?id=675121 comments.
Jeremy Whiting [Sat, 9 Jun 2012 00:14:24 +0000 (18:14 -0600)]
Use SourceRegistry.ref_source rather than iterate to find a source.
Jeremy Whiting [Sat, 9 Jun 2012 00:09:26 +0000 (18:09 -0600)]
Check for google not google: since backend name wont have a colon.
Jeremy Whiting [Fri, 8 Jun 2012 23:45:25 +0000 (17:45 -0600)]
Disable eds backend test while porting to new api.