[PATCH 0/7] Improved introspection support and added python demo (v2)
- From: Simón Pena <spenap gmail com>
- To: grilo-list gnome org
- Subject: [PATCH 0/7] Improved introspection support and added python demo (v2)
- Date: Tue, 17 Aug 2010 22:04:31 +0200
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.
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.
To introduce the new available bindings, an almost-complete clone of the grilo-test-ui,
written in Python and using introspection for Grilo, Gtk and Gio is being provided.
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 (7):
annotations: Annotated grl-plugin-registry
annotations: Annotated grl-media-source
annotations: Annotated grl-media-source callbacks
core: Make grl-metadata-key more introspection friendly
annotations: Annotated grl-multiple
annotations: Annotated grl-data
python: Cloned grilo-test-ui
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 +++++++++++++++++++++++++++++++++++++++++
8 files changed, 867 insertions(+), 52 deletions(-)
create mode 100644 tools/python/grilo-test-ui.py
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]