2017-01-18 Carlos Garnacho Release 1.11.3 2017-01-16 Carlos Garnacho libtracker-sparql: Print resources referenced in cardinality>1 properties Those were not being printed, just referenced in the parent resource. Fixes properties like slo:location being lost on newly indexed photos. https://bugzilla.gnome.org/show_bug.cgi?id=776723 tracker-extract: Insert nfo:orientation as a resource This is not an string, but a builtin class, so it must be dealt with as a resource. https://bugzilla.gnome.org/show_bug.cgi?id=776723 tracker-extract: Insert nmm:whiteBalance as a resource This is not an string, but a builtin class, so it must be dealt with as a resource. https://bugzilla.gnome.org/show_bug.cgi?id=776723 tracker-extract: Insert nmm:meteringMode as a resource This is not an string, but a builtin class, so it must be dealt with as a resource. https://bugzilla.gnome.org/show_bug.cgi?id=776723 tracker-extract: Insert nmm:flash as a Resource This is not an string, but a builtin class, so it must be dealt with as a resource. https://bugzilla.gnome.org/show_bug.cgi?id=776723 libtracker-sparql: Fix sparql/turtle generation of builtin classes We don't need to generate sparql/turtle for builtin classes (eg. nmm:flash-on). https://bugzilla.gnome.org/show_bug.cgi?id=776723 libtracker-miner: Fully stop TrackerFileNotifier operations on errors It oddly tried to just keep going, which may result in spurious deletes or partial inserts. Sounds better to just drop the ball on the directory at hand, it should be correctly indexed eventually. libtracker-miner: Fix mem/fd leaks on TrackerCrawler cancellation On cancellation, the early return would leak the DataProviderData, which indirectly contains the GFileEnumerator, and thus the directory fd. Just deal with cancellation like we do with other errors, except we don't want to warn. libtracker-data: Plug unlikely mem/fd leak If we fail to set the DB pragmas, the TrackerDBInterface would be leaked altogether. tracker-miner-fs: Use correct graph when inserting tracker:Volumes The volume URN is not meant to be the graph URN, use the tracker-miner-fs graph instead. 2017-01-12 Rafael Fontenelle Update Brazilian Portuguese translation 2016-12-22 Daniel Mustieles Updated Spanish translation 2016-12-22 Carlos Garnacho configure: Make libseccomp only mandatory on linux If other unices want a similar level of protection, additional implementations should be added. In the mean time, it's just harsh to make tracker impossible to compile there. https://bugzilla.gnome.org/show_bug.cgi?id=764786 2016-12-21 Carlos Garnacho libtracker-common: Allow querying process stats/limits Modifying those is not allowed though. https://bugzilla.gnome.org/show_bug.cgi?id=776117 libtracker-common: Handle mlock*/munlock* syscalls Disallow pinning memory on RAM, but make it softly fail with EPERM. https://bugzilla.gnome.org/show_bug.cgi?id=776117 2016-12-17 Carlos Garnacho configure: Disable libmediaart dependency Hopefully just temporarily. At the very least the processing should be taken out of the extractor threads, as it requires file operations that are not allowed there. In the worst case, we must reconsider this dependency, as it might become a window of opportunity to writing on the filesystem, even if on a very specific folder. libtracker-common: Whitelist umask Let's give extractor modules the illusion that they can write something, they actually can't. libtracker-common: Whitelist dup/dup2/dup3 dup2/3 have special requirements, as they can close underlying fds, they are not allowed on stdin/out/err. libtracker-common: Whitelist gettimeofday() syscall https://bugzilla.gnome.org/show_bug.cgi?id=776117 2016-12-16 Carlos Garnacho tracker-miner-fs: Hook name acquired handler properly In the right circumstances it might cause tracker-miner-fs to miss tracker-extract disappearing the first time, which might lead to it not being re-activated as expected. libtracker-common: Whitelist clock_gettime/getres Reported to trigger false positives on Ubuntu. 2016-12-15 Carlos Garnacho libtracker-common: Whitelist more syscalls used on non-x86_64 arches These ones were spotted after compiling Tracker on i686. https://bugzilla.gnome.org/show_bug.cgi?id=776117 libtracker-common: Whitelist *64() stat/getdents syscalls Those variants may end up called depending on architecture and other factors, there's no reason for those to be blacklisted. https://bugzilla.gnome.org/show_bug.cgi?id=776117 2016-12-14 Carlos Garnacho tracker-extract: Check error on posix_fadvise() calls. libtracker-common: Check error on posix_fadvise() call tracker: Check error on tracker_sparql_cursor_next() call And make it clear we poke the GError contents if there is one, although next() isn't really expected to fail on a "SELECT COUNT..." query. tracker-extract: Don't pass known-NULL pointer in PNG error paths The info_ptr is checked to be NULL, no need to pass it to the png_destroy_read_struct() function. Spotted through a false "c&p mistake" report from Coverity further down, in the error paths where info_ptr is actually non-NULL and needs freeing. tracker-extract: Fix c&p issue in ico extractor Turns out we returned the icon width as the height, which went unnoticed since icons are most usually square. tracker-extract: Silence Coverity warning The return value of g_file_load_contents() is not used. We checked the returned error instead so the code is equivalent, but directly checking the return value seems more readable. libtracker-miner: Add missing return after switch() case The QUEUE_UPDATED elements where being additionally checked against the QUEUE_WRITEBACK queue. This was harmless, but potentially confusing. Spotted through Coverity. libtracker-extract: Remove unneeded NULL check The module_info variable is ensured to be non-NULL at this point. libtracker-data: Check g_rename() return value And error out properly if it fails. libtracker-data: Check g_input_stream_read() return value And error out if it fails. libtracker-data: Check g_mkdir return value And error out if it failed. libtracker-common: Remove dead code We made the compiler happy, but made Coverity unhappy about the unreachable branch. libtracker-common: Avoid unneeded NULL check The tokens variable is ensured to be non-NULL here, no need to check it. libtracker-common: Fix c&p issue We must remove and iterate to the next element on l2, the l1 path is performed in the if(){} path. Spotted through Coverity. tracker-extract: Skip useless function call in msoffice extractor Spotted by Coverity. 2016-12-13 Carlos Garnacho tracker-extract: Plug FD leak in GIF extractor libtracker-data: Improve error checks on REPLACE implementation