2015-11-25 Carlos Garnacho Release 1.7.0 tracker-extract-epub: Fix possibly uninitialized variable libtracker-miner: Fix compile warning tracker-extract: Port TrackerExtract to GTask libtracker-miner: Port TrackerSparqlBuffer to GTask libtracker-data: Port TrackerDBInterfaceSqlite to GTask libtracker-extract: Port tracker_extract_client API to GTask 2015-11-23 Carlos Garnacho miners: Take over the deletion of previous properties from TrackerMinerFS Performing the deletion inside libtracker-miner takes some assumptions we shouldn't be doing in a generic library, such as the graph we're deleting from. It makes more sense to make miners responsible of deleting their older properties prior to a file update. Applications/user guides miners could be more specific as to which properties they're deleting, we'll rely on those not stepping over other miners' toes at the moment. https://bugzilla.gnome.org/show_bug.cgi?id=758341 2015-11-18 Debarshi Ray tracker-extract-xmp: Fix extraction of orientation values 3 and 4 They had gotten swapped around. See: http://www.cipa.jp/std/documents/e/DC-010-2012_E.pdf https://bugzilla.gnome.org/show_bug.cgi?id=758295 tracker-extract-tiff: Fix extraction of orientation values TIFFTAG_ORIENTATION values range from 1 to 8, not 0 to 7. See: https://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf https://bugzilla.gnome.org/show_bug.cgi?id=758293 2015-11-14 YunQiang Su Us ... instead of … for zh_CN 2015-11-14 liushuyu update zh_CN translation 2015-10-30 Debarshi Ray libtracker-control: Improve the documentation Make it clear that tracker_miner_manager_index_file only tells the miner to start indexing a file. It doesn't wait for the actual indexing operation to complete. https://bugzilla.gnome.org/show_bug.cgi?id=757366 libtracker-control: Fix the return value As documented, tracker_miner_manager_index_file should return TRUE on success, not FALSE. https://bugzilla.gnome.org/show_bug.cgi?id=757366 2015-10-23 Marius Gedminas Fix buffer overrun in libunistring builds libunistring uses UTF-8 strings without a trailing NUL byte. We're passing such strings to tracker_parser_unaccent_nfkd_string() from function_sparql_unaccent() in the sqlite interface. If the string has no accented characters, writing a NUL byte at the end will step out of bounds. This causes memory corruption and crashes. The other caller of tracker_parser_unaccent_nfkd_string() is process_word_utf8(), and it looks like it wants a trailing NUL, so let's add it there. There are no more callers of the libunistring version of tracker_parser_unaccent_nfkd_string(). (For extra confusion, the libicu version of tracker_parser_unaccent_nfkd_string() deals with U+0000-terminated UTF-16 strings.) Should fix https://bugzilla.gnome.org/show_bug.cgi?id=746195 2015-10-21 Debarshi Ray libtracker-miner: Handle failure to get a TrackerSparqlConnection We might fail to get a TrackerSparqlConnection if the session was shut down too early and the DBus connection closed. Since this is not a programming error nor an example of a broken system, let's not abort and use a WARNING instead of a CRITICAL. https://bugzilla.gnome.org/show_bug.cgi?id=756869 2015-10-20 Debarshi Ray libtracker-miner: Cancel pending async operations during destruction https://bugzilla.gnome.org/show_bug.cgi?id=756877 libtracker-miner: Abort async operations once the instance is gone https://bugzilla.gnome.org/show_bug.cgi?id=756877 Revert "libtracker-miner: Abort async operations once the ..." Wrong bug URL. This reverts commit 864aabbe4d5c4fb7fd9b0813c25a337240df6235. Revert "libtracker-miner: Cancel pending async operations ..." Wrong bug URL. This reverts commit dc04031e33c5f554040c8a2c3311aaaca51b4043. libtracker-miner: Cancel pending async operations during destruction https://bugzilla.gnome.org/show_bug.cgi?id=756869 libtracker-miner: Abort async operations once the instance is gone https://bugzilla.gnome.org/show_bug.cgi?id=756869 2015-10-19 Carlos Garnacho libtracker-data: Add support for MD5/SHA1/256/512 builtin functions These functions are defined in Sparql 1.1 query language recommendation, http://www.w3.org/TR/sparql11-query/#func-md5 http://www.w3.org/TR/sparql11-query/#func-sha1 http://www.w3.org/TR/sparql11-query/#func-sha256 http://www.w3.org/TR/sparql11-query/#func-sha512 libtracker-data: Add SparqlChecksum sqlite function This function will be used to back the various sparql checksum functions. libtracker-data: Add support for YEAR/.../SECONDS builtin functions These functions are defined in Sparql 1.1 query language recommendation, http://www.w3.org/TR/sparql11-query/#func-year http://www.w3.org/TR/sparql11-query/#func-month http://www.w3.org/TR/sparql11-query/#func-day http://www.w3.org/TR/sparql11-query/#func-hours http://www.w3.org/TR/sparql11-query/#func-minutes http://www.w3.org/TR/sparql11-query/#func-seconds libtracker-data: Pass explicitly the operation type on updates Instead of storing it in an internal variable, we might be applying different operation types here, so it will be clearer overall if we pass the operation around. libtracker-data: Make datetime functions accept other than vars The datetime functions were very specific at only accepting variables (backed by a table column), using the :localDate and :localTime decomposed fields, specific internally to datetime properties. So, actually make it able to accept other than variables (we will still use the decomposed local time for these), and translate these as a primary expression. This makes all these queries work (as opposed to just the first): select year(?date) { ?u nie:contentCreated ?date } select year(now()) {} select year("2015-07-29T23:00:00Z"^^xsd:dateTime) {} select year("2015-07-29"^^xsd:date) {} libtracker-data: Add support for CEIL/FLOOR builtin functions These functions are defined in Sparql 1.1 query language recommendation, http://www.w3.org/TR/sparql11-query/#func-ceil http://www.w3.org/TR/sparql11-query/#func-floor libtracker-data: Add SparqlCeil/Floor sqlite functions These will be used to implement CEIL/FLOOR, as per Sparql 1.1 libtracker-data: Add support for STRBEFORE/STRAFTER builtin functions These functions are defined in Sparql 1.1 query language recommendation, http://www.w3.org/TR/sparql11-query/#func-strbefore http://www.w3.org/TR/sparql11-query/#func-strafter libtracker-data: Add SparqlStrBefore/After sqlite functions These will be used in STRBEFORE/STRAFTER, as per sparql 1.1 libtracker-data: Add support for the ENCODE_FOR_URI() builtin function This function is defined in Sparql 1.1 query language recommendation, http://www.w3.org/TR/sparql11-query/#func-encode libtracker-data: Add SparqlEncodeForUri sqlite function This will be used on ENCODE_FOR_URI(), as per sparql 1.1. libtracker-data: Add support for the ROUND() builtin function This function is defined in Sparql 1.1 query language recommendation, http://www.w3.org/TR/sparql11-query/#func-round libtracker-data: Add support for the ABS() builtin function This function is defined in Sparql 1.1 query language recommendation, http://www.w3.org/TR/sparql11-query/#func-abs libtracker-data: Add support for STRSTARTS/STRENDS builtin functions These are defined in Sparql 1.1 query language recommendation, http://www.w3.org/TR/sparql11-query/#func-strstarts http://www.w3.org/TR/sparql11-query/#func-strends libtracker-data: Add support for the SUBSTR() builtin function This function is defined in Sparql 1.1 query language recommedation, http://www.w3.org/TR/sparql11-query/#func-substr libtracker-data: Add support for the STRLEN() builtin function This function is defined in Sparql 1.1 query recommendation, http://www.w3.org/TR/sparql11-query/#func-strlen libtracker-data: Add support for LCASE/UCASE builtin functions These functions are defined in Sparql 1.1 query recommendation, http://www.w3.org/TR/sparql11-query/#func-lcase http://www.w3.org/TR/sparql11-query/#func-ucase libtracker-data: Add support for the CONTAINS builtin function This function is defined in Sparql 1.1 query language recommendation, http://www.w3.org/TR/sparql11-query/#func-contains libtracker-data: Add support for the CONCAT() builtin function This function is defined in Sparql 1.1 query language recommendation, http://www.w3.org/TR/sparql11-query/#func-concat 2015-10-14 Inaki Larranaga Murgoitio Updated Basque language 2015-10-11 Sam Thursfield functional-tests: Time out after 5 seconds, instead of 30 seconds Failing tests shouldn't take 30 seconds to fail. 5 seconds is still a long time. functional-tests: Clean up name watches properly functional-tests Remove some outdated and unused tests Also, the test-runner.sh now runs all .py files, instead of just those marked executable. functional-tests: Use GDBus instead of dbus-python dbus-python is deprecated. 2015-10-10 Sam Thursfield functional-tests: Avoid AttributeError exception in Helper.stop() If a process was never started, the .stop method should do nothing instead of raising an AttributeError. functional-tests: Use environment vars instead of commandline options The commandline option parsing is totally broken and interferes with the real argument parsing of the unittest module or whatever other test runner you are using. You can now enable verbose test output by setting TRACKER_TESTS_VERBOSE=1 in the environment. The TRACKER_TESTS_MANUAL_START variable also exists but probably doesn't work at present. 2015-10-06 Denis Zalevskiy tracker: detect uid from /proc/pid Owner UID of the /proc/[pid]/cmdline could be different than process real UID while /proc/[pid] owner is expected to be equal. https://bugzilla.gnome.org/show_bug.cgi?id=755945 2015-09-28 Milo Casagrande Updated Italian translation 2015-09-25 Bastien Nocera build: Work-around vim highlighting bug When "Couldn't" is used in an m4 macro, vim will highlight all the code until the next "'" to close it. Work around that by replacing "Couldn't" by "Could not". https://bugzilla.gnome.org/show_bug.cgi?id=755218 2015-09-22 Милош Поповић Updated Serbian Latin translation Updated Serbian translation