[tracker: 42/42] Merge branch 'wip/carlosg/serialize-api' into 'master'




commit 54119deb3ac487d867041b09ef351c386547f4cd
Merge: 87736aa6f c63f9e633
Author: Sam Thursfield <sam afuera me uk>
Date:   Sat Feb 5 14:25:48 2022 +0000

    Merge branch 'wip/carlosg/serialize-api' into 'master'
    
    Add API to serialize to RDF formats
    
    See merge request GNOME/tracker!476

 docs/reference/libtracker-sparql/limits.md         |   7 +-
 .../libtracker-sparql/sparql-and-tracker.md        |  13 +
 src/libtracker-data/tracker-data-update.c          |  18 +-
 src/libtracker-data/tracker-db-interface-sqlite.c  | 195 ++++++-----
 src/libtracker-data/tracker-db-interface.h         |   5 +-
 src/libtracker-data/tracker-sparql-types.h         |   3 +
 src/libtracker-data/tracker-sparql.c               | 208 ++++++++----
 src/libtracker-data/tracker-sparql.h               |   2 +
 .../bus/tracker-bus-statement.vala                 |   4 +
 src/libtracker-sparql/bus/tracker-bus.vala         |  20 ++
 .../direct/tracker-direct-statement.c              | 112 +++++++
 src/libtracker-sparql/direct/tracker-direct.c      | 166 +++++++++-
 src/libtracker-sparql/meson.build                  |   2 +
 .../remote/tracker-remote-statement.c              |  72 +++-
 src/libtracker-sparql/remote/tracker-remote.vala   |  30 ++
 src/libtracker-sparql/tracker-connection.c         |  86 +++++
 src/libtracker-sparql/tracker-connection.h         |  23 ++
 src/libtracker-sparql/tracker-endpoint-dbus.c      | 149 +++++++++
 src/libtracker-sparql/tracker-endpoint-http.c      |  13 +-
 src/libtracker-sparql/tracker-private.h            |  21 ++
 src/libtracker-sparql/tracker-serializer-trig.c    | 362 +++++++++++++++++++++
 src/libtracker-sparql/tracker-serializer-trig.h    |  36 ++
 src/libtracker-sparql/tracker-serializer-turtle.c  | 339 +++++++++++++++++++
 src/libtracker-sparql/tracker-serializer-turtle.h  |  36 ++
 src/libtracker-sparql/tracker-serializer.c         |  22 +-
 src/libtracker-sparql/tracker-serializer.h         |   2 +
 src/libtracker-sparql/tracker-sparql.vapi          |  14 +
 src/libtracker-sparql/tracker-statement.c          |  73 +++++
 src/libtracker-sparql/tracker-statement.h          |  13 +
 src/tracker/tracker-export.c                       |  97 +++---
 tests/libtracker-data/describe/describe-limit.out  |  22 +-
 .../libtracker-data/describe/describe-multiple.out |  44 +--
 .../libtracker-data/describe/describe-pattern.out  |  12 +-
 tests/libtracker-data/describe/describe-single.out |  10 +-
 tests/libtracker-sparql/meson.build                |  11 +
 .../libtracker-sparql/serialize/construct-trig.out |  21 ++
 .../libtracker-sparql/serialize/construct-trig.rq  |   5 +
 .../libtracker-sparql/serialize/construct-ttl.out  |  19 ++
 tests/libtracker-sparql/serialize/construct-ttl.rq |   5 +
 .../serialize/describe-graph-trig.out              |  47 +++
 .../serialize/describe-graph-trig.rq               |   5 +
 .../serialize/describe-graph-ttl.out               |  29 ++
 .../serialize/describe-graph-ttl.rq                |   5 +
 .../serialize/describe-single-trig.out             |  22 ++
 .../serialize/describe-single-trig.rq              |   1 +
 .../serialize/describe-single-ttl.out              |  20 ++
 .../serialize/describe-single-ttl.rq               |   1 +
 .../serialize/describe-var-trig.out                |  23 ++
 .../serialize/describe-var-trig.rq                 |   3 +
 .../serialize/describe-var-ttl.out                 |  21 ++
 .../serialize/describe-var-ttl.rq                  |   3 +
 tests/libtracker-sparql/tracker-serialize-test.c   | 340 +++++++++++++++++++
 52 files changed, 2556 insertions(+), 256 deletions(-)
---


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