commit 9eac7260280df8c4eaca1de246ea87c8965982d5 Author: Travis Reitter Date: Fri Sep 10 15:20:57 2010 -0700 Release version 0.1.17 configure.ac | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 17d54039f6b4a505ca83fbfb88b6dcccb9cd9d8f Author: Travis Reitter Date: Fri Sep 10 12:13:42 2010 -0700 Add some more detailed validation/error reporting to the importing tool. tools/import-pidgin.vala | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) commit e41c4a953bf36bd13ebabb0fb78bd1389b17ef56 Author: Philip Withnall Date: Wed Sep 8 19:36:04 2010 +0100 Bug 629084 — Add a folks-import tool Add a folks-import tool which allows importing of Pidgin meta-contact information to libfolks' key file. Closes: bgo#629084 Makefile.am | 1 + configure.ac | 9 ++ folks/backend-store.vala | 2 +- tools/Makefile.am | 34 +++++++ tools/import-pidgin.vala | 247 ++++++++++++++++++++++++++++++++++++++++++++++ tools/import.vala | 189 +++++++++++++++++++++++++++++++++++ 6 files changed, 481 insertions(+), 1 deletions(-) commit 964ed5760f9dabe6562cca7bdc2f564ee7a8a8a1 Author: Philip Withnall Date: Thu Sep 9 16:07:08 2010 +0100 Block flushing of Kf.PersonaStore on any pending file operations If a file operation is still underway, don't allow the Kf.PersonaStore to be finalized until it's finished. This prevents libfolks from being closed before changes to relationships.ini have been written out. We also prevent multiple file operations from happening (pseudo-) concurrently, by cancelling any pending operation when we schedule a new one. backends/key-file/kf-persona-store.vala | 40 ++++++++++++++++++++++++++++-- folks/persona-store.vala | 17 +++++++++++++ 2 files changed, 54 insertions(+), 3 deletions(-) commit 88df560e88cf14e3fc6b0b6060173dd94e3ecaed Author: Philip Withnall Date: Mon Sep 6 10:35:25 2010 +0100 Bug 628853 — hangs if there's no relationships.ini file The code to create the directory tree for relationships.ini wasn't handling errors properly, so was getting stuck in an infinite loop in the case that the ~/.local/share/folks directory existed but relationships.ini didn't. Closes: bgo#628853 backends/key-file/kf-persona-store.vala | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) commit 107927b9efc7760f69d368525c969d3ee33ecb3e Author: Philip Withnall Date: Thu Sep 9 12:33:22 2010 +0100 Notify of Tpf.PersonaStore's Personas being removed when disabling accounts When disabling, removing or marking an account as invalid, we need to signal that the account's contacts (i.e. the Tpf.PersonaStore's Personas) have been removed. Closes: bgo#629082 backends/telepathy/lib/tpf-persona-store.vala | 21 ++++++++++++++++++--- 1 files changed, 18 insertions(+), 3 deletions(-) commit 4148a6a1474791ea0add1d47f913d1f3aec7e733 Author: Philip Withnall Date: Wed Sep 8 11:10:49 2010 +0100 Warn on key file parse errors, rather than explode Contrary to popular belief, it is possible to encounter errors when parsing key files. In this case, the key-file backend shouldn't explode without a helpful error message. Helps: bgo#628930 backends/key-file/kf-persona.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 35ebac56b63a4d0a704c1a94ef7271dfcf266803 Author: Philip Withnall Date: Wed Sep 8 11:06:25 2010 +0100 Fix saving the key file when it contains multi-byte characters The calculation of the length of the data to be saved was being done in characters, not bytes, whereas the I/O function was expecting a length in bytes. This caused some number of bytes to be dropped from the end of the file, potentially splitting a multibyte character and breaking the file encoding (not to mention losing data otherwise). Closes: bgo#628930 backends/key-file/kf-persona-store.vala | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit c2c799bd5bd39de40ef17cdaa7050b6837b088ac Author: Philip Withnall Date: Wed Sep 8 10:39:47 2010 +0100 Add more debugging for aliases backends/key-file/kf-persona.vala | 3 +++ folks/individual.vala | 18 +++++++++++++++++- 2 files changed, 20 insertions(+), 1 deletions(-) commit 427b76062a2b677bfc46dac6495e4c19829775c6 Author: Philip Withnall Date: Wed Sep 8 10:31:30 2010 +0100 Don't save the key file when loading Personas' aliases We were previously saving the key file for each __alias key loaded, as it was loading the alias into Kf.Persona.alias, rather than Kf.Persona._alias, causing the key file to be saved each time. This may have caused or contributed towards the corruption seen in bgo#628930. backends/key-file/kf-persona.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ae93e946acb356def0429ba36f1c71b72228930b Author: Philip Withnall Date: Wed Sep 8 10:28:53 2010 +0100 Don't allow setting a Kf.Persona's alias to its current value backends/key-file/kf-persona.vala | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 70b574223b1cd14623c6fb523a8bf33ea33385ef Author: Philip Withnall Date: Fri Sep 10 11:54:00 2010 +0100 Add generated C files to GITIGNOREFILES backends/key-file/Makefile.am | 6 ++++++ backends/telepathy/Makefile.am | 6 ++++++ tests/telepathy/Makefile.am | 5 +++++ 3 files changed, 17 insertions(+), 0 deletions(-) commit d044180af13bc8b2798a89f1280017755f4a8260 Author: Philip Withnall Date: Fri Sep 10 11:30:28 2010 +0100 Move tools/manager-file.py to tests/tools/manager-file.py It belongs with the test tools, since it's only useful for the Telepathy test rig. tests/lib/telepathy/contactlist/Makefile.am | 4 +- tests/tools/Makefile.am | 5 +- tests/tools/manager-file.py | 175 +++++++++++++++++++++++++++ tools/manager-file.py | 175 --------------------------- 4 files changed, 181 insertions(+), 178 deletions(-) commit 09cccdfc9140f90ca19285e48fb8bb541af134b6 Author: Philip Withnall Date: Fri Sep 10 11:28:49 2010 +0100 Add mkinstalldirs to MAINTAINERCLEANFILES Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 51f3682983892bc060a55ccadca284e13b994393 Author: Philip Withnall Date: Fri Sep 10 11:15:12 2010 +0100 Install folks.vapi and folks-telepathy.vapi backends/telepathy/lib/Makefile.am | 6 ++++++ backends/telepathy/lib/folks-telepathy.deps | 3 ++- folks/Makefile.am | 6 ++++++ folks/folks.deps | 1 + 4 files changed, 15 insertions(+), 1 deletions(-) commit 676d8dbdf4b8eb56cca346df583371b48855b68f Author: Philip Withnall Date: Fri Sep 10 11:10:52 2010 +0100 Use session.conf from the builddir to fix builddir != srcdir tests/telepathy/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 624a2be18f96373101b5d83b04ad7b21687e262d Author: Philip Withnall Date: Fri Sep 10 11:08:33 2010 +0100 Ensure tests/tools/with-session-bus.sh is distributed configure.ac | 1 + tests/Makefile.am | 1 + tests/tools/Makefile.am | 3 +++ 3 files changed, 5 insertions(+), 0 deletions(-) commit 6d49c9f944050bec5558118f48926b7322cb30ba Author: Philip Withnall Date: Fri Sep 10 11:02:02 2010 +0100 Correct use of CPPFLAGS/CFLAGS in backend Makefile.ams backends/key-file/Makefile.am | 3 +-- backends/telepathy/Makefile.am | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) commit 173e24e83691d0e06ba1528e86d2ec84bf079f08 Author: Philip Withnall Date: Fri Sep 10 11:00:52 2010 +0100 Port the backend Makefile.ams to use automake-1.11's Vala support backends/key-file/Makefile.am | 46 ++++-------------------------------- backends/telepathy/Makefile.am | 50 +++------------------------------------ 2 files changed, 10 insertions(+), 86 deletions(-) commit 855a8371ca448040e2292e388718a8ab8a6cf970 Author: Philip Withnall Date: Fri Sep 10 11:00:44 2010 +0100 Remove an unused variable from docs/Makefile.am docs/Makefile.am | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 8f439ae38a2d7eb49cf961bcc0882cf133d49232 Author: Philip Withnall Date: Thu Sep 9 19:13:38 2010 +0100 Fix configure.ac indentation and layout configure.ac | 152 +++++++++++++++++++++++++++++----------------------------- 1 files changed, 76 insertions(+), 76 deletions(-) commit 61e217dd6c056e7e07a30c00ceac675f4d981cd4 Author: Philip Withnall Date: Thu Sep 9 18:58:16 2010 +0100 Remove unnecessary AC_SUBST calls PKG_CHECK_MODULES does AC_SUBST for us. configure.ac | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) commit 13aee0e2eca151cb25564447177b166e260ed0b4 Author: Philip Withnall Date: Thu Sep 9 18:51:14 2010 +0100 Use the M4Sugar conditional statements instead of plain m4 ones configure.ac | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit 13f3aa1e6a7385ec0af534708ab8b5a294c3d262 Author: Philip Withnall Date: Thu Sep 9 18:42:40 2010 +0100 Fix m4 quoting in configure.ac (I think.) configure.ac | 134 +++++++++++++++++++++++++++++----------------------------- 1 files changed, 67 insertions(+), 67 deletions(-) commit 251c914c8437abfa92212beddf77b2fa5d75eda5 Author: Philip Withnall Date: Thu Sep 9 18:19:52 2010 +0100 Don't use dnl for comments in configure.ac It's not strictly intended to be used for commenting; more for obliterating macro output when redefining things. '#' is for comments. configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 5353632439278dbe41511fc3cd7647715fee23e8 Author: Philip Withnall Date: Thu Jul 8 18:55:34 2010 +0100 Add a test of an individual's properties tests/telepathy/contact-retrieval.vala | 54 ++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) commit 2dc9aee089f3550f8eda1da00a70bf3b911fc25b Author: Philip Withnall Date: Thu Jun 10 07:19:50 2010 -0700 Add the framework for a test suite Add the framework for a test suite for the Telepathy backend, including a dummy account manager, account and connection, to allow complete control over the personas created in libfolks. This comes with a test case framework which wraps the GLib test framework, used by a test case which tests that all expected individuals are exposed by the individual aggregator. Heavily based on work by Travis Reitter . Makefile.am | 1 + configure.ac | 19 + tests/Makefile.am | 16 + tests/lib/Makefile.am | 7 + tests/lib/telepathy/Makefile.am | 5 + tests/lib/telepathy/contactlist/Makefile.am | 84 + tests/lib/telepathy/contactlist/account-manager.c | 188 +++ tests/lib/telepathy/contactlist/account-manager.h | 61 + tests/lib/telepathy/contactlist/account.c | 341 ++++ tests/lib/telepathy/contactlist/account.h | 60 + tests/lib/telepathy/contactlist/conn.c | 614 ++++++++ tests/lib/telepathy/contactlist/conn.h | 68 + .../telepathy/contactlist/contact-list-manager.c | 1649 ++++++++++++++++++++ .../telepathy/contactlist/contact-list-manager.h | 107 ++ tests/lib/telepathy/contactlist/contact-list.c | 632 ++++++++ tests/lib/telepathy/contactlist/contact-list.h | 118 ++ tests/lib/telepathy/contactlist/manager-file.py | 23 + tests/lib/telepathy/contactlist/session.conf.in | 54 + .../telepathy/contactlist/tp-test-contactlist.deps | 5 + .../telepathy/contactlist/tp-test-contactlist.h | 10 + tests/telepathy/Makefile.am | 63 + tests/telepathy/contact-retrieval.vala | 191 +++ tests/telepathy/test-case.vala | 82 + tests/tools/with-session-bus.sh | 94 ++ tools/manager-file.py | 175 +++ 25 files changed, 4667 insertions(+), 0 deletions(-) commit 8bdce4231224a0b1b3187b6cbe627705c036e6ef Author: Philip Withnall Date: Wed Sep 1 16:38:15 2010 +0100 Post-release version bump and non-release indicator configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit fc14b380a34775cf4707feb011df9f3d5986a7d9 Author: Philip Withnall Date: Wed Sep 1 16:36:26 2010 +0100 Release version 0.1.16 configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)