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.
Jeremy Whiting [Fri, 8 Jun 2012 23:43:18 +0000 (17:43 -0600)]
Port folks eds backend to eds api changes.
Seif Lotfy [Tue, 12 Jun 2012 01:01:37 +0000 (03:01 +0200)]
Fixed reseting the individual interaction details upon connection
state changes in the Telepathy backend.
Seif Lotfy [Sat, 24 Mar 2012 11:02:25 +0000 (12:02 +0100)]
Added dummy test for the new individual properties for telepathy
Signed-off-by: Seif Lotfy <seif.lotfy@collabora.co.uk>
Siegfried-Angel Gevatter Pujals [Tue, 5 Jun 2012 08:46:31 +0000 (10:46 +0200)]
Fix typo in InteractionDetails comment
Fran Diéguez [Sun, 3 Jun 2012 00:25:06 +0000 (02:25 +0200)]
Updated Galician translations
Daniel Mustieles [Thu, 31 May 2012 10:11:35 +0000 (12:11 +0200)]
Updated Spanish translation
Travis Reitter [Wed, 30 May 2012 16:36:07 +0000 (09:36 -0700)]
Note bgo#627403 as fixed in NEWS.
Travis Reitter [Mon, 28 May 2012 18:02:26 +0000 (11:02 -0700)]
Clean up some bits related to bgo#627403
* make get_default_message_from_presence_type() return an unowned string
* add @param and @return lines to said function
* add presence-details.vala to translated files
Kjartan Maraas [Wed, 30 May 2012 11:28:58 +0000 (13:28 +0200)]
Updated Norwegian bokmål translation
Seif Lotfy [Wed, 23 May 2012 12:47:25 +0000 (14:47 +0200)]
Added new properties to the Telepathy backends.
The Telepathy backend requires Zeitgeist to pull its info.
Signed-off-by: Seif Lotfy <seif.lotfy@collabora.co.uk>
Seif Lotfy [Thu, 19 Apr 2012 00:24:05 +0000 (02:24 +0200)]
Add new properties to Individual and Persona:
Added new im_interaction_count and last_im_interaction_timestamp to Persona and Individual
Added new call_interaction_count and last_call_interaction_timestamp to Persona and Individual
Signed-off-by: Seif Lotfy <seif.lotfy@collabora.co.uk>
Signed-off-by: Seif Lotfy <seif@lotfy.com>
Yaron Shahrabani [Sat, 26 May 2012 05:08:17 +0000 (08:08 +0300)]
Initiated Hebrew translation.
Jeremy Whiting [Thu, 24 May 2012 20:31:40 +0000 (14:31 -0600)]
Bug 627402 Move default presence messages from Empathy to libfolks
Move presence string mapping into folks from gnome-contacts.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=627402
Marek Černocký [Wed, 23 May 2012 11:41:53 +0000 (13:41 +0200)]
Updated Czech translation
Xavier Claessens [Tue, 22 May 2012 14:15:43 +0000 (16:15 +0200)]
Update telepathy test lib copy
Xavier Claessens [Tue, 22 May 2012 14:12:41 +0000 (16:12 +0200)]
Use TpConnection::dup_contact_by_id_async()
No need to use C wrapper for that anymore
Xavier Claessens [Tue, 22 May 2012 12:52:14 +0000 (14:52 +0200)]
Bump telepathy-glib dep to 0.19.0
Kjartan Maraas [Sat, 19 May 2012 09:37:48 +0000 (11:37 +0200)]
Updated Norwegian bokmål translation
Andika Triwidada [Sat, 19 May 2012 04:07:38 +0000 (11:07 +0700)]
Added Indonesian translation
A S Alam [Wed, 16 May 2012 01:52:35 +0000 (07:22 +0530)]
update Punjabi Translaiton
A S Alam [Wed, 16 May 2012 01:49:28 +0000 (07:19 +0530)]
updated LINGUAS file for Punjabi (pa)
A S Alam [Wed, 16 May 2012 01:49:09 +0000 (07:19 +0530)]
added Punjabi (pa) Translation
Guillaume Desmottes [Mon, 14 May 2012 10:59:20 +0000 (12:59 +0200)]
Use tp-glib API version macros
https://bugzilla.gnome.org/show_bug.cgi?id=676021
Philip Withnall [Mon, 14 May 2012 23:21:46 +0000 (00:21 +0100)]
Bug 676023 — Invalid read when preparing the aggregator
Properly 0-terminate an array passed to tp_proxy_prepare_async().
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=676023
Ray Strode [Fri, 11 May 2012 16:03:50 +0000 (12:03 -0400)]
Fix build
commit
9b5b7798fee20b88cab2cf78f43b4843aa8718a2 resynced
the unit test lib from tp-glib. Unfortunately, it broke
the build because util.h is in a slightly different place
on disk.
This commit updates the #include line to fix the build again.
Xavier Claessens [Thu, 10 May 2012 07:53:10 +0000 (09:53 +0200)]
Add missing files
Xavier Claessens [Wed, 9 May 2012 10:08:03 +0000 (12:08 +0200)]
Update tp-glib copy of unit test lib
Xavier Claessens [Wed, 9 May 2012 10:03:41 +0000 (12:03 +0200)]
Cleanup previous commit
Xavier Claessens [Mon, 30 Apr 2012 15:48:51 +0000 (17:48 +0200)]
TpfPersonaStore: Immediately call _reset() when disconnected
Otherwise we get weak-notify for each TpContact when TpConnection
unref them.
https://bugzilla.gnome.org/show_bug.cgi?id=675141
Xavier Claessens [Mon, 30 Apr 2012 15:47:38 +0000 (17:47 +0200)]
TpfPersonaStore::_load_cache(): use _add_persona()
https://bugzilla.gnome.org/show_bug.cgi?id=675141
Philip Withnall [Sun, 29 Apr 2012 10:55:53 +0000 (11:55 +0100)]
core: Fix some whitespace problems in PotentialMatch
Marek Černocký [Fri, 4 May 2012 17:35:24 +0000 (19:35 +0200)]
Updated Czech translation
Matej Urbančič [Fri, 4 May 2012 11:51:51 +0000 (13:51 +0200)]
Updated Slovenian translation
Philip Withnall [Thu, 3 May 2012 21:48:18 +0000 (22:48 +0100)]
Bug 675292 — Assertion when joining IRC channel
Correctly initialise Tpf.PersonaStore._favourite_ids on store construction,
rather than on preparation. This prevents it being null at inopportune times.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=675292
Philip Withnall [Thu, 3 May 2012 22:16:53 +0000 (23:16 +0100)]
tests: Re-fix compiler warnings in textchan-null.c
Still need to get them upstreamed to telepathy-glib.
Guillaume Desmottes [Tue, 1 May 2012 06:03:59 +0000 (08:03 +0200)]
persona-store-cache: don't create empty field details
https://bugzilla.gnome.org/show_bug.cgi?id=675211
Xavier Claessens [Wed, 2 May 2012 14:51:22 +0000 (16:51 +0200)]
Update copy of textchan-null.c from tp-glib
This aboid deprecation warnings
Guillaume Desmottes [Mon, 30 Apr 2012 13:26:40 +0000 (15:26 +0200)]
Merge branch 'folks-0-6'
Conflicts:
NEWS
configure.ac
Guillaume Desmottes [Mon, 30 Apr 2012 12:49:39 +0000 (14:49 +0200)]
tpf-persona: ignore empty email or phone number
The interface implementation raises an error if we pass it an empty value.
https://bugzilla.gnome.org/show_bug.cgi?id=675144
Guillaume Desmottes [Mon, 30 Apr 2012 13:09:13 +0000 (15:09 +0200)]
Raise a debug message rather than a warning when failing to parse bday field
There is no much we can't do if other clients didn't respect the vCard spec.
https://bugzilla.gnome.org/show_bug.cgi?id=675155
Philip Withnall [Mon, 23 Apr 2012 23:02:43 +0000 (00:02 +0100)]
Bug 663890 — @throws annotations missing for some functions
Add missing ‘@throws’ annotations to various public methods.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=663890
Daniel Mustieles [Wed, 25 Apr 2012 09:57:29 +0000 (11:57 +0200)]
Updated Spanish translation
Fran Diéguez [Mon, 23 Apr 2012 22:53:11 +0000 (00:53 +0200)]
Updated Galician translations
Philip Withnall [Mon, 23 Apr 2012 13:38:36 +0000 (14:38 +0100)]
core: Use intltool 0.50’s enhanced GSettings support
This bumps our intltool dependency to 0.50.0, but means we can simplify the
build for GSettings schemas.
See: https://bugzilla.gnome.org/show_bug.cgi?id=647909
Raul Gutierrez Segales [Fri, 16 Sep 2011 14:15:03 +0000 (15:15 +0100)]
core: Port to GSettings
Drops our dependency on GConf, but bumps our GLib dependency to 2.26.0.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=647909