Philip Withnall [Thu, 4 Oct 2012 07:30:25 +0000 (08:30 +0100)]
core: Fix comparison of updated local IDs
We should be comparing a set of strings, not a set of AbstractFieldDetails.
This fixes a crash in the link-personas-via-local-ids Tracker test.
Philip Withnall [Wed, 3 Oct 2012 23:50:38 +0000 (00:50 +0100)]
tests: Fix creation/deletion of E.Sources in EDS test backend
The E.Sources for testing were being created by calling `cp` in the wrapper
script running around the entire test suite. However, each test case was
tearing down the E.Sources by deleting them. This meant that no E.Source
existed for anything except the first test case in a given test suite.
The fix is to move the file copying inside the test suite’s setup method.
Marc-Antoine Perennou [Tue, 2 Oct 2012 20:33:31 +0000 (22:33 +0200)]
build: fix disabling telepathy backend
fixes
855803a62b3a89ddb3c6abd3fa316d80cd036baf
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
Philip Withnall [Fri, 28 Sep 2012 17:27:27 +0000 (18:27 +0100)]
Bug 684954 — Debug message claim that Individual are created with no personas
Fix the debug message in the Individual constructor.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=684954
Seif Lotfy [Tue, 11 Sep 2012 10:10:40 +0000 (12:10 +0200)]
telepathy: Update behaviour of Zeitgeist properties
Counter works for last 30 days instead of all time since it can
mess up calculations easily.
Reduce query size to Zeitgeist since events are filtered in the
Persona class.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=672709 (again)
Philip Withnall [Sat, 8 Sep 2012 22:32:32 +0000 (23:32 +0100)]
telepathy: Always notify of persona changes when disconnecting
This reverts commit
af500a4bd9fe88ae9f3832a37e19a86a4273ba5d and applies
a different fix. The problem was that persona changes could get away without
being notified when disconnecting due to an account being disabled. This
is because, after storing the cache, an additional check is performed for
whether the account was enabled. If it is, the cache is loaded (and persona
changes notified). If not, the cache is not loaded, *and persona changes
were not notified*.
This situation could occur when a Telepathy account is disabled:
1. _notify_connection_cb() is called, but the TpAccount::enabled property
is still true.
2. While in store_cache(), the TpAccount::enabled property goes false.
3. The check before load_cache() would fail, so load_cache() would never
be called.
Similarly, it could occur when a Telepathy account is removed, with
TpAccountManager:account-removed being emitted while in store_cache().
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=683390
Philip Withnall [Mon, 24 Sep 2012 16:05:49 +0000 (17:05 +0100)]
individual-aggregator: Clarify that is-quiescent never changes true → false
Nishio Futoshi [Mon, 24 Sep 2012 15:03:31 +0000 (00:03 +0900)]
[l10n] Add Japanese translation
Rūdolfs Mazurs [Sun, 23 Sep 2012 14:48:49 +0000 (17:48 +0300)]
Updated Latvian translation
Mario Blättermann [Sun, 23 Sep 2012 11:13:00 +0000 (13:13 +0200)]
[l10n] Updated German translation
Ihar Hrachyshka [Sun, 23 Sep 2012 10:16:03 +0000 (13:16 +0300)]
Updated Belarusian translation.
Ani Peter [Thu, 20 Sep 2012 16:23:20 +0000 (21:53 +0530)]
Updated Malayalam file
Seong-ho Cho [Sun, 23 Sep 2012 06:44:33 +0000 (15:44 +0900)]
Updated Korean translation
Carles Ferrando [Sat, 22 Sep 2012 22:56:12 +0000 (00:56 +0200)]
[l10n]Added Catalan (Valencian) translation
Gil Forcada [Sat, 22 Sep 2012 22:55:26 +0000 (00:55 +0200)]
[l10n] Added Catalan translation
Philip Withnall [Fri, 21 Sep 2012 14:19:46 +0000 (15:19 +0100)]
individual: Clarify that Individuals must contain at least one Persona
Shankar Prasad [Fri, 21 Sep 2012 07:13:16 +0000 (12:43 +0530)]
Updated kn translation
Gabor Kelemen [Thu, 20 Sep 2012 13:14:31 +0000 (15:14 +0200)]
Add hu to LINGUAS
Gabor Kelemen [Thu, 20 Sep 2012 13:14:05 +0000 (15:14 +0200)]
Added Hungarian translation
Rajesh Ranjan [Thu, 20 Sep 2012 07:44:02 +0000 (13:14 +0530)]
hindi updated file by Chandan Kumar
A S Alam [Wed, 19 Sep 2012 14:51:38 +0000 (20:21 +0530)]
update Punjabi Translation
Dr.T.Vasudevan [Wed, 19 Sep 2012 11:56:08 +0000 (17:26 +0530)]
added Tamil translation
Dr.T.Vasudevan [Wed, 19 Sep 2012 11:43:48 +0000 (17:13 +0530)]
Added ta translation
Dr.T.Vasudevan [Wed, 19 Sep 2012 11:41:52 +0000 (17:11 +0530)]
Updated Tamil translation
Gianvito Cavasoli [Wed, 19 Sep 2012 11:37:41 +0000 (13:37 +0200)]
[l10n] Updated Italian translation.
Marek Černocký [Wed, 19 Sep 2012 11:18:59 +0000 (13:18 +0200)]
Updated Czech translation
Philip Withnall [Tue, 18 Sep 2012 15:49:32 +0000 (16:49 +0100)]
Bug 684014 — A few outstanding issues in the internationalisation
Add/Expand some translator comments in the EDS backend.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=684014
Djavan Fagundes [Tue, 18 Sep 2012 02:05:12 +0000 (23:05 -0300)]
Updated Brazilian Portuguese translation
Djavan Fagundes [Tue, 18 Sep 2012 01:57:03 +0000 (22:57 -0300)]
Updated Brazilian Portuguese translation
Chris Leonard [Mon, 17 Sep 2012 19:26:55 +0000 (20:26 +0100)]
Updated British English translation
Yuri Myasoedov [Mon, 17 Sep 2012 16:43:21 +0000 (20:43 +0400)]
Updated Russian translation
Ani Peter [Mon, 17 Sep 2012 14:13:41 +0000 (19:43 +0530)]
Updated Malayalam file
Kenneth Nielsen [Sun, 16 Sep 2012 12:52:12 +0000 (14:52 +0200)]
Updated Danish translation
Kenneth Nielsen [Sun, 16 Sep 2012 12:52:12 +0000 (14:52 +0200)]
Added da to list of languages
Seong-ho Cho [Sun, 16 Sep 2012 08:13:10 +0000 (17:13 +0900)]
Added Korean translation
Chao-Hsiung Liao [Sat, 15 Sep 2012 04:45:17 +0000 (12:45 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Мирослав Николић [Fri, 14 Sep 2012 07:38:20 +0000 (09:38 +0200)]
Updated Serbian translation
Sweta Kothari [Fri, 14 Sep 2012 06:01:34 +0000 (11:31 +0530)]
Updated gujarati file
Aurimas Černius [Thu, 13 Sep 2012 19:48:55 +0000 (22:48 +0300)]
Updated Lithuanian translation
Shankar Prasad [Thu, 13 Sep 2012 12:29:55 +0000 (17:59 +0530)]
Updated kn translation
Shankar Prasad [Thu, 13 Sep 2012 12:26:57 +0000 (17:56 +0530)]
Updated kn translation
Alexandre Franke [Thu, 13 Sep 2012 10:50:27 +0000 (12:50 +0200)]
Update French translation
Shankar Prasad [Thu, 13 Sep 2012 08:51:26 +0000 (14:21 +0530)]
Updated kn translation
Tom Tryfonidis [Thu, 13 Sep 2012 02:02:26 +0000 (05:02 +0300)]
Updated Greek translation
Matej Urbančič [Wed, 12 Sep 2012 11:25:36 +0000 (13:25 +0200)]
Updated Slovenian translation
Daniel Mustieles [Wed, 12 Sep 2012 09:20:07 +0000 (11:20 +0200)]
Updated Spanish translation
Nilamdyuti Goswami [Wed, 12 Sep 2012 09:04:51 +0000 (14:34 +0530)]
Assamese translation updated
Sandeep Sheshrao Shedmake [Wed, 12 Sep 2012 08:27:14 +0000 (13:57 +0530)]
Updated Marathi Translations
Fran Diéguez [Wed, 12 Sep 2012 00:02:41 +0000 (02:02 +0200)]
Updated Galician translations
Andika Triwidada [Tue, 11 Sep 2012 23:30:39 +0000 (06:30 +0700)]
Updated Indonesian translation
Jeremy Whiting [Tue, 11 Sep 2012 23:00:33 +0000 (17:00 -0600)]
Added changes in 0.7.4.1 to NEWS file.
Jeremy Whiting [Tue, 11 Sep 2012 22:58:01 +0000 (16:58 -0600)]
Post release bump in configure.ac
Jeremy Whiting [Tue, 11 Sep 2012 22:12:57 +0000 (16:12 -0600)]
Bump release and update the fields for the release correctly.
Piotr Drąg [Tue, 11 Sep 2012 22:19:13 +0000 (00:19 +0200)]
Updated Polish translation
Duarte Loreto [Tue, 11 Sep 2012 22:19:37 +0000 (23:19 +0100)]
Updated Portuguese translation
Jeremy Whiting [Tue, 11 Sep 2012 21:45:11 +0000 (15:45 -0600)]
Post release 0.7.4 changes.
Added NEWS section
Reset release bit and bump version to 0.7.4.1 for now
Jeremy Whiting [Tue, 11 Sep 2012 21:25:56 +0000 (15:25 -0600)]
Merge branch '0.7.4-release'
Jeremy Whiting [Tue, 11 Sep 2012 19:43:40 +0000 (13:43 -0600)]
telepathy: Fix individual-properties unit test, always emit notify for
full-name and urls.
Nilamdyuti Goswami [Tue, 11 Sep 2012 14:52:31 +0000 (20:22 +0530)]
Assamese translation updated
Jeremy Whiting [Tue, 11 Sep 2012 14:28:02 +0000 (08:28 -0600)]
telepathy: Fix WeakRef ambiguity.
Jeremy Whiting [Mon, 10 Sep 2012 21:43:12 +0000 (15:43 -0600)]
Add individual to translation files.
Jeremy Whiting [Mon, 10 Sep 2012 20:54:47 +0000 (14:54 -0600)]
.stamp file not needed for internal c only library.
Jeremy Whiting [Mon, 10 Sep 2012 20:54:25 +0000 (14:54 -0600)]
Bump version numbers and set release flag.
Jeremy Whiting [Mon, 10 Sep 2012 19:21:33 +0000 (13:21 -0600)]
Change UNRELEASED to 0.7.4 for release.
Philip Withnall [Sat, 8 Sep 2012 22:56:36 +0000 (23:56 +0100)]
telepathy: Handle connections disappearing during a ‘yield’ while connecting
It seems it’s possible for the TpConnection to disconnect while in an async
function call below the _notify_connection_cb(). Handle this possibility
gracefully, rather than exploding.
Note: This fix is basically a guess. The crash can’t be reproduced, and
no debug output was available from folks for the crash.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=683093
Fran Diéguez [Mon, 10 Sep 2012 13:07:27 +0000 (15:07 +0200)]
Updated Galician translations
Marek Černocký [Sun, 9 Sep 2012 05:42:06 +0000 (07:42 +0200)]
Updated Czech translation
Aurimas Černius [Fri, 7 Sep 2012 17:23:26 +0000 (20:23 +0300)]
Updated Lithuanian translation
Yuri Myasoedov [Fri, 7 Sep 2012 16:49:08 +0000 (20:49 +0400)]
Updated Russian translation
Ihar Hrachyshka [Fri, 7 Sep 2012 15:15:47 +0000 (18:15 +0300)]
Updated Belarusian translation.
Jeremy Whiting [Fri, 7 Sep 2012 15:06:51 +0000 (09:06 -0600)]
Merge branch 'emit-notification'
Reviewed-by: Philip Withnall
Jeremy Whiting [Thu, 6 Sep 2012 23:06:52 +0000 (17:06 -0600)]
core: Added emit_notification parameter to _update methods.
telepathy: Added emit_notification parameter to lazy load _update methods.
eds: Added emit_notification parameter to lazy load _update methods.
Fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=683267
Matej Urbančič [Fri, 7 Sep 2012 13:12:48 +0000 (15:12 +0200)]
Updated Slovenian translation
Guillaume Desmottes [Thu, 6 Sep 2012 12:26:33 +0000 (14:26 +0200)]
tpf-persona-store: call _emit_personas_changed() when reseting _persona_set
We need to notify when we reset the persona set.
https://bugzilla.gnome.org/show_bug.cgi?id=683390
Signed-off-by: Jeremy Whiting <jpwhiting@kde.org>
Christian Kirbach [Thu, 6 Sep 2012 21:00:24 +0000 (23:00 +0200)]
Updated German translation
Мирослав Николић [Thu, 6 Sep 2012 20:49:07 +0000 (22:49 +0200)]
Updated Serbian translation
Jeremy Whiting [Thu, 6 Sep 2012 20:14:02 +0000 (14:14 -0600)]
Merge branch 'command-set'
Reviewed-by: Philip Withnall
Jeremy Whiting [Wed, 8 Aug 2012 19:48:40 +0000 (13:48 -0600)]
inspect: Add set command with set alias capability.
Matej Urbančič [Thu, 6 Sep 2012 19:38:50 +0000 (21:38 +0200)]
Updated Slovenian translation
Daniel Mustieles [Thu, 6 Sep 2012 16:25:31 +0000 (18:25 +0200)]
Updated Spanish translation
Alexandre Franke [Thu, 6 Sep 2012 14:48:50 +0000 (16:48 +0200)]
Update French translation
Arash Mousavi [Thu, 6 Sep 2012 11:38:19 +0000 (16:08 +0430)]
l10n: Added Persian translation
Andika Triwidada [Thu, 6 Sep 2012 08:49:55 +0000 (15:49 +0700)]
Updated Indonesian translation
Philip Withnall [Thu, 6 Sep 2012 06:40:27 +0000 (07:40 +0100)]
Bug 683452 — gnome-contacts starts up with an empty address book
Edsf.Persona.is_google_personal_group and .is_favourite can both be set by
the _update_groups() method. Groups must be lazily initialised when
accessing these properties, therefore.
Based on a patch by Giovanni Campagna <scampa.giovanni@gmail.com>.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=683452
Jeremy Whiting [Thu, 6 Sep 2012 00:01:03 +0000 (18:01 -0600)]
Bump vala required version.
Philip Withnall [Tue, 28 Aug 2012 20:48:10 +0000 (21:48 +0100)]
Bug 681726 — empathy crashed with SIGABRT in g_assertion_message()
Handle the case where calling a change_prop() method on an Individual
doesn’t find a suitable Persona to change the property on. Previously, the
code assumed that not successfully changing the property meant an error
must’ve been set. This was obviously wrong.
This patch changes it to only try and throw an error if an error has actually
been set. If no suitable Personas exist to write a property change to, the
property change will fail with PropertyError.NOT_WRITEABLE.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=681726
Piotr Drąg [Wed, 5 Sep 2012 23:37:56 +0000 (01:37 +0200)]
Updated Polish translation
Philip Withnall [Sun, 2 Sep 2012 20:20:31 +0000 (21:20 +0100)]
telepathy: Clarify nullability of Tpf.PersonaStore._conn
Philip Withnall [Sun, 2 Sep 2012 20:18:18 +0000 (21:18 +0100)]
telepathy: Correctly maintain strong refs on TpContacts in property accessors
While performing operations on a TpContact’s properties, folks should hold
a strong ref on the TpContact (even if it doesn’t normally hold one).
This expands on commit
b251bcb92a343b051e62d458b66de4a9d3011f82 to fix folks
to correctly hold a strong reference in such situations.
This also fixes a potential bug where changing a Tpf.Persona’s groups while
the persona was being served out of the cache would cause a crash (null
pointer dereference).
This adds the following new API:
• PropertyError.UNAVAILABLE
See: https://bugzilla.gnome.org/show_bug.cgi?id=680335
Philip Withnall [Sun, 2 Sep 2012 19:56:44 +0000 (20:56 +0100)]
telepathy: Fix a race condition in the handling of weak refs to TpContacts
Use a WeakRef to maintain the pointer to a TpContact in Tpf.Persona,
rather than g_object_weak_[un]ref() and manually nullifying the pointer.
See the comments in bug #680335 for a full explanation.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=680335
Jeremy Whiting [Wed, 5 Sep 2012 22:36:15 +0000 (16:36 -0600)]
Added bugfix to NEWS.
Jeremy Whiting [Wed, 5 Sep 2012 22:34:23 +0000 (16:34 -0600)]
Merge branch 'inspect-linking'
Reviewed-by: Philip Withnall
Philip Withnall [Tue, 4 Sep 2012 23:41:22 +0000 (00:41 +0100)]
Bug 683319 — Crash in individual-aggregator: _personas_changed_cb
Keep a reference to the Tpf.PersonaStore’s self persona when emitting
a ‘personas changed’ notification about it, so that it doesn’t get unset
in the store’s member variable in the mean time, resulting in a null persona
being emitted in the ‘personas changed’ signal.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=683319
Bruce Cowan [Wed, 5 Sep 2012 14:04:14 +0000 (15:04 +0100)]
Updated British English translation
Xavier Claessens [Wed, 5 Sep 2012 08:33:19 +0000 (10:33 +0200)]
Fix build error
Jeremy Whiting [Fri, 3 Aug 2012 21:23:11 +0000 (15:23 -0600)]
inspect: Make Command.run async.
inspect: Make linking folks-inspect command run not return until done.
Piotr Drąg [Sun, 2 Sep 2012 21:13:33 +0000 (23:13 +0200)]
Updated Polish translation
Philip Withnall [Tue, 28 Aug 2012 23:04:31 +0000 (00:04 +0100)]
Bug 682719 — eds test fails to compile
Don’t use deprecated EDS API in the EDS tests. The replacement API doesn’t
require a dependency version bump.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=682719
Philip Withnall [Tue, 28 Aug 2012 23:23:40 +0000 (00:23 +0100)]
core: Only emit notifications for multi-valued properties when necessary
Previously, notifications were emitted whenever a related Persona’s property
changed, even if it had no effect on the Individual’s property. This was
causing infinite loops of notifications-then-getters-being-called in some
of the EDS tests. Bad.
This is fixed by only emitting notifications on Individuals’ multi-valued
properties if the properties have actually changed. Of course, this
requires lots of copying and pasting the same code because Vala doesn’t
have a preprocessor and delegates aren’t up to the job. Sigh.
See: https://bugzilla.gnome.org/show_bug.cgi?id=682809
Philip Withnall [Mon, 27 Aug 2012 12:27:22 +0000 (13:27 +0100)]
core: Tidy up multi-valued property update functions
Create a new _update_multi_valued_property() helper function and
corresponding delegates, to mirror the existing
_update_single_valued_property() helper.
This new function is now used for most multi-valued property updaters in
Individual. It’s not used for groups, because they have weird signalling.