Travis Reitter [Mon, 2 Aug 2010 18:01:51 +0000 (14:01 -0400)]
Release version 0.1.12
Travis Reitter [Mon, 2 Aug 2010 17:59:32 +0000 (13:59 -0400)]
Bump revision, in anticipation of release.
Philip Withnall [Fri, 23 Jul 2010 12:38:53 +0000 (13:38 +0100)]
Version the installed backends using the LT current version number
This changes with every API/ABI change which is made to libfolks,
so it should ensure that only binary compatible modules are loaded
at runtime.
Philip Withnall [Mon, 2 Aug 2010 12:12:21 +0000 (13:12 +0100)]
Handle connections which are ready as soon as they're connected
This fixes contacts from Facebook and MSN accounts sometimes not showing up
in the contact list. Closes: bgo#625815
Travis Reitter [Mon, 2 Aug 2010 14:16:53 +0000 (10:16 -0400)]
Bump Vala version requirement.
We actually depended on this version de facto as soon as we added the debugging
clean-ups.
Philip Withnall [Mon, 2 Aug 2010 11:55:59 +0000 (12:55 +0100)]
Add some more debug output to the Telepathy backend
Philip Withnall [Mon, 2 Aug 2010 10:14:36 +0000 (11:14 +0100)]
Don't log errors in tp-lowlevel functions if they return a GError
Let the higher-level code decide whether a message or warning needs to
be logged to the terminal instead.
Philip Withnall [Wed, 21 Jul 2010 10:45:07 +0000 (11:45 +0100)]
Use g_message() in tp-lowlevel rather than g_warning()
Any of the tp-glib calls we make could routinely fail, so to stop gdb
halting on every warning, change them to messages.
Philip Withnall [Wed, 21 Jul 2010 10:27:03 +0000 (11:27 +0100)]
Change a message() to a debug()
Philip Withnall [Tue, 29 Jun 2010 14:18:54 +0000 (15:18 +0100)]
Add debug flags support
Debug flags for libfolks, controlling which debug domains spew messages, can
be specified using the FOLKS_DEBUG environment variable, with a GLib-style
debug flags string.
The two initial debug domains are:
* Core: everything in the folks directory
* TelepathyBackend: everything in the backends/telepathy directory
Travis Reitter [Tue, 27 Jul 2010 16:38:02 +0000 (18:38 +0200)]
Post-release version bump.
Travis Reitter [Tue, 27 Jul 2010 16:33:32 +0000 (18:33 +0200)]
Update (a little late) the LT versioning fields for 0.1.11
Travis Reitter [Tue, 27 Jul 2010 06:59:28 +0000 (08:59 +0200)]
Ensure all methods that should be async are, to get API breaking out of the way.
Travis Reitter [Mon, 26 Jul 2010 15:58:36 +0000 (17:58 +0200)]
Always throw an error in async functions, to avoid breaking (C) API later.
Travis Reitter [Mon, 26 Jul 2010 10:43:52 +0000 (12:43 +0200)]
Merge remote branch 'pwith/offline-fixes' into prep-0.1.11
Philip Withnall [Fri, 23 Jul 2010 11:21:22 +0000 (12:21 +0100)]
Make remove_persona() and remove_individual() async
They could involve blocking operations, so should be async.
Philip Withnall [Thu, 22 Jul 2010 13:18:43 +0000 (14:18 +0100)]
Reset the TpfPersonaStore state when going offline
Emit a signal to remove all the Personas, then reset the store's state
so that it can come online again later from a clean slate.
Philip Withnall [Thu, 22 Jul 2010 13:18:23 +0000 (14:18 +0100)]
Don't hold a reference to the Account when iterating through an Account list
Philip Withnall [Thu, 22 Jul 2010 10:41:13 +0000 (11:41 +0100)]
Don't emit "group invalidated" warnings when disconnecting
Philip Withnall [Fri, 9 Jul 2010 10:04:52 +0000 (11:04 +0100)]
Don't initialise favourite contacts support if the Logger doesn't exist
Philip Withnall [Wed, 21 Jul 2010 11:08:35 +0000 (12:08 +0100)]
Fix Presence.is_online()
Due to a signed/unsigned int problem, typecmp() was never returning
negative answers, so everyone was always online.
Philip Withnall [Wed, 30 Jun 2010 13:49:01 +0000 (14:49 +0100)]
Split setup of the IndividualAggregator out into a .prepare() method
Philip Withnall [Wed, 30 Jun 2010 13:33:54 +0000 (14:33 +0100)]
Split setup of Backends out into a Backend.prepare() method
Philip Withnall [Wed, 30 Jun 2010 12:52:08 +0000 (13:52 +0100)]
Split setup of PersonaStores out into a PersonaStore.prepare() method
This allows the PersonaStore.personas_added and PersonaStore.personas_removed
signals to be connected to before the PersonaStore could first emit them,
removing a race condition.
Philip Withnall [Mon, 19 Jul 2010 18:10:39 +0000 (19:10 +0100)]
Only connect to group-changed signals if the Persona implements Groups
Travis Reitter [Thu, 15 Jul 2010 21:42:31 +0000 (14:42 -0700)]
Post-release version bump.
Travis Reitter [Thu, 15 Jul 2010 21:15:49 +0000 (14:15 -0700)]
Cut unnecessary dbus-glib flags from the libfolks build process.
Travis Reitter [Thu, 15 Jul 2010 21:15:02 +0000 (14:15 -0700)]
Explicitly build and link generated C code against telepathy-glib as necessary.
Travis Reitter [Thu, 15 Jul 2010 21:13:31 +0000 (14:13 -0700)]
Explicitly link libfolks-telepathy against libfolks.
Travis Reitter [Thu, 15 Jul 2010 21:08:16 +0000 (14:08 -0700)]
Explicitly build and link generated C code against GIO as necessary.
Travis Reitter [Thu, 15 Jul 2010 20:41:39 +0000 (13:41 -0700)]
Merge remote branch 'pwith/refcount-on-remove'
Travis Reitter [Thu, 15 Jul 2010 20:35:32 +0000 (13:35 -0700)]
Don't give libtp-lowlevel a version number, since it's purely internal.
Travis Reitter [Thu, 15 Jul 2010 20:33:35 +0000 (13:33 -0700)]
Set the version info for the public libraries.
Travis Reitter [Thu, 15 Jul 2010 20:02:24 +0000 (13:02 -0700)]
Add some basic info to the README.
Philip Withnall [Thu, 15 Jul 2010 12:00:52 +0000 (13:00 +0100)]
Only unref a Persona if we actually held a reference to it in the first place
Since every Individual is notified of changes to the set of Personas in a
PersonaStore, many of the Personas it's passed won't belong to it. This
ensures that the Individual only unrefs Personas which belonged to it.
Philip Withnall [Thu, 15 Jul 2010 11:59:43 +0000 (12:59 +0100)]
Make some Persona instances unowned
In trivial cases where we're iterating through a list of owned Personas, there
is no need to ref/unref for each iteration. This makes debugging refcount
issues a lot easier.
Travis Reitter [Thu, 15 Jul 2010 05:13:34 +0000 (22:13 -0700)]
Fix our category in the Gnome git system (take the default).
Travis Reitter [Thu, 15 Jul 2010 04:17:46 +0000 (21:17 -0700)]
Add general project and maintainer information.
Travis Reitter [Thu, 15 Jul 2010 04:03:48 +0000 (21:03 -0700)]
Bump the version for the next release properly, with a new micro number.
Travis Reitter [Wed, 14 Jul 2010 23:32:52 +0000 (16:32 -0700)]
Merge remote branch 'pwith/build-cleanup'
Performed quite a modifications to this branch, as it wasn't rebased on top of
the latest build changes (which also made "make distclean" work for the first
time).
Conflicts:
backends/telepathy/Makefile.am
configure.ac
Travis Reitter [Wed, 14 Jul 2010 20:12:45 +0000 (13:12 -0700)]
Bump the configure-time glib requirement (which was implicitly required by our Vala flags).
Travis Reitter [Wed, 14 Jul 2010 15:08:34 +0000 (08:08 -0700)]
Merge remote branch 'pwith/gi-bindings-rebase4'
Philip Withnall [Wed, 14 Jul 2010 14:39:17 +0000 (15:39 +0100)]
Tidy up dependencies in the Telepathy backend
Philip Withnall [Wed, 14 Jul 2010 13:55:21 +0000 (14:55 +0100)]
Remove unnecessary dependencies from folks-telepathy.deps
Philip Withnall [Wed, 14 Jul 2010 13:48:21 +0000 (14:48 +0100)]
Remove redundant suffix substitutions in the Telepathy Makefile
Philip Withnall [Wed, 14 Jul 2010 13:40:16 +0000 (14:40 +0100)]
Rename VALASOURCES variables in Telepathy backend
They shouldn't be in upper case, as they could conflict with variables
used by future versions of automake.
Philip Withnall [Wed, 14 Jul 2010 13:31:23 +0000 (14:31 +0100)]
Rearrange the libfolks Makefile
Commonly-changed variables are now nearer the top. libfolks_la_VALASOURCES
has been renamed to folks_valasources so that it doesn't conflict with any
future automake rules of the same name. Various small formatting changes have
been made too.
Philip Withnall [Wed, 14 Jul 2010 13:22:52 +0000 (14:22 +0100)]
Remove redundant suffix substitutions in the libfolks Makefile
Philip Withnall [Wed, 14 Jul 2010 13:17:17 +0000 (14:17 +0100)]
Remove telepathy-vala dependencies from libfolks
Philip Withnall [Wed, 14 Jul 2010 13:15:27 +0000 (14:15 +0100)]
Tidy up the valac flags for libfolks
Philip Withnall [Wed, 14 Jul 2010 13:04:45 +0000 (14:04 +0100)]
Remove unnecessary dependencies from folks.deps
They're not exposed in the public API, so there's no need to list
them as dependencies.
Philip Withnall [Wed, 14 Jul 2010 12:12:34 +0000 (13:12 +0100)]
Silence the documentation build
Philip Withnall [Wed, 14 Jul 2010 12:10:04 +0000 (13:10 +0100)]
Consolidate the tp-vala valaflags into configure.ac
Rather than calling pkg-config from various Makefiles to find out the
same information.
Philip Withnall [Wed, 14 Jul 2010 11:57:37 +0000 (12:57 +0100)]
Add git.mk for automatic .gitignore generation
git.mk is copied from pango/git.mk, which is the canonical place to
look for updates to it. It hasn't been modified.
Philip Withnall [Wed, 14 Jul 2010 11:43:04 +0000 (12:43 +0100)]
Add generated files to MAINTAINERCLEANFILES
Philip Withnall [Wed, 14 Jul 2010 11:40:28 +0000 (12:40 +0100)]
Don't install or EXTRA_DIST the package documentation
It's unnecessary, and automake knows to distribute the files already.
Philip Withnall [Wed, 14 Jul 2010 11:36:10 +0000 (12:36 +0100)]
Fix ChangeLog cleaning
It should be removed optionally during distclean, and forcibly during
maintainerclean.
Philip Withnall [Wed, 14 Jul 2010 11:27:37 +0000 (12:27 +0100)]
Remove unused gtk-doc lines from build system
We use valadoc instead.
Philip Withnall [Wed, 14 Jul 2010 11:25:48 +0000 (12:25 +0100)]
Remove unused scrollkeeper lines from Makefile
Philip Withnall [Wed, 14 Jul 2010 11:22:15 +0000 (12:22 +0100)]
Remove some unused lines from the configure summary
Philip Withnall [Wed, 14 Jul 2010 11:21:57 +0000 (12:21 +0100)]
Remove some barely-used silent build machinery from the Makefiles
Philip Withnall [Wed, 14 Jul 2010 09:27:14 +0000 (10:27 +0100)]
Fix MIME type memory leak in BackendStore
Philip Withnall [Tue, 13 Jul 2010 13:46:07 +0000 (14:46 +0100)]
Don't leak TpfPersona references for each Individual
Due to bgo#624249, GLib.List.remove() leaks an item reference, so we need to
manually unreference each persona we remove from the personas list in
Individual.
Philip Withnall [Mon, 12 Jul 2010 15:01:29 +0000 (16:01 +0100)]
Break a refcycle between TpfPersonaStore and TpfPersona
This is achieved by making the pointer that each TpfPersona holds to their
relevant TpfPersonaStore a weak pointer, rather than a referenced pointer.
Philip Withnall [Fri, 9 Jul 2010 10:03:47 +0000 (11:03 +0100)]
Allow backends to be completely unloaded
This means that if the IndividualAggregator is finalized, all the resources
used by the backends which were loaded are freed. This allows multiple
IndividualAggregator instances to be used sequentially, and also ensures that
all Persona instances get destroyed.
Travis Reitter [Wed, 14 Jul 2010 06:36:53 +0000 (23:36 -0700)]
Explicitly require Vala.
Travis Reitter [Wed, 14 Jul 2010 05:59:31 +0000 (22:59 -0700)]
Bump nano version after release.
Travis Reitter [Wed, 14 Jul 2010 01:08:04 +0000 (18:08 -0700)]
Distribute the tp-lowlevel metadata file to fix distcheck.
Travis Reitter [Wed, 14 Jul 2010 01:03:41 +0000 (18:03 -0700)]
Specify tp-lowlevel.h being in the srcdir, to work around a vala-gen-introspect bug.
Travis Reitter [Wed, 14 Jul 2010 00:59:59 +0000 (17:59 -0700)]
Specify the vala source files being in the srcdir, to work around a valac bug.
Travis Reitter [Wed, 14 Jul 2010 00:53:11 +0000 (17:53 -0700)]
Work around bgo #624278 for distcheck
Travis Reitter [Tue, 13 Jul 2010 16:43:00 +0000 (09:43 -0700)]
Include the backends/telepathy/*.vala files when making a relese.
Travis Reitter [Tue, 13 Jul 2010 16:42:45 +0000 (09:42 -0700)]
Include the folks/*.vala files when making a relese.
Philip Withnall [Sat, 10 Jul 2010 14:12:55 +0000 (15:12 +0100)]
Ensure we don't unref every TpAccount
AccountManager.get_valid_accounts() only transfers the container, and
Vala ignores this unless you assign it to a variable with an unowned
item type.
Philip Withnall [Sat, 10 Jul 2010 13:33:56 +0000 (14:33 +0100)]
Remove extraneous array length parameter
change_favourites_by_request_handles no longer needs an explicit array
length parameter, due to changes in Connection.request_handles.
Travis Reitter [Tue, 13 Jul 2010 06:22:37 +0000 (23:22 -0700)]
Use a more-flexible a{sv} type for the add_persona_from_details() functions.
Travis Reitter [Mon, 12 Jul 2010 23:49:40 +0000 (16:49 -0700)]
Bump the version for the new PersonaStore/IndividualAggregator API
Travis Reitter [Mon, 12 Jul 2010 23:47:00 +0000 (16:47 -0700)]
Combine the IndividualAggregator:individuals-added and -removed signals.
Also include a backend-supplied message, persona who caused the change, and
reason for the change. This will allow us to pass on the more-detailed
notification bits for Telepathy (eg, "You got kicked from room XYZ by Foo Baz:
'I just felt like booting someone.'").
Travis Reitter [Mon, 12 Jul 2010 23:33:49 +0000 (16:33 -0700)]
Pass along the message, actor, and reason from standard-channel Telepathy contacts.
Travis Reitter [Mon, 12 Jul 2010 22:45:18 +0000 (15:45 -0700)]
Combine the PersonaStore:personas-added and personas-removed signals.
Also include a backend-supplied message, persona who caused the change, and
reason for the change. This will allow us to pass on the more-detailed
notification bits for Telepathy (eg, "You got kicked from room XYZ by Foo Bar:
'I just felt like booting someone.'").
Travis Reitter [Mon, 12 Jul 2010 23:48:55 +0000 (16:48 -0700)]
Bump the required version of tp-glib
Travis Reitter [Mon, 12 Jul 2010 18:57:35 +0000 (11:57 -0700)]
Also remove Capabilities from Individual.
Travis Reitter [Mon, 12 Jul 2010 17:27:59 +0000 (10:27 -0700)]
Remove the Capabilities interface.
There are some issues with its design, and it depends upon fixes to tp-glib that
we'd like to punt for now.
Travis Reitter [Mon, 12 Jul 2010 17:14:24 +0000 (10:14 -0700)]
Strip Capabilities interface from Tpf.Persona.
Travis Reitter [Fri, 9 Jul 2010 16:32:24 +0000 (09:32 -0700)]
Don't explicitly state the return type of AccountManager.get_valid_accounts().
Travis Reitter [Thu, 8 Jul 2010 23:33:33 +0000 (16:33 -0700)]
Vala doesn't accept GLib.Value as a generic type
This works around the problem (until we care about the content of the details
hash).
Travis Reitter [Thu, 8 Jul 2010 23:17:52 +0000 (16:17 -0700)]
Update for the new signature of ConnectionRequestHandlesCb.
Travis Reitter [Thu, 8 Jul 2010 22:49:29 +0000 (15:49 -0700)]
Cast TelepathyGLib.ContactFeature to uint, since tp-lowlevel can't use the symbol 'TpContactFeature'.
Travis Reitter [Thu, 8 Jul 2010 22:41:12 +0000 (15:41 -0700)]
Update for the fact that the g-i bindings don't bind the Channel.group_members_changed signal.
Travis Reitter [Thu, 8 Jul 2010 21:54:35 +0000 (14:54 -0700)]
Use the existing Tpf.PersonaError instead of the unbound TelepathyGLib.Error.
Travis Reitter [Thu, 8 Jul 2010 21:28:41 +0000 (14:28 -0700)]
Use uint for TpContactFeature, since the type doesn't exist in the Vala bindings.
Travis Reitter [Thu, 1 Jul 2010 00:20:52 +0000 (17:20 -0700)]
Adjust for the fact that AccountManager.get_valid_accounts () transfers ownership.
Travis Reitter [Thu, 1 Jul 2010 00:16:56 +0000 (17:16 -0700)]
Account.get_object_path() no longer (erroneously) takes an argument.
Travis Reitter [Thu, 1 Jul 2010 00:15:45 +0000 (17:15 -0700)]
Make Tpf.PersonaError public
Travis Reitter [Thu, 1 Jul 2010 00:15:10 +0000 (17:15 -0700)]
Use the modern TelepathyGLib.Proxy.prepare_async() instead of the old (and unbound) TelepathyGLib.Connection.call_when_ready ()
Travis Reitter [Wed, 30 Jun 2010 19:24:16 +0000 (12:24 -0700)]
Adjust for TelepathyGLib.AccountManager.get_valid_accounts() transferring ownership of the list.
Travis Reitter [Wed, 30 Jun 2010 19:19:50 +0000 (12:19 -0700)]
Adjust to TelepathyGLib.ConnectionContactsByHandleCb implicitly passing the array lengths.
Travis Reitter [Wed, 16 Jun 2010 22:42:42 +0000 (15:42 -0700)]
Continue adjusting to vapi changes in the g-i-based tp-glib bindings.
Travis Reitter [Wed, 16 Jun 2010 18:26:35 +0000 (11:26 -0700)]
Create our own errordomain for Tpf.Persona errors.
Travis Reitter [Wed, 16 Jun 2010 18:23:46 +0000 (11:23 -0700)]
Work-around the g-i bindings missing TpHandle.