Git Product home page Git Product logo

dbus-emf-model's People

Contributors

ckullabosch avatar kbirken avatar surrender70 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

ckulla

dbus-emf-model's Issues

Handling of dictionary signature

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.

Add a model reader / importer utility class which is independent of franca

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

Update site not consumeable by tycho

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.

Replace DBUS_TYPE_INT8 by DBUS_TYPE_BYTE

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

Doc type on property not supported

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

Make mwe2 dependencies optional

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

D-Bus data types 'g', 'o', 'h' can't be serialized

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

No annotation element for ArgType supported

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.