[PATCH 00/17] Improved introspection support and added python demo



Hi,

The following patches improve introspection support by completing
the annotations for grl-plugin-registry, grl-media-source, grl-multiple
and grl-data

Besides, two functions have been added to grl-metadata-key exposing
functionality previously accessible only via macros, to get keys' name
and description.

The rest of the patches provide a small Python test showcasing a media search
and an almost-complete clone of the grilo-test-ui, written in Python and
using introspection bindings for Grilo, Gtk and Gio.

These patches annotate 'GrlKeyID's as 'GObject.ParamSpecs*'. While they are
fully supported in Python, they aren't yet in JavaScript (see bug #626047).
Besides, callbacks' GErrors have been annotated as uints.

Once this patches get accepted, I'll update Grilo's bug #616961, notifying of
this progress, and submitting a workaround to access our metadata keys from
JavaScript (by annotating the keys as uints), and the JavaScript test updated.

Simón Pena (17):
  annotations: Annotated grl-plugin-registry
  annotations: Annotated grl-media-source
  core: Make grl-metadata-key more introspection friendly
  python: Cloned JavaScript test
  python: Started cloning grilo-test-ui
  grilo-test-ui.py: Query and search comboboxes
  grilo-test-ui.py: Work on callbacks and ListStores
  annotations: Annotated grl-multiple
  grilo-test-ui.py: Implemented search_cb
  grilo-test-ui.py: Implemented clear_panes
  grilo-test-ui.py: Implemented browse
  annotations: Annotated grl-data
  grilo-test-ui.py: Added metadata resolution support
  grilo-test-ui.py: Added playback support
  grilo-test-ui.py: Media can be stored
  grilo-test-ui.py: Media can be removed
  grilo-test-ui.py: Added query support

 src/data/grl-data.c           |   28 +-
 src/grl-media-source.c        |   46 ++--
 src/grl-media-source.h        |    8 +-
 src/grl-metadata-key.c        |   28 ++
 src/grl-metadata-key.h        |    4 +
 src/grl-multiple.c            |   12 +-
 src/grl-plugin-registry.c     |   10 +-
 tools/python/grilo-test-ui.py |  783 +++++++++++++++++++++++++++++++++++++++++
 tools/python/testGrilo.py     |   56 +++
 9 files changed, 923 insertions(+), 52 deletions(-)
 create mode 100644 tools/python/grilo-test-ui.py
 create mode 100644 tools/python/testGrilo.py



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