commit eab18686b082b448f76078c881a1fd2e6df2c28b Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Aug 31 17:57:25 2010 +0100 Bug 628343 â Add an environment variable to disable linking Add a FOLKS_DISABLE_LINKING environment variable which, when set, completely disables linking (both aggregation and the explicit linking and unlinking of Personas). Closes: bgo#628343 folks/individual-aggregator.vala | 28 +++++++++++++++++++++++++++- 1 files changed, 27 insertions(+), 1 deletions(-) commit c905237fd9d215ee2a90f423101d7d20c604c8c5 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Aug 31 16:31:56 2010 +0100 Don't set Individual.is-favourite when updating from Personas Set the private Individual._is_favourite member instead, to prevent the new favourite status from being pushed down to all the Personas and stomping all over their favourite statuses. See also: bgo#628131 folks/individual.vala | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) commit a4c128bb479fc43896c0ee1aabf07dfb44f6abc6 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Aug 31 14:59:37 2010 +0100 Depend on libgee < 0.7 instead libgee 0.7 breaks API but they branched for the 0.5/0.6 series beforehand, so 0.5.3 and 0.6 will not break API. See bgo#627746 configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit f52141e86d6df3a542100e9871622a2d5f546f97 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Aug 24 16:55:53 2010 -0700 Clear the stored list if it's invalidated. backends/telepathy/lib/tpf-persona-store.vala | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 5e414f6d922f0535c5699ecb89d00c1618ea4d5a Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 30 16:46:12 2010 +0100 Don't set Individual.alias when updating the alias from Personas Set the private Individual._alias member instead, to prevent the changed alias (which could be a fallback display ID or similar) from being pushed down to all the Personas and stomping all over their aliases. Helps: bgo#628131 folks/individual.vala | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) commit 1f549b38b0b1edd0f352153de8b58711a2b594b3 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 30 16:43:36 2010 +0100 Refactor Individual.update_alias() to give a single notification path folks/individual.vala | 48 +++++++++++++++++++++++------------------------- 1 files changed, 23 insertions(+), 25 deletions(-) commit 9184070a8450d1a1707245c144d3341f241c6686 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 30 11:50:58 2010 +0100 Ensure untrusted Personas' Individuals are signalled as removed When a Persona from an untrusted PersonaStore (such as link-local XMPP) was removed, the Individual which contained (only) that Persona was not being signalled as removed, causing link-local XMPP contacts to (for example) remain in Empathy's contact list even after going offline. Closes: bgo#628305 folks/individual-aggregator.vala | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-) commit 0108786c0faffbc95e4eee5875cee8f0675b5a44 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 30 11:22:13 2010 +0100 Mark two strings as unowned to prevent unnecessary string copies folks/individual-aggregator.vala | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 65d2b501696253f82afc14f018e1a3fce737a68e Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 30 17:38:09 2010 +0100 Ensure existing Kf.Personas aren't overwritten when choosing new group names If a key file contained several groups which weren't contiguously numbered on startup, IDs for new groups would start from the first unused ID, and continue happily into the next block of IDs which were already in use. This patch ensures that if an ID is already in use, it won't be again for a new Kf.Persona. Closes: bgo#628294 backends/key-file/kf-persona-store.vala | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) commit d9e798cf74f730613cf43753ff6a30822d6de64f Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 30 17:24:49 2010 +0100 Add extra debug messages to the key-file backend backends/key-file/kf-persona-store.vala | 7 +++++++ backends/key-file/kf-persona.vala | 9 ++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) commit 5b86c16cad6bf056074bbbc0bd815d5df5fd6b70 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 30 15:49:17 2010 +0100 Work around a Vala bug generating bad C for a lambda function inside a loop Helps: bgo#628335 folks/individual-aggregator.vala | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) commit a8afda52bd9d005f925bc8499d416e093c3fd22e Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 30 14:23:25 2010 +0100 Output more debugging information when linking folks/individual-aggregator.vala | 48 +++++++++++++++++++++++++------------ 1 files changed, 32 insertions(+), 16 deletions(-) commit 0af88f31edb469049cb53e4d8bab257482dc02d0 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 30 10:22:20 2010 +0100 Remove unused declaration from tp-lowlevel.h It was causing g-ir-scanner to fail when building packages. backends/telepathy/lib/tp-lowlevel.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 98b8c2babbf6498799168d63a399256eaf8ec02a Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Fri Aug 27 15:21:05 2010 -0700 tp-lowlevel doesn't actually depend upon the Gee introspection file backends/telepathy/lib/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ed774c184747ec5d4a870b1343cf5841e92e840d Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Aug 27 13:35:26 2010 +0100 Block notification of Persona.is-favourite when changing it on the Individual This fixes changing the favourite status of an Individual containing more than one Persona, since previously the change wouldn't be applied. This is because the change would be bubbled down to the first Persona, which would then notify of the change to its is-individual property, causing the Individual's is-favourite property to be re-calculated incorrectly, since the favourite status of the _other_ Personas hadn't yet been changed. Closes: bgo#628108 folks/individual.vala | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) commit a96200b40547ab3a754e75aa71db69bd01a322a8 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Aug 27 13:28:15 2010 +0100 Add debugging to favourite status in Folks.Individual folks/individual.vala | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit b90b123a5808bff9c6d1c15c79bdf5845d6fd762 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Aug 27 11:37:40 2010 +0100 Post-release version bump and non-release indicator configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 6ab7ca14bfab05cc0d760b1545fb1f8d244924cd Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Aug 27 11:18:26 2010 +0100 Release version 0.1.15 configure.ac | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 908d51d9a8d3ea32961bebc08429bd2b3fbca3d3 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Aug 27 11:11:53 2010 +0100 Remove outdated telepathy-check.vala from EXTRA_DIST Makefile.am | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit d32c5b2be0b899239408e18a498a28c98c12bfcc Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Aug 27 11:02:26 2010 +0100 Fix symbol version numbers I got mixed up between pre- and post-release incrementing. backends/key-file/kf-persona.vala | 2 +- folks/individual.vala | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) commit 5cd2f5278a2be05bb561759f5d0737bf0427a2dd Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Aug 26 22:27:02 2010 +0100 Don't use deprecated Gee.Map.remove() method folks/individual.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 1781654659c6590365dce68b19f36e2b46fbf484 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Aug 26 14:44:10 2010 +0100 Add checks for memset() and strstr() According to `autoscan`, these are used by some of the generated C code, and should be checked for at configure time. configure.ac | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit d4c97e7062c7c2f93ea42f61c199ce7944d0e198 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Aug 26 14:33:38 2010 +0100 Tidy up configure.ac This is just the result of running `autoupdate` on configure.ac, plus the addition of two extra options to AC_INIT, specifying the tarball name and project homepage. configure.ac | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit e221dec87f9092b526a1d87b285b127c5a2c4ca2 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Aug 26 12:37:15 2010 +0100 Move the folks-telepathy library to a "lib" subdir of backends/telepathy This solves the ordering problem between building folks-telepathy.la and folks-backend-telepathy.la, where the latter depends on the former, under parallel installation. See http://old.nabble.com/relinking-error-td27796838.html for an explanation of why adding DEPENDENCIES doesn't work. This fixes parallel installation of libfolks. Closes: bgo#627898 backends/telepathy/Makefile.am | 173 +--- .../telepathy/folks-telepathy-uninstalled.pc.in | 12 - backends/telepathy/folks-telepathy.deps | 3 - backends/telepathy/folks-telepathy.pc.in | 15 - backends/telepathy/lib/Makefile.am | 184 +++ .../lib/folks-telepathy-uninstalled.pc.in | 12 + backends/telepathy/lib/folks-telepathy.deps | 3 + backends/telepathy/lib/folks-telepathy.pc.in | 15 + backends/telepathy/lib/tp-lowlevel.c | 614 +++++++++++ backends/telepathy/lib/tp-lowlevel.h | 145 +++ backends/telepathy/lib/tpf-logger.vala | 133 +++ backends/telepathy/lib/tpf-persona-store.vala | 1164 ++++++++++++++++++++ backends/telepathy/lib/tpf-persona.vala | 350 ++++++ backends/telepathy/tp-lowlevel.c | 614 ----------- backends/telepathy/tp-lowlevel.h | 145 --- backends/telepathy/tpf-logger.vala | 133 --- backends/telepathy/tpf-persona-store.vala | 1164 -------------------- backends/telepathy/tpf-persona.vala | 350 ------ configure.ac | 5 +- docs/Makefile.am | 6 +- 20 files changed, 2637 insertions(+), 2603 deletions(-) commit 870ffaab3cb41d34e7694b1eba27992c44df89f3 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Aug 26 14:23:33 2010 +0100 Don't use BUILT_SOURCES in makefiles It messes around with the order of building things, which can cause problems when building subdirectories which are dependencies of the current directory. We didn't actually need it anyway, since all the files mentioned in BUILT_SOURCES were pulled in as dependencies of other build targets. backends/key-file/Makefile.am | 12 ++++-------- backends/telepathy/Makefile.am | 28 +++++++++++++--------------- folks/Makefile.am | 16 ++++++---------- 3 files changed, 23 insertions(+), 33 deletions(-) commit a1190e33fb96e2edf15d27b9120b8e95eef0318d Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Aug 25 18:10:36 2010 +0100 Push favourite changes to all Personas unconditionally Since the changes are only pushed down to Personas if the favourite status has changed, they have to be pushed down to every Persona anyway (or the aggregated favourite status wouldn't change). folks/individual.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c9afc15599021aa2b4a18ccd1563662c35290a3d Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Aug 25 18:08:35 2010 +0100 Write alias changes to every Persona if there are no writeable Personas This is necessary for singleton Individuals which only contain a Tpf.Persona. folks/individual.vala | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) commit 67db896d4d9eef20b4581ac1f4c34c21d3ad9bf6 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Aug 25 17:02:53 2010 +0100 Don't unnecessarily push group changes down to Personas The Individual.change_group() method should only be called in response to user interaction, as it pushes the group change down to all the Individual's Personas. folks/individual.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 95727c7cbe7fde32ca60206e6bd46d3f36694d00 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Aug 25 16:55:06 2010 +0100 Don't listen to notify::groups in Individual We listen to the group_changed signal instead. folks/individual.vala | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) commit 450e7f20e9df7167303c526786ab355eaf305463 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Aug 25 16:54:10 2010 +0100 Fix groups signal emissions in Tpf.Persona backends/telepathy/tpf-persona.vala | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) commit 336f592c771c8fb852f5b3035bdd162b2ad19a21 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Aug 25 16:45:49 2010 +0100 Add a missing yield to make group changes async in the telepathy backend backends/telepathy/tpf-persona.vala | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit b6e3d2cb6d730584160116f766d1a8fc5f090e37 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Aug 25 16:33:28 2010 +0100 Use the alias from a writeable Persona in preference to other aliases The writeable Persona's alias, if non-empty, is the one which has been set by the user, so should be the preference. folks/individual.vala | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) commit 0eeef6c82d05078ec64940a57e7044c1dc6e2903 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Aug 25 16:22:37 2010 +0100 Add alias support to the key-file backend To store user-set aliases for Individuals. Helps: bgo#627508 backends/key-file/kf-persona.vala | 31 ++++++++++++++++++++++++++++++- 1 files changed, 30 insertions(+), 1 deletions(-) commit b82218b4c387d83b87b882aace8c79f84670b235 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Aug 25 16:01:11 2010 +0100 Fall back to using a display ID if no Personas have an alias This is prettier than falling back to a UID. Closes: bgo#626410 folks/individual.vala | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) commit a0232c6fa4ac11f4ee237d3c3e758c5d6c4b93ae Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Aug 25 15:58:02 2010 +0100 Fall back to the display ID for TpfPersonas with empty aliases backends/telepathy/tpf-persona.vala | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) commit cd2400c5ed45df81a4024e41c4020b61a6051b37 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Aug 19 14:59:38 2010 +0100 Bug 626578 â Use vala's vala.m4 to check for telepathy-glib(.vapi) configure.ac | 10 +++---- m4/vala.m4 | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++ telepathy-check.vala | 6 ---- 3 files changed, 74 insertions(+), 12 deletions(-) commit db4f574a00273779a7e369dfedc6da02a1b1eaae Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Aug 25 19:00:37 2010 +0100 Bug 627968 â Add Individual.trust_level property Add a property to indicate how far the Individual should be trusted. This is NONE if any of the Individual's Personas come from a non-trusted PersonaStore. Closes: bgo#627968 folks/individual.vala | 66 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 66 insertions(+), 0 deletions(-) commit 40e2b0181123bf1bc82d3bbc8dab22c0e7ef2440 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Aug 19 17:59:27 2010 +0100 Only keep one reference to each Persona in an Individual folks/individual.vala | 17 +++++------------ 1 files changed, 5 insertions(+), 12 deletions(-) commit 15947652e0e31dad9bf9061565c5b243b628572c Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Aug 19 17:55:02 2010 +0100 Bug 626725 â Add an Individual.personas_changed signal Add a personas_changed signal, allowing client code to do various things with the lists of added and removed Personas, instead of having to determine which Personas were added or removed themselves. Closes: bgo#626725 folks/individual.vala | 185 +++++++++++++++++++++++++++++++++---------------- 1 files changed, 125 insertions(+), 60 deletions(-) commit 8cebb98c04b20eaf0efd04b68d92f2a1a0dd789d Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Aug 19 16:17:08 2010 +0100 Store a set of Personas inside each Individual for speed of lookup Store a set of all the Personas in the Individual, rather than compartmentalised sets of the Personas from each PersonaStore. With the set of Personas kept in sync with the list of Personas, this allows both fast lookup and iteration. folks/individual.vala | 154 +++++++++++++++++++++++------------------------- 1 files changed, 74 insertions(+), 80 deletions(-) commit 7aa66a278818094e82cd8b108ab30cba6ef9d480 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Aug 23 13:07:30 2010 -0700 Fix the calculation for the persona_store_id length in Persona.split_uid(). folks/persona.vala | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 2118606508ae1ef5c9395864c776328ffd590bd3 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 23 17:59:58 2010 +0100 Depend on libgee <= 0.5.2 libgee 0.5.3 breaks API. See bgo#627746 configure.ac | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit e469532a16c4b5a12b694e242404c23574fe122e Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Fri Aug 20 11:15:52 2010 -0700 Make gobject-introspection a hard requirement. Fixes bgo#627506 backends/telepathy/Makefile.am | 2 -- configure.ac | 2 +- 2 files changed, 1 insertions(+), 3 deletions(-) commit 37c6361ec6dad777f657ac4f2b272d1628080c35 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Fri Aug 20 08:37:04 2010 -0700 Clean up the variable naming for parallel data structures. folks/individual-aggregator.vala | 30 ++++++++++++++++-------------- 1 files changed, 16 insertions(+), 14 deletions(-) commit f2fc13b30ab64f82a8681f7466fed7d5b15cd1da Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Aug 20 12:22:13 2010 +0100 Ensure duplicate Individuals don't enter candidate_inds when aggregating If Individuals matched on more than one property, they would appear in the list of candidate Individuals multiple times, causing the resulting linked Individual to contain duplicate Personas and Bad Things to happen. Helps: bgo#626544 folks/individual-aggregator.vala | 21 +++++++++++++++++++-- 1 files changed, 19 insertions(+), 2 deletions(-) commit ae5928a23c08501f0f47db8e29f51f5f6a838889 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Aug 20 11:53:18 2010 +0100 Ensure the IMable.im_addresses property does not contain duplicates This can cause Personas to appear multiple times in a linked Individual, leading to bad state. Helps: bgo#626544 backends/key-file/kf-persona.vala | 14 ++++++++++++-- folks/imable.vala | 12 +++++++++--- folks/individual-aggregator.vala | 22 ++++++++++++++++++++-- 3 files changed, 41 insertions(+), 7 deletions(-) commit 97dd951ab8486d0ffba4a97f3e79fa53a0143d36 Author: Maciej Piechotka <uzytkownik2@gmail.com> Date: Thu Aug 19 00:24:05 2010 +0200 Bug 627314 â folks cannot be install in gentoo sandbox Correct a problem in the Telepathy backend's LDADD. Closes: bgo#627314 backends/telepathy/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit cdb38b17e75908722297a0c30807be81f81c489e Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Aug 18 18:27:10 2010 -0700 Bundle introspection.m4, because ...autotools. Makefile.am | 1 - m4/introspection.m4 | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+), 1 deletions(-) commit 3f860968a15d778a788b61f9a2d9d4b72dd6fe52 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Aug 18 12:15:45 2010 -0700 Check whether the Persona instance is IMable, not the class. folks/individual-aggregator.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit bbbdbf577240ed720a33e651ff35c4aef2a08f49 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Aug 18 09:31:04 2010 -0700 Post-release version bump and non-release indicator configure.ac | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 6810363f05aee6de6e969e48ec7bb6f501548dbd Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Aug 18 09:15:20 2010 -0700 Release version 0.1.14.1 configure.ac | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit fd58c8215239e2a0d6114e6cc970a038ac6e24b1 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Aug 18 09:11:34 2010 -0700 Make the 'Group invalidated' warning a debug statement. This seems to only be printed when signing off of some accounts, so it doesn't deserve to be a warning. backends/telepathy/tpf-persona.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit dc72a263beee26c919a589da60a6469a1048f580 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Aug 18 07:57:59 2010 -0700 Depend upon a released version of Vala. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit e456a2886a3cf8bdd57a94db8d163c593749cbf1 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Aug 17 22:18:57 2010 -0700 Bump Vala version requirement to where it should be The move of tp-lowlevel to gobject-introspection requires this version of Vala. I forgot to bump this in time for that commit. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 2035b84b9d126ee0b9c905a83409680b7ef8d37d Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Aug 17 21:28:02 2010 -0700 Post-release version bump and non-release indicator configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 84cb5c6a67338fdd2b463e8bcc47cfd0918370e0 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Aug 17 20:55:18 2010 -0700 Release version 0.1.14 configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 176f8f1aab8cc95ca2709778a9bbf427680d3530 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Aug 17 16:55:48 2010 -0700 Fix calls to deprecated Gee.Map.remove() backends/telepathy/tpf-persona-store.vala | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit 6814e1ada47d86db8fed48c87bf27fe7f3d6a26e Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Aug 17 16:35:28 2010 -0700 Update object ownership in the Telepathy backend for the new tp-lowlevel ownership. backends/telepathy/tpf-persona-store.vala | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) commit 8dc6a2a39f859b49b964e314234c30b37c883c1e Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Aug 17 16:07:07 2010 -0700 Don't free the return value of transfer-full TpLowlevel functions. These transfer return value ownership, so we're asking for a double-free error. backends/telepathy/tp-lowlevel.c | 15 +++------------ 1 files changed, 3 insertions(+), 12 deletions(-) commit a3568cd62fa41b0c133f09ea9444fe068ccc9865 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Aug 17 16:31:07 2010 -0700 Build tp-lowlevel via gobject-introspection Makefile.am | 5 ++- backends/telepathy/Makefile.am | 43 ++++++++++++++++++------------- backends/telepathy/tp-lowlevel.metadata | 11 -------- configure.ac | 11 ++------ 4 files changed, 31 insertions(+), 39 deletions(-) commit adc2865a30caf38d863f92773069f240a4132943 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Aug 17 16:34:15 2010 -0700 Add gobject-introspection annotations to tp-lowlevel backends/telepathy/tp-lowlevel.c | 67 ++++++++++++++++++++++++++++++++++++-- backends/telepathy/tp-lowlevel.h | 7 +++- 2 files changed, 69 insertions(+), 5 deletions(-) commit 2cb9ac655f27767b0c8fe644b50952d974336cf5 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Aug 17 15:00:27 2010 +0100 Use gen-introspect-0.10 instead of gen-introspect This is needed because Vala renamed gen-introspect for 0.9.5. configure.ac | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 9239c2319714356db81eefe096c2b2141fc1a057 Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Date: Tue Aug 17 13:39:27 2010 +0200 use debug() when failing to get a contact list channel backends/telepathy/tpf-persona-store.vala | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) commit 804f6c48d42bca86b29a96ff811d5044af326bcd Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Date: Tue Aug 17 13:35:01 2010 +0200 use debug() instead of message() folks/individual.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c1c0d0f28fac9e6a66483188d3598643cb5f19a2 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Aug 12 10:39:34 2010 -0700 Cut dependence on vala-1.0.pc for other programs configure.ac | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) commit 7fb6e868e8db69acec7930f1f45b7626431d1319 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Aug 12 09:35:51 2010 -0700 Detect Vala by special automake macro, not .pc file. The .pc file is meant for internal use only. configure.ac | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) commit 49527937589af82caf8726a1be0afa20cd405573 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Aug 11 17:11:17 2010 +0100 Post-release version bump and non-release indicator configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 395740d7a8c0eade30d141b2f9183c7ae267bddb Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Aug 11 17:09:14 2010 +0100 Release version 0.1.13 configure.ac | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit f22c53165a6fcc6d1d7c6e5c8b8b96047c7ea071 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Aug 11 17:08:46 2010 +0100 Ensure the telepathy-vala configure check works for builddir != srcdir Makefile.am | 1 + configure.ac | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) commit 2d94025a8586550316061d8c9cec4726bc42cc91 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Aug 10 17:03:17 2010 +0100 Rework unlinking in the IndividualAggregator Ensure it causes linked Individuals to be split apart and their Personas which haven't been removed to be relinked. folks/individual-aggregator.vala | 130 +++++++++++++++++++++++++++++++------ 1 files changed, 109 insertions(+), 21 deletions(-) commit 86261325ce1aa25cb5919381939677febc94d851 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Aug 10 16:59:36 2010 +0100 Signal the removal of personas from the Kf.PersonaStore backends/key-file/kf-persona-store.vala | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit e71262c61afcac251cbe15442c4c9757fabdc321 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Aug 10 16:56:31 2010 +0100 Improve the IDs stored in the key file Instead of storing the full Persona.UID in the key file, only store the display ID (the number). The IID then becomes the key file filename plus the display ID, to prevent unwanted linking of Kf.Personas from different key files. backends/key-file/kf-persona-store.vala | 8 ++++---- backends/key-file/kf-persona.vala | 13 +++++++------ 2 files changed, 11 insertions(+), 10 deletions(-) commit 136b68dab8b4c9be5d9cf8510239835667f6c04a Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 9 17:49:57 2010 +0100 Improve the heuristic for choosing an Individual's alias Change the heuristic to choose the first alias which isn't unset or empty, and if possible to choose the first alias which isn't equal to the Persona's display-id. If all the aliases are equal to display-ids, however, use one of them in preference to having no alias at all. folks/individual.vala | 24 ++++++++++++++++++++---- 1 files changed, 20 insertions(+), 4 deletions(-) commit 6e1098f1f1651ca71666125cbe6b02bb86d11afd Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 9 17:18:32 2010 +0100 Don't synchronise groups between Personas folks/individual.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4e3ec60588f7f731d23f5ea4de328b376a25cf52 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 9 17:11:59 2010 +0100 Don't synchronise favourite status between Personas folks/individual.vala | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) commit 9004ea1a98f6deed6fd363a051467cd93fdf9560 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 9 17:08:43 2010 +0100 Don't synchronise alias between Personas When setting a new alias on an Individual, only push it to Personas from the writeable PersonaStore. This prevents every other Persona's alias from being unnecessarily overwritten. folks/individual.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 16f931677aba582bc5d5aa0f7c49974ac23924df Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 9 17:07:28 2010 +0100 Add a PersonaStore.is_writeable property folks/individual-aggregator.vala | 13 ++++++++++++- folks/persona-store.vala | 11 +++++++++++ 2 files changed, 23 insertions(+), 1 deletions(-) commit 39e8086aadd4e3526df7fc5661cbaf5abc252865 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Aug 10 15:45:16 2010 -0700 Update folks-telepathy pkg-config files. Now they require telepathy-glib, not the obsolete telepathy-vala. .../telepathy/folks-telepathy-uninstalled.pc.in | 2 +- backends/telepathy/folks-telepathy.pc.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4adb8fe0b46f29838487cca529e2d5bc282199a4 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Aug 10 15:43:57 2010 -0700 Update folks pkg-config files. Now they require telepathy-glib, not the obsolete telepathy-vala. folks/folks-uninstalled.pc.in | 2 +- folks/folks.pc.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 5a521af28f1361e1a00ba5bfa1475e798bdc3809 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Aug 10 15:28:23 2010 -0700 Check for telepathy-glib Vala bindings by compilation success, not specific file. configure.ac | 8 ++++++-- telepathy-check.vala | 6 ++++++ 2 files changed, 12 insertions(+), 2 deletions(-) commit f5053f8df0fe996ac52926e558d9ed46aa6ea7a1 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Aug 10 14:24:41 2010 -0700 Arrange configure checks from most- to least-likely to succeed. configure.ac | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) commit 76ef5e2a562326cebf0c43253f2fd592e20581f5 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 15 18:33:28 2010 -0700 Catch up with the new location for the telepathy-glib.vapi bindings file. backends/telepathy/Makefile.am | 13 +++++-------- configure.ac | 15 ++++++--------- 2 files changed, 11 insertions(+), 17 deletions(-) commit 24e75a2eac7299692a2981cadea33ff5fc3385bf Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Aug 9 16:32:10 2010 -0700 Don't warn if the 'stored' channel doesn't exist. backends/telepathy/tpf-persona-store.vala | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit b9bb6e2300a529516f51d67523ee4f84533f365d Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 9 14:48:35 2010 +0100 Add IndividualAggregator.link_personas() and .unlink_individual() API These methods allow persistent linking and unlinking of Personas, compared to the transient linking which editing Individual.personas provides. This allows for an interface to preview the properties of a newly linked Individual before committing the changes using IndividualAggregator.link_personas(). folks/individual-aggregator.vala | 82 ++++++++++++++++++++++++++++++++++++++ folks/individual.vala | 6 +++ 2 files changed, 88 insertions(+), 0 deletions(-) commit 5fb93c5290afbc3946308910eec826dc8b3f009c Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 9 12:44:03 2010 +0100 Implement the IMable interface on TpfPersona Use it to expose the Persona's IM address. Do not allow setting the IM address. backends/telepathy/tpf-persona.vala | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-) commit aafc38cfcfe923549cedeed9641d939933e03b08 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 9 14:47:36 2010 +0100 Take "im-addresses" as the parameter for a new Kf.Persona This allows construction of new key file personas which contain multiple IM addresses from different protocols. backends/key-file/kf-persona-store.vala | 24 +++++++++--------------- backends/key-file/kf-persona.vala | 15 ++++++++++----- 2 files changed, 19 insertions(+), 20 deletions(-) commit e58ae2c4b34f1bf479c3288c9b02e3d2dd187ba9 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 9 14:46:26 2010 +0100 Use autogenerated numeric IDs for key file groups backends/key-file/kf-persona-store.vala | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) commit e40ce9fc94c6a30670e586cfb68db09de934a829 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Aug 6 11:20:59 2010 +0100 Let the IndividualAggregator designate one PersonaStore as its writeable store folks/individual-aggregator.vala | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit b049c5e8d9d48c38ed8e9230bcbfbcd4a69a7114 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Aug 6 15:05:53 2010 +0100 Allow late linking of Individuals if Personas are added at runtime If a Persona is added after the initial aggregation phase and it should be linked to more than one existing Individual, the Individuals are now destroyed and their Personas added to a new linked Individual containing the late Persona. This is necessary for supporting runtime linking and unlinking of Personas. folks/individual-aggregator.vala | 139 +++++++++++++++++++++++++++++--------- 1 files changed, 107 insertions(+), 32 deletions(-) commit a6e337363592f6bd2375496d91bdd702a4ddfbd4 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 9 18:03:38 2010 +0100 Specify a replacement Individual in Individual.removed() This allows clients to better keep track of which Individuals have been removed through the user linking them with other Individuals, and which have been removed for more mundane reasons. folks/individual-aggregator.vala | 2 +- folks/individual.vala | 149 ++++++++++++++++++++------------------ 2 files changed, 79 insertions(+), 72 deletions(-) commit bd0f324e0e3e747842ccadea165439bf6b666a3f Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Aug 5 14:42:22 2010 +0100 Warn if the MIME type of a potential backend couldn't be determined This prevents backends silently not being loaded if shared-mime-info wasn't installed. Closes: bgo#626108 folks/backend-store.vala | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) commit 0e3427491df99f1fc1babadb7fa0cafe929ee02e Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Aug 4 11:09:33 2010 +0100 Add @since lines to the documentation of some new methods folks/persona-store.vala | 2 ++ folks/persona.vala | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) commit d844d677583b838946d3906d2c248bedf3f4441e Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Aug 3 17:07:10 2010 -0400 Add a display-name property to PersonaStore This is equivalent to display-id for Persona. backends/key-file/kf-persona-store.vala | 6 ++++++ backends/telepathy/tpf-persona-store.vala | 7 +++++++ folks/persona-store.vala | 15 +++++++++++++++ 3 files changed, 28 insertions(+), 0 deletions(-) commit 5d37ec9e7b313d66fee2a7c79ee964af3c799813 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Aug 3 15:43:39 2010 -0400 Add the display-id property to Persona. This is meant to be a human-readable, familiar identifier for presenting to the user (when absolutely necessary). backends/key-file/kf-persona.vala | 5 ++++- backends/telepathy/tpf-persona.vala | 4 +++- folks/persona.vala | 16 ++++++++++++++++ 3 files changed, 23 insertions(+), 2 deletions(-) commit c24fc85f5e824401a7325a487d949347dcb823f1 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Jul 22 17:16:51 2010 +0100 Use the Persona's UID instead of the IID as the Individual's ID Because the UID is globally unique, so this ensures that Individuals' IDs are globally unique. folks/individual.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit dfdb7114c85860a79ad560a0cbdd8e0099f5a4a9 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Jul 22 16:24:14 2010 +0100 Allow specifying the key file to load via an environment variable backends/key-file/kf-backend.vala | 20 +++++++++++++++++--- 1 files changed, 17 insertions(+), 3 deletions(-) commit 2f71d1c69d5986fe68d66111e0721579aecd674a Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Jul 22 15:26:15 2010 +0100 Add the key-file backend to the documentation build This requires filtering out the BackendFactory Vala files, since they contain global symbols (module_init(), module_finalize(), backend_factory) in both backends, which conflict in the documentation. docs/Makefile.am | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit 6e9544b47635d2128549241709c2cc169943a278 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Jul 20 17:51:46 2010 +0100 Tidy up UIDs and IIDs in the backends IIDs are now defined as unique within a backend, and formatted to make them most useful for linking. UIDs are now defined as unique across all backends, and formatted as Backend.name:PersonaStore.id:Persona ID. backends/key-file/kf-persona.vala | 11 ++-- backends/telepathy/tpf-persona.vala | 17 +++--- folks/individual-aggregator.vala | 12 ++-- folks/persona.vala | 102 +++++++++++++++++++++++++++++++++- 4 files changed, 119 insertions(+), 23 deletions(-) commit 4e73c105f32f683cdd51e269fb15262c7f345402 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Jul 19 16:37:46 2010 +0100 Add linking support to the IndividualAggregator Personas are linked together to form Individuals using a link map containing mappings from UIDs and linkable properties to Individual instances. This takes PersonaStore trust levels into account. backends/key-file/kf-persona.vala | 25 +++++++++ folks/individual-aggregator.vala | 108 +++++++++++++++++++++++++++++------- folks/persona.vala | 34 ++++++++++++ 3 files changed, 146 insertions(+), 21 deletions(-) commit 39cddd06a71c50d42518fbbf7fbc4dc5247e4833 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Jul 16 13:41:34 2010 +0100 Add a key-file backend This backend stores Personas in a key file which is completely under the user's control, making it the only fully trusted Backend. Currently, it only stores IM addresses, which can then be used as linkable properties by the IndividualAggregator to link together Personas from multiple backends to automagically produce Individuals. backends/Makefile.am | 1 + backends/key-file/Makefile.am | 84 +++++++++++ backends/key-file/folks-key-file.deps | 2 + backends/key-file/kf-backend-factory.vala | 67 +++++++++ backends/key-file/kf-backend.vala | 73 ++++++++++ backends/key-file/kf-persona-store.vala | 222 +++++++++++++++++++++++++++++ backends/key-file/kf-persona.vala | 124 ++++++++++++++++ backends/telepathy/tp-backend.vala | 3 - configure.ac | 1 + folks/backend.vala | 6 + folks/debug.vala | 9 +- 11 files changed, 586 insertions(+), 6 deletions(-) commit 8b685698e88262e6be5cdeba643535fd197d6d2d Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Jul 19 12:11:56 2010 +0100 Add PersonaStore trust levels The Personas from each PersonaStore now have an assigned trust level (none, partial or full) which indicates how much of their data can be used for linking Personas together to form Individuals. At the moment, the key-file backend is hard-coded as having the only fully trusted PersonaStore. backends/telepathy/tpf-persona-store.vala | 7 ++++ folks/individual-aggregator.vala | 20 ++++++++++++ folks/persona-store.vala | 48 +++++++++++++++++++++++++++++ folks/persona.vala | 9 +++++ 4 files changed, 84 insertions(+), 0 deletions(-) commit 46eaf12bde8c7d0676e6a78cdb950d1321c6e0ca Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Jul 16 13:40:39 2010 +0100 Add IMable interface folks/Makefile.am | 1 + folks/imable.vala | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 0 deletions(-) commit dcd308113590ecf0316a5747254b0ce30b50868b Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Jul 16 13:39:55 2010 +0100 Add concept of linkeable properties to Persona folks/persona.vala | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit 98187cc4f344c498633e71a8ec7b4e93dd120615 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Jul 20 13:37:07 2010 +0100 Downgrade UID-as-alias warning to just a message It's routinely triggered by the key-file backend, and doesn't need to be a warning anyway. folks/individual.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit e6edfc2cfd33b4f4309e5ae87f6e38de7e62f4f6 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Jul 23 12:21:22 2010 +0100 Manually iterate through personas in remove_individual(). This lets us properly yield upon remove_persona(). folks/individual-aggregator.vala | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) commit d7a41f42abc19029598efff03b08df261833a513 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Aug 3 09:22:48 2010 -0400 Set the autoconf link to folks bugzilla. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c0dfe5895ff6f04aaa81d067d324349563d8ad2c Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 2 16:57:28 2010 +0100 Don't warn when adding an existing contact. Closes bgo#625830 backends/telepathy/tpf-persona-store.vala | 6 ++++-- folks/individual-aggregator.vala | 2 +- folks/persona-store.vala | 3 +++ 3 files changed, 8 insertions(+), 3 deletions(-) commit 461fd27cf073a12340a27c2581a1d1aa9fff55bd Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Aug 2 15:41:27 2010 -0400 Post-release version bump and non-release indicator configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 260991c1b4bc4130758af3b6f8c50218b6bdc397 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Aug 2 14:01:51 2010 -0400 Release version 0.1.12 configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 9749fbe5b033adaa63e7f6467d996ec02e05319e Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Aug 2 13:59:32 2010 -0400 Bump revision, in anticipation of release. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 8f0befca507bd6388327e800a264628272457d1b Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Jul 23 13:38:53 2010 +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. backends/telepathy/Makefile.am | 2 +- configure.ac | 14 ++++++++++++++ folks/Makefile.am | 3 +-- 3 files changed, 16 insertions(+), 3 deletions(-) commit bae4f448fd91ac4fcf3a26ab3687da2b62080ade Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 2 13:12:21 2010 +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 backends/telepathy/tpf-persona-store.vala | 39 +++++++++++++++++----------- 1 files changed, 24 insertions(+), 15 deletions(-) commit d05c8c3a6bde9eadee65aab1896a8dd094de4693 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Aug 2 10:16:53 2010 -0400 Bump Vala version requirement. We actually depended on this version de facto as soon as we added the debugging clean-ups. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c60ce2550ba297097b4efa7d5f53e6031340a071 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 2 12:55:59 2010 +0100 Add some more debug output to the Telepathy backend backends/telepathy/tpf-persona-store.vala | 21 +++++++++++++++++++++ backends/telepathy/tpf-persona.vala | 6 ++++++ 2 files changed, 27 insertions(+), 0 deletions(-) commit c598212e03664d0d033ddb3ac5eac92aead9c388 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Aug 2 11:14:36 2010 +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. backends/telepathy/tp-lowlevel.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit a5aca650b6cd425763cc9e2647877afe698b94d1 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 21 11:45:07 2010 +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. backends/telepathy/tp-lowlevel.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) commit 496170b77bef2608ba6ecf409241b75c728dc8b9 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 21 11:27:03 2010 +0100 Change a message() to a debug() folks/backend-store.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit bea343d2874cca4d553ae73dc7603a4c0aabc37b Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Jun 29 15:18:54 2010 +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 backends/telepathy/Makefile.am | 1 + folks/Makefile.am | 2 + folks/debug.vala | 54 ++++++++++++++++++++++++++++++++++++++ folks/individual-aggregator.vala | 2 + 4 files changed, 59 insertions(+), 0 deletions(-) commit e0f6d91f1a0b0970d9824cb3f5b42ed68cbe5dfc Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jul 27 18:38:02 2010 +0200 Post-release version bump. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 6aca6f5768a55746b504515205b292cdd36afe4c Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jul 27 18:33:32 2010 +0200 Update (a little late) the LT versioning fields for 0.1.11 configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit be70e85f8732a88d7247eda6ddc7fa3612c1c4d8 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jul 27 08:59:28 2010 +0200 Ensure all methods that should be async are, to get API breaking out of the way. backends/telepathy/tpf-persona.vala | 2 +- folks/groups.vala | 5 +++-- folks/individual.vala | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) commit 1a905f6b5a02c7dc4ec01cc51012a4722ba592bc Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Jul 26 17:58:36 2010 +0200 Always throw an error in async functions, to avoid breaking (C) API later. folks/backend-store.vala | 2 +- folks/individual-aggregator.vala | 6 +++--- folks/persona-store.vala | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) commit 01c2d79dead379103339c82f67799dc7e2c46baf Merge: 3f860a2 8543f89 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Jul 26 12:43:52 2010 +0200 Merge remote branch 'pwith/offline-fixes' into prep-0.1.11 commit 3f860a202c8115de3279a5711a5d472b7ef55985 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Jul 23 12:21:22 2010 +0100 Make remove_persona() and remove_individual() async They could involve blocking operations, so should be async. backends/telepathy/tp-backend-factory.vala | 10 +--------- backends/telepathy/tpf-persona-store.vala | 14 +++++++------- folks/individual-aggregator.vala | 13 +++++-------- folks/persona-store.vala | 7 ++++++- 4 files changed, 19 insertions(+), 25 deletions(-) commit 8543f897538d62fa7bea5740588c5c318dfc067e Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Jul 22 14:18:43 2010 +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. backends/telepathy/tpf-persona-store.vala | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) commit 941b42b5e25605eb4b215703d41984eb5f7131fe Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Jul 22 14:18:23 2010 +0100 Don't hold a reference to the Account when iterating through an Account list backends/telepathy/tpf-persona.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 1f88a87439ede4b78e834593027a797901de1c8d Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Jul 22 11:41:13 2010 +0100 Don't emit "group invalidated" warnings when disconnecting backends/telepathy/tpf-persona.vala | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) commit 98fe95b2d3428f24833023b2aec70d8a5c932204 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Jul 9 11:04:52 2010 +0100 Don't initialise favourite contacts support if the Logger doesn't exist backends/telepathy/tpf-persona-store.vala | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 47d0a18f953dc2bb5e8f7c21faab796c5a820d36 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 21 12:08:35 2010 +0100 Fix Presence.is_online() Due to a signed/unsigned int problem, typecmp() was never returning negative answers, so everyone was always online. folks/presence.vala | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit 3474e33a9e8044f7208a99a4038118429a171ac8 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jun 30 14:49:01 2010 +0100 Split setup of the IndividualAggregator out into a .prepare() method folks/individual-aggregator.vala | 29 +++++++++++++++++++++++++---- 1 files changed, 25 insertions(+), 4 deletions(-) commit 602d4fe8ae8b1dbbc03a32843eee432ba569a103 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jun 30 14:33:54 2010 +0100 Split setup of Backends out into a Backend.prepare() method backends/telepathy/tp-backend.vala | 6 ++---- folks/backend.vala | 32 ++++++++++++++++++++++++++++++++ folks/individual-aggregator.vala | 13 +++++++++++++ 3 files changed, 47 insertions(+), 4 deletions(-) commit 14d0402e7ec633786ce91f9b877d2855deaff4d3 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jun 30 13:52:08 2010 +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. backends/telepathy/tpf-persona-store.vala | 4 +++ folks/individual-aggregator.vala | 17 +++++++++++++++- folks/persona-store.vala | 30 +++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+), 1 deletions(-) commit fcdfc83082e5bae84a903342f924a4394da84499 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Jul 19 19:10:39 2010 +0100 Only connect to group-changed signals if the Persona implements Groups folks/individual.vala | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) commit 79b166cef1d544cd9a6022d559e160f994cedc09 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 15 14:42:31 2010 -0700 Post-release version bump. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit eda1904d85a6399791a6294a43a9cb5e55a1f958 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 15 14:15:49 2010 -0700 Cut unnecessary dbus-glib flags from the libfolks build process. folks/Makefile.am | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit a8e25c3e33d1c034c925a9ad843c57110f2511c1 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 15 14:15:02 2010 -0700 Explicitly build and link generated C code against telepathy-glib as necessary. backends/telepathy/Makefile.am | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 24d4c4264d1a5a058797a586b219cc1d3ae6c8a9 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 15 14:13:31 2010 -0700 Explicitly link libfolks-telepathy against libfolks. backends/telepathy/Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 045ddc4fce532a3dc9b6851d9477bd3460aa6e1a Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 15 14:08:16 2010 -0700 Explicitly build and link generated C code against GIO as necessary. backends/telepathy/Makefile.am | 6 ++++++ configure.ac | 4 ++++ folks/Makefile.am | 2 ++ 3 files changed, 12 insertions(+), 0 deletions(-) commit a25788ddfddd2554a84057e04e841676bf7e0f23 Merge: ba290fe ac26a1c Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 15 13:41:39 2010 -0700 Merge remote branch 'pwith/refcount-on-remove' commit ba290fed1e7a1be4bafd2b90e7b6d57ec5d6ac60 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 15 13:35:32 2010 -0700 Don't give libtp-lowlevel a version number, since it's purely internal. backends/telepathy/Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit d71c754970e1ddda0901a955834ee3e09bc6776c Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 15 13:33:35 2010 -0700 Set the version info for the public libraries. backends/telepathy/Makefile.am | 6 ++++++ configure.ac | 17 +++++++++++++++++ folks/Makefile.am | 6 ++++++ 3 files changed, 29 insertions(+), 0 deletions(-) commit 8aee3ed33921648c36fedbd48be2887ad0cfb6c3 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 15 13:02:24 2010 -0700 Add some basic info to the README. README | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) commit ac26a1cbbc562bd2b41b880ac27173a5cd4dabca Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Jul 15 13:00:52 2010 +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. folks/individual.vala | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) commit b03cf7ba64fc9270f657e3b8fa4e0c066d985ab5 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Jul 15 12:59:43 2010 +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. folks/individual-aggregator.vala | 2 +- folks/individual.vala | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) commit 907e28e75cacaccd28d854c13e94422cc904f219 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jul 14 22:13:34 2010 -0700 Fix our category in the Gnome git system (take the default). folks.doap | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit e27c6657080eda2a55757ae66ff69c880c3393ac Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jul 14 21:17:46 2010 -0700 Add general project and maintainer information. folks.doap | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) commit ae362860b25e0d79b9b713e9fa5b3f2713d17c28 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jul 14 21:03:48 2010 -0700 Bump the version for the next release properly, with a new micro number. configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 48f4a582df72796a8e526b45446a8f56814dbd20 Merge: 2afe746 a8bbc54 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jul 14 16:32:52 2010 -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 commit 2afe7462f22547d670d6578466f6e8f334962e78 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jul 14 13:12:45 2010 -0700 Bump the configure-time glib requirement (which was implicitly required by our Vala flags). configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d8b81cef6a7f34b296c58ed66efafd6c2feeeb1e Merge: 3308c18 63dd363 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jul 14 08:08:34 2010 -0700 Merge remote branch 'pwith/gi-bindings-rebase4' commit a8bbc549554350701901dc0dfc9009b6517f994b Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 15:39:17 2010 +0100 Tidy up dependencies in the Telepathy backend backends/telepathy/Makefile.am | 37 ++++++++++++++++++++--------------- backends/telepathy/tp-backend.vala | 1 - 2 files changed, 21 insertions(+), 17 deletions(-) commit 3feeee3aa4ceb58066bd590aa936287ad437e220 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 14:55:21 2010 +0100 Remove unnecessary dependencies from folks-telepathy.deps backends/telepathy/folks-telepathy.deps | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) commit df76ff2f19468e9a34a665060fd06e5f940e0965 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 14:48:21 2010 +0100 Remove redundant suffix substitutions in the Telepathy Makefile backends/telepathy/Makefile.am | 26 +++++--------------------- 1 files changed, 5 insertions(+), 21 deletions(-) commit 4a8d0239e8f203585cd38d1f0665b59815e177a8 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 14:40:16 2010 +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. backends/telepathy/Makefile.am | 34 +++++++++++++++++----------------- 1 files changed, 17 insertions(+), 17 deletions(-) commit 04fc389c6a9e1221ecc72d906f7b6699060b111e Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 14:31:23 2010 +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. folks/Makefile.am | 49 ++++++++++++++++++++++--------------------------- 1 files changed, 22 insertions(+), 27 deletions(-) commit 5c8e97079eb7b13a02447f03f33dccf7953c6f48 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 14:22:52 2010 +0100 Remove redundant suffix substitutions in the libfolks Makefile folks/Makefile.am | 13 +++++-------- 1 files changed, 5 insertions(+), 8 deletions(-) commit befb6a7832e17494fd4f96c8aa3a3feddca6a7b3 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 14:17:17 2010 +0100 Remove telepathy-vala dependencies from libfolks folks/Makefile.am | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) commit 21f4fa4686ee8f75385d705cd35045360a6a5cd0 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 14:15:27 2010 +0100 Tidy up the valac flags for libfolks folks/Makefile.am | 17 ++++++++++------- 1 files changed, 10 insertions(+), 7 deletions(-) commit 0a6c2f9f3476e69a805cd71c67fd33fa2060422c Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 14:04:45 2010 +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. folks/folks.deps | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit f646360863074e0b6020f2b1fd8dced62ec5b931 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 13:12:34 2010 +0100 Silence the documentation build docs/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 0bd58aad5e53ff7b3e66f04787add9bbd4e59a01 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 13:10:04 2010 +0100 Consolidate the tp-vala valaflags into configure.ac Rather than calling pkg-config from various Makefiles to find out the same information. backends/telepathy/Makefile.am | 3 +-- configure.ac | 4 +++- docs/Makefile.am | 2 +- folks/Makefile.am | 3 +-- 4 files changed, 6 insertions(+), 6 deletions(-) commit ca72626c248e5d1ed6ed096e9a81a9269410e3c4 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 12:57:37 2010 +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. .gitignore | 81 ----------------- Makefile.am | 1 + backends/Makefile.am | 2 + backends/telepathy/Makefile.am | 2 + docs/.gitignore | 1 - docs/Makefile.am | 3 + folks/Makefile.am | 2 + git.mk | 187 ++++++++++++++++++++++++++++++++++++++++ 8 files changed, 197 insertions(+), 82 deletions(-) commit 93409ffbefff929a6e3a6616fbbb71fb5a5261eb Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 12:43:04 2010 +0100 Add generated files to MAINTAINERCLEANFILES Makefile.am | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) commit 0a24eebff34ec9accbf0747df2ec1cc6a147094c Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 12:40:28 2010 +0100 Don't install or EXTRA_DIST the package documentation It's unnecessary, and automake knows to distribute the files already. Makefile.am | 11 ----------- 1 files changed, 0 insertions(+), 11 deletions(-) commit 1eea83535cd0a5ea37cafde526f8b0f4d6c286e4 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 12:36:10 2010 +0100 Fix ChangeLog cleaning It should be removed optionally during distclean, and forcibly during maintainerclean. Makefile.am | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 032e535af62f5975c5cd29dbc7fcec76952acbd0 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 12:27:37 2010 +0100 Remove unused gtk-doc lines from build system We use valadoc instead. Makefile.am | 4 +--- autogen.sh | 2 -- configure.ac | 1 - 3 files changed, 1 insertions(+), 6 deletions(-) commit 946832ebf95033239514dde3e4264e69863cbdae Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 12:25:48 2010 +0100 Remove unused scrollkeeper lines from Makefile Makefile.am | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) commit bd67ff7c8862bffe1907dcdf498c791d2cf9bb93 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 12:22:15 2010 +0100 Remove some unused lines from the configure summary configure.ac | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 606428ff782989b856ea6272d01fe8b05af7dad2 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 12:21:57 2010 +0100 Remove some barely-used silent build machinery from the Makefiles backends/telepathy/Makefile.am | 12 ++---------- folks/Makefile.am | 8 -------- 2 files changed, 2 insertions(+), 18 deletions(-) commit 63dd363e17f8bd367160eeb704b076981c03e3d5 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 14 10:27:14 2010 +0100 Fix MIME type memory leak in BackendStore folks/backend-store.vala | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit de0ad19d14d6b0a242639a10ea660ff2aa4bd0d2 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Jul 13 14:46:07 2010 +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. folks/individual.vala | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) commit 64e36b1183c4d236d3300c28167449584a19e04f Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Jul 12 16:01:29 2010 +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. folks/persona.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit efd309fc441d0af018437a59b5d7c0a5c0d291db Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Jul 9 11:03:47 2010 +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. backends/telepathy/tp-backend-factory.vala | 17 ++++++++++------- folks/backend-store.vala | 18 ++++++++++++++++++ 2 files changed, 28 insertions(+), 7 deletions(-) commit 3308c1825153336dc2b82966cc4aa0fb9d6ed06e Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jul 13 23:36:53 2010 -0700 Explicitly require Vala. configure.ac | 29 +++++++++++++++++------------ 1 files changed, 17 insertions(+), 12 deletions(-) commit 2852eb96b241d07eb10cbfb3105bfa65b500e591 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jul 13 22:59:31 2010 -0700 Bump nano version after release. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 213d9c2c3e54dbbc793103b4c441d69d0d492815 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jul 13 18:08:04 2010 -0700 Distribute the tp-lowlevel metadata file to fix distcheck. backends/telepathy/Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 480317fd2f26879edbd3740811ca160ec39a1839 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jul 13 18:03:41 2010 -0700 Specify tp-lowlevel.h being in the srcdir, to work around a vala-gen-introspect bug. backends/telepathy/Makefile.am | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 3454785e384e21a0974eec4b7298a959fb7a476d Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jul 13 17:59:59 2010 -0700 Specify the vala source files being in the srcdir, to work around a valac bug. backends/telepathy/Makefile.am | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) commit 9a4578f7f528a211274b1a47e8faf0a17d30e6f7 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jul 13 17:53:11 2010 -0700 Work around bgo #624278 for distcheck backends/telepathy/Makefile.am | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit aa61d798e16fb9b01b6ebf333a1a503ca7b3a3d4 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jul 13 09:43:00 2010 -0700 Include the backends/telepathy/*.vala files when making a relese. backends/telepathy/Makefile.am | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit f147aa253034a410d607825522aee7b06b05f5ee Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jul 13 09:42:45 2010 -0700 Include the folks/*.vala files when making a relese. folks/Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 50b46dcf6a7e385782687295909f887bc3f1a714 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Sat Jul 10 15:12:55 2010 +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. backends/telepathy/tp-backend.vala | 2 +- backends/telepathy/tpf-persona.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 75c038e4eddc808820d3908f2fe8e716bda52ab7 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Sat Jul 10 14:33:56 2010 +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. backends/telepathy/tpf-persona-store.vala | 19 +++++++++---------- 1 files changed, 9 insertions(+), 10 deletions(-) commit 6287e446d742b6e57f264c89837938e735f43388 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Jul 12 23:22:37 2010 -0700 Use a more-flexible a{sv} type for the add_persona_from_details() functions. backends/telepathy/tpf-persona-store.vala | 4 ++-- configure.ac | 2 +- folks/individual-aggregator.vala | 17 +++++++++++++++-- folks/persona-store.vala | 2 +- 4 files changed, 19 insertions(+), 6 deletions(-) commit a23e25808986577b451bbc98d21eb65d2cfca330 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Jul 12 16:49:40 2010 -0700 Bump the version for the new PersonaStore/IndividualAggregator API configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c46273698ccffc4a7886c50efb365925a7bef081 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Jul 12 16:47:00 2010 -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.'"). folks/individual-aggregator.vala | 44 ++++++++++++++++++++----------------- folks/individual.vala | 14 +++++++---- 2 files changed, 33 insertions(+), 25 deletions(-) commit 927ef0c220de2067e99a44046599095f5c4a1ccd Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Jul 12 16:33:49 2010 -0700 Pass along the message, actor, and reason from standard-channel Telepathy contacts. backends/telepathy/tpf-persona-store.vala | 35 +++++++++++++++++++++++----- 1 files changed, 28 insertions(+), 7 deletions(-) commit 4d6e2ff42009b847a88b53fe8d1c397d5460077e Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Jul 12 15:45:18 2010 -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.'"). backends/telepathy/tpf-persona-store.vala | 6 +- folks/groups.vala | 62 +++++++++++++++++++++++++++++ folks/persona-store.vala | 23 ++++++----- 3 files changed, 77 insertions(+), 14 deletions(-) commit 42d76823eb9039155d4fbb9dffb99c705823bd09 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Jul 12 16:48:55 2010 -0700 Bump the required version of tp-glib configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit d053d91c9389628bb4ad04a50ed83817f74879fc Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Jul 12 11:57:35 2010 -0700 Also remove Capabilities from Individual. folks/individual.vala | 32 -------------------------------- 1 files changed, 0 insertions(+), 32 deletions(-) commit c747ecf640f1f36060a4105555c439de63f2cc94 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Jul 12 10:27:59 2010 -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. folks/Makefile.am | 1 - folks/capabilities.vala | 54 ----------------------------------------------- 2 files changed, 0 insertions(+), 55 deletions(-) commit aa5db9e3e59f2c58ce722c3d6ec971106e8498c4 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Jul 12 10:14:24 2010 -0700 Strip Capabilities interface from Tpf.Persona. backends/telepathy/tpf-persona.vala | 80 ----------------------------------- 1 files changed, 0 insertions(+), 80 deletions(-) commit bf283ca46ca501e40759e57f48324450ac908403 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Fri Jul 9 09:32:24 2010 -0700 Don't explicitly state the return type of AccountManager.get_valid_accounts(). backends/telepathy/tpf-persona.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit e9f553b23af303b7cf2162c1d527ed141fd70ed0 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 8 16:33:33 2010 -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). backends/telepathy/tpf-persona-store.vala | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 65d4fa77641421941bc44dd9c25717ac28c653c1 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 8 16:17:52 2010 -0700 Update for the new signature of ConnectionRequestHandlesCb. backends/telepathy/tpf-persona-store.vala | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) commit 68f11180bf32be5b7965ace17a7aa483c6546ce3 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 8 15:49:29 2010 -0700 Cast TelepathyGLib.ContactFeature to uint, since tp-lowlevel can't use the symbol 'TpContactFeature'. backends/telepathy/tpf-persona-store.vala | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 4c4321e019052b519ec6f6b89f57737c38a71a0b Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 8 15:41:12 2010 -0700 Update for the fact that the g-i bindings don't bind the Channel.group_members_changed signal. backends/telepathy/tpf-persona-store.vala | 64 +++++++++++++--------------- 1 files changed, 30 insertions(+), 34 deletions(-) commit 988b83ba03e9bcad187ad5b9169ac34244bc30fe Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 8 14:54:35 2010 -0700 Use the existing Tpf.PersonaError instead of the unbound TelepathyGLib.Error. backends/telepathy/tpf-persona-store.vala | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 8194a500d086b884ef7272e6871911228bdef296 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 8 14:28:41 2010 -0700 Use uint for TpContactFeature, since the type doesn't exist in the Vala bindings. backends/telepathy/tp-lowlevel.c | 4 ++-- backends/telepathy/tp-lowlevel.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 2541e153483c6e53d34efaa46298e4fce23c68a3 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 30 17:20:52 2010 -0700 Adjust for the fact that AccountManager.get_valid_accounts () transfers ownership. backends/telepathy/tp-backend.vala | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 0628cba9c7c3e141ba9947ff665c4cb7b5b45b55 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 30 17:16:56 2010 -0700 Account.get_object_path() no longer (erroneously) takes an argument. backends/telepathy/tp-backend.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit b37ec9eae5110e71f7cf3fef8043ec2b1913410a Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 30 17:15:45 2010 -0700 Make Tpf.PersonaError public backends/telepathy/tpf-persona.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 53a6418ee53e8dd2ebf4a88dbec25ac953c072de Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 30 17:15:10 2010 -0700 Use the modern TelepathyGLib.Proxy.prepare_async() instead of the old (and unbound) TelepathyGLib.Connection.call_when_ready () backends/telepathy/tpf-persona-store.vala | 29 ++++++++++++++++------------- 1 files changed, 16 insertions(+), 13 deletions(-) commit fe98a2ab4aa71cb0ef1f93870674fb8f903c337d Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 30 12:24:16 2010 -0700 Adjust for TelepathyGLib.AccountManager.get_valid_accounts() transferring ownership of the list. backends/telepathy/tpf-persona.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit f04db7bd60e84ea677a69dba179665978b0f341d Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 30 12:19:50 2010 -0700 Adjust to TelepathyGLib.ConnectionContactsByHandleCb implicitly passing the array lengths. backends/telepathy/tpf-persona-store.vala | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 211137acdf918dcec3e39c6fcf0b9fe60b1b31a3 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 16 15:42:42 2010 -0700 Continue adjusting to vapi changes in the g-i-based tp-glib bindings. backends/telepathy/tpf-persona-store.vala | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit a61e60fc42405039a60e02f43b84cf7c7e205d78 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 16 11:26:35 2010 -0700 Create our own errordomain for Tpf.Persona errors. backends/telepathy/tpf-persona.vala | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) commit 2f58d793c54957f50c6b7b8ed022159762842c61 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 16 11:23:46 2010 -0700 Work-around the g-i bindings missing TpHandle. backends/telepathy/tp-lowlevel.c | 14 +++++++------- backends/telepathy/tp-lowlevel.h | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) commit 44ea1c2172e9f52149cb9b529e13dad325ed1008 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 16 11:23:21 2010 -0700 Adjust to the new tp-glib vala bindings namespace introduced by the g-i version. backends/telepathy/tp-backend.vala | 2 +- backends/telepathy/tp-lowlevel.metadata | 4 +- backends/telepathy/tpf-logger.vala | 2 +- backends/telepathy/tpf-persona-store.vala | 69 +++++++++++++++-------------- backends/telepathy/tpf-persona.vala | 54 ++++++++++++---------- 5 files changed, 68 insertions(+), 63 deletions(-) commit 41c6c34003e021467300d002c3dcc7e68f6299be Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Jul 8 10:56:36 2010 +0100 Don't try to strip() a null string folks/individual.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 535ec4311d9b92834f1f8fe41dc3f73fdbcfc07a Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Jul 8 10:54:43 2010 +0100 Fix notification of favourites changes in Individual folks/individual.vala | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit d27b5396ab76dbdd221fb7ba975280ad49f62e5d Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 7 18:15:33 2010 +0100 Allow single personas to be removed through the IndividualManager folks/individual-aggregator.vala | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) commit 37c4779e392733854dd5deb82bcc082345dc6f95 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 7 17:00:38 2010 +0100 Ensure updates to Persona:groups affect Individuals folks/individual.vala | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) commit d2a726a8c3664f95069160c45bce6c4fb827013d Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 7 16:12:29 2010 +0100 Ensure personas are only created and added once Previously, IndividualAggregator.add_persona_from_details() would return a different instance of the same persona than would get added to the PersonaStore later (through channel change notification). This fixes that to re-use the original persona created by add_persona_from_details(). backends/telepathy/tpf-persona-store.vala | 58 +++++++++++++++++----------- 1 files changed, 35 insertions(+), 23 deletions(-) commit 3a77bdfdfba1c9fbe97078b0484fffc9935a9eb0 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 7 16:11:58 2010 +0100 Improve filtering of empty aliases backends/telepathy/tpf-persona.vala | 2 +- folks/individual.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4dedc89be05ed779d93088083a388a41a147f418 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jul 7 13:13:55 2010 +0100 Add alias notification in Folks.Individual folks/individual.vala | 59 ++++++++++++++++++++++++++++++------------------ 1 files changed, 37 insertions(+), 22 deletions(-) commit 5d5d03af7b10b511517be774c64f921d24b25db1 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Jul 5 09:59:15 2010 -0700 Add missing dbus-glib dep to docs build process docs/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 1cbd28de9f52e36f9357f86e96dd6e0cffc7fb53 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Mon Jul 5 10:44:02 2010 +0100 Remove the built documentation on distclean docs/Makefile.am | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit a24e606adfd840ffc3a164cfde5f36b0c11aabcc Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Jul 1 18:08:32 2010 +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. backends/telepathy/tp-backend-factory.vala | 9 ++++++ backends/telepathy/tp-backend.vala | 14 +++++++++ backends/telepathy/tpf-persona-store.vala | 40 ++++++++++++++++++++++++- backends/telepathy/tpf-persona.vala | 44 ++++++++++++++++++++++++---- 4 files changed, 100 insertions(+), 7 deletions(-) commit f8f20cbc4ee97c9eb64696f17c6c8290669a7864 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Jul 1 17:51:20 2010 +0100 Add the Telepathy backend to the documentation build docs/Makefile.am | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) commit e8c8fb4149eb946c80621bb3fed65f6b74bf3e9b Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Jul 2 14:31:49 2010 +0100 Make Tpf.PersonaStore.change_is_favourite() internal backends/telepathy/tpf-persona-store.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ae61025a673cffec4a334c84c022a20772abc0ae Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Jul 2 13:24:05 2010 +0100 Pass changes to Personas' aliases on to Telepathy backends/telepathy/tp-lowlevel.c | 30 +++++++++++++++++++++++++++++ backends/telepathy/tp-lowlevel.h | 7 ++++++ backends/telepathy/tpf-persona-store.vala | 8 +++++++ backends/telepathy/tpf-persona.vala | 29 +++++++++++++++++++++++++-- folks/individual.vala | 29 +++++++++++++++++++++------ 5 files changed, 93 insertions(+), 10 deletions(-) commit 22932ebd7a007863dd9f52c6e853fe8c24c0d46f Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 1 17:01:10 2010 -0700 Actually ref new Personas set for an Individual, so we don't double-unref them later. folks/individual.vala | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) commit 8abd376f965bf4fad1770376ca6c7f2fbedfa725 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 1 16:35:49 2010 -0700 Update an Individual's store-persona hash when the persona is removed from its store. folks/individual.vala | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit 9e04f382efc059e006a13095fe2478e3eb11e60e Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 1 15:29:23 2010 -0700 Don't emit an extraneous 'personas-removed' before we get confirmation from the server. backends/telepathy/tpf-persona-store.vala | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) commit ed92448d8d853735486c5500814d06dcfd962df2 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 1 14:53:49 2010 -0700 When removing a Tpf.Persona, remove it from the same struct we're cycling through. backends/telepathy/tpf-persona-store.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 129e7e6de39c330074a3f26dcbf09301ab74325b Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 1 14:47:10 2010 -0700 When removing Tpf.Personas from the store, ensure we empty corresponding entries for the persona's handle. backends/telepathy/tpf-persona-store.vala | 17 ++++++++++++++--- 1 files changed, 14 insertions(+), 3 deletions(-) commit 9639b6be18c4e85cd15192d60ef3c8404626afee Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 1 10:22:50 2010 -0700 Bump version. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 36c286e1e19bc80f241ca5b9953c87dc05cd015b Merge: 2749085 606e858 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jul 1 10:16:36 2010 -0700 Merge remote branch 'pwith/fixes3-no-prepare' commit 606e8583760deae6d0ca259e1783c5253bd58994 Merge: 510d029 8c46af5 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Jul 1 18:12:11 2010 +0100 Merge branch 'master' into fixes3-no-prepare Conflicts: backends/telepathy/tpf-persona.vala folks/individual.vala folks/persona.vala commit 510d0291ebf3a789d0a602419435742c2a04e264 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Jul 1 16:09:40 2010 +0100 Remove use of pkg-config directly from a Makefile backends/telepathy/Makefile.am | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 0e348f859f40d7d555a05bf91f7b1c594003f8a8 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Jul 1 16:00:50 2010 +0100 Make configuration fail if vapigen is missing backends/telepathy/Makefile.am | 5 +---- configure.ac | 10 ++++++++++ folks/Makefile.am | 3 --- 3 files changed, 11 insertions(+), 7 deletions(-) commit 593f699c65f8adcead59c7c46ac24ce134e02e4e Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Jul 1 15:46:21 2010 +0100 Split up pkg-config dependencies backends/telepathy/Makefile.am | 33 +++++++++++++++------ configure.ac | 62 +++++++++++++++------------------------- folks/Makefile.am | 13 +++++++- 3 files changed, 58 insertions(+), 50 deletions(-) commit 06dc4612c36a80cb63391e6ad90e4436725fdb83 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Jul 1 15:25:22 2010 +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. backends/telepathy/tpf-persona.vala | 9 +++++++-- folks/individual.vala | 9 +++++++-- folks/persona.vala | 7 +++++-- 3 files changed, 19 insertions(+), 6 deletions(-) commit dffd7f1cd2c337b454695969b92850d5fbdc8f22 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Jul 1 15:22:01 2010 +0100 Remove explicit array length from add_new_personas_from_contacts() backends/telepathy/tpf-persona-store.vala | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) commit 9566d69f123189ae447f5ca4c93db9440656cadd Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jun 30 15:46:52 2010 +0100 Improve documentation build rules Ensure that the documentation is rebuilt if any of the sources files it's extracted from change. docs/Makefile.am | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) commit 665c900247f03f567b907b24eb0fc30667f5c78f Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jun 30 14:57:20 2010 +0100 Clarify documentation of BackendStore.backend_available folks/backend-store.vala | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 27490858366e749059cdd63bf1e446df37902ece Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 30 20:08:32 2010 -0700 Bump required telepathy-glib. configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 8c46af5fb52e887a5e193320aca67aa219e6cf11 Merge: 891f458 a7f3700 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 30 19:46:04 2010 -0700 Merge remote branch 'pwith/interfaces' commit 150304d557ce34a9218e3794743fc301a2057e28 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jun 30 12:38:05 2010 +0100 Fix audio and video capabilities backends/telepathy/tpf-persona.vala | 30 ++++++++++++++++++------------ 1 files changed, 18 insertions(+), 12 deletions(-) commit 6c7cea8dfd2d93044e1f7c576728ebce47891041 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jun 30 12:10:31 2010 +0100 Fix setting capabilities when Tp returns a null set of capabilities backends/telepathy/tpf-persona.vala | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit e63b8fdee93d2add0096e3c3adbe8e596cd6f0a7 Merge: ebd84ba 3513c17 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jun 30 12:04:43 2010 +0100 Merge branch 'master' into fixes3 Conflicts: folks/individual.vala commit a7f370035799a844357826c39d710c7ddc20201c Merge: 925b3c5 3513c17 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jun 30 12:00:15 2010 +0100 Merge branch 'master' into interfaces Conflicts: folks/persona-store.vala folks/persona.vala commit 891f458a1a29463c12076395ae8d0ae8fd90ff25 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jun 30 11:47:42 2010 +0100 Only warn about unknown personas if the account is already connected This fixes spew of "unknown persona in favourites list" messages on startup. backends/telepathy/tpf-persona-store.vala | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) commit 51d1dea1fd0698c730d6807c82596b6c3277fa98 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jun 30 11:40:37 2010 +0100 Handle the logger service going away gracefully backends/telepathy/tpf-logger.vala | 21 +++++++++++++++++++++ backends/telepathy/tpf-persona-store.vala | 5 +++++ 2 files changed, 26 insertions(+), 0 deletions(-) commit 12df6206372cf5745fd58857e72d125b6e30007b Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jun 30 11:31:44 2010 +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. backends/telepathy/tpf-logger.vala | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 3513c17ec59f8ad17dc6da80597e76d29ce6c3d2 Merge: b5d9a0e 413ae51 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jun 29 16:50:34 2010 -0700 Merge remote branch 'pwith/favourites' (Fixed) Conflicts: folks/individual.vala folks/persona.vala commit b5d9a0ed2601d287fed6ce31c2c850341fccbc2a Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jun 29 15:11:51 2010 -0700 Don't declare IndividualAggregator's constructor as throwing an error, since it doesn't. configure.ac | 2 +- folks/individual-aggregator.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit b3bd1ef0504ed78f6c16a09644bb6de40b0f24d3 Merge: e6e2cd0 b4e636c Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jun 29 15:08:38 2010 -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 commit e6e2cd0dd44ab88def4e26295ae7fc773c7770f4 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jun 29 10:51:42 2010 -0700 Make create_personas_from_channel_handles_async actually async. backends/telepathy/tp-lowlevel.c | 88 +++++++++++++++++++++++++++++ backends/telepathy/tp-lowlevel.h | 17 ++++++ backends/telepathy/tp-lowlevel.metadata | 5 ++ backends/telepathy/tpf-persona-store.vala | 85 ++++++++++++++-------------- 4 files changed, 153 insertions(+), 42 deletions(-) commit 42c1c43418b833cef79904b785ac71700b6bf988 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jun 29 11:02:47 2010 -0700 Bump the required version of GLib so we can take advantage of automatic ref counting for various GLib classes. backends/telepathy/Makefile.am | 5 +++-- configure.ac | 5 +++++ folks/Makefile.am | 3 ++- 3 files changed, 10 insertions(+), 3 deletions(-) commit 413ae5159e7704b0da15ef788e9fc23ec02133af Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Jun 29 17:59:56 2010 +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. backends/telepathy/tpf-logger.vala | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) commit ebd84baae297b81a56b3ee8ea0a2c8ce2b58d71e Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Jun 29 16:27:52 2010 +0100 Make Individual.avatar.set private Avatars are provided by the contacts; we can't set them ourselves. folks/individual.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 396ebc36f8c92aaa12f48243ca2f105834348d51 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Jun 29 16:27:19 2010 +0100 Implement a FIXME about checking for all-whitespace aliases folks/individual.vala | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 0b86e3c7c25297f9b7d52a2c11a422168eafa768 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Jun 29 16:15:37 2010 +0100 Add capabilities support to TpfPersona backends/telepathy/tpf-persona.vala | 69 +++++++++++++++++++++++++++++++++-- 1 files changed, 65 insertions(+), 4 deletions(-) commit 925b3c5a72f7e4d5d439a831473223bc1211b76d Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Jun 29 13:54:43 2010 +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. backends/telepathy/tpf-persona-store.vala | 6 +++++- backends/telepathy/tpf-persona.vala | 28 +++++++++++++++------------- folks/persona-store.vala | 5 ----- 3 files changed, 20 insertions(+), 19 deletions(-) commit 917ee31530791512d9f95d36c80a27107943ad82 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Jun 29 13:22:25 2010 +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. backends/telepathy/tpf-persona.vala | 10 +++++----- folks/individual.vala | 35 ++++++++++++++++++++--------------- folks/persona.vala | 16 +--------------- 3 files changed, 26 insertions(+), 35 deletions(-) commit a5756034e7e2a1a263e73498fa41118e3388bdcc Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Jun 29 12:30:40 2010 +0100 Catch some unhandled errors backends/telepathy/tpf-persona-store.vala | 34 +++++++++++++++++++++++++--- 1 files changed, 30 insertions(+), 4 deletions(-) commit c6db84fcd69763ad509f510df6c90cdbcadb1e2a Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Jun 29 12:14:36 2010 +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. .gitignore | 1 + backends/telepathy/Makefile.am | 1 + backends/telepathy/tpf-logger.vala | 104 +++++++++++++++++++++++++++++ backends/telepathy/tpf-persona-store.vala | 101 ++++++++-------------------- 4 files changed, 133 insertions(+), 74 deletions(-) commit 68b7a69a949405fd6325cd44ad8b9c613bebc311 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Jun 29 10:57:39 2010 +0100 First round of favourites review cleanups backends/telepathy/tpf-persona-store.vala | 65 ++++++++++++++++------------ folks/individual.vala | 9 ++-- 2 files changed, 42 insertions(+), 32 deletions(-) commit 93b41d0d7f2478c0f0d4f2c27905da017032c20a Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Jun 28 15:11:04 2010 -0700 Change IndividualAggregator.members to IndividualAggregator.individuals for consistency with PersonaStore, etc. configure.ac | 2 +- folks/individual-aggregator.vala | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) commit 6207377cd4b0a7e92d1d66a4c942b6e3d7258dc9 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Jun 28 14:31:44 2010 -0700 Rephrase explanation of Individual:removed signal. folks/individual.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit b4e636c7be106b31a9f56ad63f495bc08ac9699a Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Jun 25 17:36:48 2010 +0100 Add documentation for every public signal, property and member folks/alias.vala | 6 ++ folks/avatar.vala | 6 ++ folks/backend-store.vala | 31 +++++++++ folks/backend.vala | 25 ++++++++ folks/capabilities.vala | 7 ++ folks/groups.vala | 24 +++++++ folks/individual-aggregator.vala | 67 ++++++++++++++++++-- folks/individual.vala | 125 +++++++++++++++++++++++++++++++++++++- folks/persona-store.vala | 92 ++++++++++++++++++++++++++++ folks/persona.vala | 35 ++++++++++- folks/presence.vala | 32 ++++++++++ 11 files changed, 440 insertions(+), 10 deletions(-) commit 2c6482cea44325f14e321d17db89669afa577186 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Jun 25 15:29:56 2010 +0100 Remove an outdated comment backends/telepathy/tpf-persona-store.vala | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 217a8ac2fad1dc5eb95fb2e8dfc95b4e5c1a8da1 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jun 23 16:41:55 2010 +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. .gitignore | 1 + backends/telepathy/tpf-persona-store.vala | 205 ++++++++++++++++++++++++++++- backends/telepathy/tpf-persona.vala | 19 +++- folks/Makefile.am | 1 + folks/favourite.vala | 26 ++++ folks/individual.vala | 49 +++++++- folks/persona.vala | 3 + 7 files changed, 301 insertions(+), 3 deletions(-) commit 0db23bffa5edd3ca0aa467471bb51e69b50c68aa Merge: 5adecc4 051b022 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jun 24 09:32:38 2010 -0700 Merge remote branch 'pwith/fixes2' (Fixed) Conflicts: backends/telepathy/tpf-persona-store.vala commit 5adecc4f4b2c022750f5a7fb001363b95260ae41 Merge: b0711d0 ad13c58 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jun 24 08:22:33 2010 -0700 Merge remote branch 'pwith/docs' (Fixed) Conflicts: folks/individual-aggregator.vala folks/persona-store.vala commit b0711d037ceed7438c572fcd2f3a2a4faff6cc73 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 23 20:07:06 2010 -0700 Micro version bump for new functionality. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 3207abf653bd05f34c4412c8c24d52ba0b28dde5 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 23 20:05:35 2010 -0700 Re-add the stored list, as it's necessary to properly remove contacts. backends/telepathy/tpf-persona-store.vala | 43 ++++++++++++++++++++++++++++- 1 files changed, 42 insertions(+), 1 deletions(-) commit 1a9e5a5c7bf2659e92f209069088fd777e676279 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 23 19:57:49 2010 -0700 Support contact removal backends/telepathy/tpf-persona-store.vala | 42 +++++++++++++++++++++++++++- folks/individual-aggregator.vala | 13 +++++++++ folks/individual.vala | 19 +++++++++++++ folks/persona-store.vala | 1 + 4 files changed, 73 insertions(+), 2 deletions(-) commit 1dd8f2988db02968febc0d022ed7420bbedccbba Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 23 18:10:49 2010 -0700 Rename internal-only 'remove' functions in Tpf.PersonaStore so public 'remove' functions consistently mean 'remove permanently from the server'. backends/telepathy/tpf-persona-store.vala | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit e8f332592257421f6932a02881010fdb64d00d3a Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 23 15:59:11 2010 -0700 Add a comment about the usage of IndividiualAggregator.add_persona_from_details().parent folks/individual-aggregator.vala | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 80e76bc7097bd33ad35fab5a5c6677bf43b35d85 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 23 15:49:04 2010 -0700 Cut out 'stored' contact list support; if a contact is in neither 'publish' nor 'subscribe', we don't want to present them. backends/telepathy/tpf-persona-store.vala | 32 ----------------------------- 1 files changed, 0 insertions(+), 32 deletions(-) commit 77c44856daca6ea6d5d39241abffff9ea103f324 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 23 15:47:31 2010 -0700 Remove personas for Telepathy contacts removed from both the subscribe and publish contact lists. backends/telepathy/tpf-persona-store.vala | 71 +++++++++++++++++++++++++++++ 1 files changed, 71 insertions(+), 0 deletions(-) commit 47b7d61025c980ad6ef728b3fc447ed60ab4034b Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 23 15:40:08 2010 -0700 Filter incoming group channel members through the standard contact list channels backends/telepathy/tpf-persona-store.vala | 78 ++++++++++++++++------------- 1 files changed, 44 insertions(+), 34 deletions(-) commit 1153508f6bf73e597f37f71221b65d37c73b2c94 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 23 11:45:35 2010 -0700 Add support for the 'stored' standard contact list channel. backends/telepathy/tpf-persona-store.vala | 29 +++++++++++++++++++++++++++-- 1 files changed, 27 insertions(+), 2 deletions(-) commit 8b3a2d4fccacc03a1a972f43a66f5dce7580e243 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 23 10:55:59 2010 -0700 Don't be excessively-explicit about the HashMap hash/equal functions, since they're determined by the generic types. backends/telepathy/tpf-persona-store.vala | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) commit 17134e3c0675c2083047babcfd1f2e9f83b9ac28 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 23 10:54:21 2010 -0700 Avoid another potential group/non-group contact list channel hash collision. backends/telepathy/tpf-persona-store.vala | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) commit 8239bf1644fb4de5ba0c786ab35fa90c55dded7b Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 23 10:36:54 2010 -0700 Handle the standard non-group contact list channels separately from each other and the group channels, as they need to be. backends/telepathy/tpf-persona-store.vala | 87 +++++++++++++++++++++++++---- 1 files changed, 75 insertions(+), 12 deletions(-) commit 5e70c3bea74edaf544e4adcd2003c9eac0ac0340 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 23 09:00:29 2010 -0700 Change the key for channel_group_personas_map to Tp.Channel to avoid potential collisions between the ContactList and Group channels. backends/telepathy/tpf-persona-store.vala | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) commit 80782cb14a808a8f0303ed182d71cecb44f18011 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 23 08:59:31 2010 -0700 Change the key for channel_group_incoming_adds to Tp.Channel to avoid potential collisions between the ContactList and Group channels. backends/telepathy/tpf-persona-store.vala | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) commit 051b022016b9e596a66a6f3c2d0906364124596b Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jun 23 12:18:51 2010 +0100 Use a literal GError when proxying errors in the TpfPersonaStore backends/telepathy/tpf-persona-store.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 8b63168531a8346e19e4ffa8cd3abe8f110efcbb Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jun 23 11:50:05 2010 +0100 Note about a Vala bug when chaining constructors which affects us backends/telepathy/tpf-persona.vala | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 3520fd7dd1d1f3692b6b812f06d825ec6cf0b382 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jun 23 11:04:55 2010 +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. folks/backend-store.vala | 27 +++++++++++++-------------- 1 files changed, 13 insertions(+), 14 deletions(-) commit ad13c581213a1979d4b9ce7600e4056ec16b45e4 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Wed Jun 23 10:37:42 2010 +0100 Documentation fixes Remove the redundant documentation of enum members and improve the documentation of a few classes. folks/capabilities.vala | 23 -------------------- folks/individual-aggregator.vala | 4 +- folks/presence.vala | 42 ++++--------------------------------- 3 files changed, 7 insertions(+), 62 deletions(-) commit 138e8447acfd5cae6680389eeb90c64658564467 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jun 22 16:27:31 2010 -0700 Clean up the distinction between the standard 'subscribe', 'publish' contact list channels and arbitrary group channels. backends/telepathy/tpf-persona-store.vala | 115 +++++++++++++++++------------ 1 files changed, 67 insertions(+), 48 deletions(-) commit a9233bb2d45839ad88af3cf5e7153173d2b55b61 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jun 17 08:06:04 2010 -0700 Add the ability to add new personas to a persona store. backends/telepathy/tp-lowlevel.c | 97 ++++++++++++++++++++- backends/telepathy/tp-lowlevel.h | 18 ++++ backends/telepathy/tp-lowlevel.metadata | 5 + backends/telepathy/tpf-persona-store.vala | 136 ++++++++++++++++++++++++++++- folks/individual-aggregator.vala | 61 ++++++++++++- folks/persona-store.vala | 8 ++ 6 files changed, 319 insertions(+), 6 deletions(-) commit 7e49697edeae7cefbb208fc1bb35756f6a4fa5b4 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jun 22 12:05:55 2010 -0700 Have each Individual use the presence message for one of its most-online personas rather than the first message found. folks/individual.vala | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 8a8b95103fd3133d9b715cfe86bcbf9b35ef8e51 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jun 22 11:54:59 2010 -0700 Cut idea for unncessary signal. folks/individual-aggregator.vala | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit e64cfc5f3cf257d6f6bb481099dc918bed80e13b Merge: f715bb3 8c04026 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Jun 22 10:37:56 2010 -0700 Merge remote branch 'pwith/fixes' commit 67a6e4412fd64d901daf611112526732eec4a09a Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Jun 22 18:24:33 2010 +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. Makefile.am | 4 +++ configure.ac | 16 +++++++++++++ docs/.gitignore | 1 + docs/Makefile.am | 30 ++++++++++++++++++++++++ folks/alias.vala | 4 +++ folks/avatar.vala | 4 +++ folks/backend.vala | 5 ++++ folks/capabilities.vala | 32 +++++++++++++++++++++++++ folks/groups.vala | 4 +++ folks/individual-aggregator.vala | 5 ++++ folks/individual.vala | 4 +++ folks/persona-store.vala | 3 ++ folks/persona.vala | 6 +++++ folks/presence.vala | 47 ++++++++++++++++++++++++++++++++++++++ 14 files changed, 165 insertions(+), 0 deletions(-) commit 8c0402615189f60653ffc03a6e245bce6a925293 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Tue Jun 22 16:14:05 2010 +0100 gcc warning fixes in tp-lowlevel.[ch] backends/telepathy/tp-lowlevel.c | 3 ++- backends/telepathy/tp-lowlevel.h | 1 + 2 files changed, 3 insertions(+), 1 deletions(-) commit 0b0172485ac5e259e4e891fe7f52770e0e162d66 Author: Philip Withnall <philip@tecnocode.co.uk> Date: Tue Jun 22 13:28:48 2010 +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. folks/individual.vala | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) commit 89633d2ad7c32576893f369c27a46485e310eea8 Author: Philip Withnall <philip@tecnocode.co.uk> Date: Tue Jun 22 12:37:11 2010 +0100 Use a persona's UID as an individual's alias if no personas have an alias folks/individual.vala | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) commit 611bb4641b81daa1376ed971cfae002fb8031948 Author: Philip Withnall <philip@tecnocode.co.uk> Date: Tue Jun 22 12:28:03 2010 +0100 Make Individual.get_presence_message() return an unowned string This prevents a completely unnecessary string copy. folks/individual.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 933778ace57ba38d4522e862cb1a70952d3273cf Author: Philip Withnall <philip@tecnocode.co.uk> Date: Tue Jun 22 11:42:51 2010 +0100 Remove system m4 macros from the m4 directory Add them to a .gitignore file instead. m4/.gitignore | 9 + m4/gtk-doc.m4 | 1 - m4/libtool.m4 | 7376 ------------------------------------------------------- m4/ltversion.m4 | 23 - 4 files changed, 9 insertions(+), 7400 deletions(-) commit f2f4a7a18b0e135926628781c5643e07851e8d9b Author: Philip Withnall <philip@tecnocode.co.uk> Date: Tue Jun 22 11:39:31 2010 +0100 Add some comments to the code folks/individual-aggregator.vala | 4 ++++ folks/individual.vala | 11 +++++++++-- folks/presence.vala | 2 ++ 3 files changed, 15 insertions(+), 2 deletions(-) commit f715bb38d0033c601e719cfd232b31db3c8e8b4b Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jun 17 15:21:22 2010 -0700 Relocate folks_tp_lowlevel_connection_open_contact_list_channel_finish() next to its _async() function backends/telepathy/tp-lowlevel.c | 56 +++++++++++++++++++------------------- 1 files changed, 28 insertions(+), 28 deletions(-) commit b8379ce106bc734ac0f452a59dd771d81e0371d0 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 16 17:16:21 2010 -0700 Use a hash table for tracking new incoming TpfPersonas and only add them if they're new. backends/telepathy/tpf-persona-store.vala | 28 +++++++++------------------- 1 files changed, 9 insertions(+), 19 deletions(-) commit 1000fe0fce30bca343770d2cf8a488aeceb41cac Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Sat Jun 12 17:55:21 2010 -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 backends/telepathy/tp-backend.vala | 7 +++++-- backends/telepathy/tpf-persona-store.vala | 26 ++++++++++++++++++-------- folks/individual-aggregator.vala | 2 ++ folks/individual.vala | 13 +++++++------ 4 files changed, 32 insertions(+), 16 deletions(-) commit a1f1f50000223f2b822f73cf392ca47912905331 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Fri Jun 11 16:04:23 2010 -0700 Use consistent naming and signatures for the Tpf.Persona property-notification-passing helper functions. backends/telepathy/tpf-persona.vala | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) commit 6e7299a77ea4c589b23766137c6c7d44dfd81423 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Fri Jun 11 16:00:58 2010 -0700 Generalize overly-specific 'using' statement folks/persona-store.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 0f700c83b48161ef25294aae6f617d7f9b59df45 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Fri Jun 11 15:59:01 2010 -0700 Trivial clean-up. folks/individual.vala | 13 ++++--------- 1 files changed, 4 insertions(+), 9 deletions(-) commit 42b0656fdff84cd768d6b0b8461b85d8707ea700 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Fri Jun 11 13:24:00 2010 -0700 Support avatars (generally, and for the Telepathy backend) .gitignore | 1 + backends/telepathy/tpf-persona.vala | 20 ++++++++++++++++- configure.ac | 2 +- folks/Makefile.am | 1 + folks/avatar.vala | 26 +++++++++++++++++++++++ folks/individual.vala | 38 +++++++++++++++++++++++++++++----- folks/persona.vala | 11 +++++---- 7 files changed, 85 insertions(+), 14 deletions(-) commit 344c9514027fa7d2151d1994b6c35af7fe000105 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jun 10 07:20:43 2010 -0700 Fix the location of libfolks-telepathy in its -uninstalled pkgconfig file. .../telepathy/folks-telepathy-uninstalled.pc.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit fb1ccf804b9118dca9bfa450fd6455f646591634 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jun 3 12:48:58 2010 -0700 Bump the version number for the major changes of the last few commits. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit aaf0a419127db735625eaf4c43b1fe392539d7cc Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jun 3 12:42:19 2010 -0700 Add .deps files for the public libraries. backends/telepathy/folks-telepathy.deps | 7 +++++++ folks/folks.deps | 6 ++++++ 2 files changed, 13 insertions(+), 0 deletions(-) commit b8d22d711b16fa718ed8570f381a945babc183e5 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jun 3 11:18:16 2010 -0700 Rename the folks-telepathy files, since they're in a different namespace than the folks-backend-telepathy files .gitignore | 4 +- backends/telepathy/Makefile.am | 4 +- backends/telepathy/tp-persona-store.vala | 455 ----------------------------- backends/telepathy/tp-persona.vala | 209 ------------- backends/telepathy/tpf-persona-store.vala | 455 +++++++++++++++++++++++++++++ backends/telepathy/tpf-persona.vala | 209 +++++++++++++ 6 files changed, 668 insertions(+), 668 deletions(-) commit 37da956fda3ab1c3dec65fe758f7e6fb08c2e8ec Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jun 3 11:09:16 2010 -0700 Add proper namespaces to the Telepathy backend and support libraries backends/telepathy/tp-backend-factory.vala | 11 ++++---- backends/telepathy/tp-backend.vala | 7 +++-- backends/telepathy/tp-persona-store.vala | 37 +++++++++++++-------------- backends/telepathy/tp-persona.vala | 13 ++++------ 4 files changed, 33 insertions(+), 35 deletions(-) commit 5b5b5970bb031c9128cecd191a2e6c3e068a0e97 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jun 3 09:20:46 2010 -0700 Rename liblowlevel to libtp-lowlevel for clarity .gitignore | 4 +- backends/telepathy/Makefile.am | 44 ++-- backends/telepathy/lowlevel.c | 351 ------------------------------ backends/telepathy/lowlevel.h | 99 --------- backends/telepathy/lowlevel.metadata | 1 - backends/telepathy/tp-lowlevel.c | 351 ++++++++++++++++++++++++++++++ backends/telepathy/tp-lowlevel.h | 99 +++++++++ backends/telepathy/tp-lowlevel.metadata | 1 + backends/telepathy/tp-persona-store.vala | 6 +- configure.ac | 6 +- 10 files changed, 481 insertions(+), 481 deletions(-) commit a6776f5e7f86bacdd254af83a3333bdbbaf49f87 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Jun 3 08:47:44 2010 -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) .gitignore | 6 +- backends/telepathy/Makefile.am | 105 +++++++++++++++++--- .../folks-backend-telepathy-uninstalled.pc.in | 12 --- backends/telepathy/folks-backend-telepathy.pc.in | 15 --- .../telepathy/folks-telepathy-uninstalled.pc.in | 12 +++ backends/telepathy/folks-telepathy.pc.in | 15 +++ backends/telepathy/tp-backend-factory.vala | 5 +- configure.ac | 22 +++- 8 files changed, 139 insertions(+), 53 deletions(-) commit 57de1cd643e8057f3b6fc961db68d6e696565644 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Jun 2 16:48:48 2010 -0700 Factor out the Telepathy backend into a separate, loadable module. .gitignore | 16 +- Makefile.am | 1 + backends/Makefile.am | 3 + backends/telepathy/Makefile.am | 150 +++++++ .../folks-backend-telepathy-uninstalled.pc.in | 12 + backends/telepathy/folks-backend-telepathy.pc.in | 15 + backends/telepathy/lowlevel.c | 351 +++++++++++++++ backends/telepathy/lowlevel.h | 99 +++++ backends/telepathy/lowlevel.metadata | 1 + backends/telepathy/tp-backend-factory.vala | 52 +++ backends/telepathy/tp-backend.vala | 83 ++++ backends/telepathy/tp-persona-store.vala | 456 ++++++++++++++++++++ backends/telepathy/tp-persona.vala | 212 +++++++++ configure.ac | 21 +- folks/Makefile.am | 58 +-- folks/backend-store.vala | 197 +++++++++ folks/backend.vala | 34 ++ folks/build-conf.vapi | 40 ++ folks/folks-uninstalled.pc.in | 6 +- folks/folks.pc.in | 2 +- folks/individual-aggregator.vala | 65 +-- folks/lowlevel.c | 351 --------------- folks/lowlevel.h | 99 ----- folks/lowlevel.metadata | 1 - folks/persona-store.vala | 2 + folks/tp-persona-store.vala | 451 ------------------- folks/tp-persona.vala | 212 --------- 27 files changed, 1781 insertions(+), 1209 deletions(-) commit 1410295ced17bc4be2e6f34400c56edcc82deb42 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon May 31 15:14:09 2010 -0700 Add tp-glib Vala bindings dependency to the .pc file and add a -uninstalled.pc file configure.ac | 1 + folks/folks-uninstalled.pc.in | 12 ++++++++++++ folks/folks.pc.in | 2 +- 3 files changed, 14 insertions(+), 1 deletions(-) commit 48a4f845daca4704170fac67511dcafd1868c931 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu May 27 11:30:54 2010 -0700 Support writing contact group changes back to Telepathy accounts. folks/Makefile.am | 6 +- folks/individual-aggregator.vala | 9 +-- folks/individual.vala | 12 ++++ folks/lowlevel.c | 132 ++++++++++++++++++++++++++++++++++++++ folks/lowlevel.h | 19 ++++++ folks/lowlevel.metadata | 1 + folks/persona-store.vala | 3 + folks/tp-persona-store.vala | 130 ++++++++++++++++++++++++++++++-------- folks/tp-persona.vala | 24 +++++-- 9 files changed, 296 insertions(+), 40 deletions(-) commit ad47a733fb2021da6dec40d517d2071c1f324520 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed May 26 09:51:41 2010 -0700 Don't try to process accounts which are currently being disconnected. folks/tp-persona-store.vala | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) commit 56ae8d85ab37bcd8c7c1137f22dcf1c5bb8b1cf0 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed May 26 09:47:26 2010 -0700 Set a proper internal ID for TpPersonas and throw an error if its basis TpContact has an invalid UID. folks/tp-persona-store.vala | 19 +++++++++++++------ folks/tp-persona.vala | 35 ++++++++++++++++++++++++++++------- 2 files changed, 41 insertions(+), 13 deletions(-) commit 32c063d364a23b3388f69de7d927dd4b682d5c53 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon May 24 16:57:20 2010 -0700 Add group notification/read support for Telepathy personas .gitignore | 1 + folks/Makefile.am | 1 + folks/groups.vala | 30 ++++++ folks/individual.vala | 110 +++++++++++++++++++- folks/lowlevel.c | 91 +++++++++++++++++ folks/lowlevel.h | 7 ++ folks/persona-store.vala | 3 + folks/tp-persona-store.vala | 232 +++++++++++++++++++++++++++++++++---------- folks/tp-persona.vala | 67 ++++++++++++- 9 files changed, 481 insertions(+), 61 deletions(-) commit f6005cc2d079342dcade4bf062b1a4918285a3c3 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue May 18 16:23:10 2010 -0700 Avoid extraneous property notifications. folks/individual.vala | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) commit 8af8eb46d908f7958d807ac57fd1191c09179e82 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed May 19 16:29:29 2010 -0700 Cut out debugging default value. folks/presence.vala | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 20b24f2f385a8cfe12eba248897695a287c012aa Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue May 18 11:19:48 2010 -0700 Forward along TpPersona presence changes through their parent Individual. folks/individual.vala | 68 +++++++++++++++++++++++++++++++++++++++--------- folks/presence.vala | 3 +- folks/tp-persona.vala | 54 ++++++++++++++++++++++++++++++++++++--- 3 files changed, 107 insertions(+), 18 deletions(-) commit 2a4c707eaebab44221c18f9f381a2982b1bbb762 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon May 17 16:02:38 2010 -0700 Cut outdated comment. folks/individual.vala | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) commit ed95a888a280b01aff32f68a4ca8f51156999a3d Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon May 17 10:20:55 2010 -0700 Support account deletion folks/individual-aggregator.vala | 40 +++++++++++++++++++++++++-- folks/individual.vala | 55 ++++++++++++++++++++++++++++++++++++++ folks/persona-store.vala | 4 +++ folks/persona.vala | 3 ++ folks/tp-persona-store.vala | 19 +++++++++--- folks/tp-persona.vala | 5 ++- 6 files changed, 116 insertions(+), 10 deletions(-) commit 78931d383137d7944ee3cb526cbb2dfee9241d23 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Fri May 14 13:20:18 2010 -0700 Cut outdated comments folks/persona.vala | 2 -- folks/tp-persona-store.vala | 5 ----- 2 files changed, 0 insertions(+), 7 deletions(-) commit 76c01be288e680bf53583d21493e096042befe5a Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Fri May 14 12:32:44 2010 -0700 Actually add the presence source. folks/presence.vala | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 79 insertions(+), 0 deletions(-) commit 6e6fee04123488f07a3dcfef12f177f7968577c2 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed May 12 19:50:00 2010 -0700 Update for the more accurate signature for Tp.Account.status_changed. folks/tp-persona-store.vala | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) commit eb35c3623761be98b0978e032cc3afcb7e946585 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed May 12 17:02:44 2010 -0700 Add stub Presence interface. .gitignore | 1 + folks/Makefile.am | 1 + folks/individual.vala | 34 +++++++++++++++++++++++++++++++++- folks/persona.vala | 7 ++++++- folks/tp-persona.vala | 11 ++++++++++- 5 files changed, 51 insertions(+), 3 deletions(-) commit c8ed7e2ef2e6d81c2c7972a817d79951a63d9177 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed May 12 13:47:10 2010 -0700 Add a stub for the Capabilities interface. .gitignore | 1 + folks/Makefile.am | 1 + folks/capabilities.vala | 38 ++++++++++++++++++++++++++++++++++++++ folks/individual.vala | 21 ++++++++++++++++++++- folks/persona.vala | 6 +++++- folks/tp-persona.vala | 10 +++++++++- 6 files changed, 74 insertions(+), 3 deletions(-) commit 6159dbafff66dd98584dce38957d265a92bb4891 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed May 12 13:42:17 2010 -0700 Fix the way we prepare Telepathy accounts and connections (including automatically handling ones that were already open) folks/individual-aggregator.vala | 62 +++++++++++++++++++------- folks/tp-persona-store.vala | 87 ++++++++++++++++++++----------------- 2 files changed, 92 insertions(+), 57 deletions(-) commit ecb8fcafe7d5c463a29b3399084d12e9feeccbab Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon May 10 13:20:08 2010 -0700 Update for symbol changes in the latest tp-glib bindings. configure.ac | 6 ++++-- folks/tp-persona-store.vala | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) commit 57b4a9251dd56f47395177cae27c0059f9c4a425 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Apr 22 18:40:35 2010 -0700 Split PersonaStore into an abstract class and the TpPersonaStore derived class. .gitignore | 1 + folks/Makefile.am | 1 + folks/individual-aggregator.vala | 5 +- folks/persona-store.vala | 207 +--------------------------------- folks/tp-persona-store.vala | 232 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 240 insertions(+), 206 deletions(-) commit 6be3a1ea49e9c9334b8db75a25364d8dccf353d9 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Apr 22 16:47:45 2010 -0700 Rename from libtelepathy-people to libfolks. .gitignore | 30 ++-- Makefile.am | 8 +- configure.ac | 46 +++--- folks/Makefile.am | 127 +++++++++++++++ folks/alias.vala | 26 +++ folks/folks.pc.in | 15 ++ folks/individual-aggregator.vala | 81 ++++++++++ folks/individual.vala | 75 +++++++++ folks/lowlevel.c | 128 +++++++++++++++ folks/lowlevel.h | 73 +++++++++ folks/persona-store.vala | 230 +++++++++++++++++++++++++++ folks/persona.vala | 35 ++++ folks/tp-persona.vala | 52 ++++++ telepathy-people/Makefile.am | 127 --------------- telepathy-people/alias.vala | 26 --- telepathy-people/individual-aggregator.vala | 81 ---------- telepathy-people/individual.vala | 75 --------- telepathy-people/lowlevel.c | 126 --------------- telepathy-people/lowlevel.h | 71 -------- telepathy-people/persona-store.vala | 230 --------------------------- telepathy-people/persona.vala | 35 ---- telepathy-people/telepathy-people.pc.in | 15 -- telepathy-people/tp-persona.vala | 52 ------ 23 files changed, 884 insertions(+), 880 deletions(-) commit d981657b49c9ba37c59419ec370075673ba0edaf Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Apr 22 15:35:16 2010 -0700 Strip off the extraneous 'tpp-' prefix to the lowlevel files. .gitignore | 4 +- telepathy-people/Makefile.am | 42 +++++++------- telepathy-people/lowlevel.c | 126 +++++++++++++++++++++++++++++++++++++++ telepathy-people/lowlevel.h | 71 ++++++++++++++++++++++ telepathy-people/tpp-lowlevel.c | 126 --------------------------------------- telepathy-people/tpp-lowlevel.h | 71 ---------------------- 6 files changed, 220 insertions(+), 220 deletions(-) commit b1230c04a46f83d8b09bca406f8c5a72f1fb9a9c Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Apr 22 12:39:32 2010 -0700 Organize classes in the following sections in order: * private (enum, class, signal, plain data, property) * public (interface members, signal, properties), one block per interface * public (enum, signal, plain data, property) * constructor * constructor's dependent functions, in order of reference * destructor * destructor's dependent functions * public functions, followed by their dependent functions in order of ref telepathy-people/individual.vala | 42 +++--- telepathy-people/persona-store.vala | 250 +++++++++++++++++----------------- telepathy-people/persona.vala | 4 +- telepathy-people/tp-persona.vala | 4 +- 4 files changed, 152 insertions(+), 148 deletions(-) commit 6a9b2b8a2b4bea0dda4f3e394ce89440e571563b Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Apr 22 11:33:47 2010 -0700 Additional style changes. * use 'var' instead of an explicit type whenever possible. It's still type-safe yet reduces these types of redundancy (which would be common): Foo foo = new Foo (); Foo<Bar>[] foo_bar_array = new Foo<Bar>[size]; -------------------> var foo = new Foo (); var foo_bar_array = new Foo<Bar>[size]; * declare variables as closely to their first use as possible. This is to make all the relevant code as tight as possible, to minimize scrolling of all types. Exceptions include: class data members, blocks of code where there would be more than two variable definitions in a row; in this case, add a blank line between the last definition and the next line of code (to avoid making the code unreadably-dense); Eg, do this: { var manager = AccountManager.dup (); unowned GLib.List<Account> accounts = manager.get_valid_accounts (); this.stores = new HashMap<string, PersonaStore> (); foreach (Account account in accounts) { var store = new PersonaStore (account); this.stores.set (account.get_object_path (account), store); } ... } telepathy-people/individual-aggregator.vala | 10 +++----- telepathy-people/individual.vala | 2 +- telepathy-people/persona-store.vala | 31 ++++++++++---------------- telepathy-people/tp-persona.vala | 7 +---- 4 files changed, 19 insertions(+), 31 deletions(-) commit 7490b876978f5f36f9fd50a6ca527dd293c957a4 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Apr 22 10:57:05 2010 -0700 Switch the Vala source to Telepathy style, with minor clarifications: * properties that use the default get() and set() functions should be on a single line. Eg, public string alias { get; set; default = "(No one of consequence)"; } * custom one-line get() and set() functions should be on a single line. Eg, get { return this._personas; } * lambda blocks should be formatted as if they were regular blocks (with the { indented once on the next line, another indent for the block content, outdent once for the ending }). Any arguments following the lambda definition in a function call should be continued on the next line (this hasn't come up yet). Eg, this._personas.foreach ((persona) => { Persona p = (Persona) persona; if (alias == null) { alias = p.alias; } }); telepathy-people/alias.vala | 5 +- telepathy-people/individual-aggregator.vala | 85 +++--- telepathy-people/individual.vala | 80 +++--- telepathy-people/persona-store.vala | 375 ++++++++++++++------------- telepathy-people/persona.vala | 13 +- telepathy-people/tp-persona.vala | 44 ++-- 6 files changed, 307 insertions(+), 295 deletions(-) commit a3ca27442f9058e80318a37b773cd4e772b3b401 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Apr 21 22:05:41 2010 -0700 Change the namespace of the telepathy-people code to Tpp, to avoid ambiguity with telepathy-glib and its Vala bindings. .gitignore | 4 +- configure.ac | 6 +- telepathy-people/Makefile.am | 46 +++++----- telepathy-people/alias.vala | 2 +- telepathy-people/individual-aggregator.vala | 6 +- telepathy-people/individual.vala | 4 +- telepathy-people/persona-store.vala | 22 ++--- telepathy-people/persona.vala | 4 +- telepathy-people/tp-lowlevel.c | 126 --------------------------- telepathy-people/tp-lowlevel.h | 71 --------------- telepathy-people/tp-persona.vala | 8 +- telepathy-people/tpp-lowlevel.c | 126 +++++++++++++++++++++++++++ telepathy-people/tpp-lowlevel.h | 71 +++++++++++++++ 13 files changed, 246 insertions(+), 250 deletions(-) commit 15331f5455fde301333de52f9b6ca1c8e7968618 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Apr 21 16:57:42 2010 -0700 Create Individuals from new Personas and notify of their creation. telepathy-people/individual-aggregator.vala | 28 +++++++++------ telepathy-people/individual.vala | 49 +++++++++++++++++++++++++- telepathy-people/persona-store.vala | 6 ++- 3 files changed, 67 insertions(+), 16 deletions(-) commit 937ce337ba3619d4820ed4ff12f2f5f0ad4f1c7b Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Apr 21 10:21:24 2010 -0700 Change the personas_added type to a GLib.List from an array. This way we can consistently use GLists in the C API (since they're more conventional). telepathy-people/individual-aggregator.vala | 39 ++++++++++++++------------ telepathy-people/persona-store.vala | 17 +++++------ 2 files changed, 29 insertions(+), 27 deletions(-) commit 5670d7cacb8f39a245b8654632bab7f39290eecf Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Apr 21 09:26:22 2010 -0700 Add the Alias interface .gitignore | 1 + telepathy-people/Makefile.am | 1 + telepathy-people/alias.vala | 25 +++++++++++++++++++++++++ telepathy-people/persona.vala | 5 +++-- telepathy-people/tp-persona.vala | 5 ++++- 5 files changed, 34 insertions(+), 3 deletions(-) commit 6afde79a5fa6860e6e8af1cfd8eaf42a5394f305 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Apr 20 15:39:25 2010 -0700 Reduce the noise of our debug output. telepathy-people/individual-aggregator.vala | 27 +++++---- telepathy-people/persona-store.vala | 86 ++++----------------------- telepathy-people/tp-lowlevel.c | 5 +- telepathy-people/tp-persona.vala | 5 -- 4 files changed, 30 insertions(+), 93 deletions(-) commit 46ad676d13e2827e57cc7f7b8aa235603cf298d8 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Tue Apr 20 14:23:08 2010 -0700 Signal the addition of personas to the persona store. telepathy-people/individual-aggregator.vala | 9 +++++ telepathy-people/persona-store.vala | 44 ++++++++++++++++++++++----- 2 files changed, 45 insertions(+), 8 deletions(-) commit 97a7cbf08cd962dff37c711d25bf0396143b6c7b Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Apr 19 21:54:28 2010 -0700 Create the abstract class Tp.Persona and the Tp.TpPersona wrapper of TpContacts .gitignore | 2 + telepathy-people/Makefile.am | 2 + telepathy-people/individual.vala | 5 --- telepathy-people/persona-store.vala | 12 ++++++- telepathy-people/persona.vala | 31 ++++++++++++++++++++ telepathy-people/tp-persona.vala | 53 +++++++++++++++++++++++++++++++++++ 6 files changed, 98 insertions(+), 7 deletions(-) commit 1bc9651cc01976379202e0f158f880b8be92ba7e Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Apr 19 17:12:00 2010 -0700 Retrieve the TpContacts for the discovered contact handles telepathy-people/persona-store.vala | 108 +++++++++++++++++++++++++--------- 1 files changed, 79 insertions(+), 29 deletions(-) commit 218b6332e376840829e22774abf4f58f902e2b64 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Apr 15 21:25:26 2010 -0700 Make a trivial comment change telepathy-people/tp-lowlevel.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit b4a032c8a0afc61019c083a970367b95740abdd6 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Apr 15 18:42:38 2010 -0700 Use debug statements instead of standard output for the various debug output telepathy-people/individual-aggregator.vala | 6 ++-- telepathy-people/individual.vala | 2 +- telepathy-people/persona-store.vala | 31 ++++++++++++-------------- 3 files changed, 18 insertions(+), 21 deletions(-) commit e45b706a9b11a59042e9c63638d3acaaf1360f16 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Apr 15 18:38:46 2010 -0700 Wait until the contact list channel is ready to connect other signal handlers and get the initial set of handles telepathy-people/persona-store.vala | 48 +++++++++++++++++++++++++++-------- 1 files changed, 37 insertions(+), 11 deletions(-) commit 989fc587a5fea737ffc80f183898a3186e5ec717 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Apr 15 13:48:37 2010 -0700 Make the build less noisy configure.ac | 2 +- telepathy-people/Makefile.am | 21 ++++++++++++++++++--- 2 files changed, 19 insertions(+), 4 deletions(-) commit 8054384fa7bd1e199809f71f1a97634fa13c234d Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Apr 15 13:56:02 2010 -0700 Cut some junk code and handle some error conditions telepathy-people/persona-store.vala | 100 ++++++++++++---------------------- 1 files changed, 35 insertions(+), 65 deletions(-) commit d333bb5b9e608d01e6ec70812f71100fda6198ab Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Apr 15 08:59:18 2010 -0700 Add a comment about the brokenness of Tp.Handle telepathy-people/persona-store.vala | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit e7dfd442b8fa987f2df2502cde40e6f0a720c144 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Apr 15 08:49:41 2010 -0700 Mark telepathy-people.vapi as generated (and thus a target for 'make clean') telepathy-people/Makefile.am | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit a1720108b82863328b5c0a9709750f568bc7d6e7 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Apr 15 13:54:32 2010 -0700 Fetch the handles for the 'subscribe' contact list channel telepathy-people/persona-store.vala | 126 +++++++++++++++++++++++++++++++--- telepathy-people/tp-lowlevel.c | 12 ++-- telepathy-people/tp-lowlevel.h | 3 +- 3 files changed, 121 insertions(+), 20 deletions(-) commit 0d5e589e42140969ac6f0b7eea1b05db4fb75762 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Thu Apr 15 13:52:17 2010 -0700 Create a utility class to bind low-level tp-glib code without really exposing it .gitignore | 2 + configure.ac | 8 ++ telepathy-people/Makefile.am | 56 ++++++++++++++-- telepathy-people/persona-store.vala | 83 ++++++++++------------ telepathy-people/tp-lowlevel.c | 128 +++++++++++++++++++++++++++++++++++ telepathy-people/tp-lowlevel.h | 72 ++++++++++++++++++++ 6 files changed, 298 insertions(+), 51 deletions(-) commit 6cc74287d8d42639629234a950a8b418a934a452 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Apr 12 11:34:32 2010 -0700 Create persona stores for the valid accounts and prep them configure.ac | 1 + telepathy-people/Makefile.am | 2 +- telepathy-people/individual-aggregator.vala | 41 +++++++-------- telepathy-people/persona-store.vala | 74 +++++++++++++++++++++++++++ 4 files changed, 95 insertions(+), 23 deletions(-) commit 8c4f82d31e822092e8e6ac7b4ee1627ec97705b5 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Mon Apr 12 08:37:27 2010 -0700 Begin filling in the classes as intended; Fetch the valid accounts and prep them telepathy-people/individual-aggregator.vala | 31 +++++++++++++++++++++++++++ telepathy-people/persona-store.vala | 25 ++++++++++++++------- 2 files changed, 48 insertions(+), 8 deletions(-) commit 597d36914a4920f22fa7ed1eb7fe815975dbc1d9 Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Wed Apr 14 13:11:20 2010 -0700 Begin building up the library, mainly in terms of build work. .gitignore | 6 +++- configure.ac | 11 ++++++++- telepathy-people/Makefile.am | 34 ++++++++++++++++++++++---- telepathy-people/individual-aggregator.vala | 31 ++++++++++++++++++++++++ telepathy-people/individual.vala | 31 ++++++++++++++++++++++++ telepathy-people/persona-store.vala | 10 ++++++- telepathy-people/telepathy-people.pc.in | 15 ++++++++++++ 7 files changed, 127 insertions(+), 11 deletions(-) commit 4d71ef433b3427036bab270203988cf6463313be Author: Travis Reitter <travis.reitter@collabora.co.uk> Date: Fri Apr 2 14:43:08 2010 -0700 Initial commit for the telepathy-people library .gitignore | 57 + AUTHORS | 1 + COPYING | 510 +++ MAINTAINERS | 2 + Makefile.am | 55 + autogen.sh | 34 + configure.ac | 120 + m4/as-compiler-flag.m4 | 33 + m4/gtk-doc.m4 | 1 + m4/libtool.m4 | 7376 +++++++++++++++++++++++++++++++++++ m4/ltoptions.m4 | 368 ++ m4/ltsugar.m4 | 123 + m4/ltversion.m4 | 23 + m4/lt~obsolete.m4 | 92 + telepathy-people/Makefile.am | 42 + telepathy-people/persona-store.vala | 30 + 16 files changed, 8867 insertions(+), 0 deletions(-)