summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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
|
* Merge branch 'wip/carlosg/fix-manpages-install' into 'master'Carlos Garnacho2020-09-077-76/+80
|\ | | | | | | | | Fix manpages install See merge request GNOME/tracker!311
| * manpages: Fix installation of manpage filesCarlos Garnacho2020-09-071-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The xsltproc step has two small gotchas: the output does not happen on stdout, so we are capturing empty stdout, and installing an empty file instead of our nice manpages. But also, the target filename gets determined by the XSL based on the input, so a manpage filename is as defined in its NAME section. This means we cannot do filename changes to add the version this late in the stage. Furthermore, the tracker-xdg-portal-3 manpage follows a different naming scheme (i.e. not "tracker3-*"). Handle this all at once, specify per manpage target files that do match the xsltproc output, and ensure the file gets generated at the current build dir.
| * manpages: Reference daemons with their executable nameCarlos Garnacho2020-09-071-4/+4
| | | | | | | | | | | | | | | | | | | | Those are now versioned, so reference them as such in their respective manpages. Note: The name change also changes the target manpage file written by our xsltproc step, since it is defined by the file+xsl. This will silently go ignored, as installation of manpages is broken (we install empty files). This will get fixed in later commits.
| * manpages: Update references to the tracker3 CLI toolCarlos Garnacho2020-09-075-61/+61
|/ | | | | | | | | | | We did reference it in manpages as simply "tracker", which is definitely not going to be the case. Make CLI examples, titles and section names correctly reference the real "tracker3" name. Note: The name change also changes the target manpage file written by our xsltproc step, since it is defined by the file+xsl. This will silently go ignored, as installation of manpages is broken (we install empty files). This will get fixed in later commits.
* Update Swedish translationAnders Jonsson2020-09-061-302/+397
|
* Update Hungarian translationBalázs Úr2020-09-041-287/+409
|
* Updated Slovenian translationMatej Urbančič2020-09-041-8/+10
|
* Merge branch 'wip/carlosg/fts5-syntax-under-the-rug' into 'master'Sam Thursfield2020-09-0413-5/+31
|\ | | | | | | | | | | | | libtracker-data: Do not expose FTS5 syntax through fts:match Closes gtk#3114 See merge request GNOME/tracker!310
| * tests: Add FTS tests for some extraneous inputCarlos Garnacho2020-09-038-0/+12
| | | | | | | | Test dots and quotes in input so far.
| * libtracker-data: Do not expose FTS5 syntax through fts:matchCarlos Garnacho2020-09-035-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We used to simply forward all FTS match string interpretation to SQLite's FTS implementation, and used to allow and announce its features, e.g. use of AND/OR keywords for more complex matches. When FTS5 came through, the FTS query syntax got a major revamp, also in the complexity of the allowed syntax, including non natural language (e.g. symbols like ^ or *). This makes all the gory details of this parser available to users, but also its pitfalls, e.g. execution-time errors are raised when the search string contains special symbols non-interpretable by the FTS5 parser. Since fts:match is often plugged directly to search entries in UIs around, it seems a bad approach to maybe fail the query or not depending on the last character entered. Arguably applications might cater for this additional level of syntax, but it's sadly not trivial and kind of a moving target (fts5 still does add features from time to time), seems bad to leave this up to applications. So, hide all FTS5 syntax from the upper layers. The fts:match string forcibly becomes '"%s"*' so it is ensured that all the input string is interpreted as "search terms". It is also ensured that the given search string cannot break out of that. The '*' character makes the last term in the search string be interpreted as a prefix search. We lose some neat things there, like AND/OR mentioned above, or the possibility to match a single property instead of a whole row. AND is already the default, OR can be obtained through additional fts:match, and the last one is a rather obscure feature. Might be neat to bring back in another form someday. (e.g. make fts:match a FILTER function). Also, update tests to these new expectatives. Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/3114
* | Update Catalan translationJordi Mas2020-09-041-177/+173
|/
* Update Slovak translationDušan Kazik2020-09-031-1467/+1230
|
* Merge branch 'wip/carlosg/2to3-export' into 'master'Sam Thursfield2020-09-024-5/+202
|\ | | | | | | | | Add --2to3 exporting capabilities to `tracker3 export` See merge request GNOME/tracker!308
| * tracker: Add --2to3 switch to "tracker3 export"Carlos Garnacho2020-09-022-4/+200
| | | | | | | | | | | | | | | | | | | | This special mode opens the old Tracker2 database, and tries to extract data, pretty much in the same fashion than "tracker export" command introduced recently in 2.3.x. So far, this submode only supports exporting of starred files. The --keyfile argument is also supported, to ease manipulation of this data on the consumer side.