summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* libtracker-data: Change GPtrArray into GenericArraytintou/gptrarray-valaCorentin Noël2020-10-161-1/+1
| | | | This is the vala-preferred way of handling GPtrArray
* Merge branch 'sam/docs-flatpak' into 'master'Carlos Garnacho2020-10-153-121/+53
|\ | | | | | | | | docs: Add information related to Flatpak See merge request GNOME/tracker!330
| * docs: Add information related to Flatpaksam/docs-flatpakSam Thursfield2020-10-133-121/+53
| | | | | | | | | | | | | | | | Also some general cleanups, in particular removing domain-ontology feature which now belongs in tracker-miners.git, and can be documented there with an example app. See: https://gitlab.gnome.org/GNOME/tracker/-/issues/236
* | Merge branch 'sam/website-link-fix' into 'master'Carlos Garnacho2020-10-131-1/+1
|\ \ | |/ |/| | | | | website: Fix broken link in preview API docs See merge request GNOME/tracker!328
| * website: Fix broken link in preview API docssam/website-link-fixSam Thursfield2020-09-241-1/+1
| | | | | | | | | | | | This fixes a broken link that was in the header of each page of the preview API documentation, pointing to https://gnome.pages.gitlab.gnome.org/tracker/docs/ which gives a 404.
* | build: Bump version early for GNOME 40Carlos Garnacho2020-10-121-1/+1
| | | | | | | | Next stable release will be 3.1.0.
* | Merge branch 'wip/carlosg/iterative-update' into 'master'Sam Thursfield2020-10-121-15/+30
|\ \ | | | | | | | | | | | | | | | | | | libtracker-data: Process Update rule iteratively Closes tracker-miners#91 See merge request GNOME/tracker!327
| * | libtracker-data: Process Update rule iterativelywip/carlosg/iterative-updateCarlos Garnacho2020-10-111-15/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Update rule is defined upon itself, we interpret this a bit too literally, and do the same thing when interpreting the parse tree. This makes the maximum stack size an indirect factor that limits how big a series of updates can possibly be. (e.g. the array at tracker_sparql_connection_update_array_async) This is obviously bad, so process the updates iteratively, this will avoid hitting stack limits by just concatenating legit updates together. Fixes: https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/91
* | | Merge branch 'wip/carlosg/invalid-reads' into 'master'Sam Thursfield2020-10-121-1/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | libtracker-data: Break out of all loops on transaction errors Closes tracker-miners#130 See merge request GNOME/tracker!326
| * | | libtracker-data: Break out of all loops on transaction errorswip/carlosg/invalid-readsCarlos Garnacho2020-10-111-1/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an error is found when flushing a transaction on a specific, we'd inadvertently still try to handle operations in other graphs, possibly reusing the GError location, and leading to invalid reads/writes. After finding an error, the transaction is going to be rolled back anyway, so break on the first error found. Fixes: https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/130
* | | Merge branch 'wip/carlosg/datetime-fixes' into 'master'Sam Thursfield2020-10-129-7/+34
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fixes to date/time parsing Closes tracker-miners#146 See merge request GNOME/tracker!324
| * | | tests: Add some tests for dates far in the past/futurewip/carlosg/datetime-fixesCarlos Garnacho2020-10-106-0/+13
| | | | | | | | | | | | | | | | To ensure these work as intended.
| * | | libtracker-common: Ensure to print at least 4 year digitsCarlos Garnacho2020-10-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Expand the %F in strftime() to %4Y-%M-%D, otherwise for years < 1000 we end up eating digits, and producing a not quite ISO8601 string. Fixes: https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/146
| * | | libtracker-data: Forward errors from datetime conversions in SparqlTimeSortCarlos Garnacho2020-10-101-1/+1
| | | | | | | | | | | | | | | | | | | | Let this helper SQLITE function forward the datetime conversion, should there be one.
| * | | libtracker-data: Check better for errors in datetime parsingCarlos Garnacho2020-10-101-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When parsing iso8601 strings, we may end up with a legit negative timestamp. Checking for it being negative makes us fail (with no error!) for dates before the epoch, check the error instead. Fixes parsing issues with queries with ancient datetimes like: select ("0100-12-31T21:00:00-03:00"^^xsd:dateTime as ?date) {}
| * | | libtracker-data: Use correct binding types for datetimesCarlos Garnacho2020-10-101-2/+12
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When creating a binding from a literal datetime value, we mistakenly use doubles (as used to be the common thing in Tracker 2.x). We now store datetimes as either iso8601 strings or int64 timestamps, so forward these types. This code is in consistence with the update bits at tracker-data-update.c. Fixes select queries like: SELECT ("2020-01-01T01:01:01Z"^^xsd:dateTime AS ?date) { }
* | | Merge branch 'wip/carlosg/ttl-parser-improvements' into 'master'Sam Thursfield2020-10-128-28/+56
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Wip/carlosg/ttl parser improvements Closes #260 See merge request GNOME/tracker!323
| * | | tests: Add long string with langtag in testswip/carlosg/ttl-parser-improvementsCarlos Garnacho2020-10-101-0/+1
| | | | | | | | | | | | | | | | | | | | We don't test directly for LOAD, so squeeze these sneaky cases (long strings and langtags) in a test where we load a TTL file.
| * | | libtracker-data: Forward langtag from TTL filesCarlos Garnacho2020-10-101-3/+3
| | | | | | | | | | | | | | | | | | | | Instead of forwarding plain strings, forward the langtag info so it is stored.
| * | | libtracker-data: Add tracker_sparql_make_langstring()Carlos Garnacho2020-10-102-12/+25
| | | | | | | | | | | | | | | | | | | | This function takes a string and langtag, and produces a GBytes as the internals do expect it.
| * | | libtracker-data: Forward langtag from TTL parserCarlos Garnacho2020-10-105-10/+18
| | | | | | | | | | | | | | | | Pass this as an argument, unused so far.
| * | | libtracker-data: Parse LANGTAG in turtleCarlos Garnacho2020-10-101-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | Allow LANGTAG after STRING_LITERAL* and STRING_LITERAL_LONG. We don't propagate the language tag so far yet, just parsing of these tags is fixed.
| * | | libtracker-data: Parse STRING_LITERAL_LONG before STRING_LITERAL in turtleCarlos Garnacho2020-10-101-4/+4
| |/ / | | | | | | | | | | | | The STRING_LITERAL terminal may mistakenly match STRING_LITERAL_LONG strings. Invert the order here, so we correctly trimp quotes around.
* | | Merge branch 'sam/web-overview' into 'master'Sam Thursfield2020-10-121-15/+23
|\ \ \ | | | | | | | | | | | | | | | | Updates to 'overview' page on website See merge request GNOME/tracker!321
| * | | website/overview: Add some more projects that use Trackersam/web-overviewSam Thursfield2020-10-021-0/+7
| | | |
| * | | website/overview: s/Tracker/Tracker Miner FS/Sam Thursfield2020-10-021-15/+16
| | | | | | | | | | | | | | | | | | | | This is a bit less easy to read but hopefully makes it clearer that Tracker SPARQL and Tracker Miner FS are separate things.
* | | | Update Chinese (Taiwan) translationCheng-Chia Tseng2020-10-121-242/+236
| | | |
* | | | Merge branch 'wip/jtojnar/drop-nm-opt' into 'master'Carlos Garnacho2020-10-111-2/+0
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | build: Remove forgotten network_manager option See merge request GNOME/tracker!325
| * | | build: Remove forgotten network_manager optionwip/jtojnar/drop-nm-optJan Tojnar2020-10-111-2/+0
|/ / / | | | | | | | | | It is not used since https://gitlab.gnome.org/GNOME/tracker/commit/a88e0f23df07308670020926285549b0ed8a55a2.
* | | Merge branch 'wip/carlosg/portal-initialization' into 'master'Sam Thursfield2020-10-051-11/+7
|\ \ \ | | | | | | | | | | | | | | | | portal: Fix initialization order See merge request GNOME/tracker!322
| * | | portal: Fix initialization orderwip/carlosg/portal-initializationCarlos Garnacho2020-10-041-11/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The portal is currently first claiming the bus name, then adding the portal object+interface. This may break things with autostart as clients are able to send a message to an object path that is not there yet. Changing the order means the object path is there when the DBus name is made known, so clients are able to talk immediately to it. Fixes the error reported at https://github.com/flathub/org.gnome.Music/pull/24#issuecomment-702565846
* | | | website: s/tracker/tracker3Sam Thursfield2020-10-022-2/+2
|/ / /
* | | Release 3.0.13.0.1Carlos Garnacho2020-10-022-1/+15
| | |
* | | Merge branch 'wip/carlosg/with-fix' into 'master'Sam Thursfield2020-10-011-0/+2
|\ \ \ | | | | | | | | | | | | | | | | libtracker-data: Unset graph after Modify clause See merge request GNOME/tracker!320
| * | | libtracker-data: Unset graph after Modify clausewip/carlosg/with-fixCarlos Garnacho2020-10-011-0/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the Modify clause sets a graph via 'WITH' the graph token remains but the solution underneath gets freed. That means the graph token's literal is kept "set" but containing garbage, and may wreak havoc if there are more Update clauses in the same update string that don't specify a graph, as that garbage value will be used. This may lead to warnings, crashes, and bogus graph databases being created. Eek. The 'WITH' graph is not meant to be carried over, so ensure it gets unset after dealing with the Modify clause.
* | | Merge branch 'wip/carlosg/more-tests' into 'master'Sam Thursfield2020-09-3045-35/+395
|\ \ \ | | | | | | | | | | | | | | | | Add some more tests See merge request GNOME/tracker!319
| * | | tests: Add tests for some builtin SPARQL functionswip/carlosg/more-testsCarlos Garnacho2020-09-3015-1/+29
| | | |
| * | | tests: Add functional test for tracker-xdg-portal-3Carlos Garnacho2020-09-303-0/+64
| | | | | | | | | | | | | | | | | | | | Add an specific test for portal things, at the moment some minimal tests about allowed/disallowed services and graphs is done.
| * | | ci: Build detailed HTML Coverage summary in artifactsCarlos Garnacho2020-09-301-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the artifacts for the Coverage target contain a fully detailed HTML summary of the coverage status (including visualizing that info together with source code). This proves useful for knowing what is missing tests, so make it readily available for everyone.
| * | | ci: Ignore example C files in documentation for CoverageCarlos Garnacho2020-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | These files are not tested, just build-checked. We don't intend these to be tested either.
| * | | tests: Add functional test infrastructure for portal testsCarlos Garnacho2020-09-309-0/+162
| | | | | | | | | | | | | | | | | | | | Add a base test class that runs the portal and an arbitrary set of endpoints in a DBus sandbox, so that different combinations of permissions can be tested.
| * | | portal: Add missing GError in error pathCarlos Garnacho2020-09-301-0/+5
| | | | | | | | | | | | | | | | Otherwise we try to error out, but never really finish the DBus invocation.
| * | | portal: Add testing envvar to override .flatpak-infoCarlos Garnacho2020-09-302-29/+53
| | | | | | | | | | | | | | | | | | | | | | | | This will be used by our functional test suite to test portal workings. Likewise, use this envvar presence to force the use of the Tracker portal in the bus TrackerSparqlConnection.
| * | | libtracker-sparql: Fix introspection annotationsCarlos Garnacho2020-09-301-2/+2
| | | | | | | | | | | | | | | | tracker_sparql_connection_new() allows NULL store/ontology arguments.
| * | | tests: Add missing tests for SPARQL functions in the tracker namespaceCarlos Garnacho2020-09-3013-0/+53
| | | |
| * | | tests: Add test for title sortCarlos Garnacho2020-09-304-0/+19
| | | |
| * | | libtracker-data: Fix tracker:title-sortCarlos Garnacho2020-09-301-0/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | With a hack really, up in the parse tree we do force "COLLATE TRACKER" on all string arguments passed on ORDER BY. Make this return "unknown" just so this is avoided. tracker:title-sort() is not meant to produce a pretty visible string, more a collation key, perhaps it is somewhat fitting, perhaps I'm making up an excuse.
* | | Update Hebrew translationYosef Or Boczko2020-09-301-2301/+546
|/ /
* | Update Portuguese translationJuliano de Souza Camargo2020-09-231-2502/+1982
|/
* Merge branch 'sam/meson-debug-flags' into 'master'Sam Thursfield2020-09-221-4/+5
|\ | | | | | | | | build: Use specific Meson options to enable debug flags See merge request GNOME/tracker!316