commit 9384164754d972498b807c0526a81238c518b5cf Author: Philip Withnall Date: Fri Feb 13 12:09:42 2015 +0000 tests: Add test data to EXTRA_DIST The all_test_data variable should be added to EXTRA_DIST where the files are not auto-generated. tests/data/Makefile.am | 2 ++ tests/telepathy/Makefile.am | 2 ++ 2 files changed, 4 insertions(+) commit fd251e1410f32d17a832b69364af923938b3d974 Author: Philip Withnall Date: Fri Feb 13 11:53:41 2015 +0000 tests: Add .service files for latest EDS APIs Changing API version numbers is like changing clothes in the morning. tests/lib/eds/test-case.vala | 2 ++ 1 file changed, 2 insertions(+) commit b4c33754dc69b7f1b0d360346e4fe0c8e48284cc Author: Alvaro Soliverez Date: Wed Aug 28 16:50:35 2013 -0300 inspect: Add search option to folks-inspect https://bugzilla.gnome.org/show_bug.cgi?id=646808 tools/inspect/Makefile.am | 1 + tools/inspect/command-search.vala | 83 +++++++++++++++++++++++++++++++++++++++ tools/inspect/inspect.vala | 1 + 3 files changed, 85 insertions(+) commit 8a07a8c29f473826264d53615cce821129cc6ae2 Author: Travis Reitter Date: Thu Jan 22 16:26:10 2015 +0000 core: Implement base classes for searching This bumps our GLib dependency to 2.40.0 for use of g_str_tokenize_and_fold() to perform the fuzzy search matching. This adds the following new API allowing for dynamic search views over an IndividualAggregator: • Query interface • SimpleQuery class • SearchView class It includes a fairly comprehensive test suite. https://bugzilla.gnome.org/show_bug.cgi?id=646808 NEWS | 6 + configure.ac | 2 +- folks/Makefile.am | 3 + folks/query.vala | 140 ++++++++ folks/search-view.vala | 538 ++++++++++++++++++++++++++++++ folks/simple-query.vala | 522 +++++++++++++++++++++++++++++ tests/dummy/Makefile.am | 5 + tests/dummy/search-view.vala | 778 +++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 1993 insertions(+), 1 deletion(-) commit 3871174d33e834087e81be25ca77f3dea11d8650 Author: Kjartan Maraas Date: Wed Feb 11 16:31:23 2015 +0100 Updated Norwegian bokmål translation. po/nb.po | 105 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 55 insertions(+), 50 deletions(-) commit 8b1a717c6d66cb7b60ea82d906fae9646bb90b19 Author: Philip Withnall Date: Fri Feb 6 12:16:45 2015 +0000 core: Remove a couple of FIXMEs for a Vala bug The bug, https://bugzilla.gnome.org/show_bug.cgi?id=638208, is now fixed, so we can remove the FIXMEs. Can’t change the code because ‘var’ is always owned, and Vala now throws a warning when copying classes around, which is expected. folks/individual-aggregator.vala | 2 -- 1 file changed, 2 deletions(-) commit ef70ba956a1acb07a26928a52bd5def466102733 Author: Milan Crha Date: Wed Feb 4 07:44:00 2015 +0000 build: Drop outdated BlueZ conditional dependency checks Since our overall EDS dependency is now higher than that needed for the BlueZ backend, we can drop the conditional EDS version checks which could previously disable building the BlueZ backend. https://bugzilla.gnome.org/show_bug.cgi?id=743934 configure.ac | 3 --- 1 file changed, 3 deletions(-) commit baa67c2bd6f07180921fd917f9aecc1e2082ac17 Author: Milan Crha Date: Tue Feb 3 17:10:00 2015 +0000 eds: Update to new EDS address book timeout API Add a timeout parameter to handle the new EDS authentication process. This means that folks no longer triggers authentication dialogues from EDS, which will prevent them popping up unexpectedly (particularly from GNOME Shell). However, it does mean that external processes using folks which _do_ want to display authentication dialogues should manually create an ECredentialsPrompter and use that to display the dialogues. This bumps the EDS dependency to 3.13.90 unconditionally. https://bugzilla.gnome.org/show_bug.cgi?id=743934 NEWS | 2 ++ backends/eds/lib/edsf-persona-store.vala | 2 +- configure.ac | 6 +++--- tests/eds/helper-create-many-contacts.vala | 2 +- tests/eds/helper-delete-contacts.vala | 2 +- tests/lib/eds/backend.vala | 2 +- 6 files changed, 9 insertions(+), 7 deletions(-) commit 016b1059e61cabe18ecd150989a3e80de51bccd9 Author: Philip Withnall Date: Tue Feb 3 15:36:42 2015 +0000 telepathy: Fix use of deprecated telepathy-glib API get_valid_accounts() was deprecated in 0.19.9. backends/telepathy/tp-backend.vala | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit cf822bea376bb985d9039da9039471a5758aa5c1 Author: Philip Withnall Date: Mon Feb 2 17:55:53 2015 +0000 core: Fix some Valadoc comments to use namespaces correctly folks/avatar-cache.vala | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 44308b7eb6ff90c5a01b1c94643b94ce8e7c48d8 Author: Philip Withnall Date: Mon Feb 2 16:35:06 2015 +0000 tests: Disable the GVFS remote volume monitor when running tests We don’t need it, and it can cause GVFS to emit a warning about not being able to spawn org.gtk.vfs.Daemon, which will cause our tests to fail. tests/lib/test-case.vala | 4 ++++ 1 file changed, 4 insertions(+) commit a012e6061396687bd169d07242f1d5e59bad46df Author: Balázs Úr Date: Fri Jan 30 21:24:38 2015 +0000 Updated Hungarian translation po/hu.po | 113 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 57 insertions(+), 56 deletions(-) commit 8d3cc124c5694b47288d70ba9d4441642caed1ba Author: Philip Withnall Date: Fri Jan 23 15:01:45 2015 +0000 telepathy: Update a deprecated Vala attribute ‘Property’ became ‘Description’ sometime very early on in Vala’s lifetime. We never caught up. backends/telepathy/lib/tpf-persona-store.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c9b639b12082af78d34fc06d71d2be7dd79c8aa7 Author: Philip Withnall Date: Fri Jan 23 15:01:36 2015 +0000 docs: Update NEWS file NEWS | 1 + 1 file changed, 1 insertion(+) commit cc091166c138310f06297803fd3991f119624fb6 Author: Philip Withnall Date: Fri Jan 23 15:00:40 2015 +0000 telepathy: Fix use of deprecated Telepathy API This bumps our telepathy-glib dependency from 0.19.0 to 0.19.9, which should be fine — it’s a micro version bump, and all distributions which ship telepathy-glib have shipped something newer than 0.20.0 for ages. NEWS | 1 + backends/telepathy/lib/tpf-persona-store.vala | 6 +++--- backends/telepathy/lib/tpf-persona.vala | 16 +++++++++++----- configure.ac | 2 +- 4 files changed, 16 insertions(+), 9 deletions(-) commit 4a6db9226dc9396830985f0f36e00aa0179303d2 Author: Philip Withnall Date: Fri Jan 23 14:58:21 2015 +0000 inspect: Fix use of deprecated Vala API This wasn’t fixed before because there was apparently no way of specifying the base to use for the conversion. Then I realised that hexadecimal can be forced by ensuring the string has a ‘0x’ prefix, which it does. tools/inspect/command-signals.vala | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 69030c4037fe02d98d1dafc330a3c556c6653814 Author: Colin Walters Date: Fri Jan 23 14:31:17 2015 +0000 build: Mark as not supporting srcdir != builddir Basically automake's vala rules cd $(srcdir), which breaks variable references like $(top_srcdir), since they're relative to the build directory. configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) commit bc77be3eac424004ff4571a3df6c24bdebce9714 Author: Philip Withnall Date: Fri Jan 23 11:19:35 2015 +0000 tests: Port to use installed-tests Port the unit tests to follow the installed-tests standard, installing the test binaries and generated .test metadata files. This removes the existing --enable-tests configure option, replacing it with the standard: • --enable-modular-tests • --enable-installed-tests options. --enable-modular-tests is a direct replacement for --enable-tests, controlling whether tests are built at compile time, or only when run under `make check`. --enable-installed-tests controls whether tests will be installed on the system. If the tests are installed, use gnome-desktop-testing-runner folks to run them all. https://bugzilla.gnome.org/show_bug.cgi?id=743398 Makefile.am | 2 +- NEWS | 3 +++ configure.ac | 26 +++++++++++++++++++++----- folks/build-conf.vapi | 6 ++++++ tests/bluez/Makefile.am | 5 ++--- tests/data/Makefile.am | 5 ++++- tests/dummy/Makefile.am | 5 ++--- tests/eds/Makefile.am | 7 +++---- tests/folks/Makefile.am | 5 ++--- tests/key-file/Makefile.am | 5 ++--- tests/lib/Makefile.am | 2 ++ tests/lib/test-utils.vala | 14 +++++++------- tests/libsocialweb/Makefile.am | 5 ++--- tests/telepathy/Makefile.am | 9 ++++----- tests/test.mk | 39 +++++++++++++++++++++++++++++++++++++++ tests/tracker/Makefile.am | 5 ++--- 16 files changed, 102 insertions(+), 41 deletions(-) commit 98fe7836cd9cbb8bc3fd61e5c65df236dd9e5da2 Author: Philip Withnall Date: Fri Jan 23 12:57:15 2015 +0000 tests: Fix load path for a Telepathy test file The path works fine when running the tests in the source directory, but not for installed tests. Also, it seems a bit pointless to keep the file in its own subdirectory; and this will cause problems when installing it for installed-tests. https://bugzilla.gnome.org/show_bug.cgi?id=743398 tests/lib/telepathy/test-case.vala | 2 +- tests/telepathy/Makefile.am | 2 +- tests/telepathy/data/relationships-empty.ini | 0 tests/telepathy/relationships-empty.ini | 0 4 files changed, 2 insertions(+), 2 deletions(-) commit 324f8687f1bc547b87600d1ccf845065e6fad117 Author: Philip Withnall Date: Fri Jan 23 12:42:18 2015 +0000 tests: Allow pkg-config calls to be overridden by environment variables When running installed tests, the pkg-config files for our dependencies might not be available, so the runtime pkg-config calls will fail and hence the tests will fail. Allow overriding the pkg-config calls with environment variables which will be set in the .test files for the installed tests. https://bugzilla.gnome.org/show_bug.cgi?id=743398 tests/lib/eds/test-case.vala | 21 ++++++++++++++++++--- tests/lib/tracker/test-case.vala | 21 ++++++++++++++++++--- 2 files changed, 36 insertions(+), 6 deletions(-) commit 3a95647776cf5f1a42b433bf013a2cc29aa64b98 Author: Philip Withnall Date: Fri Jan 23 11:29:38 2015 +0000 build: Local change to git.mk to ignore installed-test metadata files Submitted upstream as: https://github.com/behdad/git.mk/pull/28/. https://bugzilla.gnome.org/show_bug.cgi?id=743398 git.mk | 1 + 1 file changed, 1 insertion(+) commit 1ecb3346985a0b155f074810da848a9de3b55770 Author: Philip Withnall Date: Fri Jan 23 12:58:34 2015 +0000 tests: Upgrade a warning to an error If this fails, the test cannot complete successfully, so we might as well make sure the warning message doesn’t get buried by subsequent log output. tests/lib/test-utils.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3f10d0a18966aac296336364812bbc0eb0f942ec Author: Philip Withnall Date: Fri Jan 23 11:24:40 2015 +0000 build: Update git.mk from upstream git.mk | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) commit 56ae93e3e655c9b2a42d71807ba22b828bfcf25e Author: Daniel Mustieles Date: Fri Jan 23 11:42:37 2015 +0100 Updated Spanish translation po/es.po | 108 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 55 insertions(+), 53 deletions(-) commit bd4b1b31d34ef6fa6a6a9f06825a99b55c58a64c Author: Philip Withnall Date: Thu Jan 22 17:35:52 2015 +0000 tests: Factor out common database disambiguation in EDS tests Why not just make all the tests use unique databases? tests/eds/anti-linking.vala | 11 ----------- tests/eds/link-personas.vala | 11 ----------- tests/eds/perf.vala | 9 --------- tests/eds/set-avatar.vala | 9 --------- tests/lib/eds/test-case.vala | 5 ++++- 5 files changed, 4 insertions(+), 41 deletions(-) commit 09bc2de85f6d32af895843362ad7f0c3ca8f1c0a Author: Philip Withnall Date: Thu Jan 22 17:32:02 2015 +0000 tests: Fix EDS set-avatar test The same address book database was being re-used between unit tests, causing the second one to fail with a duplicate contact UID. tests/eds/set-avatar.vala | 9 +++++++++ 1 file changed, 9 insertions(+) commit 8db58cfc01436ffdcf7ca0b338d645299b1fcc66 Author: Philip Withnall Date: Thu Jan 22 16:29:14 2015 +0000 build: Add a missing backslash in a file list It was at the end of the list, so this doesn’t actually change anything. Just fixes an automake warning. tests/eds/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bdf03cf9633689a162bb235df3a617a0b562fead Author: Philip Withnall Date: Thu Jan 22 16:19:33 2015 +0000 core: Indentation fix folks/individual-aggregator.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a446d66e6b93d50bb157703b648f3dcb6dce6af2 Author: Philip Withnall Date: Thu Jan 22 16:19:03 2015 +0000 core: Unmark a private method as async It does not use any async features or yields, so there’s no point in it being async. folks/individual-aggregator.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f78bee03297a2d886ba0a0535498d87d238bcf9f Author: Philip Withnall Date: Thu Jan 22 16:18:39 2015 +0000 core: Remove use of a deprecated libgee API folks/individual-aggregator.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0dfb4b67733343e0d06dfd34dc9728265c465a5b Author: Philip Withnall Date: Thu Jan 22 16:16:50 2015 +0000 dummy: Set DummyPersona.property_change_delay default value To zero, so persona property changes are queued in an idle callback. This is not a functional change, as the property would have previously been implicitly zero-initialised. backends/dummy/lib/dummy-persona.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d040ce6cbad9bad8c25f052254f3df6d9535a9a3 Author: Philip Withnall Date: Thu Jan 22 16:15:49 2015 +0000 core: Hook up the FolksSmallSet.dispose vfunc It was accidentally not hooked up before, which was a potential memory leak if read-only views are used. folks/small-set.c | 1 + 1 file changed, 1 insertion(+) commit 0db4ad513b0141e5a0862954db74439ebb175bcc Author: Philip Withnall Date: Thu Jan 22 16:14:55 2015 +0000 core: Implement more vfuncs in FolksSmallSet Implement the generic type vfuncs, which are needed for some of the search code. folks/small-set.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit 537063c475d3347369abca001721603c0cd6d883 Author: Philip Withnall Date: Thu Jan 22 16:14:31 2015 +0000 core: Remove unused function declarations from FolksSmallSet folks/small-set.c | 3 --- 1 file changed, 3 deletions(-) commit a0e8278131dd7fde01b6ef456da5e2761de93787 Author: Philip Withnall Date: Wed Jan 21 14:51:47 2015 +0000 tests: Skip primary-store-changes test if running uninstalled It requires the folks GSettings schema to be installed, which might not be the case if running the unit tests without installing. tests/folks/primary-store-changes.vala | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit b9f79746b4d56569f498c2e45a245bbbde194578 Author: Philip Withnall Date: Wed Jan 21 14:12:05 2015 +0000 core: Fix some code formatting This introduces no functional changes. folks/individual-aggregator.vala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 9421fb70ac4a3a21051cfd0547ecbb0b31913951 Author: Marek Černocký Date: Wed Jan 21 07:57:09 2015 +0100 Updated Czech translation po/cs.po | 107 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 56 insertions(+), 51 deletions(-) commit 171adc50db474ee11ebcad293371700ccda2189a Author: Philip Withnall Date: Tue Jan 20 17:47:08 2015 +0000 build: Bump version to 0.11.0 Since we’re now adding API, this is the 0.11.0 unstable branch. NEWS | 7 ++++++- configure.ac | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) commit 699bf9a70f2ba7b80e20e16820b04db21c62a79b Author: Rodrigo Moya Date: Tue Jan 20 12:36:35 2015 +0000 eds: Implement ExtendedInfo interface Store extended info fields as arbitrary vCard properties. https://bugzilla.gnome.org/show_bug.cgi?id=641211 backends/eds/lib/edsf-persona-store.vala | 64 +++++++++++++++ backends/eds/lib/edsf-persona.vala | 32 ++++++++ tests/eds/Makefile.am | 5 ++ tests/eds/extended-info.vala | 136 +++++++++++++++++++++++++++++++ tests/lib/eds/backend.vala | 13 ++- 5 files changed, 249 insertions(+), 1 deletion(-) commit 31018a77990ee1ecdf696fd679cb83d711524b23 Author: Rodrigo Moya Date: Tue Jan 20 12:07:28 2015 +0000 core: Add an ExtendedInfo interface for storing arbitrary fields This adds a new interface which allows clients to store arbitrary fields in backends. No backends currently implement it, but that will change. See the documentation for reasoning about when it’s appropriate to use this interface. New API: • ExtendedInfo interface • ExtendedFieldDetails class • Individual now implements ExtendedInfo https://bugzilla.gnome.org/show_bug.cgi?id=641211 folks/Makefile.am | 1 + folks/extended-info.vala | 151 +++++++++++++++++++++++++++++++++++++++++++++++ folks/individual.vala | 119 ++++++++++++++++++++++++++++++++++++- folks/persona-store.vala | 10 +++- po/POTFILES.in | 1 + po/POTFILES.skip | 1 + 6 files changed, 281 insertions(+), 2 deletions(-) commit 4bda16a913d00b44ada0111f89dfc6548a550625 Author: Philip Withnall Date: Tue Jan 20 12:09:11 2015 +0000 doc: Fix a typo in HACKING HACKING | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b2660ca904e31b62ad0418327af3c8ce9aecb244 Author: Philip Withnall Date: Tue Jan 20 10:31:42 2015 +0000 build: Add -no-undefined to all LDFLAGS Let’s not get caught by the linker failing on undefined symbols again. backends/backend-library.mk | 1 + backends/backend.mk | 1 + folks/Makefile.am | 5 ++++- 3 files changed, 6 insertions(+), 1 deletion(-) commit 6bfdae26b5311d280f2e566d05534b0ddf57603b Author: Philip Withnall Date: Tue Jan 20 10:27:36 2015 +0000 build: Fix LIBADD for libsocialweb backend The variable was accidentally completely empty, which was causing build failures when compiling with -no-undefined. Fix that by populating LIBADD correctly. backends/libsocialweb/lib/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bc9e0684504c32b71ee2913d48ee8298e8468d46 Author: Philip Withnall Date: Tue Jan 20 10:26:50 2015 +0000 build: Add dependency on libm for the BlueZ backend It uses Math.pow(). backends/bluez/Makefile.am | 1 + configure.ac | 2 ++ 2 files changed, 3 insertions(+) commit 916eaa6eff3d3fa416d2fb8d8f1dc5cd39ad872a Author: Philip Withnall Date: Mon Jan 19 20:38:25 2015 +0000 Post-release version bump NEWS | 11 +++++++++++ configure.ac | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) commit bde07a22c23b2c49d370c793dab5dce3da1d11f9 Author: Philip Withnall Date: Mon Jan 19 20:37:14 2015 +0000 Release version 0.10.1 NEWS | 7 +------ configure.ac | 14 +++++++------- 2 files changed, 8 insertions(+), 13 deletions(-)