summaryrefslogtreecommitdiff
path: root/src/libtracker-common/tracker-parser.h
Commit message (Collapse)AuthorAgeFilesLines
* libtracker-common: Move TrackerLanguage management to TrackerParserCarlos Garnacho2023-03-021-1/+1
| | | | | This is only created to give it to the parser, have it created from there and detach TrackerLanguage from the rest of the code.
* core: Move collation handling with other unicode codeCarlos Garnacho2023-03-021-0/+12
| | | | | Move these implementations together with the libicu/libunistring implementations.
* core: Move unicode treatment SPARQL function features to helpersCarlos Garnacho2023-03-021-2/+20
| | | | | Have the helpers defined together with the TrackerParser, so we don't drag details about the unicode library to other parts of the code.
* core: Fix possible FTS integrity corruptionCarlos Garnacho2023-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | From experimenting with FTS5, our usage patterns, and the 'integrity-check' FTS command, it turns out the 'delete' command does not entirely like doing partial updates on a row, it instead expects the command to be issued for all table columns. The only way to keep the FTS index happy is that we issue FTS deletes/inserts for all columns in the FTS table whenever we update a rowid, and that the select query on the external table "fts_view" is as-is for the given rowid. For that we must move the COALESCE() that filters out rows with all-empty text columns from the FTS updating queries to the fts_view view itself. In order to automatically fix possible corruptions in existing databases, and update to the fts_view change, we must trigger all our sorts of FTS updates: A pointless FTS field (nco:phoneNumber) was removed to trigger an update on the fts view+table, and the parser version was bumped to ensure the FTS index is rebuilt. These modifications will update existing databases to fix any existing corruption. Closes: https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/253
* libtracker-sparql: Bump FTS parser versionCarlos Garnacho2022-05-041-1/+1
| | | | | | | There's no actual parser changes, but we want to trigger a rebuild of all tokenization info in the FTS table. This will have the side effect of fixing databases that got the FTS table broken.
* Update TRACKER_PARSER_VERSIONSam Thursfield2020-02-181-1/+1
|
* libtracker-common,data: Port libicu paths to unorm2_normalizewip/carlosg/compiler-warningsCarlos Garnacho2018-10-121-1/+1
| | | | | The old unorm_normalize() function has been deprecated. This replacement function is available on ICU >= 4.4, so we should be fine dependency-wise.
* libtracker-common: Drop automatic parser versioningCarlos Garnacho2018-06-211-0/+7
| | | | | | | | | | The TRACKER_PARSER_VERSION number must be bumped on every change to src/libtracker-common/tracker-parser*. This policy shall be enforced through a server-side update hook. This is a bit more cumbersome for the OTOH sparse changes to the parser, but friendlier to the meson build system, where we can't have build-generated files added to dist.
* libtracker-common: Move and fix tracker-parser unit tests from libtracker-ftsMartyn Russell2014-12-031-3/+3
|
* Refactor tracker-parser to be located in libtracker-commonPhilip Van Hoof2014-12-011-0/+60
| | | | This also fixes the unaccenting SPARQL function in case of --disable-tracker-fts
* tracker-fts: Moved tracker-parser here from libtracker-commonMartyn Russell2009-10-021-62/+0
|
* tracker-parser: Remove unused functionsJürg Billeter2009-09-011-45/+0
|
* LGPL for libtracker-common, libtracker-db, and libtracker-dataJürg Billeter2009-08-281-4/+4
|
* Fixed the #defines for these headers so they don't possibly conflict withMartyn James Russell2009-02-201-2/+2
| | | | | | | | | | | | * src/libtracker-common/tracker-dbus.[ch]: * src/libtracker-common/tracker-field.h: * src/libtracker-common/tracker-ontology.h: * src/libtracker-common/tracker-parser.h: * src/libtracker-common/tracker-service.h: Fixed the #defines for these headers so they don't possibly conflict with same name headers in the future. svn path=/trunk/; revision=2948
* Do not expose the TrackerParser struct in the header, it was pullingCarlos Garnacho2008-10-071-33/+1
| | | | | | | | | | 2008-10-07 Carlos Garnacho <carlos@imendio.com> * src/libtracker-common/tracker-parser.[ch]: Do not expose the TrackerParser struct in the header, it was pulling pango.h unnecessarily. svn path=/trunk/; revision=2319
* New file. Do not allow compiling unless TRACKER_ENABLE_INTERNALS orCarlos Garnacho2008-10-071-0/+4
| | | | | | | | | | | | | 2008-10-07 Carlos Garnacho <carlos@imendio.com> * src/libtracker-common/tracker-common.h: New file. Do not allow compiling unless TRACKER_ENABLE_INTERNALS or TRACKER_COMPILATION is defined. * src/libtracker-common/*.h: Do not allow including anything but libtracker-common/tracker-common.h outside of tracker. * */Makefile.am: define TRACKER_COMPILATION. svn path=/trunk/; revision=2317
* Merge indexer-split branch.Martyn James Russell2008-09-261-0/+135
svn path=/trunk/; revision=2275