platform/upstream/folks.git
13 years agoClarify that the TpContacts have specific features, not necessarily values.
Travis Reitter [Thu, 7 Oct 2010 15:35:54 +0000 (08:35 -0700)]
Clarify that the TpContacts have specific features, not necessarily values.

13 years agoSimplify the Tp test Makefile further.
Travis Reitter [Wed, 6 Oct 2010 22:28:20 +0000 (15:28 -0700)]
Simplify the Tp test Makefile further.

13 years agotpf-persona-store: add the client types feature to all new TpContacts
Jonny Lamb [Thu, 30 Sep 2010 14:54:54 +0000 (15:54 +0100)]
tpf-persona-store: add the client types feature to all new TpContacts

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
13 years agoconfigure: depend on new tp-glib
Jonny Lamb [Thu, 30 Sep 2010 14:54:37 +0000 (15:54 +0100)]
configure: depend on new tp-glib

Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
13 years agoUpdate NEWS for bug fix.
Travis Reitter [Wed, 6 Oct 2010 18:14:14 +0000 (11:14 -0700)]
Update NEWS for bug fix.

13 years agoFix the CLEANFILES for the Tp tests.
Travis Reitter [Wed, 6 Oct 2010 18:00:22 +0000 (11:00 -0700)]
Fix the CLEANFILES for the Tp tests.

13 years agoRelocate Folks.TestCase as a separate library
Travis Reitter [Wed, 6 Oct 2010 17:28:59 +0000 (10:28 -0700)]
Relocate Folks.TestCase as a separate library

13 years agoReact to alias changes coming from Telepathy. Fixes bgo#630431.
Travis Reitter [Wed, 6 Oct 2010 00:27:48 +0000 (17:27 -0700)]
React to alias changes coming from Telepathy. Fixes bgo#630431.

Add a test for Tpf.Persona properties (changed through the test CM itself).

This simulates a change coming through Telepathy, vs. one we're triggering
ourselves (as in the last test).

13 years agoSimplify the tests Makefile.
Travis Reitter [Wed, 6 Oct 2010 16:12:07 +0000 (09:12 -0700)]
Simplify the tests Makefile.

13 years agoAdd a test for Tpf.Persona alias changing (through the Tp backend itself)
Travis Reitter [Tue, 5 Oct 2010 16:10:41 +0000 (09:10 -0700)]
Add a test for Tpf.Persona alias changing (through the Tp backend itself)

13 years agoExpose the TpTestContactListConnection's manager.
Travis Reitter [Tue, 5 Oct 2010 17:59:06 +0000 (10:59 -0700)]
Expose the TpTestContactListConnection's manager.

13 years agoMake the TpTest CM emit alias and presence updates.
Travis Reitter [Tue, 5 Oct 2010 23:55:13 +0000 (16:55 -0700)]
Make the TpTest CM emit alias and presence updates.

13 years agoInclude the contact ID in the TestContactDetails for the Tp test library.
Travis Reitter [Tue, 5 Oct 2010 23:44:38 +0000 (16:44 -0700)]
Include the contact ID in the TestContactDetails for the Tp test library.

13 years agoBump telepathy-glib requirement to ensure proper g-i.
Travis Reitter [Mon, 4 Oct 2010 17:36:00 +0000 (10:36 -0700)]
Bump telepathy-glib requirement to ensure proper g-i.

13 years agoPost-release version bump.
Travis Reitter [Fri, 1 Oct 2010 19:42:45 +0000 (12:42 -0700)]
Post-release version bump.

13 years agoRelease 0.3.0 FOLKS_0_3_0
Travis Reitter [Fri, 1 Oct 2010 14:49:02 +0000 (07:49 -0700)]
Release 0.3.0

13 years agoFetch TpContact avatar information upon creation.
Travis Reitter [Fri, 1 Oct 2010 03:13:50 +0000 (20:13 -0700)]
Fetch TpContact avatar information upon creation.

Fixes bgo#630347.

13 years agoNote the TpContact capabilities guarantee in NEWS
Travis Reitter [Thu, 30 Sep 2010 17:15:06 +0000 (10:15 -0700)]
Note the TpContact capabilities guarantee in NEWS

13 years agoFetch capabilities when we create TpContacts.
Travis Reitter [Thu, 30 Sep 2010 17:09:18 +0000 (10:09 -0700)]
Fetch capabilities when we create TpContacts.

Patch concept by Felix Kaser.

13 years agoFactor out a redundant array.
Travis Reitter [Thu, 30 Sep 2010 17:06:02 +0000 (10:06 -0700)]
Factor out a redundant array.

13 years agoPrefer to use object members directly instead of accessors.
Travis Reitter [Tue, 28 Sep 2010 23:23:32 +0000 (16:23 -0700)]
Prefer to use object members directly instead of accessors.

Patch by Patryk Zawadzki.

13 years agoTurn on valac warnings for the KeyFile backend.
Travis Reitter [Mon, 27 Sep 2010 19:01:00 +0000 (12:01 -0700)]
Turn on valac warnings for the KeyFile backend.

13 years agoCut unnecessary D-Bus flags for libfolks-backend-telepathy
Travis Reitter [Mon, 27 Sep 2010 18:28:42 +0000 (11:28 -0700)]
Cut unnecessary D-Bus flags for libfolks-backend-telepathy

13 years agoMake a distinction between valac and vapigen flags.
Travis Reitter [Mon, 27 Sep 2010 18:13:16 +0000 (11:13 -0700)]
Make a distinction between valac and vapigen flags.

13 years agoTurn on stronger error checking for the test library.
Travis Reitter [Mon, 27 Sep 2010 17:24:33 +0000 (10:24 -0700)]
Turn on stronger error checking for the test library.

13 years agoTurn on stronger error checking for libtp-lowlevel.
Travis Reitter [Mon, 27 Sep 2010 17:13:48 +0000 (10:13 -0700)]
Turn on stronger error checking for libtp-lowlevel.

13 years agoFix use of CPP/CFLAGS for the Telepathy backend libraries.
Travis Reitter [Fri, 24 Sep 2010 01:31:46 +0000 (18:31 -0700)]
Fix use of CPP/CFLAGS for the Telepathy backend libraries.

13 years agoRe-use existing autoconf code for setting extra maintainer flags.
Travis Reitter [Fri, 24 Sep 2010 01:25:04 +0000 (18:25 -0700)]
Re-use existing autoconf code for setting extra maintainer flags.

13 years agoAdd a test for adding Personas.
Travis Reitter [Mon, 6 Sep 2010 20:37:53 +0000 (13:37 -0700)]
Add a test for adding Personas.

Fixes bgo#629008.

13 years agoExplicitly reset the aggregator between tests.
Travis Reitter [Wed, 8 Sep 2010 05:47:59 +0000 (22:47 -0700)]
Explicitly reset the aggregator between tests.

Helps bgo#629008.

13 years agoDon't deref a null PersonaStore in a failure case.
Travis Reitter [Tue, 7 Sep 2010 23:40:05 +0000 (16:40 -0700)]
Don't deref a null PersonaStore in a failure case.

Helps bgo#629008.

13 years agoPrepare the aggregator asynchronously (as clients will)
Travis Reitter [Mon, 6 Sep 2010 20:55:40 +0000 (13:55 -0700)]
Prepare the aggregator asynchronously (as clients will)

Helps bgo#629008.

13 years agoRe-use the defined protocol prefix for tests.
Travis Reitter [Sat, 4 Sep 2010 00:51:31 +0000 (17:51 -0700)]
Re-use the defined protocol prefix for tests.

Helps bgo#629008.

13 years agoCentralize the list of expected test Individuals.
Travis Reitter [Sat, 4 Sep 2010 00:49:20 +0000 (17:49 -0700)]
Centralize the list of expected test Individuals.

Helps bgo#629008.

13 years agoAdd Backend.is_prepared and make prepare() idempotent.
Travis Reitter [Thu, 9 Sep 2010 16:24:11 +0000 (09:24 -0700)]
Add Backend.is_prepared and make prepare() idempotent.

Fixes bgo#629331.

13 years agoAdd IndividualAggregator.is_prepared and make prepare() idempotent.
Travis Reitter [Thu, 9 Sep 2010 16:10:22 +0000 (09:10 -0700)]
Add IndividualAggregator.is_prepared and make prepare() idempotent.

Helps bgo#629331.

13 years agoAdd PersonaStore.is_prepared and make prepare() idempotent.
Travis Reitter [Thu, 9 Sep 2010 16:07:11 +0000 (09:07 -0700)]
Add PersonaStore.is_prepared and make prepare() idempotent.

Helps bgo#629331.

13 years agoMake BackendStore.load_backends() idempotent.
Travis Reitter [Wed, 8 Sep 2010 23:15:02 +0000 (16:15 -0700)]
Make BackendStore.load_backends() idempotent.

Helps bgo#629331.

13 years agoClean up the behavior of the add_persona_from_details() functions.
Travis Reitter [Tue, 7 Sep 2010 23:11:30 +0000 (16:11 -0700)]
Clean up the behavior of the add_persona_from_details() functions.

This clarifies when an add fails for a temporary reason (eg, the store is
offline) and can be re-attempted.

Fixes bgo#629006.

13 years agoAdd STORE_OFFLINE error types for temporary failures.
Travis Reitter [Wed, 15 Sep 2010 15:55:50 +0000 (08:55 -0700)]
Add STORE_OFFLINE error types for temporary failures.

These are temporary/recoverable failures due to the store being offline.

Helps bgo#629006.

13 years agoCache notifications for IndividualAggregator.user during aggregation
Philip Withnall [Tue, 21 Sep 2010 11:36:36 +0000 (12:36 +0100)]
Cache notifications for IndividualAggregator.user during aggregation

13 years agoEnsure a given individual isn't marked as added and replaced at the same time
Philip Withnall [Tue, 21 Sep 2010 11:28:33 +0000 (12:28 +0100)]
Ensure a given individual isn't marked as added and replaced at the same time

When linking personas with Persona.is_user == true, it's possible for the
final_individuals during the call to add_personas() to be replaced and added
at the same time (i.e. added, then replaced). This breaks things, but can
be fixed by caching the set of added individuals before it's finalised, and
removing replaced individuals from it as we go.

13 years agoBug 629643 — do not fall back to the id if alias is empty
Philip Withnall [Tue, 21 Sep 2010 10:33:40 +0000 (11:33 +0100)]
Bug 629643 — do not fall back to the id if alias is empty

Only use the display ID as a fallback in Individual: in Tpf.Persona, we
should let empty aliases be exposed, so that the client can (if they so
desire) check whether an Individual's alias is a display ID or a real alias.
Closes: bgo#629643

13 years agoFix an assertion error in IndividualAggregator
Philip Withnall [Tue, 21 Sep 2010 10:32:22 +0000 (11:32 +0100)]
Fix an assertion error in IndividualAggregator

Due to the order in which the aggregation functions are called, it's possible
for this.user to not be null when a new user is set. Helps: bgo#627402

13 years agoEnsure Individuals are added before they're removed
Philip Withnall [Wed, 15 Sep 2010 16:44:23 +0000 (17:44 +0100)]
Ensure Individuals are added before they're removed

Rearrange the linking process slightly so that we can guarantee that
Individuals won't be signalled as removed (or replaced) before they're
signalled as added. Closes: bgo#629642

13 years agoUpdate NEWS file for recent commits
Philip Withnall [Tue, 21 Sep 2010 09:26:19 +0000 (10:26 +0100)]
Update NEWS file for recent commits

13 years agoSupport the Persona.is_user property in the telepathy backend
Philip Withnall [Mon, 23 Aug 2010 16:26:35 +0000 (17:26 +0100)]
Support the Persona.is_user property in the telepathy backend

Closes: bgo#627402

13 years agoSupport the Persona.is_user property in the key-file backend
Philip Withnall [Mon, 23 Aug 2010 16:26:18 +0000 (17:26 +0100)]
Support the Persona.is_user property in the key-file backend

Helps: bgo#627402

13 years agoImplicitly trust Personas which are marked as being the user
Philip Withnall [Mon, 6 Sep 2010 12:49:31 +0000 (13:49 +0100)]
Implicitly trust Personas which are marked as being the user

We assume that the backend is in complete control of its user accounts, so
we can fully trust Personas which have Persona.is_user == true.
Helps: bgo#627402

13 years agoAdd a "user" property to the IndividualAggregator
Philip Withnall [Mon, 23 Aug 2010 15:31:49 +0000 (16:31 +0100)]
Add a "user" property to the IndividualAggregator

This contains the Individual representing the user who owns all the relevant
accounts in each backend. This also changes the linking code so that Personas
with is_user == true are always linked, and only ever linked to other Personas
with is_user == true (i.e. Personas are always linked to Personas with like
is_user values). This ensures that there's only ever one Individual with
is_user == true. Helps: bgo#627402

13 years agoAdd an "is-user" property to Individual and Persona
Philip Withnall [Mon, 23 Aug 2010 15:11:08 +0000 (16:11 +0100)]
Add an "is-user" property to Individual and Persona

This is true iff the Individual or Persona is the owner of the relevant
accounts. Helps: bgo#627402

13 years agoUse foreach{} rather than .foreach() in IndividualAggregator.link_personas()
Philip Withnall [Tue, 31 Aug 2010 14:19:31 +0000 (15:19 +0100)]
Use foreach{} rather than .foreach() in IndividualAggregator.link_personas()

13 years agoUse the devhelp doclet to build the documentation
Philip Withnall [Wed, 15 Sep 2010 13:08:03 +0000 (14:08 +0100)]
Use the devhelp doclet to build the documentation

13 years agoAdd missing documentation
Philip Withnall [Wed, 15 Sep 2010 11:19:55 +0000 (12:19 +0100)]
Add missing documentation

13 years agoRemove {@inheritDoc} from folks-telepathy documentation
Philip Withnall [Wed, 15 Sep 2010 10:45:25 +0000 (11:45 +0100)]
Remove {@inheritDoc} from folks-telepathy documentation

It's not possible to inherit documentation across packages, so we have to
rely on links instead. Helps: bgo#629526

13 years agoSplit the documentation into folks and folks-telepathy packages
Philip Withnall [Mon, 13 Sep 2010 15:12:00 +0000 (16:12 +0100)]
Split the documentation into folks and folks-telepathy packages

This means that each documentation package is only scanning files from one
directory, opening us up to the possibility of adding gtk-doc support.
Helps: bgo#629526

13 years agoMove debug initialisation to BackendStore
Philip Withnall [Mon, 13 Sep 2010 15:24:03 +0000 (16:24 +0100)]
Move debug initialisation to BackendStore

Now that the BackendStore is a singleton, its initialiser will more reliably
be called than the initialiser for IndividualAggregator (since clients can
theoretically not use the IndividualAggregator, but have to use the
BackendStore). Closes: bgo#629096

13 years agoRetrospectively update NEWS file
Philip Withnall [Mon, 20 Sep 2010 11:44:02 +0000 (12:44 +0100)]
Retrospectively update NEWS file

Add NEWS entries from all the releases back to 0.1.9, when we moved to GNOME
infrastructure.

13 years agoBug 629666 — libfolks should not hard autodetect libxml
Philip Withnall [Tue, 14 Sep 2010 16:25:03 +0000 (17:25 +0100)]
Bug 629666 — libfolks should not hard autodetect libxml

Add an --enable-import-tool configure option which requires libxml2 when
passed, doesn't require it when --disable-import-tool is passed, and builds
the tool if possible (but doesn't require libxml2)  when nothing's passed.
Closes: bgo#629666

13 years agoMake libfolks.so depend on gmodule-no-export
Philip Withnall [Tue, 14 Sep 2010 15:24:22 +0000 (16:24 +0100)]
Make libfolks.so depend on gmodule-no-export

Since the BackendStore uses g_module_*. Helps: bgo#629644

13 years agoExplicitly link the backends to libfolks.la
Philip Withnall [Tue, 14 Sep 2010 13:45:02 +0000 (14:45 +0100)]
Explicitly link the backends to libfolks.la

Closes: bgo#629644

13 years agoBug 629311 — Folks should normalize IDs written to the writable backend
Philip Withnall [Mon, 13 Sep 2010 10:16:29 +0000 (11:16 +0100)]
Bug 629311 — Folks should normalize IDs written to the writable backend

Add a new IMable.normalise_im_address() method, which should be called on
any IM address added to IMable.im_addresses, normalising it so that only the
canonical version is used within libfolks. Closes: bgo#629311

13 years agoBump version to 0.3.0
Philip Withnall [Sat, 18 Sep 2010 15:37:29 +0000 (16:37 +0100)]
Bump version to 0.3.0

Since we've changed to an odd–even version scheme (where odd minor versions
are unstable and even ones are stable), master needs to be odd, since version
0.2.0 has just been released as stable.

13 years agoDon't list session.conf in CLEANFILES
Philip Withnall [Sat, 18 Sep 2010 14:29:20 +0000 (15:29 +0100)]
Don't list session.conf in CLEANFILES

Since it's generated by AC_CONFIG_FILES, it already has rebuild and clean
rules generated for it. Adding it to CLEANFILES breaks this.

13 years agoRequire the latest releases of our dependencies.
Travis Reitter [Sat, 18 Sep 2010 00:53:17 +0000 (17:53 -0700)]
Require the latest releases of our dependencies.

13 years agoClear up ambiguity between GLib.Proxy and TelepathyGLib.Proxy
Travis Reitter [Sat, 18 Sep 2010 00:52:43 +0000 (17:52 -0700)]
Clear up ambiguity between GLib.Proxy and TelepathyGLib.Proxy

13 years agoCut some obsolete comments in TpLowlevel.
Travis Reitter [Thu, 16 Sep 2010 17:36:30 +0000 (10:36 -0700)]
Cut some obsolete comments in TpLowlevel.

13 years agoFix the GIR annotation for connection_open_contact_list_channel_finish
Travis Reitter [Thu, 16 Sep 2010 17:35:33 +0000 (10:35 -0700)]
Fix the GIR annotation for connection_open_contact_list_channel_finish

13 years agoFix the GIR annotations for connect_to_new_group_channels
Travis Reitter [Thu, 16 Sep 2010 17:19:22 +0000 (10:19 -0700)]
Fix the GIR annotations for connect_to_new_group_channels

13 years agoTurn on all g-i warnings and make them errors (for non-releases).
Travis Reitter [Thu, 16 Sep 2010 17:11:48 +0000 (10:11 -0700)]
Turn on all g-i warnings and make them errors (for non-releases).

13 years agoMake a result argument nullable
Philip Withnall [Thu, 16 Sep 2010 10:58:36 +0000 (11:58 +0100)]
Make a result argument nullable

Since there is no .finish() method for this async function, and the result
is always NULL, the result argument should be nullable. This prevents it
spewing warnings.

13 years agoDepend upon the next release of Vala for required fixes.
Travis Reitter [Wed, 15 Sep 2010 23:45:40 +0000 (16:45 -0700)]
Depend upon the next release of Vala for required fixes.

valac's version number doesn't update between releases, so we need to depend
upon the next release number to properly depend upon the fixes.

13 years agoAdjust to changes introduced with the Vala fix for bgo#629691
Travis Reitter [Wed, 15 Sep 2010 20:22:16 +0000 (13:22 -0700)]
Adjust to changes introduced with the Vala fix for bgo#629691

13 years agoFix documentation syntax
Philip Withnall [Wed, 15 Sep 2010 15:50:55 +0000 (16:50 +0100)]
Fix documentation syntax

13 years agoMerge branch 'bgo628970-expose-backends3'
Travis Reitter [Wed, 15 Sep 2010 15:13:50 +0000 (08:13 -0700)]
Merge branch 'bgo628970-expose-backends3'

13 years agoMove Backend preparation to BackendStore. Fixes bgo#628970.
Travis Reitter [Thu, 9 Sep 2010 23:15:49 +0000 (16:15 -0700)]
Move Backend preparation to BackendStore. Fixes bgo#628970.

An effect of this is that all backends will be prepared by the time
IndividualAggregator.prepare() completes.

13 years agoExpose the BackendStore's Backends. Helps bgo#628970.
Travis Reitter [Wed, 8 Sep 2010 16:53:21 +0000 (09:53 -0700)]
Expose the BackendStore's Backends. Helps bgo#628970.

13 years agoCut out unnecessary tp-glib version checking.
Travis Reitter [Tue, 14 Sep 2010 15:33:36 +0000 (08:33 -0700)]
Cut out unnecessary tp-glib version checking.

13 years agoUpdate the name for TelepathyGLib.Intset
Travis Reitter [Tue, 14 Sep 2010 15:34:52 +0000 (08:34 -0700)]
Update the name for TelepathyGLib.Intset

13 years agoMake BackendStore a singleton. Helps bgo#628970.
Travis Reitter [Wed, 8 Sep 2010 17:24:55 +0000 (10:24 -0700)]
Make BackendStore a singleton. Helps bgo#628970.

13 years agoFix the type of an AsyncReadyCallback in Tpf.PersonaStore
Philip Withnall [Tue, 14 Sep 2010 16:18:44 +0000 (17:18 +0100)]
Fix the type of an AsyncReadyCallback in Tpf.PersonaStore

13 years agoMove BuildConf into the Folks namespace
Philip Withnall [Tue, 14 Sep 2010 14:04:02 +0000 (15:04 +0100)]
Move BuildConf into the Folks namespace

This fixes the libfolks build against Vala master.

13 years agoAdd missing annotations to TpLowlevel
Philip Withnall [Tue, 14 Sep 2010 09:53:19 +0000 (10:53 +0100)]
Add missing annotations to TpLowlevel

13 years agoEnable g-ir-scanner warnings for TpLowlevel
Philip Withnall [Tue, 14 Sep 2010 09:53:08 +0000 (10:53 +0100)]
Enable g-ir-scanner warnings for TpLowlevel

13 years agoPost-branch version bump
Philip Withnall [Mon, 13 Sep 2010 15:18:32 +0000 (16:18 +0100)]
Post-branch version bump

13 years agoAutomatically version the generated documentation
Philip Withnall [Mon, 13 Sep 2010 14:40:10 +0000 (15:40 +0100)]
Automatically version the generated documentation

13 years agoRename Alias interface to Aliasable
Philip Withnall [Mon, 13 Sep 2010 13:28:56 +0000 (14:28 +0100)]
Rename Alias interface to Aliasable

Helps: bgo#627397

13 years agoRename Groups interface to Groupable
Philip Withnall [Mon, 13 Sep 2010 13:10:06 +0000 (14:10 +0100)]
Rename Groups interface to Groupable

Helps: bgo#627397

13 years agoFix a private error domain in Tpf.PersonaStore
Philip Withnall [Mon, 13 Sep 2010 13:12:27 +0000 (14:12 +0100)]
Fix a private error domain in Tpf.PersonaStore

This is a partial revert of 6fe31a311871f096f605ed93bc60fb09db835235.

13 years agoFix some error domains
Philip Withnall [Mon, 13 Sep 2010 12:49:41 +0000 (13:49 +0100)]
Fix some error domains

Add error domains to override methods, remove error domains from
constructors and make some error domains more specific. This shouldn't break
API. Helps: bgo#627158

13 years agoAdd missing @inheritDoc doclets
Philip Withnall [Mon, 13 Sep 2010 12:28:56 +0000 (13:28 +0100)]
Add missing @inheritDoc doclets

13 years agoBug 626008 — Add @since lines to all symbols
Philip Withnall [Mon, 13 Sep 2010 12:28:14 +0000 (13:28 +0100)]
Bug 626008 — Add @since lines to all symbols

Add @since lines to the documentation of all symbols which were added after
the initial release (0.1.9). Closes: bgo#626008

13 years agoLink gio libs in import-tool makefiles
Brian Pepple [Sun, 12 Sep 2010 21:56:51 +0000 (17:56 -0400)]
Link gio libs in import-tool makefiles

Closes: bgo#629452

13 years agoPost-release version bump.
Travis Reitter [Fri, 10 Sep 2010 23:26:05 +0000 (16:26 -0700)]
Post-release version bump.

13 years agoRelease version 0.1.17 FOLKS_0_1_17
Travis Reitter [Fri, 10 Sep 2010 22:20:57 +0000 (15:20 -0700)]
Release version 0.1.17

13 years agoAdd some more detailed validation/error reporting to the importing tool.
Travis Reitter [Fri, 10 Sep 2010 19:13:42 +0000 (12:13 -0700)]
Add some more detailed validation/error reporting to the importing tool.

13 years agoBug 629084 — Add a folks-import tool
Philip Withnall [Wed, 8 Sep 2010 18:36:04 +0000 (19:36 +0100)]
Bug 629084 — Add a folks-import tool

Add a folks-import tool which allows importing of Pidgin meta-contact
information to libfolks' key file. Closes: bgo#629084

13 years agoBlock flushing of Kf.PersonaStore on any pending file operations
Philip Withnall [Thu, 9 Sep 2010 15:07:08 +0000 (16:07 +0100)]
Block flushing of Kf.PersonaStore on any pending file operations

If a file operation is still underway, don't allow the Kf.PersonaStore to be
finalized until it's finished. This prevents libfolks from being closed before
changes to relationships.ini have been written out. We also prevent multiple
file operations from happening (pseudo-) concurrently, by cancelling any
pending operation when we schedule a new one.

13 years agoBug 628853 — hangs if there's no relationships.ini file
Philip Withnall [Mon, 6 Sep 2010 09:35:25 +0000 (10:35 +0100)]
Bug 628853 — hangs if there's no relationships.ini file

The code to create the directory tree for relationships.ini wasn't handling
errors properly, so was getting stuck in an infinite loop in the case that
the ~/.local/share/folks directory existed but relationships.ini didn't.
Closes: bgo#628853

13 years agoNotify of Tpf.PersonaStore's Personas being removed when disabling accounts
Philip Withnall [Thu, 9 Sep 2010 11:33:22 +0000 (12:33 +0100)]
Notify of Tpf.PersonaStore's Personas being removed when disabling accounts

When disabling, removing or marking an account as invalid, we need to signal
that the account's contacts (i.e. the Tpf.PersonaStore's Personas) have been
removed. Closes: bgo#629082