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
Philip Withnall [Sat, 21 Apr 2012 23:35:56 +0000 (00:35 +0100)]
telepathy: Remove extraneous whitespace from a warning string
Philip Withnall [Sat, 21 Apr 2012 23:35:00 +0000 (00:35 +0100)]
core: Don’t leak file contents when loading key-files
Vala’s ‘*’ operator requires explicit memory management. It’s better that
we avoid using it at all.
Philip Withnall [Tue, 17 Apr 2012 15:11:18 +0000 (16:11 +0100)]
Bug 674256 — telepathy-glib minimal version is insufficient
Bump the minimum telepathy-glib dependency to 0.17.5 for
tp_connection_disconnect_async().
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=674256
Philip Withnall [Tue, 17 Apr 2012 15:11:18 +0000 (16:11 +0100)]
Bug 674256 — telepathy-glib minimal version is insufficient
Bump the minimum telepathy-glib dependency to 0.17.5 for
tp_connection_disconnect_async().
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=674256
Philip Withnall [Tue, 17 Apr 2012 11:56:11 +0000 (12:56 +0100)]
eds: Don’t try and remove a non-existent timeout source
In the case that the modify_contact() call fails, timeout_id will equal 0,
and GLib will complain when we try to remove it in the finally{} block.
Philip Withnall [Tue, 17 Apr 2012 12:29:02 +0000 (13:29 +0100)]
Post-release version bump
Philip Withnall [Tue, 17 Apr 2012 12:27:37 +0000 (13:27 +0100)]
Release version 0.7.0
Philip Withnall [Tue, 17 Apr 2012 11:56:11 +0000 (12:56 +0100)]
eds: Don’t try and remove a non-existent timeout source
In the case that the modify_contact() call fails, timeout_id will equal 0,
and GLib will complain when we try to remove it in the finally{} block.
Philip Withnall [Tue, 17 Apr 2012 11:45:53 +0000 (12:45 +0100)]
telepathy: Convert another logger warning to a debug message
Philip Withnall [Mon, 16 Apr 2012 14:39:37 +0000 (15:39 +0100)]
eds: Add an extra timeout to the EDS tests to ensure the main loop’s empty
This is a horrible hack for which I should probably be shot. I just want to
make the release. Please don’t judge me.
The tests all need to be rearchitected to no longer rely on timers everywhere
anyway.
Philip Withnall [Mon, 16 Apr 2012 17:12:30 +0000 (18:12 +0100)]
telepathy: Change the logger warning to a debug message
It’s quite legitimate for no logger to be running, and users will get an
error when they try to change the favourite status of a contact anyway.
Philip Withnall [Mon, 16 Apr 2012 17:11:31 +0000 (18:11 +0100)]
telepathy: Only allow is-favourite to be writeable if the logger initialised
This prevents setting favourites falling into a black hole.
Philip Withnall [Mon, 26 Mar 2012 15:58:50 +0000 (16:58 +0100)]
telepathy: Correctly advertise the writeability of alias and group properties
Previously, Tpf.Personas were always advertising aliases and groups as
being writeable properties, when they're actually not writeable for
Facebook XMPP connections.
Aliases were previously not writeable in the Telepathy fake CM (so the test
was previously in error), but they’re now writeable, so everything’s fine.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=671662
Philip Withnall [Mon, 26 Mar 2012 15:21:56 +0000 (16:21 +0100)]
telepathy: Fix notification of is-favourite changes
This ensures that the UI reflects errors in changing the is-favourite status
of a Tpf.Persona, rather than just blindly assuming they succeed.
Philip Withnall [Mon, 26 Mar 2012 14:07:31 +0000 (15:07 +0100)]
telepathy: Make group changes truly asynchronous and report errors properly
Take advantage of GroupDetails.change_group() being async, and wait for the
underlying Telepathy operation to complete before returning from it. This
allows us to propagate errors properly, rather than just printing
them as warnings on the terminal.
This also includes changes to not notify of changes to Tpf.Persona.groups
until Telepathy has notified us of the change. This should prevent groups
changing in the UI if the underlying operation has actually failed.
Helps: https://bugzilla.gnome.org/show_bug.cgi?id=671662
Philip Withnall [Mon, 26 Mar 2012 14:00:49 +0000 (15:00 +0100)]
telepathy: Remove some unused internal signals
Philip Withnall [Mon, 26 Mar 2012 13:56:21 +0000 (14:56 +0100)]
telepathy: Make alias changes truly asynchronous and report errors properly
Take advantage of AliasDetails.change_alias() being async, and wait for the
underlying Telepathy operation to complete before returning from it. This
allows us to propagate errors properly, rather than just printing them as
warnings on the terminal.
This also includes changes to not notify of changes to Tpf.Persona.alias
until Telepathy has notified us of the change. This should prevent aliases
changing in the UI if the underlying operation has actually failed.
Helps: https://bugzilla.gnome.org/show_bug.cgi?id=671662
Xavier Claessens [Tue, 17 Apr 2012 10:56:03 +0000 (12:56 +0200)]
Sync contacts-conn.c from tp-glib
Now implementing SetAliases
Philip Withnall [Mon, 16 Apr 2012 17:01:42 +0000 (18:01 +0100)]
Post-release version bump
Philip Withnall [Mon, 16 Apr 2012 17:00:11 +0000 (18:00 +0100)]
Release version 0.6.9
Philip Withnall [Wed, 28 Mar 2012 13:46:34 +0000 (14:46 +0100)]
Bug 658576 — Need API to get a FolksIndividual from his ID
Add an IndividualAggregator.look_up_individual() method which currently just
looks up in the map from IDs to individuals. In future, however, this method
will also ensure all properties of that individual have been loaded if the
aggregator has otherwise not lazy-loaded properties. (See: bgo#648805.)
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=658576
Philip Withnall [Mon, 16 Apr 2012 14:39:37 +0000 (15:39 +0100)]
eds: Add an extra timeout to the EDS tests to ensure the main loop’s empty
This is a horrible hack for which I should probably be shot. I just want to
make the release. Please don’t judge me.
The tests all need to be rearchitected to no longer rely on timers everywhere
anyway.
Fran Diéguez [Sat, 14 Apr 2012 12:07:04 +0000 (14:07 +0200)]
Updated Galician translations
Matej Urbančič [Sat, 14 Apr 2012 07:57:52 +0000 (09:57 +0200)]
Updated Slovenian translation
Daniel Mustieles [Fri, 13 Apr 2012 15:32:55 +0000 (17:32 +0200)]
Updated Spanish translation
Xavier Claessens [Fri, 13 Apr 2012 14:39:52 +0000 (16:39 +0200)]
TpfPersonaStore: fix indentation
Xavier Claessens [Wed, 11 Apr 2012 19:39:44 +0000 (21:39 +0200)]
TpfPersonaStore: do not reset _favourite_ids at each reconnect
https://bugzilla.gnome.org/show_bug.cgi?id=630822
Xavier Claessens [Tue, 10 Apr 2012 15:28:21 +0000 (17:28 +0200)]
Add back TpContact features
This is for backward compatibility
https://bugzilla.gnome.org/show_bug.cgi?id=630822
Xavier Claessens [Tue, 10 Apr 2012 15:05:19 +0000 (17:05 +0200)]
TpfPersonaStore: return null in add_persona_from_details() if persona is already in contact list
https://bugzilla.gnome.org/show_bug.cgi?id=630822
Xavier Claessens [Tue, 10 Apr 2012 15:04:07 +0000 (17:04 +0200)]
TpfPersonaStore: throw PersonaStoreError if an error occure while removing the contact
https://bugzilla.gnome.org/show_bug.cgi?id=630822
Xavier Claessens [Tue, 10 Apr 2012 15:01:29 +0000 (17:01 +0200)]
TpfPersona: throw PropertyError when an error occure changing group membership
https://bugzilla.gnome.org/show_bug.cgi?id=630822
Xavier Claessens [Tue, 10 Apr 2012 14:58:27 +0000 (16:58 +0200)]
TpfPersonaStore: freeze/thaw notify signals when changing connection
https://bugzilla.gnome.org/show_bug.cgi?id=630822
Xavier Claessens [Tue, 10 Apr 2012 14:57:09 +0000 (16:57 +0200)]
TpfPersonaStore: remove the store if connection does not implement ContactList
https://bugzilla.gnome.org/show_bug.cgi?id=630822
Xavier Claessens [Tue, 10 Apr 2012 14:54:21 +0000 (16:54 +0200)]
TpfPersonaStore: warn on error initialising tp logger
https://bugzilla.gnome.org/show_bug.cgi?id=630822
Xavier Claessens [Tue, 10 Apr 2012 14:53:13 +0000 (16:53 +0200)]
TpfPersonaStore: disconnect signals in _reset
https://bugzilla.gnome.org/show_bug.cgi?id=630822
Xavier Claessens [Tue, 10 Apr 2012 13:55:48 +0000 (15:55 +0200)]
Various coding style fixes, add comments and debug()
https://bugzilla.gnome.org/show_bug.cgi?id=630822
Xavier Claessens [Tue, 10 Apr 2012 13:15:07 +0000 (15:15 +0200)]
Add internal TpfPersona._set_is_favourite
https://bugzilla.gnome.org/show_bug.cgi?id=630822
Xavier Claessens [Fri, 30 Mar 2012 08:19:37 +0000 (10:19 +0200)]
Port TpfPersonaStore to high-level tp-glib APIs
It now uses Connection.ContactList iface instead of deprecated
ContactList channels.
Note that this introduce an important behaviour change: folks will
no longer pull all TpContact features, but rely on the user to define
features needed on the default AM's factory.
https://bugzilla.gnome.org/show_bug.cgi?id=630822
Gianvito Cavasoli [Fri, 6 Apr 2012 15:18:45 +0000 (17:18 +0200)]
[l10n] Added Italian translation
Xavier Claessens [Fri, 30 Mar 2012 08:19:32 +0000 (10:19 +0200)]
Test: disconnect individuals_changed signal to avoid race
Otherwise, deleting the 2nd account runs the mainloop and could make
the aggregator realize the 1st account got removed and start removing
its individuals.
Xavier Claessens [Fri, 30 Mar 2012 07:41:07 +0000 (09:41 +0200)]
Tests: TpConnectionStatus can also be CONNECTING
Xavier Claessens [Wed, 28 Mar 2012 14:06:31 +0000 (16:06 +0200)]
Tests: terminate DBus trafic with the connection before removing its account
Otherwise unit tests gets racy.
Philip Withnall [Wed, 28 Mar 2012 13:18:28 +0000 (14:18 +0100)]
tests: Fix some C warnings in the Telepathy tests library
Xavier Claessens [Wed, 28 Mar 2012 11:29:50 +0000 (13:29 +0200)]
Tests: fix a race condition
It is not guaranteed that individuals_changed and individuals_changed_detailed
signals will have the individuals in the same order.
Xavier Claessens [Tue, 27 Mar 2012 16:05:12 +0000 (18:05 +0200)]
Tests: port to verbatim copy of tp-glib files
Xavier Claessens [Tue, 27 Mar 2012 15:13:50 +0000 (17:13 +0200)]
Tests: Change namespace to TpTests instead of TpTest
Files from telepathy-glib are in TpTests namespace, so this
will facilitate copying verbatim copy.
Xavier Claessens [Tue, 27 Mar 2012 10:49:32 +0000 (12:49 +0200)]
TpTestBackend: Make sure DBus trafic is done in tear_down
Xavier Claessens [Mon, 26 Mar 2012 12:09:55 +0000 (14:09 +0200)]
Make sure unit cache tests are not messing the user's cache
XDG_CACHE_HOME must be set before the first call of g_get_user_cache_dir().
The problem is g_file_new_for_path() actually ends to a call to
g_get_user_cache_dir() somewhere in gvfs, so ensure we set the env before
that.
Xavier Claessens [Mon, 26 Mar 2012 08:54:56 +0000 (10:54 +0200)]
Increase quiescent timeout to 30s
5s is too optimistical, it can easily take longer when printing debug
messages on terminal (unit test failing because of this) or even in real
world usage if system is a bit on load.
Guillaume Desmottes [Wed, 28 Mar 2012 09:22:28 +0000 (11:22 +0200)]
tpf-persona: use tp_connection_get_account()
telepathy-glib introduced API to get the TpAccount of a TpConnection so Folks
doesn't have to do it manually.
This has the nice side effect of fixing a crash when TpAccount/TpConnection
are momentary out of sync while connecting/disconnecting accounts.
https://bugzilla.gnome.org/show_bug.cgi?id=672980
Piotr Drąg [Tue, 27 Mar 2012 19:33:59 +0000 (21:33 +0200)]
Updated Polish translation
Fran Diéguez [Tue, 27 Mar 2012 10:39:25 +0000 (12:39 +0200)]
Updated Galician translations
Daniel Mustieles [Tue, 27 Mar 2012 08:44:42 +0000 (10:44 +0200)]
Updated Spanish translation
Philip Withnall [Mon, 26 Mar 2012 22:29:32 +0000 (23:29 +0100)]
Post-release version bump
Philip Withnall [Mon, 26 Mar 2012 22:20:32 +0000 (23:20 +0100)]
Release version 0.6.8
Philip Withnall [Mon, 26 Mar 2012 22:19:26 +0000 (23:19 +0100)]
telepathy: Add a couple of debug messages
Philip Withnall [Mon, 26 Mar 2012 21:03:30 +0000 (22:03 +0100)]
tests: Fix potential match tests in Tracker backend
The recent changes to name matching broke the incrementing of match levels
depended on by the tests. Fix that.
Philip Withnall [Mon, 26 Mar 2012 21:02:27 +0000 (22:02 +0100)]
eds: Remove Vala 0.14 code from EDS backend
Now that we depend on Vala 0.15 unconditionally, we don't need the Vala 0.14
versions of things.
Philip Withnall [Mon, 26 Mar 2012 20:23:50 +0000 (21:23 +0100)]
libsocialweb: Fix the tests to work with libsocialweb 0.25.20
This bumps our libsocialweb dependency to 0.25.20 since that's the first
release to include the s/com.meego/org.gnome/ D-Bus path change.
Philip Withnall [Mon, 26 Mar 2012 19:16:00 +0000 (20:16 +0100)]
telepathy: Handle null account managers
This can occur in the tests when using persona stores which haven't been
prepare()d at all.
Matej Urbančič [Mon, 26 Mar 2012 19:01:49 +0000 (21:01 +0200)]
Updated Slovenian translation