| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
Add some more tests
See merge request GNOME/tracker!319
|
| | |
|
| |
| |
| |
| |
| | |
Add an specific test for portal things, at the moment some minimal tests
about allowed/disallowed services and graphs is done.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
These files are not tested, just build-checked. We don't intend these
to be tested either.
|
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Otherwise we try to error out, but never really finish the DBus invocation.
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
tracker_sparql_connection_new() allows NULL store/ontology arguments.
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|\
| |
| |
| |
| | |
build: Use specific Meson options to enable debug flags
See merge request GNOME/tracker!316
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | | |
doap: Remove mailing list and point to developer-forum
See merge request GNOME/tracker!315
|
| |/
| |
| |
| | |
See https://discourse.gnome.org/t/doap-and-discourse-instead-of-a-mailing-list/4267
|
|\ \
| |/
|/|
| |
| | |
Fix tracker building as a subproject
See merge request GNOME/tracker!318
|
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
| |
We used to get this from tracker_sparql_dep, that will change.
|
|\
| |
| |
| |
| | |
libtracker-data: Lighten up TrackerSparql struct
See merge request GNOME/tracker!314
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
|/|
| |
| | |
Clean up libtracker-common
See merge request GNOME/tracker!313
|
| |
| |
| |
| | |
These are unused in the Tracker codebase.
|
| |
| |
| |
| | |
We (now) use none of this, the code can be removed.
|
| |
| |
| |
| |
| | |
We accumulate on a list, just to transform to a gchar**, just build the
latter right away.
|
| |
| |
| |
| |
| | |
We use a very limited portion of this API in the Tracker repo, throw
away the remainders.
|
| |
| |
| |
| | |
These are only exercised in tests, we can do without them.
|
|/ |
|
|
|
|
|
| |
The error checks are the wrong way around. Introduced in commits f8282a29e5
and 87e189d5a0. Spotted again by coverity.
|
|\
| |
| |
| |
| | |
Fixes for Coverity warnings
See merge request GNOME/tracker!312
|
| |
| |
| |
| |
| |
| |
| | |
This function is a getter, and its return value ignored. Spotted by
Coverity.
CID: #1491437
|
| |
| |
| |
| |
| |
| | |
Spotted by Coverity.
CID: #1492511
|
| |
| |
| |
| |
| |
| | |
Spotted by Coverity.
CID: #1491750
|
| |
| |
| |
| |
| |
| | |
Spotted by Coverity.
CID: #1491749
|
| |
| |
| |
| |
| |
| | |
Spotted by Coverity
CID: #1491748
|
| |
| |
| |
| |
| |
| |
| | |
The services virtual table filter() function implementation was missing
a GError in some failure paths. Spotted by Coverity.
CID: #1491444
|
| |
| |
| |
| |
| |
| |
| | |
Coverity seems to deem it possible to leak a variable after ensuring
it is NULL. Assert NULLability harder.
CID: #1496664
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|