platform/upstream/folks.git
11 years agoBug 690876 — eds: fix various test failures
Travis Reitter [Sun, 6 Jan 2013 01:11:42 +0000 (17:11 -0800)]
Bug 690876 — eds: fix various test failures

Note bug fixed by the last several commits

Closes: https://bugzilla.gnome.org/show_bug.cgi?id=690876

11 years agoeds test: don't assume Individuals remain after changing a linkable property
Travis Reitter [Fri, 4 Jan 2013 23:15:57 +0000 (15:15 -0800)]
eds test: don't assume Individuals remain after changing a linkable property

11 years agoeds test: create a new address book for each test to avoid inheriting state
Travis Reitter [Fri, 4 Jan 2013 06:23:04 +0000 (22:23 -0800)]
eds test: create a new address book for each test to avoid inheriting state

This fixes a bug where the second anti-linking test would fail if it ran
after the first.

11 years agoeds test: ensure basic anti-link removal works
Travis Reitter [Fri, 4 Jan 2013 05:55:19 +0000 (21:55 -0800)]
eds test: ensure basic anti-link removal works

11 years agoeds test: add basic anti-linking test
Travis Reitter [Thu, 3 Jan 2013 17:42:57 +0000 (09:42 -0800)]
eds test: add basic anti-linking test

11 years agoeds test: remove unnecessarily-strict test for extra Individual add/remove
Travis Reitter [Thu, 3 Jan 2013 00:42:38 +0000 (16:42 -0800)]
eds test: remove unnecessarily-strict test for extra Individual add/remove

Ideally, we should be able to fulfill this test, but it's probably not worth
the extra code complexity.

11 years agoeds test: support setting email addresses in test backend
Travis Reitter [Sun, 30 Dec 2012 20:17:21 +0000 (12:17 -0800)]
eds test: support setting email addresses in test backend

11 years agoeds test: rename _parse_addrs to _parse_im_addrs for specificity.
Travis Reitter [Sun, 30 Dec 2012 20:10:47 +0000 (12:10 -0800)]
eds test: rename _parse_addrs to _parse_im_addrs for specificity.

11 years agoeds test: ensure changes to linkable properties aggregate Personas together
Travis Reitter [Sun, 30 Dec 2012 20:08:49 +0000 (12:08 -0800)]
eds test: ensure changes to linkable properties aggregate Personas together

11 years agoeds test: create a new address book for each test to avoid inheriting state
Travis Reitter [Sun, 30 Dec 2012 02:43:22 +0000 (18:43 -0800)]
eds test: create a new address book for each test to avoid inheriting state

This fixes a bug where the web services linking test would fail if it ran
after the im address linking test.

11 years agoeds test: add test for specific behavior of linkable properties
Travis Reitter [Fri, 28 Dec 2012 17:31:57 +0000 (09:31 -0800)]
eds test: add test for specific behavior of linkable properties

This splits out a subtle and complicated linkable-properties bug discovered
by the set-emails test where changing the emails (which happen to be a
linkable property in the EDS backend) causes an unnecessary Edsf.Persona
creation and removal cycle.

The set-* tests are meant to confirm that reading and writing the given
property works, so seperating this should let us simplify those tests
slightly yet focus on the secondary details we care about in a specific test
case.

11 years agoHACKING: Update documentation for running single tests
Philip Withnall [Thu, 3 Jan 2013 11:18:35 +0000 (11:18 +0000)]
HACKING: Update documentation for running single tests

11 years agobuild: Rewrite valgrind.mk to use GNU Make conditionals
Philip Withnall [Thu, 3 Jan 2013 11:04:11 +0000 (11:04 +0000)]
build: Rewrite valgrind.mk to use GNU Make conditionals

This means we’re not overwriting rules and potentially changing their
prerequisites. Incorrectly overwriting check-* rules was causing tests to
be run twice in the tests/folks directory.

See: https://bugzilla.gnome.org/show_bug.cgi?id=690990

11 years agobuild: Fix cleaning of .stamp files in EDS tests directory
Philip Withnall [Thu, 3 Jan 2013 10:40:04 +0000 (10:40 +0000)]
build: Fix cleaning of .stamp files in EDS tests directory

11 years agobuild: Tidy up test Makefiles a little
Philip Withnall [Thu, 3 Jan 2013 10:35:03 +0000 (10:35 +0000)]
build: Tidy up test Makefiles a little

11 years agoHACKING: document how to run a single test
Guillaume Desmottes [Wed, 2 Jan 2013 09:33:59 +0000 (10:33 +0100)]
HACKING: document how to run a single test

https://bugzilla.gnome.org/show_bug.cgi?id=690990

11 years agobuild: Update valgrind.mk to match automake-generated ‘check’ rule
Philip Withnall [Wed, 2 Jan 2013 16:01:18 +0000 (16:01 +0000)]
build: Update valgrind.mk to match automake-generated ‘check’ rule

The dependencies and chained rule were wrong. Not that it seems to
make much difference.

11 years agoBug 690989 — "warning: copying delegates is discouraged"
Philip Withnall [Wed, 2 Jan 2013 15:35:02 +0000 (15:35 +0000)]
Bug 690989 — "warning: copying delegates is discouraged"

Fix a warning introduced by commit 7088fbafafd3e75f02266aa8b093d69660311b36.
Whoops.

Closes: https://bugzilla.gnome.org/show_bug.cgi?id=690989

11 years agobuild: Add a missing bracket in configure.ac
Philip Withnall [Tue, 1 Jan 2013 17:45:22 +0000 (17:45 +0000)]
build: Add a missing bracket in configure.ac

11 years agoUpdated Hungarian translation
Balázs Úr [Mon, 31 Dec 2012 17:59:21 +0000 (18:59 +0100)]
Updated Hungarian translation

11 years agotelepathy: Call continuations in idle callbacks rather than directly
Philip Withnall [Sun, 30 Dec 2012 22:41:59 +0000 (22:41 +0000)]
telepathy: Call continuations in idle callbacks rather than directly

The continuations will proceed to a g_simple_async_result_complete() call,
rather than a g_simple_async_result_complete_in_idle() call as I expected
(and didn’t check). This could result in the first continuation executing
a lot of code and starving the other continuations (and the original
prepare() call). By delaying the continuations to the idle queue, the
original prepare() call is guaranteed to finish first. Then the
continuations can only starve each other.

See: https://bugzilla.gnome.org/show_bug.cgi?id=677633

11 years agoindividual-aggregator: Fix some debug spew
Philip Withnall [Sun, 30 Dec 2012 00:52:36 +0000 (00:52 +0000)]
individual-aggregator: Fix some debug spew

11 years agodocumentation: Document which yielding methods are safe to call concurrently
Philip Withnall [Sun, 30 Dec 2012 00:48:38 +0000 (00:48 +0000)]
documentation: Document which yielding methods are safe to call concurrently

This is a follow-up commit to ce55fa2bf2f5f8cf95532da585d835bafeeb3347.
I went through all methods in folks which yield to another async method,
and tried to work out whether the caller was safe to run multiple times
concurrently (e.g. begin a second asynchronous call to it between a previous
async call beginning and finishing).

I’ve marked all such methods as safe (or not safe) as appropriate. I
haven’t made any attempt to make the unsafe methods safe, except in one
case in backend-store.vala.

11 years agophone-details: get_normalised: keep the leading '+'
Guillaume Desmottes [Fri, 28 Dec 2012 14:11:25 +0000 (15:11 +0100)]
phone-details: get_normalised: keep the leading '+'

It's needed to be able to call phone numbers containing an international
prefix.

https://bugzilla.gnome.org/show_bug.cgi?id=685992

11 years agoUpdated Hebrew translation.
Yaron Shahrabani [Sat, 29 Dec 2012 09:39:26 +0000 (11:39 +0200)]
Updated Hebrew translation.

11 years agotelepathy: Yield subsequent Logger.prepare() calls if one is pending
Philip Withnall [Fri, 28 Dec 2012 13:47:50 +0000 (13:47 +0000)]
telepathy: Yield subsequent Logger.prepare() calls if one is pending

If one PersonaStore began to prepare its Logger, then yielded on a D-Bus
call, another PersonaStore could begin to prepare its Logger and also
try to create a static D-Bus proxy (which is only supposed to be created
once). This is because the original async call hasn’t returned and set
Logger._logger by that point.

Fix this by keeping a queue of pending prepare() calls which is signalled
by the initial prepare() call once it finishes yielding.

Closes: https://bugzilla.gnome.org/show_bug.cgi?id=677633

11 years agotelepathy: Remove Logger.prepare() return value
Philip Withnall [Fri, 28 Dec 2012 13:12:54 +0000 (13:12 +0000)]
telepathy: Remove Logger.prepare() return value

It’s unused. It’s private. It’s a waste of code.

11 years agotelepathy: Fix bus watching by multiple Tpf.PersonaStore instances
Philip Withnall [Fri, 28 Dec 2012 12:50:35 +0000 (12:50 +0000)]
telepathy: Fix bus watching by multiple Tpf.PersonaStore instances

The bus needs to be watched by all Tpf.PersonaStores which are connected to
the Logger instance, so that they all get the ‘invalidated’ signal.

11 years agoUpdated Greek translation
Dimitris Spingos [Mon, 24 Dec 2012 15:07:45 +0000 (17:07 +0200)]
Updated Greek translation

11 years agoUpdated Galician translations
Fran Diéguez [Sun, 23 Dec 2012 03:24:22 +0000 (04:24 +0100)]
Updated Galician translations

11 years agoeds test: Use the same birthday for the test individual and expected value.
Travis Reitter [Tue, 18 Dec 2012 06:41:35 +0000 (22:41 -0800)]
eds test: Use the same birthday for the test individual and expected value.

11 years agoTamil translation updated
Shantha kumar [Tue, 18 Dec 2012 09:57:27 +0000 (15:27 +0530)]
Tamil translation updated

11 years agoTamil Translation updated
Shantha kumar [Tue, 18 Dec 2012 09:51:48 +0000 (15:21 +0530)]
Tamil Translation updated

11 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 16 Dec 2012 19:46:52 +0000 (20:46 +0100)]
Updated Spanish translation

11 years agofolks.pc: remove telepathy-glib
Patrick Ohly [Fri, 7 Dec 2012 18:07:17 +0000 (19:07 +0100)]
folks.pc: remove telepathy-glib

Apps linking against just folks core libraries do not need
telepathy. Always including it as it was done before leads to a
folks.pc which is unusuable unless Telepathy is installed, which
partly defeats the purpose of --disable-telepathy-backend.

Closes: https://bugzilla.gnome.org/show_bug.cgi?id=689859

11 years agoeds: handle removal of store without removal of personas
Patrick Ohly [Wed, 5 Dec 2012 14:57:21 +0000 (15:57 +0100)]
eds: handle removal of store without removal of personas

The assumption in the IndividualAggregator that all backends remove
their personas before removing a store did not hold for the EDS
backend when stores were removed via set_persona_stores() or
disable_store().

Fixing that in EDS is tricky, so better make the IndividualAggregator
more resilient and remove any remaining personas when the store gets
removed.

Closes: https://bugzilla.gnome.org/show_bug.cgi?id=689146

11 years ago[l10n] Update Japanese translation
Takayuki KUSANO [Sat, 1 Dec 2012 13:52:39 +0000 (22:52 +0900)]
[l10n] Update Japanese translation

11 years agoAdded slovak translation
Dušan Kazik [Fri, 30 Nov 2012 22:23:40 +0000 (23:23 +0100)]
Added slovak translation

11 years agoUpdated Telugu Translations
Krishnababu Krothapalli [Wed, 28 Nov 2012 10:23:29 +0000 (15:53 +0530)]
Updated Telugu Translations

11 years agoUpdated Telugu Translations
Krishnababu Krothapalli [Wed, 28 Nov 2012 10:18:57 +0000 (15:48 +0530)]
Updated Telugu Translations

11 years agoUpdated Polish translation
Piotr Drąg [Tue, 27 Nov 2012 16:09:20 +0000 (17:09 +0100)]
Updated Polish translation

11 years agoUpdated Malayalam translations
Ani Peter [Tue, 27 Nov 2012 06:44:44 +0000 (12:14 +0530)]
Updated Malayalam translations

11 years agoeds: remove urls
Patrick Ohly [Fri, 23 Nov 2012 09:08:31 +0000 (10:08 +0100)]
eds: remove urls

URLs which are represented by EContact fields cannot be removed. When
setting UrlFieldDetails, the _set_contact_urls method must remove
X-EVOLUTION-BLOG-URL, X-EVOLUTION-VIDEO-URL, FBURL and URL in addition
to X-URIS, which was already removed before setting the new set of
values.

Closes: https://bugzilla.gnome.org/show_bug.cgi?id=688923

11 years agoeds: Fix some syntax errors in documentation comments
Philip Withnall [Sat, 24 Nov 2012 13:01:23 +0000 (13:01 +0000)]
eds: Fix some syntax errors in documentation comments

11 years agoindividual: avoid updating in get
Patrick Ohly [Fri, 23 Nov 2012 14:06:58 +0000 (15:06 +0100)]
individual: avoid updating in get

Properties with delayed loading always went through an update check
each time the property was read. This slowed down reading
unnecessarily, because constructing the value is costly and necessary
updates are already dealt with via notifications.

Fixed by introducing a new parameter "force_update" which is true
by default (= same behavior as before) and false when used inside
get().

Closes: https://bugzilla.gnome.org/show_bug.cgi?id=688834

11 years agoindividual-aggregator: Fix a typo in a documentation comment
Philip Withnall [Sat, 24 Nov 2012 12:48:33 +0000 (12:48 +0000)]
individual-aggregator: Fix a typo in a documentation comment

11 years agolsw: Add enable|disable_persona_store api to libsocialweb backend.
Jeremy Whiting [Tue, 23 Oct 2012 01:09:08 +0000 (19:09 -0600)]
lsw: Add enable|disable_persona_store api to libsocialweb backend.

Closes: https://bugzilla.gnome.org/show_bug.cgi?id=686673

11 years agohindi translation update
Rajesh Ranjan [Fri, 23 Nov 2012 08:22:38 +0000 (13:52 +0530)]
hindi translation update

11 years agoAssamese translation updated
Nilamdyuti Goswami [Thu, 22 Nov 2012 14:23:03 +0000 (19:53 +0530)]
Assamese translation updated

11 years agoAdded Bengali India to the list of languages
Runa Bhattacharjee [Wed, 21 Nov 2012 15:22:20 +0000 (20:52 +0530)]
Added Bengali India to the list of languages

11 years agoAdded Bengali India Translation
Runa Bhattacharjee [Wed, 21 Nov 2012 15:22:09 +0000 (20:52 +0530)]
Added Bengali India Translation

11 years agoUpdated Odia Translation with FUEL implementation.
ManojKumar Giri [Fri, 9 Nov 2012 12:34:25 +0000 (18:04 +0530)]
Updated Odia Translation with FUEL implementation.

11 years agoAdded Odia language into the list.
ManojKumar Giri [Fri, 9 Nov 2012 12:28:57 +0000 (17:58 +0530)]
Added Odia language into the list.

11 years agoUpdated Odia Translation with FUEL implementation.
ManojKumar Giri [Fri, 9 Nov 2012 12:28:29 +0000 (17:58 +0530)]
Updated Odia Translation with FUEL implementation.

11 years agoUpdated Slovenian translation
Matej Urbančič [Tue, 6 Nov 2012 18:57:10 +0000 (19:57 +0100)]
Updated Slovenian translation

11 years agoAdd bug fix to NEWS file.
Jeremy Whiting [Tue, 6 Nov 2012 18:39:25 +0000 (11:39 -0700)]
Add bug fix to NEWS file.

11 years agoeds: expose Google system groups in the public API
Giovanni Campagna [Sat, 20 Oct 2012 14:34:04 +0000 (16:34 +0200)]
eds: expose Google system groups in the public API

This will allow gnome-contacts to change it directly (to switch a contact
from My Contacts to Other and back)

https://bugzilla.gnome.org/show_bug.cgi?id=687050

12 years agoeds: Put email_addresses_ro back into Edsf.Persona.
Jeremy Whiting [Mon, 29 Oct 2012 22:26:21 +0000 (16:26 -0600)]
eds: Put email_addresses_ro back into Edsf.Persona.
eds: Remove extra whitespace.

12 years agoFrom Patrick Ohly <patrick.ohly@intel.com>
Jeremy Whiting [Mon, 29 Oct 2012 20:53:23 +0000 (14:53 -0600)]
From Patrick Ohly <patrick.ohly@intel.com>
Like instant messaging handles, email addresses can be assumed to be
unique for individuals. Therefore they can be used for linking by
default. This commit enables that in the EDS backend.

With email addresses being a linkable property, delaying loading of
them no longer makes sense because they will always be loaded.

Closes: https://bugzilla.gnome.org/show_bug.cgi?id=685401

12 years agoFrom Patrick Ohly <patrick.ohly@intel.com>
Jeremy Whiting [Fri, 26 Oct 2012 20:21:09 +0000 (14:21 -0600)]
From Patrick Ohly <patrick.ohly@intel.com>

Reading converts from date-only to local time to UTC. Writing must do
the same conversion. Conversion from UTC to local time was missing,
therefore the date may have gotten shifted by a day (depending on the
local time zone).

This commit intentionally does not cache the local time zone (like
reading does), because this is a bit ugly and the assumption is that
writing occurs a lot less often than reading.

Closes: https://bugzilla.gnome.org/show_bug.cgi?id=686693

12 years agoFix build broken by zeitgeist optional bugfix.
Jeremy Whiting [Fri, 26 Oct 2012 20:15:53 +0000 (14:15 -0600)]
Fix build broken by zeitgeist optional bugfix.

12 years agoAdd fix of 686506 to NEWS
Jeremy Whiting [Fri, 26 Oct 2012 17:11:06 +0000 (11:11 -0600)]
Add fix of 686506 to NEWS

12 years agotracker: Add enable|disable_persona_store implementation to tracker backend.
Jeremy Whiting [Tue, 23 Oct 2012 01:08:28 +0000 (19:08 -0600)]
tracker: Add enable|disable_persona_store implementation to tracker backend.
core: Remove trailing whitespace in folks/backend.vala

12 years agoMake zeitgeist optional again
Matthias Clasen [Tue, 23 Oct 2012 16:22:12 +0000 (12:22 -0400)]
Make zeitgeist optional again

This commit makes folks build without zeitgeist again.

12 years agoBug 685250 — make <test>.gdb deadlocks
Philip Withnall [Sun, 21 Oct 2012 11:24:10 +0000 (12:24 +0100)]
Bug 685250 — make <test>.gdb deadlocks

Always set CHECK_VERBOSE when running tests under gdb so that output (from
gdb) isn’t redirected to a log file. Apparently, headless gdb is hard to
use.

Closes: https://bugzilla.gnome.org/show_bug.cgi?id=685250

12 years agoAdd bugfix and new create|remove_address_book API to NEWS.
Jeremy Whiting [Wed, 17 Oct 2012 22:17:00 +0000 (16:17 -0600)]
Add bugfix and new create|remove_address_book API to NEWS.

12 years agoeds: Add create_address_book and remove_address_book to Edsf.PersonaStore.
Jeremy Whiting [Mon, 15 Oct 2012 21:23:04 +0000 (15:23 -0600)]
eds: Add create_address_book and remove_address_book to Edsf.PersonaStore.
eds: Add create-remove-stores unit test.

12 years agoAdd Ofono backend to NEWS file.
Jeremy Whiting [Wed, 10 Oct 2012 22:29:48 +0000 (16:29 -0600)]
Add Ofono backend to NEWS file.

12 years agoofono: Added new Ofono backend to read contacts from SIM cards.
Jeremy Whiting [Fri, 28 Sep 2012 21:13:39 +0000 (15:13 -0600)]
ofono: Added new Ofono backend to read contacts from SIM cards.

12 years agotelepathy: Implement set_persona_stores backend method.
Jeremy Whiting [Wed, 3 Oct 2012 21:15:21 +0000 (15:15 -0600)]
telepathy: Implement set_persona_stores backend method.

12 years agoeds: if set given to set_persona_stores is null, load any missing stores.
Jeremy Whiting [Tue, 2 Oct 2012 21:37:54 +0000 (15:37 -0600)]
eds: if set given to set_persona_stores is null, load any missing stores.

12 years agoAdd new api to NEWS file.
Jeremy Whiting [Sat, 29 Sep 2012 16:52:50 +0000 (10:52 -0600)]
Add new api to NEWS file.

12 years agotelepathy: Add enable_persona_store and disable_persona_store to telepathy backend.
Jeremy Whiting [Wed, 26 Sep 2012 21:35:54 +0000 (15:35 -0600)]
telepathy: Add enable_persona_store and disable_persona_store to telepathy backend.
telepathy: Add empty set_persona_stores to telepathy backend.

12 years agokeyfile: Add enable/disable_persona_store to keyfile backend.
Jeremy Whiting [Wed, 26 Sep 2012 21:35:02 +0000 (15:35 -0600)]
keyfile: Add enable/disable_persona_store to keyfile backend.
keyfile: Add set_persona_stores to keyfile backend.

12 years agoeds: Add test for disabling and enabling persona stores.
Jeremy Whiting [Mon, 24 Sep 2012 18:17:21 +0000 (12:17 -0600)]
eds: Add test for disabling and enabling persona stores.

12 years agocore: Add set_persona_stores method to Backend.
Jeremy Whiting [Sat, 22 Sep 2012 00:21:05 +0000 (18:21 -0600)]
core: Add set_persona_stores method to Backend.
eds: Implement set_persona_stores in eds backend.

12 years agocore: Add disable_persona_store and enable_persona_store API to backend
Jeremy Whiting [Thu, 20 Sep 2012 19:59:54 +0000 (13:59 -0600)]
core: Add disable_persona_store and enable_persona_store API to backend
eds: Implement new API in eds backend

12 years agocore: Add method to create IndividualAggregator passing in a BackendStore.
Jeremy Whiting [Fri, 14 Sep 2012 21:34:08 +0000 (15:34 -0600)]
core: Add method to create IndividualAggregator passing in a BackendStore.

12 years agoUpdated Bulgarian translation
Alexander Shopov [Wed, 10 Oct 2012 07:01:46 +0000 (10:01 +0300)]
Updated Bulgarian translation

12 years agoPost-release version bump
Philip Withnall [Thu, 4 Oct 2012 07:59:00 +0000 (08:59 +0100)]
Post-release version bump

12 years agoRelease version 0.8.0 FOLKS_0_8_0 upstream/0.8.0
Philip Withnall [Thu, 4 Oct 2012 07:55:47 +0000 (08:55 +0100)]
Release version 0.8.0

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