- Mar 28, 2024
-
-
- Mar 27, 2024
-
-
Carlos Garnacho authored
-
- Mar 25, 2024
-
-
Carlos Garnacho authored
Fix stalls in error handling of DBus updates Closes tracker-miners#328 See merge request !663
-
Carlos Garnacho authored
Write SPARQL queries asynchronously, in all of our update(_async) and batch operations. This means we wait for both the DBus message and the FD write responses to consider the operation finished, like we already do for deserialization. Closes: tracker-miners#328
-
- Mar 24, 2024
-
-
Carlos Garnacho authored
The input stream obtained from a DBus request is leaked after use.
-
Carlos Garnacho authored
libtracker-sparql: Document handling of corrupted databases See merge request !662
-
Carlos Garnacho authored
We need more modern gi-docgen than what Fedora provides to handle linking to specific error enum values correctly.
-
Carlos Garnacho authored
Add blurbs aroung the tracker_sparql_connection_new(_async) and TRACKER_SPARQL_ERROR_CORRUPT docs.
-
- Mar 22, 2024
-
-
Carlos Garnacho authored
Extend coverage See merge request !661
-
- Mar 20, 2024
-
-
Carlos Garnacho authored
Ensure that its values match the expectations.
-
Carlos Garnacho authored
Make it unnecessary for subclasses to override the property, by calling the get_n_columns() virtual method. This also makes the property getter consistent with the public method for all cursor implementations.
-
Carlos Garnacho authored
-
Carlos Garnacho authored
Nothing uses the TrackerDBStatement property getters. Make all its properties writable only.
-
Carlos Garnacho authored
Nothing uses the TrackerData::manager property getter, we can make this property fully write-only.
-
Carlos Garnacho authored
This flags variable is unused.
-
Carlos Garnacho authored
Add some more tests for its behavior.
-
Carlos Garnacho authored
Add some more tests to cover datetime function behavior.
-
Carlos Garnacho authored
Test some more corners of the builtin functions.
-
Carlos Garnacho authored
Rename some tests for clarity about what functions do they test, and add more tests around the tracker: namespace set of string functions.
-
- Mar 17, 2024
-
-
Carlos Garnacho authored
We cannot have a SQLITE_TEXT parameter with a NULL string.
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
The g_filename_display_basename() function cannot return NULL unless other precondition checks fail.
-
Carlos Garnacho authored
-
Carlos Garnacho authored
And use it for all precondition checks in the available SQLite functions.
-
Carlos Garnacho authored
According to the spec, this should return the empty string.
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
This is an internal object and the property getters are effectively dead code. Drop this, the property is already write (and construct) only.
-
Carlos Garnacho authored
-
- Mar 16, 2024
-
-
Carlos Garnacho authored
-
- Mar 13, 2024
-
-
Carlos Garnacho authored
core: Drop shared_cache toggle Closes #411 See merge request !660
-
Carlos Garnacho authored
This is unused, firstly always unset then creating TrackerDBManager instances, secondly ineffective since it also needs the SQLITE_OPEN_SHAREDCACHE flag when creating sqlite3 DB instances, which we never pass. Closes: #411
-
- Mar 12, 2024
-
-
-
Carlos Garnacho authored
Extend HTTP endpoint and test coverage See merge request !645
-
Exercise various query methods and error cases.
-
-
-
The 500 error code is meant for internal errors, while request errors should be 400. This is in line with the SPARQL 1.1 Protocol standard: <https://www.w3.org/TR/2013/REC-sparql11-protocol-20130321/#update-failure>
-