summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * build: Use specific Meson options to enable debug flagssam/meson-debug-flagsSam Thursfield2020-09-221-4/+5
| | | | | | | | | | | | | | | | | | Based on https://gitlab.gnome.org/GNOME/gtk/-/commit/eaef24c527833232bd4725789b0f35304de8123b Note that TRACKER_DEBUG is disabled in most distro builds as they pass `--buildtype=plain`. I recommend distros add `-DG_ENABLE_DEBUG` to Tracker's CFLAGS as the overhead is minimal and it helps users to provide useful bug reports.
* | Merge branch 'sam/doap-list' into 'master'Sam Thursfield2020-09-221-1/+1
|\ \ | | | | | | | | | | | | doap: Remove mailing list and point to developer-forum See merge request GNOME/tracker!315
| * | doap: Remove mailing list and point to developer-forumsam/doap-listSam Thursfield2020-09-201-1/+1
| |/ | | | | | | See https://discourse.gnome.org/t/doap-and-discourse-instead-of-a-mailing-list/4267
* | Merge branch 'wip/carlosg/fix-subproject' into 'master'Sam Thursfield2020-09-222-2/+2
|\ \ | |/ |/| | | | | Fix tracker building as a subproject See merge request GNOME/tracker!318
| * build: Do not expose tracker_common_dep as a tracker_sparql_dep dependencywip/carlosg/fix-subprojectCarlos Garnacho2020-09-221-1/+1
| | | | | | | | | | | | Libtracker-sparql internally depends on libtracker-common, but users of it don't need to be aware of this. Fixes build of tracker-miners with tracker included as a subproject.
| * build: Link portal specifically with libtracker-commonCarlos Garnacho2020-09-221-1/+1
|/ | | | We used to get this from tracker_sparql_dep, that will change.
* Merge branch 'wip/carlosg/sparql-state' into 'master'Sam Thursfield2020-09-161-655/+681
|\ | | | | | | | | libtracker-data: Lighten up TrackerSparql struct See merge request GNOME/tracker!314
| * libtracker-data: Lighten up TrackerSparql structwip/carlosg/sparql-stateCarlos Garnacho2020-09-161-655/+681
| | | | | | | | | | | | | | | | | | | | There is an internal struct carrying the parser state, this struct began small, but kept growing. This state is actually unneeded after parsing, so we can keep TrackerSparql smaller, and only allocate the state transiently during parsing. Since TrackerSparql is the basis for TrackerSparqlStatement, this should help memory usage a tiny bit if many prepared statements are cached.
* | Merge branch 'wip/carlosg/libtracker-common-cleanup' into 'master'Sam Thursfield2020-09-1617-1745/+14
|\ \ | |/ |/| | | | | Clean up libtracker-common See merge request GNOME/tracker!313
| * libtracker-common: Drop unused date/time util functionswip/carlosg/libtracker-common-cleanupCarlos Garnacho2020-09-163-58/+0
| | | | | | | | These are unused in the Tracker codebase.
| * libtracker-common: Drop type util function helpersCarlos Garnacho2020-09-169-488/+0
| | | | | | | | We (now) use none of this, the code can be removed.
| * libtracker-fts: Avoid double conversion of data structuresCarlos Garnacho2020-09-161-7/+13
| | | | | | | | | | We accumulate on a list, just to transform to a gchar**, just build the latter right away.
| * libtracker-common: Drop unused file util functionsCarlos Garnacho2020-09-163-949/+1
| | | | | | | | | | We use a very limited portion of this API in the Tracker repo, throw away the remainders.
| * libtracker-common: Remove unused tracker util functionsCarlos Garnacho2020-09-163-243/+0
| | | | | | | | These are only exercised in tests, we can do without them.
* | Update Slovak translationDušan Kazik2020-09-161-98/+89
|/
* docs: Fix typo in examplesCarlos Garnacho2020-09-152-2/+2
| | | | | The error checks are the wrong way around. Introduced in commits f8282a29e5 and 87e189d5a0. Spotted again by coverity.
* Merge branch 'wip/carlosg/coverity-fixes' into 'master'Carlos Garnacho2020-09-157-12/+26
|\ | | | | | | | | Fixes for Coverity warnings See merge request GNOME/tracker!312
| * libtracker-data: Remove no-op functionwip/carlosg/coverity-fixesCarlos Garnacho2020-09-141-2/+0
| | | | | | | | | | | | | | This function is a getter, and its return value ignored. Spotted by Coverity. CID: #1491437
| * libtracker-fts: Check sqlite3_exec() return valueCarlos Garnacho2020-09-141-1/+4
| | | | | | | | | | | | Spotted by Coverity. CID: #1492511
| * docs: Avoid dead expressions in code examplesCarlos Garnacho2020-09-141-3/+3
| | | | | | | | | | | | Spotted by Coverity. CID: #1491750
| * docs: Avoid dead expressions in code examplesCarlos Garnacho2020-09-141-3/+3
| | | | | | | | | | | | Spotted by Coverity. CID: #1491749
| * docs: Avoid dead expression in code exampleCarlos Garnacho2020-09-141-1/+1
| | | | | | | | | | | | Spotted by Coverity CID: #1491748
| * libtracker-data: Ensure there is an error on all failure pathsCarlos Garnacho2020-09-141-1/+14
| | | | | | | | | | | | | | The services virtual table filter() function implementation was missing a GError in some failure paths. Spotted by Coverity. CID: #1491444
| * tests: Silence checkCarlos Garnacho2020-09-141-1/+1
| | | | | | | | | | | | | | Coverity seems to deem it possible to leak a variable after ensuring it is NULL. Assert NULLability harder. CID: #1496664
* | Update Dutch translationNathan Follens2020-09-141-1459/+1205
|/
* Release 3.0.03.0.0Carlos Garnacho2020-09-132-1/+6
|
* Update Latvian translationRūdolfs Mazurs2020-09-131-1392/+1166
|
* Update Kazakh translationBaurzhan Muftakhidinov2020-09-121-185/+149
|
* Updated Danish translationAsk Hjorth Larsen2020-09-121-194/+202
|
* Update Italian translationMilo Casagrande2020-09-101-2527/+239
|
* Update German translationStephan Woidowski2020-09-081-193/+195
|
* Updated Danish translationAsk Hjorth Larsen2020-09-081-2474/+241
|
* Update Korean translationSeong-ho Cho2020-09-081-2922/+253
|
* Release 2.99.52.99.5Carlos Garnacho2020-09-072-1/+18
|