kbirken / dbus-emf-model Goto Github PK
View Code? Open in Web Editor NEWEclipse plugin providing an EMF ecore model for the D-Bus Introspection format
Eclipse plugin providing an EMF ecore model for the D-Bus Introspection format
The readme provides a link to googlecode instead of github. This might be confusing for new users.
As state in the D-Bus specification a dictionary has to be of array element type, e.g. a{is}
Therefore the dbus-emf type DBusDictEntryType should be removed from the model.
When reading a dbus model file we currently use franca's DBusConnector. The
class brings a dependency to franca, which is not required when just reading a
dbus introspection file. I propose to create a helper class in the
dbus-emf-model which can read a dbus introspection file. This would remove the
dependency to the franca files when just working with dbus.
Original issue reported on code.google.com by [email protected]
on 5 Dec 2012 at 1:16
I recently had to change the location of the dbus emf model site in our target platform from googlecode to github. Later gave the following error in my tycho based build:
00:00:13.993 [ERROR] Partial IU: model.emf.dbusxml.edit
00:00:13.993 [ERROR] Partial IU: model.emf.dbusxml
00:00:13.993 [ERROR] Partial IU: model.emf.dbusxml
00:00:13.993 [ERROR] Partial IU: model.emf.dbusxml.editor
00:00:13.993 [ERROR] Partial IU: model.emf.dbusxml
00:00:13.994 [ERROR] Failed to resolve target definition /home/xxx.target: Failed to load p2 metadata repository from location http://kbirken.github.io/dbus-emf-model/releases/: The p2 repository at http://kbirken.github.io/dbus-emf-model/releases/ contains partial IUs (see above) from an old style update site which cannot be used for dependency resolution -> [Help 1]
master
Using the update site from Eclipse works like a charm.
The model class DBusBasicType contains a list of literals for all basic types
supported by DBus. One of those is DBUS_TYPE_INT8, which should be replaced by
DBUS_TYPE_BYTE. D-Bus and its type signatures do not support an "int8" type,
but only a byte type ("y", which is an unsigned 8-bit integer).
This is a non-compatible model API change.
Original issue reported on code.google.com by [email protected]
on 8 Jan 2014 at 10:27
Adding a doc attribute to a property, eg.
<property access="read" name="INFO_PHONE_HANDSET_MODE"
type="u"><doc><line>enum: OnOffType</line><line>OnOffType[Type_ON,
Type_OFF]</line></doc></property>
Result in following error:
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException:
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'doc' not found.
Original issue reported on code.google.com by [email protected]
on 5 Jan 2015 at 3:47
When integrating the dbus-emf-model in a custom eclipse project mwe2 get's
automatically included. Please change the MANIFEST.MF of the model.emf.dbusxml
to delcare only optional dependencies to mwe2. We can then create a filter for
mwe2 plug-ins when creating our product.
Original issue reported on code.google.com by [email protected]
on 11 Dec 2013 at 2:51
The dbus-emf model maps the D-Bus data types 'g' and 'o' to DBUS_TYPE_STRING
and 'h' to DBUS_TYPE_UINT32. When using the dbus-emf model in our code
generator we are not able to serialize 'g', 'h' and 'o' types, because we lost
the information during the transformation.
Therefore the dbus-emf model need to have also dedicated types for that.
Original issue reported on code.google.com by [email protected]
on 29 Apr 2015 at 8:21
GDBus support annotation tag also for ArgType elements, e.g. see
http://sourcecodebrowser.com/glib2.0/2.25.5/gdbus-example-server_8c_source.html
Using dbus-emf-model for such an ArgType will fail by the following error:
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException:
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'annotation' not
found.
In contrast the D-Bus specification states:
Method, interface, property, and signal elements may have "annotations", which
are generic key/value pairs of metadata.
Anyhow, GDBus interfaces using the annotation tag on ArgType can't be used with
dbus-emf-mode.
Original issue reported on code.google.com by [email protected]
on 16 Sep 2014 at 2:39
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.