platform/upstream/folks.git
13 years agoSupport Vala-free builds (for release tarballs).
Travis Reitter [Tue, 9 Nov 2010 07:08:02 +0000 (23:08 -0800)]
Support Vala-free builds (for release tarballs).

Fixes bgo#633718.

13 years agoSoften the valadoc requirement, even with --enable-docs.
Travis Reitter [Tue, 9 Nov 2010 23:38:16 +0000 (15:38 -0800)]
Soften the valadoc requirement, even with --enable-docs.

This is mainly so tarball-based builds don't break if valadoc isn't availble
(but it will be used if it is).

Helps bgo#633718.

13 years agoFix the distribution and cleanfile status of the tp-lowlevel.gir files
Travis Reitter [Tue, 9 Nov 2010 22:56:11 +0000 (14:56 -0800)]
Fix the distribution and cleanfile status of the tp-lowlevel.gir files

Helps bgo#633718.

13 years agoDistribute the generated tp-backend vapi files.
Travis Reitter [Tue, 9 Nov 2010 22:23:22 +0000 (14:23 -0800)]
Distribute the generated tp-backend vapi files.

Helps bgo#633718.

13 years agoRe-arrange some build in the Telepathy tests.
Travis Reitter [Tue, 9 Nov 2010 19:29:18 +0000 (11:29 -0800)]
Re-arrange some build in the Telepathy tests.

Helps bgo#633718.

13 years agoDon't force building the tp-test vapi file in dist.
Travis Reitter [Tue, 9 Nov 2010 19:02:34 +0000 (11:02 -0800)]
Don't force building the tp-test vapi file in dist.

Helps bgo#633718.

13 years agoDepend upon the Telepathy backend stamp files.
Travis Reitter [Tue, 9 Nov 2010 07:04:55 +0000 (23:04 -0800)]
Depend upon the Telepathy backend stamp files.

This lets us depend upon them for Vala-free builds from release tarballs.

Helps bgo#633718.

13 years agoDistribute the backend store test key files.
Travis Reitter [Mon, 8 Nov 2010 23:58:10 +0000 (15:58 -0800)]
Distribute the backend store test key files.

13 years agoPoint the tests at the uninstalled backends.
Travis Reitter [Mon, 8 Nov 2010 23:48:20 +0000 (15:48 -0800)]
Point the tests at the uninstalled backends.

13 years agoLoad backends from FOLKS_BACKEND_PATH instead of _DIR.
Travis Reitter [Mon, 8 Nov 2010 22:50:11 +0000 (14:50 -0800)]
Load backends from FOLKS_BACKEND_PATH instead of _DIR.

The string is :-delimited and accepts both directories and backend library
files. Eg,

    FOLKS_BACKEND_PATH="/path/to/dir:/path/to/backend.so"

This is so we may refer to our known backends directly when running the tests
(and not depend upon them being installed first).

13 years agoDistribute the kf-test header.
Travis Reitter [Thu, 4 Nov 2010 21:11:46 +0000 (14:11 -0700)]
Distribute the kf-test header.

13 years agoDon't distribute a generated po/missing file.
Travis Reitter [Thu, 4 Nov 2010 21:00:34 +0000 (14:00 -0700)]
Don't distribute a generated po/missing file.

13 years agoDon't ever claim to own the backend GLib.Modules.
Travis Reitter [Mon, 8 Nov 2010 18:57:23 +0000 (10:57 -0800)]
Don't ever claim to own the backend GLib.Modules.

13 years agoAnnotate some of the test functions, to appease g-ir.
Travis Reitter [Mon, 8 Nov 2010 16:12:51 +0000 (08:12 -0800)]
Annotate some of the test functions, to appease g-ir.

13 years ago[l10n] Added initial German translation
Mario Blättermann [Sat, 6 Nov 2010 19:36:25 +0000 (20:36 +0100)]
[l10n] Added initial German translation

13 years agoAlways explicitly iterate through a HashMap's keys, values, or entries.
Travis Reitter [Fri, 5 Nov 2010 00:28:48 +0000 (17:28 -0700)]
Always explicitly iterate through a HashMap's keys, values, or entries.

13 years agoDon't try to (invalidly) import an enum.
Travis Reitter [Thu, 4 Nov 2010 21:53:07 +0000 (14:53 -0700)]
Don't try to (invalidly) import an enum.

13 years agoAdd new internationalisation files to CLEANFILES
Philip Withnall [Wed, 20 Oct 2010 17:00:10 +0000 (18:00 +0100)]
Add new internationalisation files to CLEANFILES

Helps: bgo#628883

13 years agoUpdate log handlers in the test suite
Philip Withnall [Wed, 20 Oct 2010 16:51:41 +0000 (17:51 +0100)]
Update log handlers in the test suite

Due to string changes in the rest of libfolks, the log handlers in the test
suite need changing to fix the test suite. Helps: bgo#628883

13 years agoMark strings for translation and improve string formatting a little
Philip Withnall [Mon, 6 Sep 2010 14:43:42 +0000 (15:43 +0100)]
Mark strings for translation and improve string formatting a little

This marks every potentially-user-visible string in libfolks for translation.
These include error messages, warnings and criticals. This also improves the
formatting and wording of some of the messages, and changes others to make
them more easily translatable. Closes: bgo#628883

13 years agoBug 628883 — Add localisation support
Philip Withnall [Mon, 6 Sep 2010 13:32:16 +0000 (14:32 +0100)]
Bug 628883 — Add localisation support

Add gettext/intltool build system support, but don't mark any strings for
translation yet. Helps: bgo#628883

13 years agoTreat CONNECTING as a valid state for a TpConnection.
Travis Reitter [Thu, 4 Nov 2010 00:38:13 +0000 (17:38 -0700)]
Treat CONNECTING as a valid state for a TpConnection.

13 years agoAdd backend state key files for most tests.
Travis Reitter [Mon, 1 Nov 2010 19:01:40 +0000 (12:01 -0700)]
Add backend state key files for most tests.

Only Folks-core tests are concerned with specifically testing the Backend
enabling/disabling code (which is bulkier than out-of-sight settings files).

13 years agoDisable unused backends in the tests.
Philip Withnall [Thu, 16 Sep 2010 16:46:32 +0000 (17:46 +0100)]
Disable unused backends in the tests.

Helps bgo#629862.

13 years agoAdd some initial key-file backend tests
Philip Withnall [Thu, 16 Sep 2010 14:00:04 +0000 (15:00 +0100)]
Add some initial key-file backend tests

Fixes bgo#629862.

13 years agoAdd a key-file test library
Philip Withnall [Thu, 16 Sep 2010 13:29:03 +0000 (14:29 +0100)]
Add a key-file test library

This contains some of the boilerplate code necessary to test the key-file
backend with arbitrary key files.

Helps bgo#629862.

13 years agoMake BackendStore.load_backends() unload disabled backends.
Travis Reitter [Tue, 2 Nov 2010 16:53:29 +0000 (09:53 -0700)]
Make BackendStore.load_backends() unload disabled backends.

This also allows this function to be called multiple times (previously,
subsequent calls were ignored).

Fixes bgo#629081.

13 years agoAdd a test of backend disabling.
Travis Reitter [Tue, 2 Nov 2010 02:08:43 +0000 (19:08 -0700)]
Add a test of backend disabling.

Helps bgo#629081.

13 years agoAdd initial BackendStore test.
Travis Reitter [Fri, 29 Oct 2010 23:49:14 +0000 (16:49 -0700)]
Add initial BackendStore test.

Helps bgo#629081.

13 years agoDon't use an extraneous main loop and watchdog for all tests.
Travis Reitter [Tue, 2 Nov 2010 00:48:19 +0000 (17:48 -0700)]
Don't use an extraneous main loop and watchdog for all tests.

13 years agoCut ignored libfolks-test link options.
Travis Reitter [Sat, 30 Oct 2010 00:27:02 +0000 (17:27 -0700)]
Cut ignored libfolks-test link options.

13 years agoFix the path for the Tp tests D-Bus service dir.
Travis Reitter [Fri, 29 Oct 2010 23:44:24 +0000 (16:44 -0700)]
Fix the path for the Tp tests D-Bus service dir.

13 years agoClean up the way we load modules.
Travis Reitter [Thu, 4 Nov 2010 00:02:01 +0000 (17:02 -0700)]
Clean up the way we load modules.

Helps bgo#629081.

13 years agoFix code alignment.
Travis Reitter [Wed, 29 Sep 2010 17:26:06 +0000 (10:26 -0700)]
Fix code alignment.

13 years agoFix some comment wrapping.
Travis Reitter [Wed, 29 Sep 2010 17:06:26 +0000 (10:06 -0700)]
Fix some comment wrapping.

13 years agoAdd BackendStore.[enable|disable]_backend() methods
Philip Withnall [Thu, 16 Sep 2010 15:32:09 +0000 (16:32 +0100)]
Add BackendStore.[enable|disable]_backend() methods

These update the BackendStore's key file and save it asynchronously, but
don't load or unload the backends.

Helps bgo#629081.

13 years agoAdd support for disabling backends in the BackendStore using a key file
Philip Withnall [Thu, 16 Sep 2010 14:56:42 +0000 (15:56 +0100)]
Add support for disabling backends in the BackendStore using a key file

Using a key file, ~/.local/share/folks/backends.ini, specific backends
can now be disabled.

The key file is of the format:
  [telepathy]
  enabled=true
  [key-file]
  enabled=false

Helps: bgo#629081

13 years agoConvert BackendStore to use GFiles more uniformly
Philip Withnall [Thu, 16 Sep 2010 14:20:54 +0000 (15:20 +0100)]
Convert BackendStore to use GFiles more uniformly

13 years agoAdd missing D-Bus GLib dependency to the Telepathy contact list tests
Philip Withnall [Sun, 31 Oct 2010 14:34:04 +0000 (14:34 +0000)]
Add missing D-Bus GLib dependency to the Telepathy contact list tests

13 years agoFix some gcc warnings in the Telepathy test case library
Philip Withnall [Sat, 30 Oct 2010 09:49:29 +0000 (10:49 +0100)]
Fix some gcc warnings in the Telepathy test case library

13 years agoMove the Telepathy backend test setup code into a library class
Philip Withnall [Thu, 16 Sep 2010 12:21:49 +0000 (13:21 +0100)]
Move the Telepathy backend test setup code into a library class

This means that future tests can more easily set up a fake Telepathy backend
to test against.

13 years agoRequire g-i >= 0.9.12 as 0.9.10 is broken.
Travis Reitter [Mon, 25 Oct 2010 23:55:17 +0000 (16:55 -0700)]
Require g-i >= 0.9.12 as 0.9.10 is broken.

Specifically, this version needs to be the one used to build the tp-glib Vala
bindings, but we can't express that requirement directly.

13 years agoRemove bogus 'weak' modifier for uints in Tp callbacks.
Travis Reitter [Fri, 22 Oct 2010 16:39:45 +0000 (09:39 -0700)]
Remove bogus 'weak' modifier for uints in Tp callbacks.

13 years agoUpdate NEWS for bgo#632564.
Travis Reitter [Thu, 21 Oct 2010 17:33:46 +0000 (10:33 -0700)]
Update NEWS for bgo#632564.

13 years agoEnsure Individuals replaced due to re-linking emit removed().
Travis Reitter [Wed, 20 Oct 2010 19:10:26 +0000 (12:10 -0700)]
Ensure Individuals replaced due to re-linking emit removed().

It turns out the optimization we're removing, which was meant to coalesce
IndividualAggregator:personas-changed signal emissions, was a little
over-reaching.

Fixes bgo#632564.

13 years agoPut more files in CLEANFILES as appropriate.
Travis Reitter [Wed, 20 Oct 2010 15:58:22 +0000 (08:58 -0700)]
Put more files in CLEANFILES as appropriate.

13 years agoClean up the description of BackendStore a little.
Travis Reitter [Tue, 19 Oct 2010 21:51:34 +0000 (14:51 -0700)]
Clean up the description of BackendStore a little.

13 years agoDocument the values of Folks.Presence.PresenceType.
Travis Reitter [Tue, 19 Oct 2010 19:24:14 +0000 (12:24 -0700)]
Document the values of Folks.Presence.PresenceType.

13 years agoDocument the params for normalise_im_address().
Travis Reitter [Tue, 19 Oct 2010 19:23:49 +0000 (12:23 -0700)]
Document the params for normalise_im_address().

13 years agoBreak up some long class summaries to simplify the doc index.
Travis Reitter [Tue, 19 Oct 2010 18:31:31 +0000 (11:31 -0700)]
Break up some long class summaries to simplify the doc index.

13 years agoSimplify the Folks doc Makefile.
Travis Reitter [Mon, 18 Oct 2010 17:57:50 +0000 (10:57 -0700)]
Simplify the Folks doc Makefile.

13 years agoUse the proper AM_VALAFLAGS instead of modifying VALAFLAGS for the tests.
Travis Reitter [Tue, 19 Oct 2010 16:26:09 +0000 (09:26 -0700)]
Use the proper AM_VALAFLAGS instead of modifying VALAFLAGS for the tests.

13 years agoUse per-library VALAFLAGS for the keyfile backend.
Travis Reitter [Tue, 19 Oct 2010 16:22:58 +0000 (09:22 -0700)]
Use per-library VALAFLAGS for the keyfile backend.

Adding to the global VALAFLAGS was incorrect.

13 years agoUse automake's Vala support to build libfolks-telepathy.
Travis Reitter [Mon, 18 Oct 2010 21:23:33 +0000 (14:23 -0700)]
Use automake's Vala support to build libfolks-telepathy.

13 years agoUse automake's Vala support to build libfolks.
Travis Reitter [Mon, 18 Oct 2010 20:23:57 +0000 (13:23 -0700)]
Use automake's Vala support to build libfolks.

13 years agoClarify which changes in 0.3.1 were API changes.
Travis Reitter [Fri, 15 Oct 2010 21:25:17 +0000 (14:25 -0700)]
Clarify which changes in 0.3.1 were API changes.

13 years agoPost-release version bump.
Travis Reitter [Fri, 15 Oct 2010 21:23:28 +0000 (14:23 -0700)]
Post-release version bump.

13 years agoRelease 0.3.1 FOLKS_0_3_1
Travis Reitter [Fri, 15 Oct 2010 20:06:20 +0000 (13:06 -0700)]
Release 0.3.1

13 years agoDistribute the dummy relationships file to fix distcheck.
Travis Reitter [Fri, 15 Oct 2010 20:36:43 +0000 (13:36 -0700)]
Distribute the dummy relationships file to fix distcheck.

13 years agoBump the .so version.
Travis Reitter [Fri, 15 Oct 2010 20:05:40 +0000 (13:05 -0700)]
Bump the .so version.

13 years agoMake the NEWS file a little more uniform.
Travis Reitter [Fri, 15 Oct 2010 20:04:09 +0000 (13:04 -0700)]
Make the NEWS file a little more uniform.

13 years agoMake Individual implement IMable.
Travis Reitter [Thu, 14 Oct 2010 16:20:39 +0000 (09:20 -0700)]
Make Individual implement IMable.

13 years agoAlphabetize the test definitions.
Travis Reitter [Thu, 14 Oct 2010 16:50:42 +0000 (09:50 -0700)]
Alphabetize the test definitions.

13 years agoSet up tests with ENVIRONMENT, not wrapper scripts.
Travis Reitter [Thu, 14 Oct 2010 20:38:05 +0000 (13:38 -0700)]
Set up tests with ENVIRONMENT, not wrapper scripts.

13 years agoUse a dummy relationships file for Tp tests.
Travis Reitter [Thu, 14 Oct 2010 20:18:21 +0000 (13:18 -0700)]
Use a dummy relationships file for Tp tests.

The main purposes are to prevent the key-file backend from reading in the user's
relationships.ini file and to avoid the inconsistency that could entail.

Fixes bgo#632163.

13 years agoActually include all the LDADD flags for our tests.
Travis Reitter [Wed, 13 Oct 2010 22:59:02 +0000 (15:59 -0700)]
Actually include all the LDADD flags for our tests.

Thanks to autotools for keeping this hidden for so long.

Fixes bgo#632096.

13 years agoRename the contact-properties test.
Travis Reitter [Wed, 13 Oct 2010 21:06:35 +0000 (14:06 -0700)]
Rename the contact-properties test.

13 years agoRename the contact-retrieval test.
Travis Reitter [Wed, 13 Oct 2010 21:00:12 +0000 (14:00 -0700)]
Rename the contact-retrieval test.

13 years agoUpdate the NEWS for the PersonaStore capabilities.
Travis Reitter [Wed, 13 Oct 2010 20:20:58 +0000 (13:20 -0700)]
Update the NEWS for the PersonaStore capabilities.

13 years agoAdd the PersonaStore:can-group-personas property.
Travis Reitter [Tue, 12 Oct 2010 23:59:08 +0000 (16:59 -0700)]
Add the PersonaStore:can-group-personas property.

Helps bgo#626179.

13 years agoAdd the PersonaStore:can-alias-personas property.
Travis Reitter [Mon, 11 Oct 2010 17:58:24 +0000 (10:58 -0700)]
Add the PersonaStore:can-alias-personas property.

Helps bgo#626179.

13 years agoAdd the PersonaStore:can-remove-personas property.
Travis Reitter [Fri, 8 Oct 2010 22:42:18 +0000 (15:42 -0700)]
Add the PersonaStore:can-remove-personas property.

Helps bgo#626179.

13 years agoAdd the PersonaStore:can-add-personas property.
Travis Reitter [Mon, 4 Oct 2010 16:00:54 +0000 (09:00 -0700)]
Add the PersonaStore:can-add-personas property.

Helps bgo#626179.

13 years agoAdd the MaybeBool type.
Travis Reitter [Thu, 7 Oct 2010 19:51:22 +0000 (12:51 -0700)]
Add the MaybeBool type.

13 years agoExpose the publish and subscribe group flags in the test CM.
Travis Reitter [Thu, 7 Oct 2010 20:55:26 +0000 (13:55 -0700)]
Expose the publish and subscribe group flags in the test CM.

13 years agoFix the organization of the new section in NEWS
Travis Reitter [Mon, 11 Oct 2010 20:33:18 +0000 (13:33 -0700)]
Fix the organization of the new section in NEWS

13 years agoDon't assume Personas all have a corresponding Individual in the link map.
Travis Reitter [Mon, 11 Oct 2010 20:28:05 +0000 (13:28 -0700)]
Don't assume Personas all have a corresponding Individual in the link map.

This can happen if a Persona is removed (by ID) before its corresponding
Individual has been added to the linked-personas map (which is possible if a
Telepathy account suddenly goes offline before the linking of the given Persona
is complete).

Fixes bgo#631864.

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