Travis Reitter [Wed, 23 Feb 2011 20:45:58 +0000 (12:45 -0800)]
Disable build gtk-docs, since valadoc crashes on them.
This is related to, but not exactly, bgo#629531.
Philip Withnall [Sun, 20 Feb 2011 11:15:23 +0000 (11:15 +0000)]
Ignore tp-lowlevel when building the folks-tp documentation
Philip Withnall [Sun, 20 Feb 2011 11:14:04 +0000 (11:14 +0000)]
Correctly pass linking flags to valadoc when building the folks-tp docs
It turns out that bgo#637090 was just us not passing the flags correctly
(one has to pass two flags to valadoc to get it to pass a single flag to
the doclet). See: bgo#637090
Travis Reitter [Tue, 15 Feb 2011 07:26:26 +0000 (23:26 -0800)]
Use the 'all-others' BackendStore key file group for backend tests.
Fixes bgo#642351 - BACKEND_STORE_KEY_FILE format should support a wildcard entry
Travis Reitter [Tue, 15 Feb 2011 07:25:33 +0000 (23:25 -0800)]
Support the 'all-others' wildcard group in BACKEND_STORE_KEY_FILE.
Helps bgo#642351 - BACKEND_STORE_KEY_FILE format should support a wildcard entry
Philip Withnall [Mon, 14 Feb 2011 23:29:24 +0000 (23:29 +0000)]
Remove support for building with Vala < 0.11
Philip Withnall [Mon, 14 Feb 2011 23:28:59 +0000 (23:28 +0000)]
Fix srcdir != builddir problem in the documentation makefile
Philip Withnall [Mon, 14 Feb 2011 23:18:02 +0000 (23:18 +0000)]
Post-release version bump
Philip Withnall [Mon, 14 Feb 2011 23:17:21 +0000 (23:17 +0000)]
Release version 0.3.6
Philip Withnall [Mon, 14 Feb 2011 23:06:02 +0000 (23:06 +0000)]
Fix the documentation version tags
I fail at doing releases.
Philip Withnall [Mon, 14 Feb 2011 23:05:57 +0000 (23:05 +0000)]
Post-release version bump
Philip Withnall [Mon, 14 Feb 2011 22:58:25 +0000 (22:58 +0000)]
Release version 0.3.5
Philip Withnall [Mon, 14 Feb 2011 22:18:36 +0000 (22:18 +0000)]
Bug 642036 — No way to pass a message when adding a contact
Document that the "message" key in the details hash table passed to
IndividualAggregator.add_persona_from_details() may (by convention) be used
to pass a human-readable message to the persona being added.
Implement this in the Telepathy backend. Closes: bgo#642036
Philip Withnall [Mon, 7 Feb 2011 22:25:38 +0000 (22:25 +0000)]
Use “dup” instead of “get” in method names which return a referenced object
This bumps our Vala dependency to 0.11.6, which includes a necessary fix
for the CCode annotation we use. Helps: bgo#629078
Philip Withnall [Sun, 6 Feb 2011 12:05:23 +0000 (12:05 +0000)]
Take a PersonaStore in IndividualAggregator.add_persona_from_details
This gives the client more flexibility in choosing which persona store to
add the new persona to. Closes: bgo#629078
Philip Withnall [Mon, 7 Feb 2011 22:45:35 +0000 (22:45 +0000)]
Bug 641780 — Incorrect C function names for URLable interface
Rename the new URLable interface to Urlable, as Vala was choking on the
capitalisation and producing weird C function names like
folks_ur_lable_get_urls(). Closes: bgo#641780
Philip Withnall [Sun, 6 Feb 2011 12:06:03 +0000 (12:06 +0000)]
Fix entries in the NEWS file
Philip Withnall [Fri, 17 Dec 2010 18:36:45 +0000 (18:36 +0000)]
Bug 640901 — Allow to determine whether a Tpf.Persona's in the contact list
Add Tpf.Persona.is-in-contact-list, which is true iff the persona's in the
user's contact list. Closes: bgo#640901
Travis Reitter [Fri, 4 Feb 2011 00:10:11 +0000 (16:10 -0800)]
Revert "For Vala 0.12, don't use deprecated string.to_int()."
This reverts commit
be8f7259ddd1dcd558b28ffc0761358e8d49bd48.
This depends upon unreleased changes to Vala, so we'll wait till then.
Travis Reitter [Thu, 3 Feb 2011 19:39:48 +0000 (11:39 -0800)]
Add note for future cleaning when we require Vala 0.12
Travis Reitter [Thu, 3 Feb 2011 19:38:05 +0000 (11:38 -0800)]
For Vala 0.12, don't use deprecated string.to_int().
Travis Reitter [Wed, 2 Feb 2011 01:31:34 +0000 (17:31 -0800)]
Require valac if the LinkedHashSet test hasn't been built.
Travis Reitter [Fri, 21 Jan 2011 21:49:10 +0000 (13:49 -0800)]
Add FieldDetails tests.
Helps bgo#638279 - Add interfaces for phone, URLs, emails, etc.
Raul Gutierrez Segales [Mon, 10 Jan 2011 19:30:33 +0000 (19:30 +0000)]
Added the READ_ONLY PersonaStore error
Travis Reitter [Mon, 17 Jan 2011 23:47:46 +0000 (15:47 -0800)]
Don't print out a stacktrace when an error message is empty.
This was printing a lot of stacktraces for non-errors from GConf.
Marco Barisione [Tue, 28 Dec 2010 16:42:18 +0000 (17:42 +0100)]
Add Emailable for contacts with emails
Marco Barisione [Mon, 20 Dec 2010 12:37:50 +0000 (12:37 +0000)]
Add Phoneable interface for contacts with phone numbers
Travis Reitter [Tue, 18 Jan 2011 21:57:44 +0000 (13:57 -0800)]
Add GenderOwner interface for specifying contact gender
Travis Reitter [Tue, 18 Jan 2011 21:30:33 +0000 (13:30 -0800)]
Add URLable interface for contacts with associated websites
Marco Barisione [Wed, 10 Nov 2010 11:54:01 +0000 (11:54 +0000)]
Add a FieldDetails object for details with extra parameters
The class is used for values that can have additional parameters
attached, for instance phone numbers or URLs.
Marco Barisione [Mon, 8 Nov 2010 13:56:31 +0000 (13:56 +0000)]
Add a NameOwner interface for contacts with full names and nicknames
Travis Reitter [Tue, 1 Feb 2011 23:22:02 +0000 (15:22 -0800)]
Note that bgo#628335 was fixed with release 0.1.16
Travis Reitter [Tue, 1 Feb 2011 19:34:18 +0000 (11:34 -0800)]
Post-release version bump.
Travis Reitter [Mon, 31 Jan 2011 17:23:09 +0000 (09:23 -0800)]
Release version 0.3.4
Travis Reitter [Mon, 31 Jan 2011 19:48:29 +0000 (11:48 -0800)]
Write inlined docs for LinkedHashSet to work around bgo#629531
Travis Reitter [Mon, 31 Jan 2011 17:49:06 +0000 (09:49 -0800)]
Update old doc link to PresenceOwner.
Travis Reitter [Mon, 31 Jan 2011 17:36:29 +0000 (09:36 -0800)]
Don't use deprecated string.ndup function.
Travis Reitter [Mon, 31 Jan 2011 17:07:36 +0000 (09:07 -0800)]
Set @since lines for new release.
Travis Reitter [Mon, 31 Jan 2011 16:58:52 +0000 (08:58 -0800)]
Cut obsolete comment about IMable.im_addresses.
Travis Reitter [Mon, 31 Jan 2011 16:57:34 +0000 (08:57 -0800)]
Add a note about LinkedHashSet pulling in libgee.
Travis Reitter [Mon, 31 Jan 2011 16:54:04 +0000 (08:54 -0800)]
Combine the API changes sections in NEWS.
Travis Reitter [Fri, 28 Jan 2011 22:05:14 +0000 (14:05 -0800)]
Make the TestCase class follow our coding style.
Travis Reitter [Thu, 23 Dec 2010 02:52:55 +0000 (18:52 -0800)]
Rename HasPresence -> PresenceOwner.
Fixes bgo#627397.
Travis Reitter [Thu, 23 Dec 2010 02:07:15 +0000 (18:07 -0800)]
Rename HasAvatar -> AvatarOwner.
Helps bgo#627397.
Travis Reitter [Tue, 25 Jan 2011 05:11:57 +0000 (21:11 -0800)]
Add a simple test case to reproduce bgo#640551 when valgrind-ing.
Travis Reitter [Fri, 21 Jan 2011 19:08:44 +0000 (11:08 -0800)]
Add some LinkedHashSet tests.
Fixes bgo#640213 -- Add tests for LinkedHashSet
Eitan Isaacson [Sun, 16 Jan 2011 09:48:24 +0000 (11:48 +0200)]
Modified backends to use LinkedHashSet in IMable.im_addresses.
Eitan Isaacson [Sun, 16 Jan 2011 09:47:50 +0000 (11:47 +0200)]
Modified libfolks to use LinkedHashSet in im_addresses.
Eitan Isaacson [Sun, 16 Jan 2011 09:46:27 +0000 (11:46 +0200)]
Added a LinkedHashSet ordered set.
Travis Reitter [Mon, 17 Jan 2011 19:37:55 +0000 (11:37 -0800)]
Suppress Telepathy logger warning for tests.
Fixes bgo#639742 - Logger service unavailable in make check
Travis Reitter [Mon, 17 Jan 2011 20:03:16 +0000 (12:03 -0800)]
Only spew D-Bus info during tests if >= 1
Travis Reitter [Mon, 17 Jan 2011 19:42:11 +0000 (11:42 -0800)]
Silence generally-useless Tp test message.
Philip Withnall [Mon, 17 Jan 2011 22:02:55 +0000 (22:02 +0000)]
Don't add a duplicate candidate individual if one matches by user and IID
If an individual matches a persona being aggregated both by them both being
the user, and by IID match, don't list the individual as a candidate
individual twice (which would cause their personas to appear twice in the
final individual).
Eitan Isaacson [Wed, 12 Jan 2011 20:51:12 +0000 (22:51 +0200)]
Added valgrind support in make check.
https://bugzilla.gnome.org/show_bug.cgi?id=639366
Travis Reitter [Fri, 14 Jan 2011 17:47:01 +0000 (09:47 -0800)]
Add policy for keeping the build healthy.
Travis Reitter [Fri, 14 Jan 2011 00:04:21 +0000 (16:04 -0800)]
Finish catching BackendStore up to our coding style.
Travis Reitter [Thu, 13 Jan 2011 01:27:37 +0000 (17:27 -0800)]
Fix dependencies for internal g-i files.
As it was, these libraries wouldn't be re-created after a maintainer-clean (or
on the very first build).
Travis Reitter [Wed, 12 Jan 2011 23:55:57 +0000 (15:55 -0800)]
Also print a stack trace upon a failed test assertion.
Travis Reitter [Wed, 12 Jan 2011 19:44:07 +0000 (11:44 -0800)]
Don't double-list files in MAINTAINERCLEANFILES.
Travis Reitter [Wed, 12 Jan 2011 01:26:01 +0000 (17:26 -0800)]
Distribute sources for generated files.
This un-breaks distcheck by ensuring the generated files don't stick around in
_build after the final distclean.
This fulfills the requirements laid out in the Automake manual page:
http://www.gnu.org/software/hello/manual/automake/distcleancheck.html
Travis Reitter [Wed, 12 Jan 2011 00:30:56 +0000 (16:30 -0800)]
Define the Telepathy BACKEND_NAME directly.
Properly distributing the backend.mk file proved more difficult than it was
worth (it was breaking 'make check' during distcheck), so we've reverted to
direct definition.
Travis Reitter [Tue, 11 Jan 2011 23:01:45 +0000 (15:01 -0800)]
Force Vala for non-release builds.
This should make buildbot builds a little more consistent.
Travis Reitter [Tue, 11 Jan 2011 22:30:16 +0000 (14:30 -0800)]
Add Vala requirement checks for newer tests.
Philip Withnall [Mon, 10 Jan 2011 00:30:13 +0000 (00:30 +0000)]
Bug 639113 — Add static aggregation tests
Add some tests which cover several of the ways which personas can be
statically aggregated at present. These tests are “static” (as opposed to
“dynamic”) because they don't change the inputs to the aggregator after
it's been prepared. Consequently, they don't cover much of the interesting
and bug-prone behaviour of the aggregator. Still, they're a start.
Closes: bgo#639113
Travis Reitter [Tue, 11 Jan 2011 19:31:10 +0000 (11:31 -0800)]
Don't announce removal of Individuals twice.
Before this patch, we would announce an Individual's removal, "dispose" of the
individual, then announce their removal again (at which point they would have
zero Personas, which can make it harder for clients to do anything useful with
the notification anyhow).
Helps: bgo#639113
Philip Withnall [Sun, 9 Jan 2011 21:52:54 +0000 (21:52 +0000)]
Allow multiple test accounts to be connected simultaneously
This doesn't affect any existing tests, but will be useful for testing that
aggregation across different persona stores works correctly.
Travis Reitter [Tue, 11 Jan 2011 05:59:39 +0000 (21:59 -0800)]
Override the test log handler for Telepathy tests.
This avoids aborting and printing unnecessary stack traces for the
well-known Telepathy-logger warning message.
Fixes bgo#639195 - Print stack traces for failed tests to improve
remote debugging
Travis Reitter [Tue, 11 Jan 2011 00:50:27 +0000 (16:50 -0800)]
Factor Tp logger warning out of Tp tests.
Helps bgo#639195 - Print stack traces for failed tests to improve
remote debugging
Travis Reitter [Tue, 11 Jan 2011 00:40:14 +0000 (16:40 -0800)]
When a test would print a message >= warning, print a stack trace.
This is largely to benefit remote debugging of build bots but also makes
debugging test errors easier.
Helps bgo#639195 - Print stack traces for failed tests to improve
remote debugging
Travis Reitter [Tue, 11 Jan 2011 00:10:41 +0000 (16:10 -0800)]
Cut unnecessary log handler for key-file test.
Helps bgo#639195 - Print stack traces for failed tests to improve
remote debugging
Travis Reitter [Mon, 10 Jan 2011 22:44:39 +0000 (14:44 -0800)]
Cut unnecessary Tp log handler for the general test.
Helps bgo#639195 - Print stack traces for failed tests to improve
remote debugging
Travis Reitter [Thu, 6 Jan 2011 23:48:08 +0000 (15:48 -0800)]
Note the fix of bgo#638609 in the NEWS
Travis Reitter [Thu, 6 Jan 2011 23:39:20 +0000 (15:39 -0800)]
Register core debugging as global G_LOG_DOMAIN to reduce magic strings.
Fixes bgo#638609 - libfolks hard-codes backend names for debugging
Travis Reitter [Tue, 4 Jan 2011 20:19:27 +0000 (12:19 -0800)]
Pin backends' names to global BACKEND_NAME to reduce magic strings.
Helps bgo#638609 - libfolks hard-codes backend names for debugging
Travis Reitter [Tue, 4 Jan 2011 18:58:15 +0000 (10:58 -0800)]
Make the main debug domain 'folks' to match the backends.
Helps bgo#638609 - libfolks hard-codes backend names for debugging
Travis Reitter [Tue, 4 Jan 2011 18:51:49 +0000 (10:51 -0800)]
Make the backends' log domains match their type_id.
Helps bgo#638609 - libfolks hard-codes backend names for debugging
Travis Reitter [Tue, 4 Jan 2011 19:26:34 +0000 (11:26 -0800)]
Push flag setting into the Debug constructor.
Helps bgo#638609 - libfolks hard-codes backend names for debugging
Travis Reitter [Tue, 4 Jan 2011 18:54:01 +0000 (10:54 -0800)]
Add new API for setting debugging levels.
Helps bgo#638609 - libfolks hard-codes backend names for debugging
Travis Reitter [Tue, 4 Jan 2011 00:23:05 +0000 (16:23 -0800)]
Make Folks.Debug a class so we can store state.
Helps bgo#638609 - libfolks hard-codes backend names for debugging
Travis Reitter [Mon, 3 Jan 2011 22:15:58 +0000 (14:15 -0800)]
Don't use a magic string in the Tp backend.
Travis Reitter [Mon, 3 Jan 2011 21:29:06 +0000 (13:29 -0800)]
Add a comment for bgo#638609 - backend debug hard-coding
Philip Withnall [Fri, 31 Dec 2010 14:23:31 +0000 (14:23 +0000)]
Bug 638395 — folks-inspect prevents default Vala-free builds
Add notices and errors to the configure script to notify the user of why
the inspect tool is not being built. Closes: bgo#638395
Philip Withnall [Fri, 31 Dec 2010 14:21:11 +0000 (14:21 +0000)]
Add a missing backslash to the configure.ac file
Travis Reitter [Fri, 31 Dec 2010 07:19:31 +0000 (23:19 -0800)]
Don't break the build if building folks-inspect without Vala
Philip Withnall [Thu, 30 Dec 2010 17:59:37 +0000 (17:59 +0000)]
Fix some variable names in the inspector signal parsing code
See: https://bugzilla.gnome.org/show_bug.cgi?id=629075#c8
Philip Withnall [Mon, 6 Sep 2010 18:38:21 +0000 (19:38 +0100)]
Bug 629075 — Add folks command line application
Add an interactive command line inspection utility for libfolks.
Closes: bgo#629075.
Travis Reitter [Thu, 30 Dec 2010 17:23:31 +0000 (09:23 -0800)]
Add NEWS entry for bgo#629083 fix
Travis Reitter [Thu, 30 Dec 2010 17:22:24 +0000 (09:22 -0800)]
Add NEWS entry for bgo#638311 fix
Travis Reitter [Wed, 29 Dec 2010 01:21:53 +0000 (17:21 -0800)]
Refer to non-local variables and methods with full name.
The benefit here is to make it easier to tell when variables are local. Methods
are referred to similarly for consistency.
Fixes bgo#629083
Travis Reitter [Wed, 29 Dec 2010 00:58:34 +0000 (16:58 -0800)]
Cut unnecessary casting.
Excessive casting can hide real compiler warnings/errors and is best avoided.
Helps bgo#629083
Travis Reitter [Tue, 28 Dec 2010 17:15:23 +0000 (09:15 -0800)]
Maximize use of 'unowned' keyword.
This is used when (and only when) variables:
1. would avoid a non-trivial copy (eg, a string or array but not an int or
object ref-count increase)
AND
2. will only be assigned unowned values (excessive use of 'unowned' here will be
caught by the compiler)
The net benefit is avoiding unecessary memory allocation/freeing.
Helps bgo#629083
Travis Reitter [Tue, 28 Dec 2010 01:22:21 +0000 (17:22 -0800)]
Maximize use of the 'var' keyword.
This is used whenever a variable:
1. is declared and initialized in the same line
AND
2. would not avoid a copy by using the 'unowned'. In the future, we may be able
to declare variables 'unowned var', in which case this point won't matter. See
bgo#638199.
The net benefit is less noise on variable declaration lines.
Helps bgo#629083
Travis Reitter [Tue, 28 Dec 2010 01:14:45 +0000 (17:14 -0800)]
Ensure private and internal methods begin with a _
Helps bgo#629083
Travis Reitter [Tue, 28 Dec 2010 00:28:38 +0000 (16:28 -0800)]
Ensure private and internal data members begin with a _
Helps bgo#629083
Travis Reitter [Wed, 29 Dec 2010 23:55:44 +0000 (15:55 -0800)]
Write down development policies.
Fixes bgo #638311.
Philip Withnall [Fri, 17 Dec 2010 11:16:04 +0000 (11:16 +0000)]
Bug 637240 — libfolks-telepathy.so exports private symbols
Limit the symbols exported by the libfolks-telepathy.so library to those
starting with “tpf_”. Based on a patch by
Emilio Pozuelo Monfort <pochu27@gmail.com>. Closes: bgo#637240
Philip Withnall [Mon, 13 Dec 2010 16:49:18 +0000 (16:49 +0000)]
Post-release version bump
Philip Withnall [Mon, 13 Dec 2010 16:45:07 +0000 (16:45 +0000)]
Release version 0.3.3
Philip Withnall [Mon, 13 Dec 2010 16:40:29 +0000 (16:40 +0000)]
Add missing files to POTFILES.in and POTFILES.skip
Philip Withnall [Mon, 13 Dec 2010 16:35:59 +0000 (16:35 +0000)]
Remove outdated translation files from EXTRA_DIST
They're no longer copied into the build tree since we no longer call
autopoint. See: bgo#635649