platform/upstream/folks.git
14 years agoImprove filtering of empty aliases
Philip Withnall [Wed, 7 Jul 2010 15:11:58 +0000 (16:11 +0100)]
Improve filtering of empty aliases

14 years agoAdd alias notification in Folks.Individual
Philip Withnall [Wed, 7 Jul 2010 12:13:55 +0000 (13:13 +0100)]
Add alias notification in Folks.Individual

14 years agoAdd missing dbus-glib dep to docs build process
Travis Reitter [Mon, 5 Jul 2010 16:59:15 +0000 (09:59 -0700)]
Add missing dbus-glib dep to docs build process

14 years agoRemove the built documentation on distclean
Philip Withnall [Mon, 5 Jul 2010 09:44:02 +0000 (10:44 +0100)]
Remove the built documentation on distclean

14 years agoAdd documentation to every method in the Telepathy backend
Philip Withnall [Thu, 1 Jul 2010 17:08:32 +0000 (18:08 +0100)]
Add documentation to every method in the Telepathy backend

Much of the documentation is inherited from that in the core of libfolks, and
the rest isn't particularly in-depth.

14 years agoAdd the Telepathy backend to the documentation build
Philip Withnall [Thu, 1 Jul 2010 16:51:20 +0000 (17:51 +0100)]
Add the Telepathy backend to the documentation build

14 years agoMake Tpf.PersonaStore.change_is_favourite() internal
Philip Withnall [Fri, 2 Jul 2010 13:31:49 +0000 (14:31 +0100)]
Make Tpf.PersonaStore.change_is_favourite() internal

14 years agoPass changes to Personas' aliases on to Telepathy
Philip Withnall [Fri, 2 Jul 2010 12:24:05 +0000 (13:24 +0100)]
Pass changes to Personas' aliases on to Telepathy

14 years agoActually ref new Personas set for an Individual, so we don't double-unref them later.
Travis Reitter [Fri, 2 Jul 2010 00:01:10 +0000 (17:01 -0700)]
Actually ref new Personas set for an Individual, so we don't double-unref them later.

14 years agoUpdate an Individual's store-persona hash when the persona is removed from its store.
Travis Reitter [Thu, 1 Jul 2010 23:35:49 +0000 (16:35 -0700)]
Update an Individual's store-persona hash when the persona is removed from its store.

14 years agoDon't emit an extraneous 'personas-removed' before we get confirmation from the server.
Travis Reitter [Thu, 1 Jul 2010 22:29:23 +0000 (15:29 -0700)]
Don't emit an extraneous 'personas-removed' before we get confirmation from the server.

14 years agoWhen removing a Tpf.Persona, remove it from the same struct we're cycling through.
Travis Reitter [Thu, 1 Jul 2010 21:53:49 +0000 (14:53 -0700)]
When removing a Tpf.Persona, remove it from the same struct we're cycling through.

14 years agoWhen removing Tpf.Personas from the store, ensure we empty corresponding entries...
Travis Reitter [Thu, 1 Jul 2010 21:47:10 +0000 (14:47 -0700)]
When removing Tpf.Personas from the store, ensure we empty corresponding entries for the persona's handle.

14 years agoBump version.
Travis Reitter [Thu, 1 Jul 2010 17:22:50 +0000 (10:22 -0700)]
Bump version.

14 years agoMerge remote branch 'pwith/fixes3-no-prepare'
Travis Reitter [Thu, 1 Jul 2010 17:16:36 +0000 (10:16 -0700)]
Merge remote branch 'pwith/fixes3-no-prepare'

14 years agoMerge branch 'master' into fixes3-no-prepare
Philip Withnall [Thu, 1 Jul 2010 17:12:11 +0000 (18:12 +0100)]
Merge branch 'master' into fixes3-no-prepare

Conflicts:
backends/telepathy/tpf-persona.vala
folks/individual.vala
folks/persona.vala

14 years agoRemove use of pkg-config directly from a Makefile
Philip Withnall [Thu, 1 Jul 2010 15:09:40 +0000 (16:09 +0100)]
Remove use of pkg-config directly from a Makefile

14 years agoMake configuration fail if vapigen is missing
Philip Withnall [Thu, 1 Jul 2010 15:00:50 +0000 (16:00 +0100)]
Make configuration fail if vapigen is missing

14 years agoSplit up pkg-config dependencies
Philip Withnall [Thu, 1 Jul 2010 14:46:21 +0000 (15:46 +0100)]
Split up pkg-config dependencies

14 years agoApply new interface style convention
Philip Withnall [Thu, 1 Jul 2010 14:25:22 +0000 (15:25 +0100)]
Apply new interface style convention

When a class implements any interfaces (in addition to its superclass), they
should each be put on a new line, and sorted alphabetically.

14 years agoRemove explicit array length from add_new_personas_from_contacts()
Philip Withnall [Thu, 1 Jul 2010 14:22:01 +0000 (15:22 +0100)]
Remove explicit array length from add_new_personas_from_contacts()

14 years agoImprove documentation build rules
Philip Withnall [Wed, 30 Jun 2010 14:46:52 +0000 (15:46 +0100)]
Improve documentation build rules

Ensure that the documentation is rebuilt if any of the sources files it's
extracted from change.

14 years agoClarify documentation of BackendStore.backend_available
Philip Withnall [Wed, 30 Jun 2010 13:57:20 +0000 (14:57 +0100)]
Clarify documentation of BackendStore.backend_available

14 years agoBump required telepathy-glib.
Travis Reitter [Thu, 1 Jul 2010 03:08:32 +0000 (20:08 -0700)]
Bump required telepathy-glib.

14 years agoMerge remote branch 'pwith/interfaces'
Travis Reitter [Thu, 1 Jul 2010 02:46:04 +0000 (19:46 -0700)]
Merge remote branch 'pwith/interfaces'

14 years agoFix audio and video capabilities
Philip Withnall [Wed, 30 Jun 2010 11:38:05 +0000 (12:38 +0100)]
Fix audio and video capabilities

14 years agoFix setting capabilities when Tp returns a null set of capabilities
Philip Withnall [Wed, 30 Jun 2010 11:10:31 +0000 (12:10 +0100)]
Fix setting capabilities when Tp returns a null set of capabilities

14 years agoMerge branch 'master' into fixes3
Philip Withnall [Wed, 30 Jun 2010 11:04:43 +0000 (12:04 +0100)]
Merge branch 'master' into fixes3

Conflicts:
folks/individual.vala

14 years agoMerge branch 'master' into interfaces
Philip Withnall [Wed, 30 Jun 2010 11:00:15 +0000 (12:00 +0100)]
Merge branch 'master' into interfaces

Conflicts:
folks/persona-store.vala
folks/persona.vala

14 years agoOnly warn about unknown personas if the account is already connected
Philip Withnall [Wed, 30 Jun 2010 10:47:42 +0000 (11:47 +0100)]
Only warn about unknown personas if the account is already connected

This fixes spew of "unknown persona in favourites list" messages on startup.

14 years agoHandle the logger service going away gracefully
Philip Withnall [Wed, 30 Jun 2010 10:40:37 +0000 (11:40 +0100)]
Handle the logger service going away gracefully

14 years agoAdd a FIXME about using DBus.Connection.get_object_for_name_owner()
Philip Withnall [Wed, 30 Jun 2010 10:31:44 +0000 (11:31 +0100)]
Add a FIXME about using DBus.Connection.get_object_for_name_owner()

We can't use it at the moment due to bgo#623198.

14 years agoMerge remote branch 'pwith/favourites'
Travis Reitter [Tue, 29 Jun 2010 23:50:34 +0000 (16:50 -0700)]
Merge remote branch 'pwith/favourites'

(Fixed)
Conflicts:
folks/individual.vala
folks/persona.vala

14 years agoDon't declare IndividualAggregator's constructor as throwing an error, since it doesn't.
Travis Reitter [Tue, 29 Jun 2010 22:11:51 +0000 (15:11 -0700)]
Don't declare IndividualAggregator's constructor as throwing an error, since it doesn't.

14 years agoMerge remote branch 'pwith/docs2'
Travis Reitter [Tue, 29 Jun 2010 22:08:38 +0000 (15:08 -0700)]
Merge remote branch 'pwith/docs2'

Fixed the documented return value for Presence.typecmp from docs2.

(Fixed)
Conflicts:
folks/individual-aggregator.vala
folks/individual.vala

14 years agoMake create_personas_from_channel_handles_async actually async.
Travis Reitter [Tue, 29 Jun 2010 17:51:42 +0000 (10:51 -0700)]
Make create_personas_from_channel_handles_async actually async.

14 years agoBump the required version of GLib so we can take advantage of automatic ref counting...
Travis Reitter [Tue, 29 Jun 2010 18:02:47 +0000 (11:02 -0700)]
Bump the required version of GLib so we can take advantage of automatic ref counting for various GLib classes.

14 years agoUse get_object_for_name_owner() rather than just get_object()
Philip Withnall [Tue, 29 Jun 2010 16:59:56 +0000 (17:59 +0100)]
Use get_object_for_name_owner() rather than just get_object()

This makes the Logger proxy more robust against the Logger service going
away.

14 years agoMake Individual.avatar.set private
Philip Withnall [Tue, 29 Jun 2010 15:27:52 +0000 (16:27 +0100)]
Make Individual.avatar.set private

Avatars are provided by the contacts; we can't set them ourselves.

14 years agoImplement a FIXME about checking for all-whitespace aliases
Philip Withnall [Tue, 29 Jun 2010 15:27:19 +0000 (16:27 +0100)]
Implement a FIXME about checking for all-whitespace aliases

14 years agoAdd capabilities support to TpfPersona
Philip Withnall [Tue, 29 Jun 2010 15:15:37 +0000 (16:15 +0100)]
Add capabilities support to TpfPersona

14 years agoRemove groups API from PersonaStore
Philip Withnall [Tue, 29 Jun 2010 12:54:43 +0000 (13:54 +0100)]
Remove groups API from PersonaStore

It doesn't belong there, as classes which extend Folks.PersonaStore may not
implement Groups functionality. The API has been moved into TpfPersonaStore
as internal API to the Telepathy backend.

14 years agoRemove interfaces from Persona
Philip Withnall [Tue, 29 Jun 2010 12:22:25 +0000 (13:22 +0100)]
Remove interfaces from Persona

Interfaces such as Alias and Persona should be implemented by the backend
persona class which extends Persona, since different backends will have
different functionalities. Any code using Persona should check which
interfaces the specific Persona instance implements before attempting to use
their functionality.

14 years agoCatch some unhandled errors
Philip Withnall [Tue, 29 Jun 2010 11:30:40 +0000 (12:30 +0100)]
Catch some unhandled errors

14 years agoSplit the Logger interface out into a separate file
Philip Withnall [Tue, 29 Jun 2010 11:14:36 +0000 (12:14 +0100)]
Split the Logger interface out into a separate file

Split the LoggerIface we use to wrap the telepathy-logger D-Bus service out
into a separate file, and implement it in a new Logger class which shares the
same D-Bus object between all users of the class.

14 years agoFirst round of favourites review cleanups
Philip Withnall [Tue, 29 Jun 2010 09:57:39 +0000 (10:57 +0100)]
First round of favourites review cleanups

14 years agoChange IndividualAggregator.members to IndividualAggregator.individuals for consisten...
Travis Reitter [Mon, 28 Jun 2010 22:11:04 +0000 (15:11 -0700)]
Change IndividualAggregator.members to IndividualAggregator.individuals for consistency with PersonaStore, etc.

14 years agoRephrase explanation of Individual:removed signal.
Travis Reitter [Mon, 28 Jun 2010 21:31:44 +0000 (14:31 -0700)]
Rephrase explanation of Individual:removed signal.

14 years agoAdd documentation for every public signal, property and member
Philip Withnall [Fri, 25 Jun 2010 16:36:48 +0000 (17:36 +0100)]
Add documentation for every public signal, property and member

14 years agoRemove an outdated comment
Philip Withnall [Fri, 25 Jun 2010 14:29:56 +0000 (15:29 +0100)]
Remove an outdated comment

14 years agoAdd Favourites support
Philip Withnall [Wed, 23 Jun 2010 15:41:55 +0000 (16:41 +0100)]
Add Favourites support

This adds a Favourite interface, implemented by Individual and Persona, and
backed by a D-Bus connection to the telepathy-logger service in
TpfPersonaStore.

The D-Bus logger proxy is a custom-written one in Vala, as the logger proxy
doesn't exist in telepathy-glib at the moment.

Whenever the is-favourite property of an Individual is changed, its new value
is propagated to _all_ of the individual's Personas. Conversely, if a single
Persona has is-favourite == true, the Individual containing that Persona will
also have is-favourite == true.

14 years agoMerge remote branch 'pwith/fixes2'
Travis Reitter [Thu, 24 Jun 2010 16:32:38 +0000 (09:32 -0700)]
Merge remote branch 'pwith/fixes2'

(Fixed)
Conflicts:
backends/telepathy/tpf-persona-store.vala

14 years agoMerge remote branch 'pwith/docs'
Travis Reitter [Thu, 24 Jun 2010 15:22:33 +0000 (08:22 -0700)]
Merge remote branch 'pwith/docs'

(Fixed)
Conflicts:
folks/individual-aggregator.vala
folks/persona-store.vala

14 years agoMicro version bump for new functionality.
Travis Reitter [Thu, 24 Jun 2010 03:07:06 +0000 (20:07 -0700)]
Micro version bump for new functionality.

14 years agoRe-add the stored list, as it's necessary to properly remove contacts.
Travis Reitter [Thu, 24 Jun 2010 03:05:35 +0000 (20:05 -0700)]
Re-add the stored list, as it's necessary to properly remove contacts.

14 years agoSupport contact removal
Travis Reitter [Thu, 24 Jun 2010 02:57:49 +0000 (19:57 -0700)]
Support contact removal

14 years agoRename internal-only 'remove' functions in Tpf.PersonaStore so public 'remove' functi...
Travis Reitter [Thu, 24 Jun 2010 01:10:49 +0000 (18:10 -0700)]
Rename internal-only 'remove' functions in Tpf.PersonaStore so public 'remove' functions consistently mean 'remove permanently from the server'.

14 years agoAdd a comment about the usage of IndividiualAggregator.add_persona_from_details(...
Travis Reitter [Wed, 23 Jun 2010 22:59:11 +0000 (15:59 -0700)]
Add a comment about the usage of IndividiualAggregator.add_persona_from_details().parent

14 years agoCut out 'stored' contact list support; if a contact is in neither 'publish' nor ...
Travis Reitter [Wed, 23 Jun 2010 22:49:04 +0000 (15:49 -0700)]
Cut out 'stored' contact list support; if a contact is in neither 'publish' nor 'subscribe', we don't want to present them.

14 years agoRemove personas for Telepathy contacts removed from both the subscribe and publish...
Travis Reitter [Wed, 23 Jun 2010 22:47:31 +0000 (15:47 -0700)]
Remove personas for Telepathy contacts removed from both the subscribe and publish contact lists.

14 years agoFilter incoming group channel members through the standard contact list channels
Travis Reitter [Wed, 23 Jun 2010 22:40:08 +0000 (15:40 -0700)]
Filter incoming group channel members through the standard contact list channels

14 years agoAdd support for the 'stored' standard contact list channel.
Travis Reitter [Wed, 23 Jun 2010 18:45:35 +0000 (11:45 -0700)]
Add support for the 'stored' standard contact list channel.

14 years agoDon't be excessively-explicit about the HashMap hash/equal functions, since they...
Travis Reitter [Wed, 23 Jun 2010 17:55:59 +0000 (10:55 -0700)]
Don't be excessively-explicit about the HashMap hash/equal functions, since they're determined by the generic types.

14 years agoAvoid another potential group/non-group contact list channel hash collision.
Travis Reitter [Wed, 23 Jun 2010 17:54:21 +0000 (10:54 -0700)]
Avoid another potential group/non-group contact list channel hash collision.

14 years agoHandle the standard non-group contact list channels separately from each other and...
Travis Reitter [Wed, 23 Jun 2010 17:36:54 +0000 (10:36 -0700)]
Handle the standard non-group contact list channels separately from each other and the group channels, as they need to be.

14 years agoChange the key for channel_group_personas_map to Tp.Channel to avoid potential collis...
Travis Reitter [Wed, 23 Jun 2010 16:00:29 +0000 (09:00 -0700)]
Change the key for channel_group_personas_map to Tp.Channel to avoid potential collisions between the ContactList and Group channels.

14 years agoChange the key for channel_group_incoming_adds to Tp.Channel to avoid potential colli...
Travis Reitter [Wed, 23 Jun 2010 15:59:31 +0000 (08:59 -0700)]
Change the key for channel_group_incoming_adds to Tp.Channel to avoid potential collisions between the ContactList and Group channels.

14 years agoUse a literal GError when proxying errors in the TpfPersonaStore
Philip Withnall [Wed, 23 Jun 2010 11:18:51 +0000 (12:18 +0100)]
Use a literal GError when proxying errors in the TpfPersonaStore

14 years agoNote about a Vala bug when chaining constructors which affects us
Philip Withnall [Wed, 23 Jun 2010 10:50:05 +0000 (11:50 +0100)]
Note about a Vala bug when chaining constructors which affects us

14 years agoMake BackendStore.load_backends() async
Philip Withnall [Wed, 23 Jun 2010 10:04:55 +0000 (11:04 +0100)]
Make BackendStore.load_backends() async

It does I/O, so should be async so that it doesn't block. Consequently, it's
no longer guaranteed that all backends/personas/individuals are loaded by the
time IndividualAggegator's constructor returns.

14 years agoDocumentation fixes
Philip Withnall [Wed, 23 Jun 2010 09:37:42 +0000 (10:37 +0100)]
Documentation fixes

Remove the redundant documentation of enum members and improve the
documentation of a few classes.

14 years agoClean up the distinction between the standard 'subscribe', 'publish' contact list...
Travis Reitter [Tue, 22 Jun 2010 23:27:31 +0000 (16:27 -0700)]
Clean up the distinction between the standard 'subscribe', 'publish' contact list channels and arbitrary group channels.

14 years agoAdd the ability to add new personas to a persona store.
Travis Reitter [Thu, 17 Jun 2010 15:06:04 +0000 (08:06 -0700)]
Add the ability to add new personas to a persona store.

14 years agoHave each Individual use the presence message for one of its most-online personas...
Travis Reitter [Tue, 22 Jun 2010 19:05:55 +0000 (12:05 -0700)]
Have each Individual use the presence message for one of its most-online personas rather than the first message found.

14 years agoCut idea for unncessary signal.
Travis Reitter [Tue, 22 Jun 2010 18:54:59 +0000 (11:54 -0700)]
Cut idea for unncessary signal.

14 years agoMerge remote branch 'pwith/fixes'
Travis Reitter [Tue, 22 Jun 2010 17:37:56 +0000 (10:37 -0700)]
Merge remote branch 'pwith/fixes'

14 years agoAdd documentation support and stub documentation to Folks
Philip Withnall [Tue, 22 Jun 2010 17:24:33 +0000 (18:24 +0100)]
Add documentation support and stub documentation to Folks

Add valadoc documentation support in the build system, and add stub
documentation to the top level of all the classes in the Folks namespace, but
not the Folks.Backends namespace.

The documentation is generated in HTML format in docs/folks-0.1/ but isn't
distributed in the tarball.

14 years agogcc warning fixes in tp-lowlevel.[ch]
Philip Withnall [Tue, 22 Jun 2010 15:14:05 +0000 (16:14 +0100)]
gcc warning fixes in tp-lowlevel.[ch]

14 years agoEnsure the individual is removed if all its persona list property is emptied
Philip Withnall [Tue, 22 Jun 2010 12:28:48 +0000 (13:28 +0100)]
Ensure the individual is removed if all its persona list property is emptied

This was already the case when existing personas were removed from the
individual due to their source going away. This commit fixes it for when the
persona list property is changed directly.

14 years agoUse a persona's UID as an individual's alias if no personas have an alias
Philip Withnall [Tue, 22 Jun 2010 11:37:11 +0000 (12:37 +0100)]
Use a persona's UID as an individual's alias if no personas have an alias

14 years agoMake Individual.get_presence_message() return an unowned string
Philip Withnall [Tue, 22 Jun 2010 11:28:03 +0000 (12:28 +0100)]
Make Individual.get_presence_message() return an unowned string

This prevents a completely unnecessary string copy.

14 years agoRemove system m4 macros from the m4 directory
Philip Withnall [Tue, 22 Jun 2010 10:42:51 +0000 (11:42 +0100)]
Remove system m4 macros from the m4 directory

Add them to a .gitignore file instead.

14 years agoAdd some comments to the code
Philip Withnall [Tue, 22 Jun 2010 10:39:31 +0000 (11:39 +0100)]
Add some comments to the code

14 years agoRelocate folks_tp_lowlevel_connection_open_contact_list_channel_finish() next to...
Travis Reitter [Thu, 17 Jun 2010 22:21:22 +0000 (15:21 -0700)]
Relocate folks_tp_lowlevel_connection_open_contact_list_channel_finish() next to its _async() function

14 years agoUse a hash table for tracking new incoming TpfPersonas and only add them if they...
Travis Reitter [Thu, 17 Jun 2010 00:16:21 +0000 (17:16 -0700)]
Use a hash table for tracking new incoming TpfPersonas and only add them if they're new.

14 years agoClean up Telepathy PersonaStore removal and addition. This fixes a regression where...
Travis Reitter [Sun, 13 Jun 2010 00:55:21 +0000 (17:55 -0700)]
Clean up Telepathy PersonaStore removal and addition. This fixes a regression where a Telepathy persona store wouldn't emit 'removed' even if its account were disabled

14 years agoUse consistent naming and signatures for the Tpf.Persona property-notification-passin...
Travis Reitter [Fri, 11 Jun 2010 23:04:23 +0000 (16:04 -0700)]
Use consistent naming and signatures for the Tpf.Persona property-notification-passing helper functions.

14 years agoGeneralize overly-specific 'using' statement
Travis Reitter [Fri, 11 Jun 2010 23:00:58 +0000 (16:00 -0700)]
Generalize overly-specific 'using' statement

14 years agoTrivial clean-up.
Travis Reitter [Fri, 11 Jun 2010 22:59:01 +0000 (15:59 -0700)]
Trivial clean-up.

14 years agoSupport avatars (generally, and for the Telepathy backend)
Travis Reitter [Fri, 11 Jun 2010 20:24:00 +0000 (13:24 -0700)]
Support avatars (generally, and for the Telepathy backend)

14 years agoFix the location of libfolks-telepathy in its -uninstalled pkgconfig file.
Travis Reitter [Thu, 10 Jun 2010 14:20:43 +0000 (07:20 -0700)]
Fix the location of libfolks-telepathy in its -uninstalled pkgconfig file.

14 years agoBump the version number for the major changes of the last few commits.
Travis Reitter [Thu, 3 Jun 2010 19:48:58 +0000 (12:48 -0700)]
Bump the version number for the major changes of the last few commits.

14 years agoAdd .deps files for the public libraries.
Travis Reitter [Thu, 3 Jun 2010 19:42:19 +0000 (12:42 -0700)]
Add .deps files for the public libraries.

14 years agoRename the folks-telepathy files, since they're in a different namespace than the...
Travis Reitter [Thu, 3 Jun 2010 18:18:16 +0000 (11:18 -0700)]
Rename the folks-telepathy files, since they're in a different namespace than the folks-backend-telepathy files

14 years agoAdd proper namespaces to the Telepathy backend and support libraries
Travis Reitter [Thu, 3 Jun 2010 18:09:16 +0000 (11:09 -0700)]
Add proper namespaces to the Telepathy backend and support libraries

14 years agoRename liblowlevel to libtp-lowlevel for clarity
Travis Reitter [Thu, 3 Jun 2010 16:20:46 +0000 (09:20 -0700)]
Rename liblowlevel to libtp-lowlevel for clarity

14 years agoSplit the telepathy backend into a support library and a thin backend
Travis Reitter [Thu, 3 Jun 2010 15:47:44 +0000 (08:47 -0700)]
Split the telepathy backend into a support library and a thin backend
wrapper (so applications can use the support library without linking against the
backend)

14 years agoFactor out the Telepathy backend into a separate, loadable module.
Travis Reitter [Wed, 2 Jun 2010 23:48:48 +0000 (16:48 -0700)]
Factor out the Telepathy backend into a separate, loadable module.

14 years agoAdd tp-glib Vala bindings dependency to the .pc file and add a -uninstalled.pc file
Travis Reitter [Mon, 31 May 2010 22:14:09 +0000 (15:14 -0700)]
Add tp-glib Vala bindings dependency to the .pc file and add a -uninstalled.pc file

14 years agoSupport writing contact group changes back to Telepathy accounts.
Travis Reitter [Thu, 27 May 2010 18:30:54 +0000 (11:30 -0700)]
Support writing contact group changes back to Telepathy accounts.