summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | libtracker-data: Don't call _init_token()Andrea Azzarone2019-02-131-2/+0
| | | | | | | | | | | | | | | | | | | | Don't call _init_token(). We don't use it underneath this function, and it will be later filled in with the property path for when we need it in _add_quad().
| * | | libtracker-data: Fix memory leaksAndrea Azzarone2019-02-131-1/+3
| | | |
| * | | libtracker-data: Fix memory leaksAndrea Azzarone2019-02-131-0/+2
| | | |
| * | | tests/libtracker-miner: Fix memory leaksAndrea Azzarone2019-02-131-0/+10
| | | |
| * | | tests/libtracker-miner: Fix memory leaksAndrea Azzarone2019-02-131-80/+296
| | | |
| * | | tests/libtracker-data: Fix memory leakAndrea Azzarone2019-02-131-0/+1
| | | |
| * | | tests/libtracker-data: Fix memory leaksAndrea Azzarone2019-02-131-0/+2
| | | |
| * | | libtracker-miner: Fix memory leakAndrea Azzarone2019-02-131-0/+1
| | | | | | | | | | | | | | | | Use g_clear_object on priv->tree to avoid memory leaks.
| * | | libtracker-direct: Fix memory leakAndrea Azzarone2019-02-131-0/+1
| | | | | | | | | | | | | | | | The value returned from a call to g_strjoinv has to be freed using g_free.
| * | | libtracker-data: Use GLib.Queue instead of native Vala arraysAndrea Azzarone2019-02-131-10/+11
| | | | | | | | | | | | | | | | | | | | Removing elements from a native vala array can cause memory leaks. Let's use GLib.Queue both for subject_stack and subject_stack.
| * | | libtracker-data: Add missing NIL for helper_BuiltInCall_or_2Andrea Azzarone2019-01-241-1/+1
| | | | | | | | | | | | | | | | An array of TrackerGrammarRule has to terminate with a NIL.
| * | | libtracker-data: Fix memory leak in tracker_db_journal_reader_verify_lastAndrea Azzarone2019-01-241-1/+2
| | | | | | | | | | | | | | | | Make sure db_journal_reader_clear is called in order to free allocated memory.
| * | | libtracker-data: Free manager->statusAndrea Azzarone2019-01-241-0/+1
| | | |
| * | | tests/libtracker-sparql: Avoid memory corruptionAndrea Azzarone2019-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | Use g_value_set_static_string instead of g_value_set_string to avoid memory corruption.
| * | | tests/libtracker-miner: Fix memory leaksAndrea Azzarone2019-01-241-2/+3
| | | |
| * | | tests/libtracker-common: Fix memory leaksAndrea Azzarone2019-01-241-0/+2
| | | | | | | | | | | | | | | | Make sure to call g_free on result in tracker-type-utils-test.c
| * | | tests/libtracker-common: Fix memory leaksAndrea Azzarone2019-01-241-1/+6
| | | | | | | | | | | | | | | | Make sure to call g_free on result in tracker-file-utils-test.c
| * | | tests/libtracker-common: Fix memory leaksAndrea Azzarone2019-01-241-0/+7
| | | |
| * | | tracker-monitor: Prevent stack smashingAndrea Azzarone2019-01-241-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure to use GPOINTER_TO_UINT when using g_hash_table_lookup_extended() to prevent stack smashing. This will make sure that in the architectures where sizeof(GFileMonitorEvent) < sizeof(gpointer), g_hash_table_lookup_extended() will not write more bytes than prev_event_type can hold. Fixes: https://gitlab.gnome.org/GNOME/tracker/issues/71
* | | | libtracker-data: Fix define for glib < 2.52.0Carlos Garnacho2019-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | We fallback on libuuid with older glibs, but the #ifdef got the condition wrong.
* | | | Update Chinese (Taiwan) translationYi-Jyun Pan2019-02-171-510/+520
| | | |
* | | | Merge branch 'meson-deps' into 'master'Sam Thursfield2019-02-171-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | build: Raise glib dep to 2.46.0 See merge request GNOME/tracker!57
| * | | | build: Raise glib dep to 2.46.0Mart Raudsepp2019-02-131-1/+1
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | It used to be 2.44.0 in configure.ac, and the code does use at least g_strv_contains, which is new in 2.44. It now also uses g_async_queue_push_front_unlocked and g_settings_schema_list_keys, which are new in 2.46.
* | | | Merge branch 'libtracker-common-test-paths' into 'master'Sam Thursfield2019-02-171-3/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | libtracker-common: improve test_path_evaluate_name environment handling See merge request GNOME/tracker!59
| * | | | libtracker-common: improve test_path_evaluate_name environment handlingMart Raudsepp2019-02-131-3/+5
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Under some environments $PWD might not point where we expect, so simply use g_get_current_dir() instead. g_getenv() is documented to return a pointer that may get overwritten by subsequent calls to g_getenv, g_setenv of g_unsetenv. As even after removing the second g_getenv, there's still g_setenv calls, take a copy.
* | | | Merge branch 'meson-feature-options' into 'master'Sam Thursfield2019-02-173-24/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | build: Use meson feature option type where appropriate See merge request GNOME/tracker!61
| * | | | build: Use meson feature option type where appropriateMart Raudsepp2019-02-143-24/+12
| |/ / /
* | | | Update Kazakh translationBaurzhan Muftakhidinov2019-02-171-1702/+692
| | | |
* | | | Updated Danish translationAlan Mortensen2019-02-161-513/+525
|/ / /
* | | Updated Lithuanian translationAurimas Černius2019-02-091-520/+535
| | |
* | | Update Catalan translationJordi Mas2019-02-091-515/+525
| | |
* | | Updated Czech translationMarek Cernocky2019-02-081-508/+530
| | |
* | | Update Swedish translationAnders Jonsson2019-02-071-107/+107
| | |
* | | libtracker-data: Define constraint values for older SQLite versionsCarlos Garnacho2019-02-061-0/+9
| | | | | | | | | | | | | | | | | | | | | These were added in sqlite 3.21.0. For the places where updating SQLite is not easy/possible, just define those. Presumably older SQLite versions will fall back through other operators in the xBestIndex method, either way we won't get those from the DB engine.
* | | Release 2.2.0-alpha22.2.0-alpha2Carlos Garnacho2019-02-062-1/+13
| | | | | | | | | | | | | | | | | | For the lulz, releng all over the place crapped out with the "new" versioning. This is just a tag, and does not get a tarball in gnome FTP.
* | | Merge branch 'wip/carlosg/unrestricted-predicates'Carlos Garnacho2019-02-0611-380/+608
|\ \ \
| * | | libtracker-data: Add quotes around string literalwip/carlosg/unrestricted-predicatesCarlos Garnacho2019-02-061-0/+4
| | | | | | | | | | | | | | | | | | | | If the query is not cacheable, we were adding string literals unquoted. Oops.
| * | | libtracker-data: Use "tracker_triples" table in variable predicate queriesCarlos Garnacho2019-02-064-379/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were some special cases that were handled individually: - select * { <s> ?p ?o } was handled through querying the rdf:types of <s>, and performing an UNION of all related tables. This doesn't play along with parameterized variables where the subject might be a variable assigned later through the TrackerSparqlStatement. - select * { ?s ?p <o> } used similar tricks (querying <o> this time). It had all those drawbacks, plus it only worked for properties with rdfs:Resource range. - select * { ?s ?p ?o . ?p rdfs:domain <dom> } was handled specially. - select * { ?s ?p ?o } is unsupported - select * { <s> ?p <o> } was silently unhandled All those combinations are transparently handled with the tracker_triples virtual table now.
| * | | libtracker-data: Initialize "tracker_triples" virtual table on all interfacesCarlos Garnacho2019-02-065-1/+31
| | | | | | | | | | | | | | | | | | | | This table may be used in either select or update queries, so make sure it gets initialized in all paths.
| * | | libtracker-data: Add "triples" virtual tableCarlos Garnacho2019-02-063-0/+562
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This eponymous virtual table is able to decompose the full database in all its composing triples. This may be used to implement queries with predicate variables in a generic way, and finally support the kind of queries where we gave up (e.g. "select * { ?s ?p ?o }"). Internally it works by using the TrackerOntologies in order to split the query into a set of queries for individual properties/columns, some optimizations happen when specific matches are given, and the SQLite engine does take care of the ones we don't optimize, sorting, etc... This virtual table will also be useful in the future when implementing CONSTRUCT/DESCRIBE commands.
* | | Update Turkish translationSabri Ünal2019-02-051-507/+518
| | |
* | | Update Indonesian translationKukuh Syafaat2019-02-021-500/+525
| | |
* | | Update Friulian translationFabio Tomat2019-02-021-106/+105
| | |
* | | Update Romanian translationDaniel Șerbănescu2019-01-311-516/+529
| | |
* | | Update Galician translationFran Dieguez2019-01-291-517/+531
| | |
* | | Update Hungarian translationBalázs Úr2019-01-271-1415/+514
| | |
* | | Merge branch 'azzaronea/tracker-fix-issue-71' into HEADSam Thursfield2019-01-261-2/+4
|\ \ \ | | | | | | | | | | | | See: https://gitlab.gnome.org/GNOME/tracker/merge_requests/53
| * | | tracker-monitor: Prevent stack smashingAndrea Azzarone2019-01-241-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure to use GPOINTER_TO_UINT when using g_hash_table_lookup_extended() to prevent stack smashing. This will make sure that in the architectures where sizeof(GFileMonitorEvent) < sizeof(gpointer), g_hash_table_lookup_extended() will not write more bytes than prev_event_type can hold. Fixes: https://gitlab.gnome.org/GNOME/tracker/issues/71
* | | | Updated Slovenian translationMatej Urbančič2019-01-251-105/+105
| |/ / |/| |
* | | Update Greek translationEfstathios Iosifidis2019-01-201-111/+113
| | |