2018-02-07 Carlos Garnacho Release 2.0.3 2018-01-31 Debarshi Ray libtracker-miner: Don't mix sync & async GFileEnumerator APIs This enables enumeration of non-native files because GVfs doesn't like to mix asynchronous & synchronous GFileEnumerators. If an enumerator is obtained through one API variant, then it should be used via the same API variant. https://bugzilla.gnome.org/show_bug.cgi?id=792337 libtracker-miner: Rename a variable for consistency https://bugzilla.gnome.org/show_bug.cgi?id=792337 2018-01-24 Ting-Wei Lan configure: Don't put includes in function body of AC_LANG_PROGRAM The second argument of AC_LANG_PROGRAM is the content of main function. We cannot put any includes there, or we end up testing whether the compiler supports nested functions because headers may have definitions for inline functions. https://bugzilla.gnome.org/show_bug.cgi?id=792713 vala: Bump gir_version to 2.0 https://bugzilla.gnome.org/show_bug.cgi?id=792691 2018-01-23 Debarshi Ray libtracker-sparql: Be more careful about integer sizes The GVariant type string "i" refers to a signed 32-bit integer. Therefore, gint32 is a much safer bet than gint, whose size is not guaranteed across all platforms. https://bugzilla.gnome.org/show_bug.cgi?id=792301 2018-01-16 Debarshi Ray tracker-monitor: Tighten the scope of variables https://bugzilla.gnome.org/show_bug.cgi?id=791067 2017-12-28 Sam Thursfield tests/libtracker-data: Fix error tests in tracker-sparql-test The logic for testing if the correct error message was returned was the wrong way round -- the comparer() function should return 0 if the message we got was OK, and 1 otherwise. Also we were calling strstr() backwards, we should look for the expected result inside the actual result and not the other way around. To complicate things, Tracker doesn't return error messages with newlines but on disk the expected output usually contains newlines as editors tend to add them. This makes the tests confusingly fail when they look correct, so we now chomp newlines off the end of the results file for expected error tests. With this fixed, the expected output needed some corrections. 2017-12-26 Sam Thursfield Fix .gitignore and add missing ttl/meson.build file 2017-12-18 Sam Thursfield functional-tests: Fix configuration to work with Meson Previously the functional-test suite would test the installed version of Tracker, but would need to be run from a configured Tracker source+build tree. I have changed how things are configured and now with Meson the functional tests can be run completely from the build tree, without needing to install anything. The Autotools `make functional-test` target works the same as before. Instead of generating a Python source file that contains the build-time configuration, we write that to a .json file which is read when the common.utils.configuration module is imported. This controls the locations of the various things that the tests require, which allows us to avoid hardcoding knowledge of the build tree layout into the tests themselves. With the new setup it should also be possible to add a target that explicitly installs the functional tests, with a different configuration.json file so that they test the installed version of Tracker. That's not yet implemented. utils: Allow specifying output path for Barnum-based data generator This makes it usable from Meson, as previously the only way to control where the output went would be to change the working directory but Meson's custom_target() rule doesn't make that possible. 2017-12-18 Sam Thursfield generate: Raise error when called improperly 2017-12-18 Sam Thursfield functional-tests: Fix use of non existant predicate in 13-threaded-store functional-tests: Remove tests that belong in tracker-miners 2017-12-18 Sam Thursfield Update Makefile.am for removed functional test files functional-tests: Remove unused helper code functional-tests: Remove tests that belong in tracker-miners.git functional-tests: Remove some apparently unused scripts Please add these back with a comment explaining where they are used if they are indeed still needed. Make HAVE_LIBICU checks consistently with #ifdef We were in some places checking the value of HAVE_LIBICU as a boolean and in others checking whether it was defined. This is broken because when it is defined to 0 we mix up the code paths completely. Fixes the Meson build since d5e9ce54196d5c9086423e688c8014c1225b858b. 2017-12-16 Quentin Glidic meson: Avoid NetworkManager automagic dependency https://bugzilla.gnome.org/show_bug.cgi?id=791433 meson: Allow to build with non-GNU libc https://bugzilla.gnome.org/show_bug.cgi?id=791432 2017-12-16 Sam Thursfield meson: Fix build with libstemmer Based on a patch by Jeremy Bicha . https://bugzilla.gnome.org/show_bug.cgi?id=790373 Revert "meson: Don't require gobject-introspection" I should have tested this before merging! We do use this dependency. This reverts commit 4d963a2b95b7786324fb0932f7f73f0a926ea84b. 2017-12-16 Jeremy Bicha meson: Don't require gobject-introspection This is already checked for by the gnome.generate_gir() call. https://bugzilla.gnome.org/show_bug.cgi?id=790385 2017-12-16 Sam Thursfield meson: Fix libunistring detection and codepath Revert "libtracker-common: Add tracker-seccomp from the libtracker-miners library" This reverts commit 9afd9afc67a2ccbe4d8eee59a4b9be796e794f2d. This is no longer needed, instead we have renamed libtracker-common to libtracker-miners-common in tracker-miners.git so that the two libraries don't conflict when tracker.git is built as a subproject of tracker-miners.git. 2017-12-01 Debarshi Ray functional-tests: Unbreak test by fixing the name of the interface The 410-extractor-decorator.py test fails with: Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.Tracker1.Miner.Index' on object at path /org/freedesktop/Tracker1/Miner/Files/Index (19) Fallout from b4802ca33446772fb029df6215182e2091bdbf2c https://bugzilla.gnome.org/show_bug.cgi?id=790972 2017-12-01 Sveinn í Felli Add Icelandic translation 2017-11-29 Debarshi Ray functional-tests: Unbreak test by removing haveMaemo conditionals The 01-insertion.py test fails with: File "./01-insertion.py", line 774, in class TrackerStorePhoneNumberTest (CommonTrackerStoreTest): File "./01-insertion.py", line 780, in TrackerStorePhoneNumberTest @ut.skipIf (not cfg.haveMaemo, "This test uses maemo:specific properties") AttributeError: 'module' object has no attribute 'haveMaemo' The Maemo/Meego flags were removed and the 91-maemo ontology is now installed unconditionally. Therefore there is no need to make this test conditional. Fallout from 809b56767fccd5680136485c6fbbc895e83dd886 https://bugzilla.gnome.org/show_bug.cgi?id=783555 2017-11-20 Kjartan Maraas Updated Norwegian bokmål translation. 2017-11-15 Michael Biebl Remove leftover hal bits Those are no longer used after the tracker-miners split.