[tracker: 104/104] Merge branch 'wip/carlosg/tracker-3.0-api-breaks' into 'master'



commit 2246c94ce285c1bd2cf2887847c564792dc5228d
Merge: e68f781fc a73a17736
Author: Sam Thursfield <sam afuera me uk>
Date:   Tue Feb 18 11:33:40 2020 +0000

    Merge branch 'wip/carlosg/tracker-3.0-api-breaks' into 'master'
    
    Tracker 3.0 API changes
    
    See merge request GNOME/tracker!172

 .gitlab-ci.yml                                     |   3 +-
 data/meson.build                                   |  41 --
 data/org.freedesktop.Tracker.DB.gschema.xml        |  33 -
 data/org.freedesktop.Tracker.FTS.gschema.xml       |  61 --
 data/org.freedesktop.Tracker.Store.gschema.xml     |  33 -
 data/org.freedesktop.Tracker.gschema.xml           |  26 -
 docs/manpages/meson.build                          |   2 +-
 docs/manpages/tracker-endpoint.1                   |  72 ++
 docs/manpages/tracker-info.1                       |  19 -
 docs/manpages/tracker-sparql.1                     |  19 -
 docs/manpages/tracker-store.1                      | 113 ---
 docs/reference/libtracker-sparql/examples.xml      |  29 -
 .../libtracker-sparql/examples/builder-example.c   |  41 --
 .../libtracker-sparql/examples/meson.build         |   7 -
 .../libtracker-sparql/examples/readonly-example.c  |   2 +-
 .../libtracker-sparql/examples/writeonly-example.c |   2 +-
 .../examples/writeonly-with-blank-nodes-example.c  |   2 +-
 .../libtracker-sparql/libtracker-sparql-docs.xml   |   2 +-
 .../libtracker-sparql-sections.txt                 | 136 ++--
 .../libtracker-sparql/libtracker-sparql.types      |  15 +
 docs/reference/libtracker-sparql/meson.build       |   8 +-
 .../reference/libtracker-sparql/migrating-2to3.xml | 104 +++
 docs/reference/libtracker-sparql/overview.xml      | 107 +--
 examples/libtracker-sparql/async-connection.c      |  15 +-
 examples/libtracker-sparql/class-signal.c          | 118 ----
 examples/libtracker-sparql/meson.build             |   3 -
 meson.build                                        |   7 +-
 meson_integration_commands.sh                      |  15 -
 meson_options.txt                                  |   2 -
 src/libtracker-bus/meson.build                     |   6 +-
 src/libtracker-bus/tracker-array-cursor.vala       |  79 ---
 src/libtracker-bus/tracker-bus-fd-cursor.vala      |   1 +
 src/libtracker-bus/tracker-bus.vala                | 116 +---
 src/libtracker-common/meson.build                  |   4 +-
 src/libtracker-common/tracker-common.h             |   3 -
 src/libtracker-common/tracker-dbus.c               | 541 ---------------
 src/libtracker-common/tracker-dbus.h               | 106 ---
 src/libtracker-common/tracker-domain-ontology.c    | 395 -----------
 src/libtracker-common/tracker-domain-ontology.h    |  51 --
 src/libtracker-common/tracker-ioprio.c             | 150 ----
 src/libtracker-common/tracker-parser-utils.c       |   3 +
 src/libtracker-common/tracker-parser.h             |   2 +-
 src/libtracker-common/tracker-utils.c              |  38 +
 src/libtracker-common/tracker-utils.h              |   5 +
 src/libtracker-data/libtracker-data.vapi           |  13 +-
 src/libtracker-data/meson.build                    |   7 +-
 src/libtracker-data/tracker-data-backup.c          | 284 --------
 src/libtracker-data/tracker-data-backup.h          |  63 --
 src/libtracker-data/tracker-data-manager.c         |  61 +-
 src/libtracker-data/tracker-data-manager.h         |   2 -
 src/libtracker-data/tracker-data.h                 |   2 -
 src/libtracker-data/tracker-db-config.c            | 250 -------
 src/libtracker-data/tracker-db-config.h            |  68 --
 src/libtracker-data/tracker-db-interface-sqlite.c  |   3 +-
 src/libtracker-data/tracker-db-manager.c           | 155 ++---
 src/libtracker-data/tracker-db-manager.h           |  23 +-
 src/libtracker-data/tracker-sparql.c               |   2 +
 src/libtracker-data/tracker-vtab-service.c         |  20 +-
 src/libtracker-direct/meson.build                  |   7 +-
 src/libtracker-direct/tracker-direct-statement.c   |  14 +-
 src/libtracker-direct/tracker-direct.c             | 531 +++++++++-----
 src/libtracker-direct/tracker-direct.h             |   5 -
 src/libtracker-direct/tracker-direct.vapi          |   4 +-
 src/libtracker-fts/meson.build                     |   2 -
 src/libtracker-fts/tracker-fts-config.c            | 400 -----------
 src/libtracker-fts/tracker-fts-config.h            |  74 --
 src/libtracker-fts/tracker-fts-tokenizer.c         |  50 +-
 src/libtracker-fts/tracker-fts-tokenizer.h         |   9 +-
 src/libtracker-fts/tracker-fts.c                   |   9 +-
 src/libtracker-fts/tracker-fts.h                   |   9 +-
 src/libtracker-remote/meson.build                  |   4 +-
 src/libtracker-remote/tracker-json-cursor.vala     |   1 +
 src/libtracker-remote/tracker-remote.vala          |   8 +
 src/libtracker-remote/tracker-xml-cursor.vala      |   1 +
 src/libtracker-sparql-backend/meson.build          |  44 +-
 src/libtracker-sparql-backend/tracker-backend.vala | 377 +---------
 src/libtracker-sparql-backend/tracker-sparql-2.map |  18 -
 src/libtracker-sparql/.gitignore                   |   4 -
 .../libtracker-sparql-intermediate-c.vapi          | 123 +++-
 src/libtracker-sparql/meson.build                  |  70 +-
 src/libtracker-sparql/tracker-builder.vala         | 733 --------------------
 src/libtracker-sparql/tracker-connection.c         | 630 +++++++++++++++++
 src/libtracker-sparql/tracker-connection.h         | 219 ++++++
 src/libtracker-sparql/tracker-connection.vala      | 658 ------------------
 src/libtracker-sparql/tracker-cursor.c             | 478 +++++++++++++
 src/libtracker-sparql/tracker-cursor.h             | 117 ++++
 src/libtracker-sparql/tracker-cursor.vala          | 294 --------
 src/libtracker-sparql/tracker-endpoint-dbus.c      | 105 ++-
 src/libtracker-sparql/tracker-endpoint-dbus.h      |  15 +-
 src/libtracker-sparql/tracker-endpoint.c           |  28 +
 src/libtracker-sparql/tracker-endpoint.h           |   9 +-
 src/libtracker-sparql/tracker-namespace-manager.h  |  11 +
 src/libtracker-sparql/tracker-namespace.vala       |  29 -
 src/libtracker-sparql/tracker-notifier-private.h   |  43 ++
 src/libtracker-sparql/tracker-notifier.c           | 771 +++++++--------------
 src/libtracker-sparql/tracker-notifier.h           |  40 +-
 src/libtracker-sparql/tracker-ontologies.h         |   9 -
 src/libtracker-sparql/tracker-private.h            | 198 ++++++
 src/libtracker-sparql/tracker-resource.c           |   4 +-
 src/libtracker-sparql/tracker-resource.h           |  43 +-
 .../tracker-sparql-add-include-guards.sh           |  17 -
 .../tracker-sparql-enum-types.h.template           |   2 +
 src/libtracker-sparql/tracker-sparql.h             |   7 +-
 src/libtracker-sparql/tracker-statement.c          | 374 ++++++++++
 src/libtracker-sparql/tracker-statement.h          |  85 +++
 src/libtracker-sparql/tracker-statement.vala       | 123 ----
 src/libtracker-sparql/tracker-uri.c                |  10 +-
 src/libtracker-sparql/tracker-utils.c              |  80 +++
 .../tracker-utils.h}                               |  31 +-
 src/libtracker-sparql/tracker-utils.vala           | 115 ---
 src/libtracker-sparql/tracker-version.h            |   7 +
 src/meson.build                                    |   3 -
 src/tracker-store/.gitignore                       |  13 -
 src/tracker-store/default.rule                     |  44 --
 src/tracker-store/meson.build                      |  68 --
 .../org.freedesktop.Tracker1.service.in            |   4 -
 src/tracker-store/tracker-backup.vala              | 105 ---
 src/tracker-store/tracker-backup.xml               |  14 -
 src/tracker-store/tracker-config.c                 | 261 -------
 src/tracker-store/tracker-config.h                 |  62 --
 src/tracker-store/tracker-dbus.vala                | 285 --------
 src/tracker-store/tracker-events.c                 | 402 -----------
 src/tracker-store/tracker-events.h                 |  71 --
 src/tracker-store/tracker-events.vapi              |  40 --
 src/tracker-store/tracker-locale-change.vapi       |  25 -
 src/tracker-store/tracker-main.vala                | 385 ----------
 src/tracker-store/tracker-resources.vala           | 264 -------
 src/tracker-store/tracker-resources.xml            |  64 --
 src/tracker-store/tracker-statistics.vala          |  71 --
 src/tracker-store/tracker-statistics.xml           |  32 -
 src/tracker-store/tracker-status.vala              | 122 ----
 src/tracker-store/tracker-status.xml               |  26 -
 src/tracker-store/tracker-steroids.vala            | 238 -------
 src/tracker-store/tracker-store.desktop.in         |  12 -
 src/tracker-store/tracker-store.service.in         |  10 -
 src/tracker-store/tracker-store.vala               | 311 ---------
 src/tracker-store/tracker-writeback.c              | 237 -------
 src/tracker-store/tracker-writeback.h              |  50 --
 src/tracker-store/tracker-writeback.vapi           |  33 -
 src/tracker/meson.build                            |   1 +
 src/tracker/tracker-endpoint.c                     | 244 +++++++
 .../tracker-endpoint.h}                            |  24 +-
 src/tracker/tracker-info.c                         |  43 +-
 src/tracker/tracker-main.c                         |   4 +-
 src/tracker/tracker-sparql.c                       |  54 +-
 src/tracker/tracker-sql.c                          |  29 +-
 tests/functional-tests/08-unique-insertions.py     |  78 ---
 tests/functional-tests/14-signals.py               | 192 -----
 tests/functional-tests/15-statistics.py            | 126 ----
 .../{05-coalesce.py => coalesce.py}                |   8 +-
 .../{16-collation.py => collation.py}              |   9 +-
 ...{09-concurrent-query.py => concurrent-query.py} |  48 +-
 tests/functional-tests/configuration.json.in       |   7 +-
 tests/functional-tests/configuration.py            |  20 +-
 .../{06-distance.py => distance.py}                |   8 +-
 tests/functional-tests/expectedFailure.py          |  44 --
 tests/functional-tests/fixtures.py                 | 124 ++++
 .../{03-fts-functions.py => fts-functions.py}      |   8 +-
 tests/functional-tests/{07-graph.py => graph.py}   |   9 +-
 .../{04-group-concat.py => group-concat.py}        |   8 +-
 .../{01-insertion.py => insertion.py}              |  96 +--
 tests/functional-tests/ipc/meson.build             |  18 +-
 .../ipc/test-bus-query-cancellation.c              |  74 +-
 .../ipc/test-insert-or-replace.vala                | 156 -----
 tests/functional-tests/meson.build                 |  54 +-
 tests/functional-tests/notifier.py                 | 179 +++++
 ...{17-ontology-changes.py => ontology-changes.py} |  57 +-
 tests/functional-tests/query.py                    |  73 ++
 .../{02-sparql-bugs.py => sparql-bugs.py}          |   7 +-
 tests/functional-tests/storetest.py                |  64 --
 tests/functional-tests/trackertest                 |   1 -
 tests/libtracker-common/meson.build                |   1 -
 tests/libtracker-common/tracker-dbus-test.c        | 200 ------
 tests/libtracker-data/backup/backup.data           |  11 -
 tests/libtracker-data/backup/backup.ontology       |  18 -
 tests/libtracker-data/meson.build                  |  12 +-
 tests/libtracker-data/tracker-backup-test.c        | 268 -------
 .../tracker-insert-or-replace-test.c               | 186 +++++
 .../libtracker-data/tracker-ontology-change-test.c |   4 +-
 tests/libtracker-data/tracker-ontology-test.c      |   6 +-
 tests/libtracker-data/tracker-sparql-blank-test.c  |   2 +-
 tests/libtracker-data/tracker-sparql-test.c        |   2 +-
 tests/libtracker-fts/meson.build                   |   1 -
 tests/libtracker-fts/tracker-fts-test.c            |   6 +-
 tests/libtracker-sparql/meson.build                |  13 +-
 .../tracker-fd-test.c}                             |  91 ++-
 tests/libtracker-sparql/tracker-sparql-test.c      | 165 +----
 tests/meson.build                                  |  39 +-
 tests/services/meson.build                         |   6 -
 tests/services/org.freedesktop.Tracker1.service.in |   4 -
 tests/test-bus.conf.in                             |  26 -
 tests/tracker-steroids/.gitignore                  |   1 -
 tests/tracker-steroids/meson.build                 |  15 -
 utils/data-generators/create-tree-from-real-data   |   2 +-
 utils/g-ir-merge/g-ir-merge                        | 172 -----
 utils/mtp/mtp-dummy.c                              |   3 +-
 utils/tracker-resdump/tracker-resdump.vala         |   2 +-
 utils/trackertestutils/helpers.py                  | 578 ++++++++-------
 utils/trackertestutils/mainloop.py                 |   3 +
 199 files changed, 5261 insertions(+), 12234 deletions(-)
---


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]