platform/upstream/folks.git
12 years agocore: Fix comparison of updated local IDs
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.

12 years agotests: Fix creation/deletion of E.Sources in EDS test backend
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.

12 years agobuild: fix disabling telepathy backend
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>
12 years agoBug 684954 — Debug message claim that Individual are created with no personas
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

12 years agotelepathy: Update behaviour of Zeitgeist properties
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)

12 years agotelepathy: Always notify of persona changes when disconnecting
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

12 years agoindividual-aggregator: Clarify that is-quiescent never changes true → false
Philip Withnall [Mon, 24 Sep 2012 16:05:49 +0000 (17:05 +0100)]
individual-aggregator: Clarify that is-quiescent never changes true → false

12 years ago[l10n] Add Japanese translation
Nishio Futoshi [Mon, 24 Sep 2012 15:03:31 +0000 (00:03 +0900)]
[l10n] Add Japanese translation

12 years agoUpdated Latvian translation
Rūdolfs Mazurs [Sun, 23 Sep 2012 14:48:49 +0000 (17:48 +0300)]
Updated Latvian translation

12 years ago[l10n] Updated German translation
Mario Blättermann [Sun, 23 Sep 2012 11:13:00 +0000 (13:13 +0200)]
[l10n] Updated German translation

12 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Sun, 23 Sep 2012 10:16:03 +0000 (13:16 +0300)]
Updated Belarusian translation.

12 years agoUpdated Malayalam file
Ani Peter [Thu, 20 Sep 2012 16:23:20 +0000 (21:53 +0530)]
Updated Malayalam file

12 years agoUpdated Korean translation
Seong-ho Cho [Sun, 23 Sep 2012 06:44:33 +0000 (15:44 +0900)]
Updated Korean translation

12 years ago[l10n]Added Catalan (Valencian) translation
Carles Ferrando [Sat, 22 Sep 2012 22:56:12 +0000 (00:56 +0200)]
[l10n]Added Catalan (Valencian) translation

12 years ago[l10n] Added Catalan translation
Gil Forcada [Sat, 22 Sep 2012 22:55:26 +0000 (00:55 +0200)]
[l10n] Added Catalan translation

12 years agoindividual: Clarify that Individuals must contain at least one Persona
Philip Withnall [Fri, 21 Sep 2012 14:19:46 +0000 (15:19 +0100)]
individual: Clarify that Individuals must contain at least one Persona

12 years agoUpdated kn translation
Shankar Prasad [Fri, 21 Sep 2012 07:13:16 +0000 (12:43 +0530)]
Updated kn translation

12 years agoAdd hu to LINGUAS
Gabor Kelemen [Thu, 20 Sep 2012 13:14:31 +0000 (15:14 +0200)]
Add hu to LINGUAS

12 years agoAdded Hungarian translation
Gabor Kelemen [Thu, 20 Sep 2012 13:14:05 +0000 (15:14 +0200)]
Added Hungarian translation

12 years agohindi updated file by Chandan Kumar
Rajesh Ranjan [Thu, 20 Sep 2012 07:44:02 +0000 (13:14 +0530)]
hindi updated file by Chandan Kumar

12 years agoupdate Punjabi Translation
A S Alam [Wed, 19 Sep 2012 14:51:38 +0000 (20:21 +0530)]
update Punjabi Translation

12 years agoadded Tamil translation
Dr.T.Vasudevan [Wed, 19 Sep 2012 11:56:08 +0000 (17:26 +0530)]
added Tamil translation

12 years agoAdded ta translation
Dr.T.Vasudevan [Wed, 19 Sep 2012 11:43:48 +0000 (17:13 +0530)]
Added ta translation

12 years agoUpdated Tamil translation
Dr.T.Vasudevan [Wed, 19 Sep 2012 11:41:52 +0000 (17:11 +0530)]
Updated Tamil translation

12 years ago[l10n] Updated Italian translation.
Gianvito Cavasoli [Wed, 19 Sep 2012 11:37:41 +0000 (13:37 +0200)]
[l10n] Updated Italian translation.

12 years agoUpdated Czech translation
Marek Černocký [Wed, 19 Sep 2012 11:18:59 +0000 (13:18 +0200)]
Updated Czech translation

12 years agoBug 684014 — A few outstanding issues in the internationalisation
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

12 years agoUpdated Brazilian Portuguese translation
Djavan Fagundes [Tue, 18 Sep 2012 02:05:12 +0000 (23:05 -0300)]
Updated Brazilian Portuguese translation

12 years agoUpdated Brazilian Portuguese translation
Djavan Fagundes [Tue, 18 Sep 2012 01:57:03 +0000 (22:57 -0300)]
Updated Brazilian Portuguese translation

12 years agoUpdated British English translation
Chris Leonard [Mon, 17 Sep 2012 19:26:55 +0000 (20:26 +0100)]
Updated British English translation

12 years agoUpdated Russian translation
Yuri Myasoedov [Mon, 17 Sep 2012 16:43:21 +0000 (20:43 +0400)]
Updated Russian translation

12 years agoUpdated Malayalam file
Ani Peter [Mon, 17 Sep 2012 14:13:41 +0000 (19:43 +0530)]
Updated Malayalam file

12 years agoUpdated Danish translation
Kenneth Nielsen [Sun, 16 Sep 2012 12:52:12 +0000 (14:52 +0200)]
Updated Danish translation

12 years agoAdded da to list of languages
Kenneth Nielsen [Sun, 16 Sep 2012 12:52:12 +0000 (14:52 +0200)]
Added da to list of languages

12 years agoAdded Korean translation
Seong-ho Cho [Sun, 16 Sep 2012 08:13:10 +0000 (17:13 +0900)]
Added Korean translation

12 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Sat, 15 Sep 2012 04:45:17 +0000 (12:45 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

12 years agoUpdated Serbian translation
Мирослав Николић [Fri, 14 Sep 2012 07:38:20 +0000 (09:38 +0200)]
Updated Serbian translation

12 years agoUpdated gujarati file
Sweta Kothari [Fri, 14 Sep 2012 06:01:34 +0000 (11:31 +0530)]
Updated gujarati file

12 years agoUpdated Lithuanian translation
Aurimas Černius [Thu, 13 Sep 2012 19:48:55 +0000 (22:48 +0300)]
Updated Lithuanian translation

12 years agoUpdated kn translation
Shankar Prasad [Thu, 13 Sep 2012 12:29:55 +0000 (17:59 +0530)]
Updated kn translation

12 years agoUpdated kn translation
Shankar Prasad [Thu, 13 Sep 2012 12:26:57 +0000 (17:56 +0530)]
Updated kn translation

12 years agoUpdate French translation
Alexandre Franke [Thu, 13 Sep 2012 10:50:27 +0000 (12:50 +0200)]
Update French translation

12 years agoUpdated kn translation
Shankar Prasad [Thu, 13 Sep 2012 08:51:26 +0000 (14:21 +0530)]
Updated kn translation

12 years agoUpdated Greek translation
Tom Tryfonidis [Thu, 13 Sep 2012 02:02:26 +0000 (05:02 +0300)]
Updated Greek translation

12 years agoUpdated Slovenian translation
Matej Urbančič [Wed, 12 Sep 2012 11:25:36 +0000 (13:25 +0200)]
Updated Slovenian translation

12 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 12 Sep 2012 09:20:07 +0000 (11:20 +0200)]
Updated Spanish translation

12 years agoAssamese translation updated
Nilamdyuti Goswami [Wed, 12 Sep 2012 09:04:51 +0000 (14:34 +0530)]
Assamese translation updated

12 years agoUpdated Marathi Translations
Sandeep Sheshrao Shedmake [Wed, 12 Sep 2012 08:27:14 +0000 (13:57 +0530)]
Updated Marathi Translations

12 years agoUpdated Galician translations
Fran Diéguez [Wed, 12 Sep 2012 00:02:41 +0000 (02:02 +0200)]
Updated Galician translations

12 years agoUpdated Indonesian translation
Andika Triwidada [Tue, 11 Sep 2012 23:30:39 +0000 (06:30 +0700)]
Updated Indonesian translation

12 years agoAdded changes in 0.7.4.1 to NEWS file.
Jeremy Whiting [Tue, 11 Sep 2012 23:00:33 +0000 (17:00 -0600)]
Added changes in 0.7.4.1 to NEWS file.

12 years agoPost release bump in configure.ac
Jeremy Whiting [Tue, 11 Sep 2012 22:58:01 +0000 (16:58 -0600)]
Post release bump in configure.ac

12 years agoBump release and update the fields for the release correctly.
Jeremy Whiting [Tue, 11 Sep 2012 22:12:57 +0000 (16:12 -0600)]
Bump release and update the fields for the release correctly.

12 years agoUpdated Polish translation
Piotr Drąg [Tue, 11 Sep 2012 22:19:13 +0000 (00:19 +0200)]
Updated Polish translation

12 years agoUpdated Portuguese translation
Duarte Loreto [Tue, 11 Sep 2012 22:19:37 +0000 (23:19 +0100)]
Updated Portuguese translation

12 years agoPost release 0.7.4 changes.
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

12 years agoMerge branch '0.7.4-release'
Jeremy Whiting [Tue, 11 Sep 2012 21:25:56 +0000 (15:25 -0600)]
Merge branch '0.7.4-release'

12 years agotelepathy: Fix individual-properties unit test, always emit notify for FOLKS_0_7_4
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.

12 years agoAssamese translation updated
Nilamdyuti Goswami [Tue, 11 Sep 2012 14:52:31 +0000 (20:22 +0530)]
Assamese translation updated

12 years agotelepathy: Fix WeakRef ambiguity.
Jeremy Whiting [Tue, 11 Sep 2012 14:28:02 +0000 (08:28 -0600)]
telepathy: Fix WeakRef ambiguity.

12 years agoAdd individual to translation files.
Jeremy Whiting [Mon, 10 Sep 2012 21:43:12 +0000 (15:43 -0600)]
Add individual to translation files.

12 years ago.stamp file not needed for internal c only library.
Jeremy Whiting [Mon, 10 Sep 2012 20:54:47 +0000 (14:54 -0600)]
.stamp file not needed for internal c only library.

12 years agoBump version numbers and set release flag.
Jeremy Whiting [Mon, 10 Sep 2012 20:54:25 +0000 (14:54 -0600)]
Bump version numbers and set release flag.

12 years agoChange UNRELEASED to 0.7.4 for release.
Jeremy Whiting [Mon, 10 Sep 2012 19:21:33 +0000 (13:21 -0600)]
Change UNRELEASED to 0.7.4 for release.

12 years agotelepathy: Handle connections disappearing during a ‘yield’ while connecting
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

12 years agoUpdated Galician translations
Fran Diéguez [Mon, 10 Sep 2012 13:07:27 +0000 (15:07 +0200)]
Updated Galician translations

12 years agoUpdated Czech translation
Marek Černocký [Sun, 9 Sep 2012 05:42:06 +0000 (07:42 +0200)]
Updated Czech translation

12 years agoUpdated Lithuanian translation
Aurimas Černius [Fri, 7 Sep 2012 17:23:26 +0000 (20:23 +0300)]
Updated Lithuanian translation

12 years agoUpdated Russian translation
Yuri Myasoedov [Fri, 7 Sep 2012 16:49:08 +0000 (20:49 +0400)]
Updated Russian translation

12 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Fri, 7 Sep 2012 15:15:47 +0000 (18:15 +0300)]
Updated Belarusian translation.

12 years agoMerge branch 'emit-notification'
Jeremy Whiting [Fri, 7 Sep 2012 15:06:51 +0000 (09:06 -0600)]
Merge branch 'emit-notification'
Reviewed-by: Philip Withnall
12 years agocore: Added emit_notification parameter to _update methods.
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

12 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 7 Sep 2012 13:12:48 +0000 (15:12 +0200)]
Updated Slovenian translation

12 years agotpf-persona-store: call _emit_personas_changed() when reseting _persona_set
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>
12 years agoUpdated German translation
Christian Kirbach [Thu, 6 Sep 2012 21:00:24 +0000 (23:00 +0200)]
Updated German translation

12 years agoUpdated Serbian translation
Мирослав Николић [Thu, 6 Sep 2012 20:49:07 +0000 (22:49 +0200)]
Updated Serbian translation

12 years agoMerge branch 'command-set'
Jeremy Whiting [Thu, 6 Sep 2012 20:14:02 +0000 (14:14 -0600)]
Merge branch 'command-set'
Reviewed-by: Philip Withnall
12 years agoinspect: Add set command with set alias capability.
Jeremy Whiting [Wed, 8 Aug 2012 19:48:40 +0000 (13:48 -0600)]
inspect: Add set command with set alias capability.

12 years agoUpdated Slovenian translation
Matej Urbančič [Thu, 6 Sep 2012 19:38:50 +0000 (21:38 +0200)]
Updated Slovenian translation

12 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 6 Sep 2012 16:25:31 +0000 (18:25 +0200)]
Updated Spanish translation

12 years agoUpdate French translation
Alexandre Franke [Thu, 6 Sep 2012 14:48:50 +0000 (16:48 +0200)]
Update French translation

12 years agol10n: Added Persian translation
Arash Mousavi [Thu, 6 Sep 2012 11:38:19 +0000 (16:08 +0430)]
l10n: Added Persian translation

12 years agoUpdated Indonesian translation
Andika Triwidada [Thu, 6 Sep 2012 08:49:55 +0000 (15:49 +0700)]
Updated Indonesian translation

12 years agoBug 683452 — gnome-contacts starts up with an empty address book
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

12 years agoBump vala required version.
Jeremy Whiting [Thu, 6 Sep 2012 00:01:03 +0000 (18:01 -0600)]
Bump vala required version.

12 years agoBug 681726 — empathy crashed with SIGABRT in g_assertion_message()
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

12 years agoUpdated Polish translation
Piotr Drąg [Wed, 5 Sep 2012 23:37:56 +0000 (01:37 +0200)]
Updated Polish translation

12 years agotelepathy: Clarify nullability of Tpf.PersonaStore._conn
Philip Withnall [Sun, 2 Sep 2012 20:20:31 +0000 (21:20 +0100)]
telepathy: Clarify nullability of Tpf.PersonaStore._conn

12 years agotelepathy: Correctly maintain strong refs on TpContacts in property accessors
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

12 years agotelepathy: Fix a race condition in the handling of weak refs to TpContacts
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

12 years agoAdded bugfix to NEWS.
Jeremy Whiting [Wed, 5 Sep 2012 22:36:15 +0000 (16:36 -0600)]
Added bugfix to NEWS.

12 years agoMerge branch 'inspect-linking'
Jeremy Whiting [Wed, 5 Sep 2012 22:34:23 +0000 (16:34 -0600)]
Merge branch 'inspect-linking'
Reviewed-by: Philip Withnall
12 years agoBug 683319 — Crash in individual-aggregator: _personas_changed_cb
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

12 years agoUpdated British English translation
Bruce Cowan [Wed, 5 Sep 2012 14:04:14 +0000 (15:04 +0100)]
Updated British English translation

12 years agoFix build error
Xavier Claessens [Wed, 5 Sep 2012 08:33:19 +0000 (10:33 +0200)]
Fix build error

12 years agoinspect: Make Command.run async.
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.

12 years agoUpdated Polish translation
Piotr Drąg [Sun, 2 Sep 2012 21:13:33 +0000 (23:13 +0200)]
Updated Polish translation

12 years agoBug 682719 — eds test fails to compile
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

12 years agocore: Only emit notifications for multi-valued properties when necessary
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

12 years agocore: Tidy up multi-valued property update functions
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.